[bitbake-devel] [bitbake-devel, 1.42, 1.40, v2] git.py: Handle space in git repo name for http/https protocol

akuster808 akuster808 at gmail.com
Mon Jul 8 03:06:20 UTC 2019



On 7/7/19 12:55 PM, Ankur Tyagi wrote:
> Ping
>
> Regards
> Ankur
>

This needs to land in master first before it can be backported.

I don't see this in the patchwork either., not sure why

- armin

> On Thu, 4 Jul 2019, 4:45 p.m. Ankur Tyagi, <ankur.tyagi85 at gmail.com
> <mailto:ankur.tyagi85 at gmail.com>> wrote:
>
>     Signed-off-by: Ankur Tyagi <ankur.tyagi85 at gmail.com
>     <mailto:ankur.tyagi85 at 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
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20190707/38d57c94/attachment.html>


More information about the bitbake-devel mailing list