/[adm]/puppet/modules/cgit/templates/cgitrc
ViewVC logotype

Contents of /puppet/modules/cgit/templates/cgitrc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3312 - (show annotations) (download)
Fri Aug 2 08:37:50 2013 UTC (10 years, 8 months ago) by colin
File size: 3039 byte(s)
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.
1 #
2 # See cgitrc(5) or /usr/share/doc/cgit-*/cgitrc.5.html for details
3 #
4
5 # Enable caching of up to 1000 output entries
6 cache-size=1000
7
8
9 # Specify some default clone urls using macro expansion
10 clone-url=git://git.mageia.org/$CGIT_REPO_URL ssh://git@git.mageia.org/$CGIT_REPO_URL
11
12 # Specify the css url
13 css=/cgit-data/cgit.css
14
15
16 # Show owner on index page
17 enable-index-owner=1
18
19
20 # Allow http transport git clone
21 enable-git-clone=1
22
23
24 # Show extra links for each repository on the index page
25 enable-index-links=1
26
27
28 # Enable ASCII art commit history graph on the log pages
29 enable-commit-graph=1
30
31
32 # Show number of affected files per commit on the log pages
33 enable-log-filecount=1
34
35
36 # Show number of added/removed lines per commit on the log pages
37 enable-log-linecount=1
38
39
40 # Sort branches by date
41 branch-sort=age
42
43
44 # Add a cgit favicon
45 #favicon=/favicon.ico
46
47
48 # Use a custom logo
49 logo=//nav.mageia.org/css/mageia-logo-nav-3.png
50
51
52 # Enable statistics per week, month and quarter
53 max-stats=quarter
54
55
56 # Set the title and heading of the repository index page
57 root-title=Mageia git Repositories
58
59
60 # Set a subheading for the repository index page
61 root-desc=A web frontend to the git repositories of the Mageia project
62
63
64 # Include some more info about example.com on the index page
65 #root-readme=/var/www/htdocs/about.html
66
67
68 # Allow download of tar.gz, tar.bz2 and zip-files
69 #snapshots=tar.gz tar.bz2 zip
70
71
72 ##
73 ## List of common mimetypes
74 ##
75
76 mimetype.gif=image/gif
77 mimetype.html=text/html
78 mimetype.jpg=image/jpeg
79 mimetype.jpeg=image/jpeg
80 mimetype.pdf=application/pdf
81 mimetype.png=image/png
82 mimetype.svg=image/svg+xml
83
84
85 # Highlight source code with python pygments-based highligher
86 source-filter=/usr/libexec/cgit/filters/syntax-highlighting.sh
87
88 # Format markdown, restructuredtext, manpages, text files, and html files
89 # through the right converters
90 about-filter=/usr/libexec/cgit/filters/about-formatting.sh
91
92 ##
93 ## Search for these files in the root of the default branch of repositories
94 ## for coming up with the about page:
95 ##
96 readme=:README.md
97 readme=:README.rst
98 readme=:README.html
99 readme=:README.txt
100 readme=:README
101 readme=:INSTALL.md
102 readme=:INSTALL.rst
103 readme=:INSTALL.html
104 readme=:INSTALL.txt
105 readme=:INSTALL
106
107 # Special Case mainly for initscrpipts git repo where we cannot write to master
108 readme=distro/mga9:README.md
109 readme=distro/mga8:README.md
110 readme=distro/mga7:README.md
111 readme=distro/mga6:README.md
112 readme=distro/mga5:README.md
113 readme=distro/mga4:README.md
114
115 ##
116 ## List of repositories.
117 ## PS: Any repositories listed when section is unset will not be
118 ## displayed under a section heading
119 ## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
120 ## and included like this:
121 ## include=/etc/cgitrepos
122 ##
123
124 #repo.url=foo
125 #repo.path=/var/lib/git/foo.git
126 #repo.desc=the master foo repository
127 #repo.owner=fooman@example.com
128 #repo.readme=info/web/about.html
129
130
131 commit-filter=/usr/local/bin/cgit.filter.commit-links.sh
132
133 enable-git-config=1
134 section-from-path=-1
135 case-sensitive-sort=0
136 remove-suffix=1
137 scan-path=/git

  ViewVC Help
Powered by ViewVC 1.1.30