Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Juraj Hercek <juraj.hercek@jhksoftware.com>
Cc: Bitbake Devel <bitbake-devel@lists.openembedded.org>
Subject: Re: [PATCH] fetch2/git: change colon to dot in ud.host
Date: Wed, 04 Jan 2012 14:19:33 +0000	[thread overview]
Message-ID: <1325686773.20759.2.camel@ted> (raw)
In-Reply-To: <1324563672-26403-2-git-send-email-juraj.hercek@jhksoftware.com>

On Thu, 2011-12-22 at 15:21 +0100, Juraj Hercek wrote:
> 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".
> 
> Signed-off-by: Juraj Hercek <juraj.hercek@jhksoftware.com>
> ---
>  lib/bb/fetch2/git.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard




      reply	other threads:[~2012-01-04 14:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-22 14:21 [PATCH] Fix for git fetcher when using ssh URL with port specification Juraj Hercek
2011-12-22 14:21 ` [PATCH] fetch2/git: change colon to dot in ud.host Juraj Hercek
2012-01-04 14:19   ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1325686773.20759.2.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=juraj.hercek@jhksoftware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox