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:
parent
69d985c0c3
commit
fa0881442f
|
@ -25,7 +25,7 @@ Supported SRC_URI options are:
|
||||||
|
|
||||||
- protocol
|
- protocol
|
||||||
The method to use to access the repository. Common options are "git",
|
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
|
||||||
rebaseable indicates that the upstream git repo may rebase in the future,
|
rebaseable indicates that the upstream git repo may rebase in the future,
|
||||||
|
@ -145,7 +145,7 @@ class Git(FetchMethod):
|
||||||
elif not ud.host:
|
elif not ud.host:
|
||||||
ud.proto = 'file'
|
ud.proto = 'file'
|
||||||
else:
|
else:
|
||||||
ud.proto = "git"
|
ud.proto = "https"
|
||||||
|
|
||||||
if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
|
if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
|
||||||
raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
|
raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
|
||||||
|
|
Loading…
Reference in New Issue