]> 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>
Fri, 15 Jan 2016 15:41:31 +0000 (15:41 +0000)
commit9d41e993a95a7b60f1ed5f8e9ca887fdf393233c
tree31f8a2cc85342291b9d8786f50f7a5b008a49edd
parentb2696869c1428e8ef2a198d2432121ddc2e2034c
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.

(From OE-Core master rev: bdbc4cf41d30eddb8a9ed882dedcc1670ce8fdd6)

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