Bug 14348 - Layer dependencies not updated
Summary: Layer dependencies not updated
Status: NEW
Alias: None
Product: Layer Index
Classification: Yocto Project Subprojects
Component: Layer Index (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.99
Assignee: Piotr Buliński
QA Contact: apoorv sangal
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-04-15 10:09 UTC by Ross Burton
Modified: 2026-06-10 18:17 UTC (History)
7 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 Ross Burton 2021-04-15 10:09:57 UTC
In the past meta-arm-bsp depended on meta-linux-mainline, but in master this dependency was removed.  However, the layer index still lists meta-linux-mainline as a dependency.
Comment 1 Randy MacLeod 2021-04-15 14:48:44 UTC
Alexandre Belloni also mentioned that meta-rust index data isn't up to date either. I can open a new bug if needed.
Comment 2 Randy MacLeod 2022-03-24 15:04:48 UTC
We use the layer index at Wind River and it's workingn well. Konrad, Robert, can whowever did that work on the WR clone, fix the problems here?
I think it's an important tool that should always provide accurate data.
Comment 3 Konrad Scherer 2022-03-24 18:36:36 UTC
The layerindex does not remove dependencies automatically. Either the dependency is manually removed using the admin interface or the layer parsed with "fullreload" which deletes all the dependencies before parsing.
Comment 4 Randy MacLeod 2022-10-27 15:16:56 UTC
Ideally the layer index or the update script should point out the problem and a person should fix the problem.
Comment 5 Randy MacLeod 2023-07-26 21:21:58 UTC
Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.
Comment 6 Trevor Gamblin 2023-09-14 16:44:05 UTC
Moved to M4.
Comment 7 Randy MacLeod 2023-10-30 15:29:06 UTC
Bulk move to 5.0 M1. -- Randy
Comment 8 Tim Orling 2023-11-02 23:30:39 UTC
One annoying behavior related to this is that dependent layers are not checked out at the same branch as the layer being updated bug #15236. The LayerItem is being queried, but it is not clear if the _branch_ of that layer is being checked out in a deterministic way (or just the state it was last in during an update.py run?)

Another aspect is that the conf/layer.conf is parsed when a layer is first added but for updates it requires a human admin to review the logs:

https://layers.openembedded.org/layerindex/updates/

and then manually update the dependencies in any LayerBranch objects that have grown stale.
Comment 9 Randy MacLeod 2023-12-21 23:28:35 UTC
Bulk move of 52 5.0-M1 bugs to M2.
Comment 10 Tim Orling 2024-02-01 03:51:46 UTC
We should not only be respecting LAYERDEPENDS during an update (a layer dependency may have been dropped or added), but we also have issues with parsing dynamic-layers when a class is inherited there that is defined in the dynamic-layer.

In this case, we probably also want to dynamically add LAYERRECOMMENDS (a LayerDependency with "required" set to false in the layerindex admin UI) which should be parseable from BBFILES_DYNAMIC?

Perhaps a separate UI indication of dynamic layers would be useful too, but that is a different effort.
Comment 11 Randy MacLeod 2024-02-22 19:53:18 UTC
Bulk move of bugs from 5.0-M3 to 5.99.
The bugs in this list are all unassigned and are ones that I consider to be nice to do some time but not essential track from milestone to milestone in 5.0 or 5.1. We agreed on this bug handling approach in the YP bug review on Feb 22, 2024.

If you disagree, please move back to a 5.[012...]-M* milestone.
Comment 12 Tim Orling 2026-04-30 15:31:37 UTC
Still valid. Moving to 6.99.