| Issue 416: | Link to /cat/ download URL on side-by-side views | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sometimes in order to review code, I'd like to download it to my desktop. This might be so that I can compile it and run it, or to run tools against it (Javadoc, for example). Gerrit doesn't let me do this. When I use copy&paste, I get an unholy mess of line numbers from both the left-hand and right-hand documents.
Jan 23, 2010
#1
sop@google.com
Status:
WontFix
Jan 25, 2010
We agree that copy&paste from the current web UI is bad; I was hoping you could add another servlet to download the raw files. Git pull only works if I have a client ready to accept the change. This isn't always the case (because I'm doing a code review on a bus, or because my Git clients are busy compiling...).
Jan 25, 2010
We do have a servlet that returns raw file contents... but for security reasons it tends to return them in a zipped archive, making them a bit more difficult to work with. $GERRIT_URL/cat/42,1,src/foo.c Will return the new content of file src/foo.c from change 42, in patch set 1. Its not documented because we only use it with the binary files, like an image or font file. I guess we can revive this bug as a feature request to make that URL visible on the side-by-side viewer.
Summary:
Link to /cat/ download URL on side-by-side views
Status: Accepted
Jan 25, 2010
Change Ie619207fe744824aed69603fe48d2a8520b9bd5d adds (Download) links to point to the /cat/ servlet.
Status:
Fixed
Labels: FixedIn-2.1.2
Oct 21, 2012
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |