dushmis / gitiles

Automatically exported from code.google.com/p/gitiles
0 stars 0 forks source link

URL to download tar/zip archive of a project #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Support downloading a tar (or zip) archive of a revision, e.g. 
/+archive/revision.tar.gz or /+archive/revision.zip to download a tgz or a zip.

Original issue reported on code.google.com by dborowitz@google.com on 11 Nov 2012 at 11:21

GoogleCodeExporter commented 9 years ago
This would be very handy.

For example I just wanted to compile a kernel and I had to get the whole (huge) 
git repository for https://android.googlesource.com/platform/prebuilt when just 
a checkout of a specific revision would have been enough.

Original comment by a...@amarulasolutions.com on 10 Apr 2013 at 10:35

GoogleCodeExporter commented 9 years ago
You can get an entire tree at just a specific revision via git with a shallow 
clone.

Original comment by dborowitz@google.com on 10 Apr 2013 at 4:45

GoogleCodeExporter commented 9 years ago
for me this is a blocker, as this is a very important requirement in my 
environment, both: cgit and gitweb are having the feature

Original comment by psz...@gmail.com on 10 Jun 2013 at 2:49

GoogleCodeExporter commented 9 years ago
This is much easier now that JGit has archive support merged upstream.

Original comment by dborowitz@google.com on 10 Jun 2013 at 4:29

GoogleCodeExporter commented 9 years ago
https://gerrit-review.googlesource.com/47141/ added /+archive/ support. The 
details of the archive that produces aren't set in stone yet (e.g., I'd like to 
make project-revision.tar.gz prefix pathnames of its entries with 
project-revision/).

Original comment by jrnieder on 1 Oct 2013 at 5:58