All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fetch2/wget: do not hardcode tarball compressors in version check
@ 2021-12-06 16:41 Alexander Kanavin
  2021-12-06 16:50 ` [bitbake-devel] " Konrad Weihmann
  2021-12-06 22:47 ` Richard Purdie
  0 siblings, 2 replies; 7+ messages in thread
From: Alexander Kanavin @ 2021-12-06 16:41 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Alexander Kanavin

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 bitbake/lib/bb/fetch2/wget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index fd9b304961..3021ef359e 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -583,7 +583,7 @@ class Wget(FetchMethod):
 
         # src.rpm extension was added only for rpm package. Can be removed if the rpm
         # packaged will always be considered as having to be manually upgraded
-        psuffix_regex = r"(tar\.gz|tgz|tar\.bz2|zip|xz|tar\.lz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)"
+        psuffix_regex = r"(tar\.\w+|tgz|zip|xz|rpm|bz2|orig\.tar\.\w+|src\.tar\.\w+|src\.tgz|svnr\d+\.tar\.\w+|stable\.tar\.\w+|src\.rpm)"
 
         # match name, version and archive type of a package
         package_regex_comp = re.compile(r"(?P<name>%s?\.?v?)(?P<pver>%s)(?P<arch>%s)?[\.-](?P<type>%s$)"
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-07 11:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-06 16:41 [PATCH] fetch2/wget: do not hardcode tarball compressors in version check Alexander Kanavin
2021-12-06 16:50 ` [bitbake-devel] " Konrad Weihmann
2021-12-06 17:02   ` Alexander Kanavin
2021-12-06 22:47 ` Richard Purdie
2021-12-07  9:39   ` Alexander Kanavin
     [not found]     ` <3600232f440e8a1a1caed9a57f0105a02f38e6df.camel@linuxfoundation.org>
2021-12-07 11:28       ` Alexander Kanavin
     [not found]       ` <16BE7582F291F13E.1024@lists.openembedded.org>
2021-12-07 11:38         ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.