]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: convert http git URLs that don't end in .git but contain /git/
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 11 Feb 2016 01:13:34 +0000 (14:13 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Feb 2016 12:32:56 +0000 (12:32 +0000)
commit3ca04757a670e8b6f78799cc0454d75691809ac4
tree0605f8c4970e3582d09b0f7e6dd07d0901ff8ff1
parentd3c46b5d0abd56bcadd4f2f1ef985f13d67f605b
recipetool: create: convert http git URLs that don't end in .git but contain /git/

When recipetool create is given a URL that starts with http(s):// and
contains /git/, such as the URLs at git.yoctoproject.org, it's fairly safe
to assume it's a git repository and not something that should be fetched
with wget, so rewrite the URL.

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