Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Ryan Kaldari
I found a solution to the problem: If a gerrit administrator declares the mimetypes of the files to be safe they will be displayed in-browser rather than downloaded as zip files: https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#_a_id_mimetype_a_section_mimetype Could

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Platonides
On 12/12/12 09:09, Ryan Kaldari wrote: I found a solution to the problem: If a gerrit administrator declares the mimetypes of the files to be safe they will be displayed in-browser rather than downloaded as zip files:

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Chad
On Wed, Dec 12, 2012 at 3:09 AM, Ryan Kaldari rkald...@wikimedia.org wrote: I found a solution to the problem: If a gerrit administrator declares the mimetypes of the files to be safe they will be displayed in-browser rather than downloaded as zip files:

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Antoine Musso
Le 11/12/12 19:47, Ryan Kaldari wrote: Then I could copy code without copying all the line numbers. We could apply 'user-select: none;' to the element containing the line number. It is not supported on all browsers though. I think I used that in our old Special:CodeReview. I could not find the

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Ryan Kaldari
On 12/12/12 4:44 AM, Chad wrote: On Wed, Dec 12, 2012 at 3:09 AM, Ryan Kaldari rkald...@wikimedia.org wrote: I found a solution to the problem: If a gerrit administrator declares the mimetypes of the files to be safe they will be displayed in-browser rather than downloaded as zip files:

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Chad
On Wed, Dec 12, 2012 at 1:46 PM, Ryan Kaldari rkald...@wikimedia.org wrote: On 12/12/12 4:44 AM, Chad wrote: On Wed, Dec 12, 2012 at 3:09 AM, Ryan Kaldari rkald...@wikimedia.org wrote: I found a solution to the problem: If a gerrit administrator declares the mimetypes of the files to be

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Jon Robson
On Tue, Dec 11, 2012 at 10:47 AM, Ryan Kaldari rkald...@wikimedia.org wrote: This is actually my biggest annoyance with gerrit—that I can't view raw code from the change view. I can't fathom why they have a zip download link, but not a view link. Then I could copy code without copying all the

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Subramanya Sastry
On Tue, Dec 11, 2012 at 10:47 AM, Ryan Kaldari rkald...@wikimedia.org wrote: This is actually my biggest annoyance with gerrit—that I can't view raw code from the change view. I can't fathom why they have a zip download link, but not a view link. Then I could copy code without copying all the

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Thomas Gries
I started this thread. I filed this bug https://bugzilla.wikimedia.org/show_bug.cgi?id=42989 Gerrit: show link for raw file content in gerrit diff views (a solution is proposed inside) It has been closed as RESOLVED INVALID instead of deploying a solution to Gerrit. As a solution of the problem

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-12 Thread Matthew Flaschen
On 12/12/2012 03:26 PM, Thomas Gries wrote: I started this thread. I filed this bug https://bugzilla.wikimedia.org/show_bug.cgi?id=42989 Gerrit: show link for raw file content in gerrit diff views (a solution is proposed inside) It has been closed as RESOLVED INVALID instead of deploying a

[Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-11 Thread Thomas Gries
While tracking an iusse I came to https://gerrit.wikimedia.org/r/#/c/7986/ (example case) In the list of files I clicked on https://gerrit.wikimedia.org/r/#/c/7986/14/includes/UserMailer.php Now I am desperately seeking a link to _show the raw file content after the commit in the __browser__,__

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-11 Thread Antoine Musso
Le 11/12/12 10:42, Thomas Gries a écrit : While tracking an iusse I came to https://gerrit.wikimedia.org/r/#/c/7986/ (example case) In the list of files I clicked on https://gerrit.wikimedia.org/r/#/c/7986/14/includes/UserMailer.php Now I am desperately seeking a link to _show the raw file

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-11 Thread Niklas Laxström
On 11 December 2012 11:42, Thomas Gries m...@tgries.de wrote: While tracking an iusse I came to https://gerrit.wikimedia.org/r/#/c/7986/ (example case) In the list of files I clicked on https://gerrit.wikimedia.org/r/#/c/7986/14/includes/UserMailer.php Now I am desperately seeking a link to

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-11 Thread Ryan Kaldari
This is actually my biggest annoyance with gerrit—that I can't view raw code from the change view. I can't fathom why they have a zip download link, but not a view link. Then I could copy code without copying all the line numbers. Ryan Kaldari On 12/11/12 9:25 AM, Niklas Laxström wrote: On