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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3286 - (show annotations) (download)
Sun Jul 14 21:50:36 2013 UTC (10 years, 9 months ago) by colin
File size: 3127 byte(s)
cgit: Honour the gitweb config directives (owner and description)

It seems description is already honoured so perhaps owner would be too but the
man page says this defaults to off and we definitely want it on.
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.mageia.org/git/$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.md
98 readme=:README.mkd
99 readme=:readme.mkd
100 readme=:README.rst
101 readme=:readme.rst
102 readme=:README.html
103 readme=:readme.html
104 readme=:README.htm
105 readme=:readme.htm
106 readme=:README.txt
107 readme=:readme.txt
108 readme=:README
109 readme=:readme
110 readme=:INSTALL.md
111 readme=:install.md
112 readme=:INSTALL.mkd
113 readme=:install.mkd
114 readme=:INSTALL.rst
115 readme=:install.rst
116 readme=:INSTALL.html
117 readme=:install.html
118 readme=:INSTALL.htm
119 readme=:install.htm
120 readme=:INSTALL.txt
121 readme=:install.txt
122 readme=:INSTALL
123 readme=:install
124
125 ##
126 ## List of repositories.
127 ## PS: Any repositories listed when section is unset will not be
128 ## displayed under a section heading
129 ## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
130 ## and included like this:
131 ## include=/etc/cgitrepos
132 ##
133
134 #repo.url=foo
135 #repo.path=/var/lib/git/foo.git
136 #repo.desc=the master foo repository
137 #repo.owner=fooman@example.com
138 #repo.readme=info/web/about.html
139
140
141 commit-filter=/usr/local/bin/cgit.filter.commit-links.sh
142
143 enable-git-config=1
144 section-from-path=-1
145 case-sensitive-sort=0
146 remove-suffix=1
147 scan-path=/git

  ViewVC Help
Powered by ViewVC 1.1.30