Try adding a custom cgit header for staging.

This commit is contained in:
Ralph Bean 2015-04-24 17:17:53 +00:00
parent f4a1646d89
commit fbccedc4e6
3 changed files with 10 additions and 0 deletions

View file

@ -8,6 +8,9 @@ cache-size=1000
# Specify some default clone prefixes # Specify some default clone prefixes
clone-prefix=git://pkgs.fedoraproject.org ssh://pkgs.fedoraproject.org http://pkgs.fedoraproject.org/git clone-prefix=git://pkgs.fedoraproject.org ssh://pkgs.fedoraproject.org http://pkgs.fedoraproject.org/git
# Some header information to throw at the top of each page.
header=/usr/share/cgit/cgit-header-fedora.html
# Specify the css url # Specify the css url
css=/cgit-data/cgit.css css=/cgit-data/cgit.css

View file

@ -219,6 +219,12 @@
notify: notify:
- restart httpd - restart httpd
- name: install our custom header for cgit
template: cgit-header.html dest=/usr/share/cgit/cgit-header-fedora.html
tags: distgit
notify:
- restart httpd
- name: install the CGit-related httpd config - name: install the CGit-related httpd config
copy: src=redirect.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/redirect.conf copy: src=redirect.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/redirect.conf
tags: distgit tags: distgit

View file

@ -0,0 +1 @@
<p>This is a test. The environment is {{env}}.</p>