[Openembedded-architecture] Layer index duplicates tool
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Oct 17 20:26:36 UTC 2016
On Mon, 17 Oct 2016 15:16:55 Sean Hudson wrote:
> On 10/16/2016 2:34 PM, Paul Eggleton wrote:
> > At OEDEM I see in the minutes that there was a discussion about duplicate
> > recipes and that we should have a way of finding them.
> >
> > I wanted to draw people's attention to the Duplicates function of the
> > layer index, which I suspect has still gone unnoticed even though it's
> > been there for quite some time. You need to create an account and log in
> > in order to access it; once you do you should see a "Tools" drop-down at
> > the top right from which you can select "Duplicates".
> >
> > By default it will show you duplicate recipes and classes across all
> > layers, but often that won't be what you want to see - for example,
> > meta-debian intentionally duplicates quite a few recipes which makes the
> > list longer than you'd want. If this is the case, hit the "Filter layers"
> > button in the top right to select the layers you do want to see.
>
> Thanks for the tip! Is that capability available via the REST API?
> One of the other parts of that discussion included identifying ways to
> add layer checks, e.g. finding duplicates, to automated builds.
It's not accessible via the API, but I would accept patches to add it. Filing
an enhancement bug would be a good first step.
However "automated builds" implies that in some cases you might actually be
using a layer or revision of a layer that's not actually the same as what the
index knows about. If that's the scenario then you may need to use something
local to the build instead - "bitbake-layers show-overlayed" will do that, but
of course only within the layers you have specified in bblayers.conf.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-architecture
mailing list