]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix handling of github URLs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 6 Jul 2016 23:57:07 +0000 (11:57 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Jul 2016 22:10:04 +0000 (23:10 +0100)
commit7998dc3597657229507e5c140fceef1e485ac402
tree3e25940d90141a59479e0d50e71787fefbb44710
parent0d0864ae0ff9e53623ad1c7146b071f2a046f21f
recipetool: create: fix handling of github URLs

For a while now, Github hasn't been advertising a specific repository
URL since cloning the web URL with git works. Armed with this knowledge
and fully expecting people to just paste the github URL, we need to
handle this situation specially. If it looks like a github URL to the
root of a repository then treat it as a git repository instead of a
normal https URL to be fetched by the wget fetcher.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create.py