List for cgit developers and users
 help / color / mirror / Atom feed
From: i at monkz.de (MonkZ)
Subject: About tab not showing on repo page
Date: Wed, 8 Feb 2017 22:58:36 +0100	[thread overview]
Message-ID: <807ad276-481e-93b8-ca0a-318090a9788e@monkz.de> (raw)
In-Reply-To: <20170208174724.GA10844@dtarchaio>

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 at 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 at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/cgit
> 
-------------- next part --------------
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/


  reply	other threads:[~2017-02-08 21:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 17:01 thurstylark
2017-02-08 17:36 ` hjemli
2017-02-08 17:47   ` thurstylark
2017-02-08 21:58     ` i [this message]
2017-02-08 22:33       ` thurstylark

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=807ad276-481e-93b8-ca0a-318090a9788e@monkz.de \
    --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).