[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    Re: About tab not showing on repo page
From:       David Thurstenson <thurstylark () gmail ! com>
Date:       2017-02-08 22:33:15
Message-ID: 20170208223315.GA25564 () dtarchaio
[Download RAW message or body]

On 17-02-08 22:58:36, MonkZ wrote:
> Hi David,
> 
> which version do you use?
> I've a similar problem. But scan-path is at the end. (config attached)
> All readme entries seem to be ignored. Only a readme entry in the git
> config of a specific repo works.
> 
> My version: cgit 1.1-1 on archlinux packaged 2016-11-23 09:17 UTC
> 
> MfG
> MonkZ
> 
> Am 08.02.2017 um 18:47 schrieb David Thurstenson:
> > On 17-02-08 18:36:01, Lars Hjemli wrote:
> >> On Wed, Feb 8, 2017 at 6:01 PM, David Thurstenson <thurstylark@gmail.com> wrote:
> >>> On my cgit instance[1], I have a few repos that have either a 'README'
> >>> or a 'README.md' file at the root of the repo. In my cgitrc[2] I have
> >>> 'readme=:README' and 'readme=:README.md' (among other things), but I
> >>> still have no about tab on the repo page.
> >>
> >> Try to move the 'scan-path' directive to the end of your cgitrc.
> >>
> >> From https://git.zx2c4.com/cgit/tree/cgitrc.5.txt#n392 :
> >>
> >>   "Be advised that only the global settings taken before the scan-path
> >> directive will be applied to each repository."
> >>
> >> PS: this is a recurring question - maybe the FAQ should be updated, or
> >> the text in cgitrc.5?
> >>
> >> Hth,
> >> larsh
> > 
> > That did the trick! I never considered scan-path as the source of my
> > issue mainly because my search was focussed on 'about' or 'readme'. 
> > 
> > Thanks!
> > _______________________________________________
> > CGit mailing list
> > CGit@lists.zx2c4.com
> > https://lists.zx2c4.com/mailman/listinfo/cgit
> > 

I use the exact same version, and on Arch as well. 

_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/cgit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic