On Wed, 2020-01-08 at 15:54 +0100, Alexander Kanavin wrote:
> On Wed, 8 Jan 2020 at 15:47, Richard Purdie <
> [email protected]> 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

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to