From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WAESz-0003F0-DU for ptxdist@pengutronix.de; Mon, 03 Feb 2014 09:01:17 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1WAESz-0000Xr-Bl for ptxdist@pengutronix.de; Mon, 03 Feb 2014 09:01:17 +0100 Date: Mon, 3 Feb 2014 09:01:17 +0100 From: Michael Olbrich Message-ID: <20140203080117.GA28131@pengutronix.de> References: <1391294571-31138-1-git-send-email-jon@ringle.org> <52EE50C1.1010200@lespocky.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <52EE50C1.1010200@lespocky.de> Subject: Re: [ptxdist] [PATCH] ptxd_make_get.sh: handle ssh://*.git Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.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