From: Konrad Weihmann Date: Tue, 14 Dec 2021 16:39:21 +0000 (+0100) Subject: insane: add Inactive-Upstream to Upstream-Status X-Git-Tag: uninative-3.5~472 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=05c39d9ee820c5807353d1f147fb36596466d03b;p=openembedded-core.git insane: add Inactive-Upstream to Upstream-Status as defined by latest addition to the commit message guideline Signed-off-by: Konrad Weihmann Signed-off-by: Richard Purdie --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 240f3aad62..d33918c7ce 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -1181,7 +1181,7 @@ python do_qa_patch() { content = open(fullpath, encoding='utf-8', errors='ignore').read() kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE) - strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Accepted|Inappropriate|Backport)( .+)?$", re.MULTILINE) + strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Accepted|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE) match_kinda = kinda_status_re.search(content) match_strict = strict_status_re.search(content) guidelines = "https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status"