Bug 7301 - recipes must preserve external links through the originating layer source even if they come from a build
Summary: recipes must preserve external links through the originating layer source eve...
Status: VERIFIED 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.9
Assignee: Alexandru Damian
QA Contact: Cristina Agurida
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-02-09 14:05 UTC by Belen Barros Pena
Modified: 2015-07-21 11:00 UTC (History)
6 users (show)

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


Attachments
Design - Recipes table (135.89 KB, application/pdf)
2015-02-09 14:08 UTC, Belen Barros Pena
no flags Details
Design - Recipe details (121.81 KB, application/pdf)
2015-02-09 14:08 UTC, Belen Barros Pena
no flags Details
recipe-path.png (355.18 KB, image/png)
2015-03-31 16:07 UTC, Belen Barros Pena
no flags Details

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