From c33e3d227463d5b5180cd624c508c49c9e59428d Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Fri, 2 Aug 2013 08:37:50 +0000 Subject: cgit: Simplify the 'About' page config. This just removes some filename searches that will pretty much never show up in our repos. Also add a search that will look for a distro branch, mainly for the initscripts git repo for which master is actually fedora upstream and thus we cannot touch. --- modules/cgit/templates/cgitrc | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'modules/cgit') diff --git a/modules/cgit/templates/cgitrc b/modules/cgit/templates/cgitrc index 52be2db3..b2938613 100644 --- a/modules/cgit/templates/cgitrc +++ b/modules/cgit/templates/cgitrc @@ -94,33 +94,23 @@ about-filter=/usr/libexec/cgit/filters/about-formatting.sh ## for coming up with the about page: ## readme=:README.md -readme=:readme.md -readme=:README.mkd -readme=:readme.mkd readme=:README.rst -readme=:readme.rst readme=:README.html -readme=:readme.html -readme=:README.htm -readme=:readme.htm readme=:README.txt -readme=:readme.txt readme=:README -readme=:readme readme=:INSTALL.md -readme=:install.md -readme=:INSTALL.mkd -readme=:install.mkd readme=:INSTALL.rst -readme=:install.rst readme=:INSTALL.html -readme=:install.html -readme=:INSTALL.htm -readme=:install.htm readme=:INSTALL.txt -readme=:install.txt readme=:INSTALL -readme=:install + +# Special Case mainly for initscrpipts git repo where we cannot write to master +readme=distro/mga9:README.md +readme=distro/mga8:README.md +readme=distro/mga7:README.md +readme=distro/mga6:README.md +readme=distro/mga5:README.md +readme=distro/mga4:README.md ## ## List of repositories. -- cgit v1.2.1