Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 16:34:15 +0100
From:      Mathieu Arnold <mat@mat.cc>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r333364 - head/textproc/multimarkdown
Message-ID:  <3D6AC7C311D0A4CC2F145448@atuin.in.mat.cc>
In-Reply-To: <20131110151152.GA15285@apnoea.adamw.org>
References:  <201311100435.rAA4ZGjX092946@svn.freebsd.org> <A6367F22554CBD002B35BF5F@atuin.in.mat.cc> <20131110151152.GA15285@apnoea.adamw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 10 novembre 2013 10:11:52 -0500 Adam Weinberger <adamw@FreeBSD.org>
wrote:
|>> (2013/11/10 @ 0900 EST): Mathieu Arnold said, in 1.4K: <<
|> +--On 10 novembre 2013 04:35:16 +0000 Adam Weinberger <adamw@FreeBSD.org>
|> wrote:
|> | Log:
|> |   Avoid re-fetching if it was already completed.
|> 
|> Hum, it may have come up, but why download the sources with git when you
|> could get it with the various GH_* variables ?
|> 
|>> end of "Re: svn commit: r333364 - head/textproc/multimarkdown" from
|>> Mathieu Arnold <<
| 
| I keep getting asked this question; maybe I should add it to the
| Makefile.
| 
| This project depends on submodules for which there have been no tagged
| github releases, so there are no github tarballs available. The only way
| to fetch those sources is to check them out by hand, or make and
| distribute my own tarballs which I have no interest in doing.

Hum, ok, that's (almost) a good reason 0:-)
You really need to have a release to get a github tarball, all you need is
the hash of the commit you want to get. I have a lot of local ports coming
from github that have the date and time as PORTVERSION and only need the
hash of the commit, a bit like :

PORTNAME=       vim-puppet
PORTVERSION=    2013102117
...
USE_GITHUB=     yes
GH_ACCOUNT=     rodjek
GH_COMMIT=      4e78429
GH_TAGNAME=     ${GH_COMMIT}

But it's easier to get it all at once with a git checkout, I get it :-)

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D6AC7C311D0A4CC2F145448>