diff mbox series

[v3,8/8] insane.bbclass: Drop qa check for maintainers of packagefeeds.

Message ID 20230818174754.988128-9-charlie.johnston@ni.com
State New
Headers show
Series Add new packagefeed recipe class | expand

Commit Message

Charlie Johnston Aug. 18, 2023, 5:44 p.m. UTC
The do_recipe_qa task checks if recipes have a maintainer
except for certain types of recipes such as packagegroups or
-native recipes. The new packagefeed recipe class is similar
to a packagegroup and should be treated the same.

This change adds packagefeed recipes to the recipe types that
don't require a maintainer.

Signed-off-by: Charlie Johnston <charlie.johnston@ni.com>
---
 meta/classes-global/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 960dfc8924a..9ff4870afde 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1488,7 +1488,7 @@  python do_recipe_qa() {
     def test_missing_maintainer(d):
         fn = d.getVar("FILE")
         pn = d.getVar("PN")
-        if pn.endswith("-native") or pn.startswith("nativesdk-") or "packagegroup-" in pn or "core-image-ptest-" in pn:
+        if pn.endswith("-native") or pn.startswith("nativesdk-") or "packagegroup-" in pn or "packagefeed-" in pn or "core-image-ptest-" in pn:
             return
         if not d.getVar('RECIPE_MAINTAINER'):
             oe.qa.handle_error("missing-maintainer", "Recipe {} in {} does not have an assigned maintainer. Please add an entry into meta/conf/distro/include/maintainers.inc.".format(pn, fn), d)