Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 20, 2015 · 5 comments
Open

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

GoogleCodeExporter opened this issue Mar 20, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
Collaborator

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant