[OE-core] [PATCH] maintainers.inc: cleanup entries
Richard Purdie
richard.purdie at linuxfoundation.org
Wed Jan 8 14:56:33 UTC 2020
On Wed, 2020-01-08 at 15:54 +0100, Alexander Kanavin wrote:
> On Wed, 8 Jan 2020 at 15:47, Richard Purdie <
> richard.purdie at linuxfoundation.org> wrote:
> > On Wed, 2020-01-08 at 12:17 +0100, Alexander Kanavin wrote:
> > > Just a note: there is an oe-selftest for this which you can use
> > to
> > > verify that all recipes still have a maintainer listed:
> > >
> > > oe-selftest -r distrodata.Distrodata.test_maintainers
> >
> > Perhaps we should extend it to check for recipes which have a
> > maintainer but no recipe? :)
>
> But how to do that? I know how to iterate over existing recipes, but
> I don't know how to iterate over entries in maintainers.inc, and then
> check whether a recipe exists.
Python for loop over d.keys() and k.startswith(XXX). Not recommended
for speed but quite capable for something like this.
Cheers,
Richard
More information about the Openembedded-core
mailing list