make bitbake git fetcher use https:// instead of git:// protocol by default

especially since github git:// access is disables as of today, we should
default to https:// instead.
This commit is contained in:
Harald Welte 2022-01-11 12:29:08 +01:00
parent 69d985c0c3
commit fa0881442f
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ Supported SRC_URI options are:
- protocol
The method to use to access the repository. Common options are "git",
"http", "https", "file", "ssh" and "rsync". The default is "git".
"http", "https", "file", "ssh" and "rsync". The default is "https".
- rebaseable
rebaseable indicates that the upstream git repo may rebase in the future,
@ -145,7 +145,7 @@ class Git(FetchMethod):
elif not
ud.proto = 'file'
ud.proto = "git"
ud.proto = "https"
if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)