]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: handle https://....git URLs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 22 Dec 2015 04:02:55 +0000 (17:02 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Dec 2015 16:44:02 +0000 (16:44 +0000)
commitbdbc4cf41d30eddb8a9ed882dedcc1670ce8fdd6
tree1eea659706a35696ea1eec10bca0c3f890aff72b
parentd62fe7c9bc2df6a4464440a3cae0539074bf99aa
recipetool: create: handle https://....git URLs

When you grab a URL for a github repository you'll almost certainly find
it in https://github.com/path/to/repository.git format; but bitbake's
fetcher can't handle that because it'll see https:// at the start and
assume it should use wget to fetch it. If the URL starts with http:// or
https:// and the path part ends with .git then assume it's a git
repository and adjust it accordingly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py