source-filter isn't getting applied

Nik Nyby njn2118 at columbia.edu
Mon Jul 28 23:14:43 CEST 2014


Hi,

I have cgit installed and the source-filter isn't working on any of my
source files. I have Python and Pygments installed. I tried manually
running the script on some files, and it's giving back html
correctly.

Here's my /etc/cgitrc:

    scan-path=/home/git

    branch-sort=age
    repository-sort=age

    source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py
    about-filter=/usr/local/lib/cgit/filters/about-formatting.sh


My cgit is installed in /var/www/cgit, and I'm using cgit v0.10.2.

Let me know if you have any suggestions.

Nik



More information about the CGit mailing list