List for cgit developers and users
 help / color / mirror / Atom feed
From: tlatorre at uchicago.edu (Anthony LaTorre)
Subject: syntax highlighting
Date: Sat, 5 Mar 2016 16:47:54 -0600	[thread overview]
Message-ID: <CAO49afKJnWkvTxOv6igZ-nD4XwrReJm=k2QtV_6Dsw26UfgJag@mail.gmail.com> (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


             reply	other threads:[~2016-03-05 22:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 22:47 tlatorre [this message]
2016-03-06  9:21 ` rumpelsepp
2016-03-06 10:44 ` mailings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO49afKJnWkvTxOv6igZ-nD4XwrReJm=k2QtV_6Dsw26UfgJag@mail.gmail.com' \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).