git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* gitweb feature request: tarball for each commit
@ 2005-09-08  4:30 Martin Langhoff
  2005-09-08  8:45 ` Sven Verdoolaege
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Langhoff @ 2005-09-08  4:30 UTC (permalink / raw)
  To: Git Mailing List

With Archzoom, when looking at a particular commit/cset you get a
small "[tarball]" link that does an 'export' of the whole tree at that
patchlevel and tars it up for the user. It's heavy on the server and
bandwidth, but if you can afford it, it is mighty useful to push out
patches immediately to non-git-using end users.

Here's an example of an archzoom page --- it's among the top-right
links. I'm sure we could do something like this with git-tar-tree...

Actually... should get it done. I'll see if I can sneak it in sometime soon... 

cheers,


martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitweb feature request: tarball for each commit
  2005-09-08  4:30 gitweb feature request: tarball for each commit Martin Langhoff
@ 2005-09-08  8:45 ` Sven Verdoolaege
  2005-09-08 11:32   ` Kay Sievers
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Verdoolaege @ 2005-09-08  8:45 UTC (permalink / raw)
  To: Martin Langhoff; +Cc: Git Mailing List

On Thu, Sep 08, 2005 at 04:30:22PM +1200, Martin Langhoff wrote:
> Actually... should get it done. I'll see if I can sneak it in sometime soon... 

This has been done at least twice already.
See e.g., http://www.liacs.nl/~sverdool/gitweb.cgi?p=gitweb.git;a=summary
Check the archives for the other implementation.

skimo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitweb feature request: tarball for each commit
  2005-09-08  8:45 ` Sven Verdoolaege
@ 2005-09-08 11:32   ` Kay Sievers
  2005-09-08 14:03     ` A Large Angry SCM
  0 siblings, 1 reply; 5+ messages in thread
From: Kay Sievers @ 2005-09-08 11:32 UTC (permalink / raw)
  To: Martin Langhoff, Git Mailing List

On Thu, Sep 08, 2005 at 10:45:45AM +0200, Sven Verdoolaege wrote:
> On Thu, Sep 08, 2005 at 04:30:22PM +1200, Martin Langhoff wrote:
> > Actually... should get it done. I'll see if I can sneak it in sometime soon... 
> 
> This has been done at least twice already.
> See e.g., http://www.liacs.nl/~sverdool/gitweb.cgi?p=gitweb.git;a=summary
> Check the archives for the other implementation.

Yes, this is nice for smaller projects. But I don't think, that we want
to do such a thing on the kernel.org servers. We already have the daily
snapshots and individual patches can be downloaded from gitweb. Anybody
else should use git/cogito instead of letting the server packaging a huge
tree for every requested revison, I think.

Kay

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitweb feature request: tarball for each commit
  2005-09-08 11:32   ` Kay Sievers
@ 2005-09-08 14:03     ` A Large Angry SCM
  2005-09-08 22:23       ` Martin Langhoff
  0 siblings, 1 reply; 5+ messages in thread
From: A Large Angry SCM @ 2005-09-08 14:03 UTC (permalink / raw)
  To: Kay Sievers; +Cc: Martin Langhoff, Git Mailing List

Kay Sievers wrote:
> On Thu, Sep 08, 2005 at 10:45:45AM +0200, Sven Verdoolaege wrote:
>>On Thu, Sep 08, 2005 at 04:30:22PM +1200, Martin Langhoff wrote:
>>>Actually... should get it done. I'll see if I can sneak it in sometime soon... 
>>This has been done at least twice already.
>>See e.g., http://www.liacs.nl/~sverdool/gitweb.cgi?p=gitweb.git;a=summary
>>Check the archives for the other implementation.
> 
> Yes, this is nice for smaller projects. But I don't think, that we want
> to do such a thing on the kernel.org servers. We already have the daily
> snapshots and individual patches can be downloaded from gitweb. Anybody
> else should use git/cogito instead of letting the server packaging a huge
> tree for every requested revison, I think.

I think this is a very useful feature for for some, but not all, 
repositories. Default it to off and have a magic file (like git-daemon), 
or a config variable turn it on.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gitweb feature request: tarball for each commit
  2005-09-08 14:03     ` A Large Angry SCM
@ 2005-09-08 22:23       ` Martin Langhoff
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Langhoff @ 2005-09-08 22:23 UTC (permalink / raw)
  To: Git Mailing List

> > Yes, this is nice for smaller projects. But I don't think, that we want
> > to do such a thing on the kernel.org servers. 
>
> I think this is a very useful feature for for some, but not all,
> repositories. Default it to off and have a magic file (like git-daemon),
> or a config variable turn it on.

+1! It'd be murder for large and/or popular projects, but it's a
really conventient thing to have as an optional feature. Archzoom has
it, and defaults to off ;)

I've checked out Sven's tree as well -- his implementation is pretty
cool actually, much more sophisticated that I'd planned, and using
POST to avoid stupid bots requesting the tarballs.

In this situation ("look at my repo via gitweb, it has some cool
patches over otherhacker's branch") it is hard to discriminate what
patches differentiate Sven's repo from Kay's. I'm thinking of, when
looking at a branch, having a link that shows the equivalent of 
`cg-log -r thisbranch:origin` and another one for `cg-log -r
origin:thisbranch`.

cheers,



martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-08 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-08  4:30 gitweb feature request: tarball for each commit Martin Langhoff
2005-09-08  8:45 ` Sven Verdoolaege
2005-09-08 11:32   ` Kay Sievers
2005-09-08 14:03     ` A Large Angry SCM
2005-09-08 22:23       ` Martin Langhoff

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).