Re: Fwd: source-filter isn't getting applied

2014-07-30 Thread Nik Nyby
A bunch of my repositories have a README.markdown file, so I made this change to about-formatting.sh in order to properly highlight them. I'm not sure if there's a more flexible way of doing this -- I attached the diff here: >From f975ed66eeabfa4eed23dea2bf3ddd6b8ff6220f Mon Sep 17 00:00:00 2001 F

Re: Fwd: source-filter isn't getting applied

2014-07-30 Thread John Keeping
On Wed, Jul 30, 2014 at 12:17:26AM -0400, Nik Nyby wrote: > Great, this helped me debug the error. I looked at the part of the strace > where it was reading the /etc/cgitrc, and it looked like it was only > reading the first setting, even though the following settings are getting > applied. I'm not

Re: Fwd: source-filter isn't getting applied

2014-07-29 Thread Nik Nyby
Nevermind about the about-filter. I'm reading the about-formatting.sh script and my questions are all answered now. On Wed, Jul 30, 2014 at 12:17 AM, Nik Nyby wrote: > Great, this helped me debug the error. I looked at the part of the strace > where it was reading the /etc/cgitrc, and it looked

Re: Fwd: source-filter isn't getting applied

2014-07-29 Thread Nik Nyby
Great, this helped me debug the error. I looked at the part of the strace where it was reading the /etc/cgitrc, and it looked like it was only reading the first setting, even though the following settings are getting applied. I'm not sure exactly why yet, but putting the source-filter setting at th

Re: Fwd: source-filter isn't getting applied

2014-07-29 Thread John Keeping
On Mon, Jul 28, 2014 at 11:59:10PM -0400, Nik Nyby wrote: > The permissions on the script files are set to be executable by everyone: > -rwxr-xr-x > > Thanks for the strace idea. I'm looking through the strace, but I haven't > seen any helpful mention of the filter scripts yet. I've attached an >

Fwd: source-filter isn't getting applied

2014-07-28 Thread Nik Nyby
The permissions on the script files are set to be executable by everyone: -rwxr-xr-x Thanks for the strace idea. I'm looking through the strace, but I haven't seen any helpful mention of the filter scripts yet. I've attached an abridged version of my strace with the middle of the file taken out. I

Re: source-filter isn't getting applied

2014-07-28 Thread John Keeping
On Mon, Jul 28, 2014 at 05:14:43PM -0400, Nik Nyby wrote: > 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/cg

source-filter isn't getting applied

2014-07-28 Thread Nik Nyby
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 repositor