]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: fix handling of github URLs
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 29 Jun 2016 22:46:26 +0000 (10:46 +1200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 10 Jul 2016 23:02:42 +0000 (11:02 +1200)
commitaa33e3c26d53f41d094c1a0f563500c7c0508a63
treed63a25f6108745e8cf71d29a275cf8325a13f945
parentb17f91ed06a604e3d356fe17756bfe2ca61594b7
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>
scripts/lib/recipetool/create.py