All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Fetching code via git over ssh.
Date: Thu, 29 Mar 2012 14:18:21 +0200	[thread overview]
Message-ID: <4F74530D.10408@opendreambox.org> (raw)
In-Reply-To: <CAGiJk9esiphHKT9GaH8dLgOFB_xbLDr86PX-rzzsR8X66OVNaQ@mail.gmail.com>

On 29.03.2012 14:13, Samuel Stirtzel wrote:
> Hi,
> as I have set up a git server on one of my PCs and secured it with ssh.
> I tried to use the repository in a recipe, cloning via "git clone
> ssh://user@server/~/repo.git" works.
> But bitbake tries to fetch the repository via scp instead of git (also
> if I add protocol=git).
> 
> Tried something like this in my recipe:
> SRC_URI = "ssh://user@server/~/repo.git;protocol=git;branch=master"
> (note: the git repository is in the home directory of the user, so the
> tilde is not causing an error)
> 
> 
> Anyone else tried to fetch a repository on a ssh secured git server via bitbake?
> 

Use git://user@server/path;protocol=ssh



  reply	other threads:[~2012-03-29 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 12:13 Fetching code via git over ssh Samuel Stirtzel
2012-03-29 12:18 ` Andreas Oberritter [this message]
2012-03-29 13:12   ` Samuel Stirtzel

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=4F74530D.10408@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.