From: Joshua Watt <jpewhacker@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: luca.ceresoli@bootlin.com, Joshua Watt <JPEWhacker@gmail.com>
Subject: [OE-core][PATCH] classes/sanity: De-golf regex
Date: Mon, 8 Aug 2022 08:19:51 -0500 [thread overview]
Message-ID: <20220808131951.2029559-1-JPEWhacker@gmail.com> (raw)
The regex to match github or gitlab was unnecessarily shortened, which
prevented them from showing up when grepping.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
meta/classes/insane.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 37e10ad850..b66926f540 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1335,7 +1335,7 @@ def unpack_check_src_uri(pn, d):
oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses PN not BPN" % pn, d)
for url in d.getVar("SRC_URI").split():
- if re.search(r"git(hu|la)b\.com/.+/.+/archive/.+", url):
+ if re.search(r"(github|gitlab)\.com/.+/.+/archive/.+", url):
oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol" % pn, d)
python do_qa_unpack() {
--
2.33.0
next reply other threads:[~2022-08-08 13:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 13:19 Joshua Watt [this message]
2022-08-08 13:32 ` [OE-core][PATCH] classes/sanity: De-golf regex Luca Ceresoli
2022-08-08 19:34 ` Alexandre Belloni
2022-08-08 19:41 ` Joshua Watt
2022-08-09 19:53 ` Randy MacLeod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220808131951.2029559-1-JPEWhacker@gmail.com \
--to=jpewhacker@gmail.com \
--cc=luca.ceresoli@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox