mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] ptxd_make_get.sh: handle ssh://*.git
Date: Mon, 3 Feb 2014 09:01:17 +0100	[thread overview]
Message-ID: <20140203080117.GA28131@pengutronix.de> (raw)
In-Reply-To: <52EE50C1.1010200@lespocky.de>

Hi,

On Sun, Feb 02, 2014 at 03:05:53PM +0100, Alexander Dahl wrote:
> >  		case "${url}" in
> > -		git://*|http://*.git|https://*.git)
> > +		git://*|http://*.git|https://*.git|ssh://*.git)
> >  			ptxd_make_get_download_permitted &&
> >  			ptxd_make_get_git && return
> >  			;;
> 
> Does this mean one could use git in get stage? Is this documented
> somewhere how to use it?

I don't think it's documented anywhere. You can use it if you know what
you're doing (tm). PTXdist still only sees a tarball and a git url just
means that the tarball is created locally. So you cannot follow a branch,
but only use a specific revision. git URLs have a mandatory 'tag' parameter
to specify that.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-02-03  8:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-01 22:42 jon
2014-02-02 14:05 ` Alexander Dahl
2014-02-03  8:01   ` Michael Olbrich [this message]
2014-02-03  7:04 ` Uwe Kleine-König
2014-02-03  7:39   ` Alexander Dahl
2014-02-03  8:10     ` Uwe Kleine-König
2014-02-03  8:05   ` Michael Olbrich
2014-02-03 11:51   ` Jon Ringle
2014-02-03  8:05 ` Michael Olbrich

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=20140203080117.GA28131@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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