Re: [viewvc-dev] Problems with Highlight 3
"Georgi D. Sotirov" <[email protected]> Tue, 21 Sep 2010 00:29:46 +0300
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Message-ID | <[email protected]> |
On 15.09.2010 21:33, C. Michael Pilato wrote: > 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 Hello, OK. I understand and agree. At least the patch is in the mailing list for anyone who haven't yet upgraded to ViewVC 1.1.x and may need it. I'll consider upgrading my installation soon :-) Regards, -- *Georgi D. Sotirov* ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=2662544 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyX0k8ACgkQqesEzEdeXBG9dACffQZ2kqjVfyg8sHPaGD0Je0L+ nw8An3JxV1MnGLE0F7p1BGtnFopu/IU+ =sisI -----END PGP SIGNATURE-----