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 <[email protected]> >> 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 > [email protected] > https://lists.zx2c4.com/mailman/listinfo/cgit >
about-filter=/usr/lib/cgit/filters/about-formatting.sh cache-dynamic-ttl=0 cache-repo-ttl=0 cache-root-ttl=0 cache-size=0 cache-static-ttl=0 commit-filter=/usr/local/bin/cgit-commit-links.sh css=/cgit.css enable-commit-graph=1 enable-follow-links=1 enable-git-config=1 enable-http-clone=1 enable-index-links=1 enable-log-filecount=1 enable-log-linecount=1 enable-tree-linenumbers=1 enable_index_owner = 1 logo=/cgit.png mimetype.gif=image/gif mimetype.html=text/html mimetype.jpeg=image/jpeg mimetype.jpg=image/jpeg mimetype.ogv=video/ogg mimetype.pdf=application/pdf mimetype.png=image/png mimetype.svg=image/svg+xml nocache = 1 noplainemail=1 readme=:INSTALL readme=:INSTALL.htm readme=:INSTALL.html readme=:INSTALL.md readme=:INSTALL.mkd readme=:INSTALL.rst readme=:INSTALL.txt readme=:README readme=:README.htm readme=:README.html readme=:README.md readme=:README.mkd readme=:README.rst readme=:README.txt readme=:install readme=:install.htm readme=:install.html readme=:install.md readme=:install.mkd readme=:install.rst readme=:install.txt readme=:readme readme=:readme.htm readme=:readme.html readme=:readme.md readme=:readme.mkd readme=:readme.rst readme=:readme.txt remove-suffix=0 robots=noindex, nofollow snapshots=tar.gz tar.bz2 zip source-filter=/usr/lib/cgit/filters/syntax-highlighting.py virtual-root=/ scan-path=/var/lib/gitolite/repositories/
_______________________________________________ CGit mailing list [email protected] https://lists.zx2c4.com/mailman/listinfo/cgit
