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
[email protected]

Reply via email to