generic-poky/bitbake/lib/bb/fetch2
Richard Purdie f87c92143e fetch2: Improve uri_replace to handle paths with no trailing '/'
Currently if you specify a mirror like:

file://.* http://linux.freescale.net/yocto/sstate-cache

it won't work as you expect whilst:

file://.* http://linux.freescale.net/yocto/sstate-cache/

will since it has the trailing slash.

This patch handles both cases correctly. It also adds some debug to
the uri_replace function since its near impossible to debug it without
some kind of output.

[YOCTO #1578]

(Bitbake rev: a0246bf09c93bb657eaf6ba61d090b247ed33640)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-30 16:16:12 +00:00
..
__init__.py fetch2: Improve uri_replace to handle paths with no trailing '/' 2012-01-30 16:16:12 +00:00
bzr.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
cvs.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
git.py fetch2/git: Make git fetch run with -f so rebased branches don't fail 2012-01-30 16:16:11 +00:00
hg.py Fix mercurial fetcher in fetch2 2011-09-21 14:07:31 +01:00
local.py fetch2/local: Don't default to files in DL_DIR for file:// urls 2012-01-30 16:16:12 +00:00
osc.py Fix more incorrect usages of 'is' 2011-03-31 12:23:23 +01:00
perforce.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
repo.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
ssh.py bitbake/fetch2: Add explict network access exception and handling to give users usable error messages 2011-02-11 22:08:21 +00:00
svk.py fetch, fetch2: Get rid of DeprecationWarning notice 2011-03-03 22:51:33 +00:00
svn.py bitbake/fetch2: Fix the problems introduced by the git fetcher AUTOREV fix 2011-04-20 02:13:26 +01:00
wget.py fetch2/wget: make checkstatus() quieter 2011-09-20 22:24:09 +01:00