[erlang-questions] Turning rebar into a package manager
Tuncer Ayaz
tuncer.ayaz@REDACTED
Tue Oct 23 12:20:46 CEST 2012
On Tue, Oct 23, 2012 at 9:46 AM, Joe Armstrong <erlang@REDACTED> wrote:
> On Fri, Oct 19, 2012 at 2:33 PM, Fred Hebert <mononcqc@REDACTED> wrote:
>> For anyone interested, there's been an interesting blog post on the topic of
>> package managers written at
>> http://hyperthunk.wordpress.com/2012/05/28/does-erlangotp-need-a-new-package-management-solution/
>
> That's very interesting. Thanks for the reference
>
> I got to thinking a bit more. ...
>
> The above link has an example command
>
>> git fetch-pack --include-tag -v git@REDACTED:hyperthunk/gitfoo.git
>> refs/tags/lager-0.9.4
>
> This appears to fetch a tagged tree without all all other versions -
> just what I wanted
You can also use "git-archive --remote=<repo>":
http://www.kernel.org/pub/software/scm/git/docs/git-archive.html
$ git archive --remote=git://repo.or.cz/cgit.git --prefix=cgit-0.9.3/ \
-o cgit-0.9.3.tar.gz v0.9.0.3
More information about the erlang-questions
mailing list