generic-poky/bitbake/lib/bb/fetch2
Juraj Hercek 51d64452f6 fetch2/git: change colon to dot in ud.host
Local cloning of git repositories from DL_DIR into WORKDIR fails when
using ssh URL with port specification e.g.
"ssh://user@host:port/path/to/repo.git". Git fetcher clones such remote
repository into "${DL_DIR}/git2/host:port.path.to.repo.git". However,
when clonging from ${DL_DIR}/git2/host:port.path.to.repo.git into
${WORKDIR}, git fetcher fails with "ssh: Could not resolve hostname
${DLDIR}/git2/host: Name or service not known".

A solution is to replace ":" by "." in host component, similarly as it
is done when replacing "/" with "." in path component, so that local
clone directory in DL_DIR looks like this: "host.port.path.to.repo.git".

(Bitbake rev: 1f2867b79f1cd2bfbdc849ba5677a39db6fa3396)

Signed-off-by: Juraj Hercek <juraj.hercek@jhksoftware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-04 16:04:07 +00:00
..
__init__.py fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled 2011-12-05 16:16:10 +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: change colon to dot in ud.host 2012-01-04 16:04:07 +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 2011-11-24 22:11:44 +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