All of lore.kernel.org
 help / color / mirror / Atom feed
* [bitbake-devel, 1.42, 1.40, v2] git.py: Handle space in git repo name for http/https protocol
@ 2019-07-04  4:46 Ankur Tyagi
  2019-07-07 19:55 ` Ankur Tyagi
  2019-07-08 18:28 ` Mark Hatle
  0 siblings, 2 replies; 17+ messages in thread
From: Ankur Tyagi @ 2019-07-04  4:46 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Ankur Tyagi

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
 lib/bb/fetch2/git.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index 59a2ee8f..a8fcc2bf 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -156,6 +156,9 @@ class Git(FetchMethod):
         if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
             raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
 
+        if ud.proto in ('http', 'https'):
+            ud.path = ud.path.replace(" ", "%20")
+
         ud.nocheckout = ud.parm.get("nocheckout","0") == "1"
 
         ud.rebaseable = ud.parm.get("rebaseable","0") == "1"
-- 
2.17.1



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

end of thread, other threads:[~2019-08-04  0:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04  4:46 [bitbake-devel, 1.42, 1.40, v2] git.py: Handle space in git repo name for http/https protocol Ankur Tyagi
2019-07-07 19:55 ` Ankur Tyagi
2019-07-08  3:06   ` akuster808
2019-07-08  9:48     ` Ankur Tyagi
2019-07-08 18:28 ` Mark Hatle
2019-07-08 21:12   ` Ankur Tyagi
2019-07-08 23:01     ` Mark Hatle
2019-07-08 23:50       ` Ankur Tyagi
2019-07-10  9:26         ` Ankur Tyagi
2019-07-10 11:33           ` Richard Purdie
2019-07-26  2:23             ` Ankur Tyagi
2019-07-26  3:13               ` Ankur Tyagi
2019-07-28  9:15                 ` Ankur Tyagi
2019-07-30  8:24                   ` Ankur Tyagi
2019-08-03 21:34                   ` Ankur Tyagi
2019-08-03 23:45                     ` Khem Raj
2019-08-04  0:24                       ` Ankur Tyagi

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.