source: darkpeak-services/roles/git/templates/cgitrc.j2 @ 7b9c733a

ansiblekeycloakmatrixpleroma
Last change on this file since 7b9c733a was 7b9c733a, checked in by Mat Booth <mat.booth@…>, 2 years ago

git: Nicer URLs for cgit and anonymous clones

Got rid of the redundant "repositories" path segment

  • Property mode set to 100644
File size: 1.6 KB
Line 
1css=/cgit.css
2logo=/darkpeak-logo.png
3favicon=/favicon.ico
4robots=noindex, nofollow
5virtual-root=/
6
7root-title=Dark Peak Git Repositories
8root-desc=Web interface for public user repos.
9
10# Allow snapshot downloads in a variety of archive formats
11snapshots=tar.gz tar.xz zip
12
13# Show ascii commit graph on log page
14enable-commit-graph=1
15
16# Don't care about repo owners, since the username of owner is in the path
17enable-index-owner=0
18
19# More informative git log pages
20enable-log-filecount=1
21enable-log-linecount=1
22
23# Allow anonymous clones over HTTP
24enable-http-clone=1
25
26# Space-separated list of clone-url templates
27clone-url=$REQUEST_SCHEME://$HTTP_HOST/$CGIT_REPO_URL
28
29# How much of each kind of thing to show on the summary page
30summary-branches=20
31summary-log=20
32summary-tags=20
33
34# Split repos into sections based on username
35section-from-path=1
36
37# Search for these files in the root of the default branch of repositories
38# from which to generate the "about" page for the repository
39readme=:README.md
40readme=:readme.md
41readme=:README.mkd
42readme=:readme.mkd
43readme=:README.mdown
44readme=:readme.mdown
45readme=:README.markdown
46readme=:readme.markdown
47readme=:README.rst
48readme=:readme.rst
49readme=:README.html
50readme=:readme.html
51readme=:README.htm
52readme=:readme.htm
53readme=:README.txt
54readme=:readme.txt
55readme=:README
56readme=:readme
57
58# Nice rendering for for the above kinds of "about" pages
59about-filter=/usr/lib/cgit/filters/about-formatting.sh
60
61# Nice rendering for source files
62source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
63
64# Location where git repos live
65project-list=/home/munged.projects.list
66scan-path=/home/munged.projects
Note: See TracBrowser for help on using the repository browser.