aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cgit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-08-02 08:37:50 +0000
committerColin Guthrie <colin@mageia.org>2013-08-02 08:37:50 +0000
commitc33e3d227463d5b5180cd624c508c49c9e59428d (patch)
tree3c80fed54110e612ea97bea37736a511d68e2ba9 /modules/cgit
parent636d2d14a1efce531c713db91027cbf15950b879 (diff)
downloadpuppet-c33e3d227463d5b5180cd624c508c49c9e59428d.tar
puppet-c33e3d227463d5b5180cd624c508c49c9e59428d.tar.gz
puppet-c33e3d227463d5b5180cd624c508c49c9e59428d.tar.bz2
puppet-c33e3d227463d5b5180cd624c508c49c9e59428d.tar.xz
puppet-c33e3d227463d5b5180cd624c508c49c9e59428d.zip
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.
Diffstat (limited to 'modules/cgit')
-rw-r--r--modules/cgit/templates/cgitrc26
1 files changed, 8 insertions, 18 deletions
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.