Re: [viewvc-dev] Problems with Highlight 3
"C. Michael Pilato" <[email protected]> Wed, 15 Sep 2010 14:33:17 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <4C91116D.5010801__22211.4025186331$1284575631$gmane$org@collab.net> |
On 09/15/2010 04:07 AM, Georgi D. Sotirov wrote: > Hello, > > After upgrading to Highlight 3.1 I've noticed that my ViewVC > installation doesn't show sources anymore > <https://sotirov-bg.net/bugzilla/show_bug.cgi?id=119>. It appeared that > some long options have change their names or format and a little patch > was necessary. Please, consider applying this and having Highlight > version detected in order to issue the right command line options. I'm > able to help with this, if accepted. Georgi, thanks for much for information and patch. I'm a bit torn as to what to do with it. See, the ViewVC 1.0.x is pretty much in a mode where I'm only releasing critical updates for it. Further complicating things is that ViewVC doesn't really have a place to cache information like "what version of highlight is installed", so either I'd need to make that something the admins configured in viewvc.conf or ViewVC would need to run 'highlight --version' and parse the output prior to every invocation of highlight for doing real syntax highlighting. The patch wouldn't apply to newer ViewVC release streams. ViewVC 1.1.x has been out for 1.5 years and doesn't use 'highlight' (or 'enscript', or 'py2html', or ...) at all. It uses the Pygments Python package for all syntax highlighting. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=2660437 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyREW0ACgkQokEGqRcG/W4SPQCfWuC7zn6bCyvxL5R+cy2RaITO hl0An3C1hdPFhINPR3NPp0RdJIIXGnL4 =wrgm -----END PGP SIGNATURE-----