RE: [viewvc-users] numbers clickable for .py extension
James Lee <[email protected]> Mon, 21 Nov 2011 11:06:19 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Dear viewvc-users, There is a file /etc/viewvc/mimetypes.conf which contains the following line: text/x-python py pyw sc This file can be enabled by uncommenting the following line in /etc/viewvc/viewvc.conf: #mime_types_files = mimetypes.conf However, enabling the mime_types_files option does not make the version numbers clickable on the Index of /ai-affiliates/trunk/affiliates that was in the screen shot I sent. The only way to get to the python seem to be to click on the name (View File Revision Log), then click on the version number, that takes you to a screen where you can click on .py files and see the contents (View File contents). Best, James. -----Original Message----- From: C. Michael Pilato [mailto:[email protected]] Sent: Thursday, November 17, 2011 3:26 PM To: James Lee Cc: [email protected] Subject: Re: numbers clickable for .py extension Ah! ViewVC apparently does think that the MIME type it has calculated for those files represents human-readable files. If you were using a 1.0.x version of ViewVC before and had the mime_types_file option set, you might not have noticed that in 1.1.x, the option is now named mime_types_files (plural). Check to see that ViewVC is configured to point to a valid MIME type mapping file, and that that file has a mapping for the "py" extension that begins with the string "text/". On 11/17/2011 03:11 PM, James Lee wrote: > Hi, > > See the attached (annotated with red ovals) screen shot. The .py revision numbers are not clickable. > > Best, > James. > > -----Original Message----- > From: C. Michael Pilato [mailto:[email protected]] > Sent: Thursday, November 17, 2011 2:49 PM > To: James Lee > Cc: [email protected] > Subject: Re: numbers clickable for .py extension > > James, can you provide some more context for your query? What display are you looking at which doesn't (but should) have clickable revision numbers? > A ViewVC directory listing? An annotate view of the Python file in question? > > On 11/17/2011 02:11 PM, James Lee wrote: >> Dear viewvc-users, >> >> Server version: Apache/2.2.3 >> Server built: May 4 2011 06:51:15 >> >> viewvc-1.1.11 >> >> Subversion command-line client, version 1.6.11 >> >> Is there a way to make the rev numbers clickable for .py extension python source? This worked in an older version of viewvc but since we upgraded it has stopped working. >> >> Regards, >> James. ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2883316 To unsubscribe from this discussion, e-mail: [[email protected]].