Bug 7194

Summary: Toaster cannot use the recipe id to link to the layer index
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu
Version: unspecified   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: layer details page
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2015-01-20 09:48:12 UTC
Linking to URLs like 

http://layers.openemebedded.org/layerindex/recipe/5249 

is not safe because recipe IDs in the layer index change. We currently do this in the Targets table of the layer details pages.

We need to search for the recipe name instead. 

"http://layers.openembedded.org/layerindex/branch/" + project release + "/recipes/?q=" + target name 

To make things a bit better, we have a couple of other enhancements open for both the layer index (bug 6618) and Toaster (bug 6670)
Comment 1 Alexandru Damian 2015-01-30 13:33:02 UTC
merged in master