summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-10-28 22:58:38 -0500
committerAndy Doan <andy.doan@linaro.org>2016-10-29 04:05:19 +0000
commit94430e2f2ec56ec5cdaa8a2a54d3932ab493ec7c (patch)
treef3ffd69e1cefb2f74417f35120318274b01119b5 /per-service
parent9b85205183e495902e679a3afd246b8bb2b71f4e (diff)
downloadansible-playbooks-94430e2f2ec56ec5cdaa8a2a54d3932ab493ec7c.tar.gz
cgit: provide real readme support
readme support with gitweb and git-mirrors has been broken forever. gitweb requires a readme.html file in a given repo which doesn't get mirrored by grokmirror. With the move to cgit, we can now make a gitolite local command that puts the readme in a "hidden" type branch (like a gerrit review works). This will then get sunk to all mirror servers. Change-Id: I1d44e97bdfb792f263b14abbb7fd2a8e3077a6f5 Reviewed-on: https://review.linaro.org/15110 Reviewed-by: Andy Doan <andy.doan@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/git-servers/roles/cgit/templates/cgitrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/per-service/git-servers/roles/cgit/templates/cgitrc b/per-service/git-servers/roles/cgit/templates/cgitrc
index b2c6c4a..c0fa02c 100644
--- a/per-service/git-servers/roles/cgit/templates/cgitrc
+++ b/per-service/git-servers/roles/cgit/templates/cgitrc
@@ -48,6 +48,7 @@ readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install
+readme=gitolite/readme:README.html
about-filter={{tools_checkout_dir}}/cgit/filters/about-formatting.sh