* [PATCH] fetch2: npmsw: Add support for github prefix in npm shrinkwrap version
@ 2021-10-28 12:41 Stefan Herbrechtsmeier
0 siblings, 0 replies; only message in thread
From: Stefan Herbrechtsmeier @ 2021-10-28 12:41 UTC (permalink / raw)
To: bitbake-devel; +Cc: Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
---
lib/bb/fetch2/npmsw.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bb/fetch2/npmsw.py b/lib/bb/fetch2/npmsw.py
index 426a1396..06e66bd5 100644
--- a/lib/bb/fetch2/npmsw.py
+++ b/lib/bb/fetch2/npmsw.py
@@ -127,6 +127,8 @@ class NpmShrinkWrap(FetchMethod):
# Handle git sources
elif version.startswith("git"):
+ if version.startswith("github:"):
+ version = "git+https://github.com/" + version[len("github:"):]
regex = re.compile(r"""
^
git\+
--
2.20.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-28 12:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 12:41 [PATCH] fetch2: npmsw: Add support for github prefix in npm shrinkwrap version Stefan Herbrechtsmeier
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.