[2/2] insane: add Inactive-Upstream to Upstream-Status

Message ID AM9PR09MB46424A574CEFA86AB0485D44A8759@AM9PR09MB4642.eurprd09.prod.outlook.com
State Accepted, archived
Commit 05c39d9ee820c5807353d1f147fb36596466d03b
Headers show
Series [1/2] insane: move src-uri-bad checks to unpack stage | expand

Commit Message

Konrad Weihmann Dec. 14, 2021, 4:34 p.m. UTC
as defined by latest addition to the commit message guideline

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 70c2d97df1..cc348173d6 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1170,7 +1170,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"