Bug 7194 - Toaster cannot use the recipe id to link to the layer index
Summary: Toaster cannot use the recipe id to link to the layer index
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8 M3
Assignee: Belen Barros Pena
QA Contact:
URL:
Whiteboard: layer details page
Depends on:
Blocks:
 
Reported: 2015-01-20 09:48 UTC by Belen Barros Pena
Modified: 2015-01-30 13:33 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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