Bug 7301

Summary: recipes must preserve external links through the originating layer source even if they come from a build
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, cristina-danielax.agurida, jessica.zhang
Version: unspecified   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Design - Recipes table
none
Design - Recipe details
none
recipe-path.png none

Description Belen Barros Pena 2015-02-09 14:05:26 UTC
In managed mode, we should no longer show the full path to the recipe files, but just the path to the recipe file within the layer. So instead of:

/home/user/poky/meta/recipes-core/base-files/base_files_3.0.14.bb

we should show just

recipes-core/base-files/base_files_3.0.14.bb

This applies to the recipes table and the recipe details page (see attached design documents).
Comment 1 Belen Barros Pena 2015-02-09 14:08:06 UTC
Created attachment 2402 [details]
Design - Recipes table
Comment 2 Belen Barros Pena 2015-02-09 14:08:23 UTC
Created attachment 2403 [details]
Design - Recipe details
Comment 3 Belen Barros Pena 2015-03-09 13:54:52 UTC
By the way, we should also do this in the all targets page too. Right now, when the information for a target is coming from a build, the recipe file shown is the full path to the recipe file used for the last build.
Comment 4 Belen Barros Pena 2015-03-09 13:56:04 UTC
and make sure that the external link to the recipe file still goes to the layer index (right now, if the information for a target comes from a build, it doesn't)
Comment 5 Alexandru Damian 2015-03-30 12:17:36 UTC
All recipes have now relative paths instead of absolute paths.

Re-opening the bug to track the unified external links request.
Comment 6 Belen Barros Pena 2015-03-31 16:06:48 UTC
(In reply to comment #5)
> All recipes have now relative paths instead of absolute paths.

mmm, it looks like native recipes are still showing absolute paths (see attached recipe-path.png).
> 
> Re-opening the bug to track the unified external links request.
Comment 7 Belen Barros Pena 2015-03-31 16:07:07 UTC
Created attachment 2463 [details]
recipe-path.png
Comment 9 Alexandru Damian 2015-06-23 10:01:34 UTC
This patch was merged upstream.
Comment 10 Cristina Agurida 2015-07-21 11:00:11 UTC
Verified on master: 0f8d89ce66cfffccc9911d6c61470a585173b79d