# Git Download/Bootstrap Suggestion

7 messages from 2009-03-27 to 2009-03-29. Participants: Mike Gaffney, Sverre Rabbelier, Dilip M, Michael J Gruber, Jacob Helwig, Scott Chacon.
Thread: https://gitlist.dev/t/18590

## Mike Gaffney, 2009-03-27 17:09

Subject: Git Download/Bootstrap Suggestion
Message-ID: <49CD0841.9000602@gmail.com>
URL: https://gitlist.dev/e/49CD0841.9000602%40gmail.com

```
I may be missing something, but I would like to request that 
http://git-scm.com/download provide a link to a tarball of the actual 
git clone of the current repository with the repo parked on the latest 
stable. What I mean is that for most of my systems I build git off of 
source but I like to be able to just git pull when I want to update 
them. Currently what I have to do is
- download the source tarball (or the rpm)
- make it
- install it
- use that git clone the real repo
- checkout the newest tag
- make configure
- configure
- make
- make install

It'd be a lot cooler if I could just wget a full get repo on the latest 
tag :)

Just a request, Thanks
    -Mike

```

## Sverre Rabbelier, 2009-03-27 23:21

Subject: Re: Git Download/Bootstrap Suggestion
Message-ID: <fabb9a1e0903271621g392eefdeu85b46c655c1ad067@mail.gmail.com>
URL: https://gitlist.dev/e/fabb9a1e0903271621g392eefdeu85b46c655c1ad067%40mail.gmail.com
In-Reply-To: <49CD0841.9000602@gmail.com>

```
Heya,

On Fri, Mar 27, 2009 at 18:09, Mike Gaffney <mr.gaffo@gmail.com> wrote:
> I have to do is
> - download the source tarball (or the rpm)
> - make it
> - install it

Nah, you don't need to do all that ;).


> It'd be a lot cooler if I could just wget a full get repo on the latest tag

You mean like, this?

http://repo.or.cz/w/git.git?a=snapshot;h=master;sf=tgz

-- 
Cheers,

Sverre Rabbelier

```

## Dilip M, 2009-03-28 07:24

Subject: Re: Git Download/Bootstrap Suggestion
Message-ID: <c94f8e120903280024l73e9b072g3f9d31a566cc31eb@mail.gmail.com>
URL: https://gitlist.dev/e/c94f8e120903280024l73e9b072g3f9d31a566cc31eb%40mail.gmail.com
In-Reply-To: <49CD0841.9000602@gmail.com>

```
I had a same question :) what I want is to distribute a git version
across some team. I maintain a clone and keep the latest tag
checkedout. When ever there is a new release (tag), I switch to master
branch and pull. Than I checkout the new tag and compile.  Is there
any simple way to do this w/o any downtime?. There should be .... I
just miss some extra knowledge on git. Thanks in advance for
suggestions

     Dilip

On 3/27/09, Mike Gaffney <mr.gaffo@gmail.com> wrote:
> I may be missing something, but I would like to request that
> http://git-scm.com/download provide a link to a tarball of the actual
> git clone of the current repository with the repo parked on the latest
> stable. What I mean is that for most of my systems I build git off of
> source but I like to be able to just git pull when I want to update
> them. Currently what I have to do is
> - download the source tarball (or the rpm)
> - make it
> - install it
> - use that git clone the real repo
> - checkout the newest tag
> - make configure
> - configure
> - make
> - make install
>
> It'd be a lot cooler if I could just wget a full get repo on the latest
> tag :)
>
> Just a request, Thanks
>     -Mike
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```

## Michael J Gruber, 2009-03-28 16:09

Subject: Re: Git Download/Bootstrap Suggestion
Message-ID: <49CE4BD2.4060808@drmicha.warpmail.net>
URL: https://gitlist.dev/e/49CE4BD2.4060808%40drmicha.warpmail.net
In-Reply-To: <fabb9a1e0903271621g392eefdeu85b46c655c1ad067@mail.gmail.com>

```
Sverre Rabbelier venit, vidit, dixit 28.03.2009 00:21:
> Heya,
> 
> On Fri, Mar 27, 2009 at 18:09, Mike Gaffney <mr.gaffo@gmail.com> wrote:
>> I have to do is
>> - download the source tarball (or the rpm)
>> - make it
>> - install it
> 
> Nah, you don't need to do all that ;).
> 
> 
>> It'd be a lot cooler if I could just wget a full get repo on the latest tag
> 
> You mean like, this?
> 
> http://repo.or.cz/w/git.git?a=snapshot;h=master;sf=tgz
> 

No, I think he meant repo, not work tree.

Michael

```

## Sverre Rabbelier, 2009-03-28 16:15

Subject: Re: Git Download/Bootstrap Suggestion
Message-ID: <fabb9a1e0903280915l512374ebt8a1f804666dfe87b@mail.gmail.com>
URL: https://gitlist.dev/e/fabb9a1e0903280915l512374ebt8a1f804666dfe87b%40mail.gmail.com
In-Reply-To: <49CE4BD2.4060808@drmicha.warpmail.net>

```
Heya,

On Sat, Mar 28, 2009 at 17:09, Michael J Gruber
<git@drmicha.warpmail.net> wrote:
> No, I think he meant repo, not work tree.

Why would he need the repo to bootstrap?

-- 
Cheers,

Sverre Rabbelier

```

## Jacob Helwig, 2009-03-28 16:24

Subject: Re: Git Download/Bootstrap Suggestion
Message-ID: <8c9a060903280924h62f4d7aq47819bf3264e6ad6@mail.gmail.com>
URL: https://gitlist.dev/e/8c9a060903280924h62f4d7aq47819bf3264e6ad6%40mail.gmail.com
In-Reply-To: <fabb9a1e0903280915l512374ebt8a1f804666dfe87b@mail.gmail.com>

```
So he can compile git from a git repo, and not have to download it
(again) after compiling from a work tree.  Saving a step, and
re-compiling a bunch of files when he upgrades.

On Sat, Mar 28, 2009 at 09:15, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> Heya,
>
> On Sat, Mar 28, 2009 at 17:09, Michael J Gruber
> <git@drmicha.warpmail.net> wrote:
>> No, I think he meant repo, not work tree.
>
> Why would he need the repo to bootstrap?
>
> --
> Cheers,
>
> Sverre Rabbelier
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```

## Scott Chacon, 2009-03-29 15:29

Subject: Re: Git Download/Bootstrap Suggestion
Message-ID: <d411cc4a0903290829p7e7ad14aob62e222877956ba5@mail.gmail.com>
URL: https://gitlist.dev/e/d411cc4a0903290829p7e7ad14aob62e222877956ba5%40mail.gmail.com
In-Reply-To: <8c9a060903280924h62f4d7aq47819bf3264e6ad6@mail.gmail.com>

```
On Sat, Mar 28, 2009 at 5:24 PM, Jacob Helwig <jacob.helwig@gmail.com> wrote:
> So he can compile git from a git repo, and not have to download it
> (again) after compiling from a work tree.  Saving a step, and
> re-compiling a bunch of files when he upgrades.
>

I'm a bit unclear why you would compile/install the second time - if
it's the latest tag, it should be the same as you got from the archive
on the website, the second step should just be re-installing the exact
same Git.  Why not just build it from source the first time and then
pull down the full source for the subsequent times - you're losing
seconds total in the process.  Unless you're doing this all the time,
in which case it seems like it makes more sense to just keep one repo,
build a package of some sort (rpm, deb, etc) and distribute that to
all the computers you're using.

I mean, if you really, really want it then you can :

a) clone the website source : git://github.com/schacon/gitscm
b) write the script that would do it on each release (scripts/ dir)
c) test it
d) write some code that would dynamically link that in the downloads
page at the bottom

If that works then I'll probably pull it in for you.

Scott

> On Sat, Mar 28, 2009 at 09:15, Sverre Rabbelier <srabbelier@gmail.com> wrote:
>> Heya,
>>
>> On Sat, Mar 28, 2009 at 17:09, Michael J Gruber
>> <git@drmicha.warpmail.net> wrote:
>>> No, I think he meant repo, not work tree.
>>
>> Why would he need the repo to bootstrap?
>>
>> --
>> Cheers,
>>
>> Sverre Rabbelier
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

```
