* syntax highlighting
@ 2016-03-05 22:47 tlatorre
2016-03-06 9:21 ` rumpelsepp
2016-03-06 10:44 ` mailings
0 siblings, 2 replies; 3+ messages in thread
From: tlatorre @ 2016-03-05 22:47 UTC (permalink / raw)
Hi all,
I've recently installed cgit on CentOS 6 from the EPEL repository.
Unfortunately python3 is not available for CentOS 6. I have a couple
of questions:
- Why the hard dependency on python 3? I realize this is really a
packaging problem, but the syntax-highlighting.py doesn't look too
complex. Is there a reason python2 is not supported? Would a patch be
welcome?
- I have manually installed python3 but I still don't see any of the
source files. I have verified that the script appears to be working by
running:
$ cat code.h | /usr/libexec/cgit/filters/syntax-highlighting.py code.h
and I do see what appears to be the correct HTML.
How can I debug why I am not seeing anything? Is there a log file somewhere?
Thanks,
Tony
^ permalink raw reply [flat|nested] 3+ messages in thread
* syntax highlighting
2016-03-05 22:47 syntax highlighting tlatorre
@ 2016-03-06 9:21 ` rumpelsepp
2016-03-06 10:44 ` mailings
1 sibling, 0 replies; 3+ messages in thread
From: rumpelsepp @ 2016-03-06 9:21 UTC (permalink / raw)
On 05.03.2016 23:47, Anthony LaTorre wrote:
> Hi all,
>
> I've recently installed cgit on CentOS 6 from the EPEL repository.
> Unfortunately python3 is not available for CentOS 6. I have a couple
> of questions:
Just use the Python2 version of the script; it is in the Git-Log:
https://git.zx2c4.com/cgit/tree/filters/syntax-highlighting.py?id=ceffeb5d52609a38c5d5d410456d796673fe8461
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* syntax highlighting
2016-03-05 22:47 syntax highlighting tlatorre
2016-03-06 9:21 ` rumpelsepp
@ 2016-03-06 10:44 ` mailings
1 sibling, 0 replies; 3+ messages in thread
From: mailings @ 2016-03-06 10:44 UTC (permalink / raw)
I have a git server with cgit running on CentOS 6 as well.
I use in cgitrc:
> source-filter=<path>/syntax-highlighting.bash
Which is in the cgit tree as filters/syntax-highlighting.sh
Install highlight (from EPEL) and adjust the script for the installed
version of highlight, which should be v3.
On 05/03/16 23:47, Anthony LaTorre wrote:
> Hi all,
>
> I've recently installed cgit on CentOS 6 from the EPEL repository.
> Unfortunately python3 is not available for CentOS 6. I have a couple
> of questions:
>
> - Why the hard dependency on python 3? I realize this is really a
> packaging problem, but the syntax-highlighting.py doesn't look too
> complex. Is there a reason python2 is not supported? Would a patch be
> welcome?
>
> - I have manually installed python3 but I still don't see any of the
> source files. I have verified that the script appears to be working by
> running:
>
> $ cat code.h | /usr/libexec/cgit/filters/syntax-highlighting.py code.h
>
> and I do see what appears to be the correct HTML.
>
> How can I debug why I am not seeing anything? Is there a log file somewhere?
>
> Thanks,
>
> Tony
> _______________________________________________
> CGit mailing list
> CGit at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/cgit
>
--
Ferry Huberts
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-06 10:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-05 22:47 syntax highlighting tlatorre
2016-03-06 9:21 ` rumpelsepp
2016-03-06 10:44 ` mailings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).