From: Michael Opdenacker Date: Thu, 21 Sep 2023 12:26:12 +0000 (+0200) Subject: lib/oe/qa: update guidelines link for Upstream-Status X-Git-Tag: yocto-5.2~5103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a8781a8f02c924d8a19e727e5d1bc6b89bf976da;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lib/oe/qa: update guidelines link for Upstream-Status Signed-off-by: Michael Opdenacker Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py index 94955f78ba6..f8ae3c743ff 100644 --- a/meta/lib/oe/qa.py +++ b/meta/lib/oe/qa.py @@ -217,7 +217,7 @@ def check_upstream_status(fullpath): import re kinda_status_re = re.compile(r"^.*upstream.*status.*$", re.IGNORECASE | re.MULTILINE) strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE) - guidelines = "https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status" + guidelines = "https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status" with open(fullpath, encoding='utf-8', errors='ignore') as f: file_content = f.read()