# # cgit config # see https://man.archlinux.org/man/cgitrc.5 # # Enable caching of up to 1000 output entries cache-size=1000 # The clone prefixes, used to show the user where to clone from clone-prefix=https://git.estrogen.zone ssh://git@git.estrogen.zone # Use /cgit.css or https://git.estrogen.zone/cgit-assets.git/plain/cgit.css if you don't have this repo on your cgit css=/cgit-assets.git/plain/cgit.css # Specify your own icon's URL here logo=/cgit.png # Add a cgit favicon #favicon=/favicon.ico # Allow http transport git clone enable-http-clone=1 # Use git configuration files enable-git-config=1 # The maximum duration of the stats tab max-stats=month # Enable the commit graph enable-commit-graph=1 # Log should specify counts enable-log-linecount=1 enable-log-filecount=1 # Show extra links for each repository on the index page enable-index-links=1 # Enable blame page and create links to it from tree page enable-blame=1 # The title of the root root-title=git.estrogen.zone # The description rendered under it root-desc=uhhh idk # Include some more info about git.estrogen.zone on the index page #root-readme=/var/www/htdocs/about.html # if you do not want that webcrawler (like google) index your site robots=index, nofollow readme=:README.rst readme=:readme.rst readme=:README.md readme=:readme.md readme=:README.txt readme=:readme.txt readme=:README readme=:readme #readme=:README.html #readme=:readme.html # if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: virtual-root=/ # Allow download of tar.gz, tar.bz2, tar.lz and zip-files snapshots=tar.lz tar.gz tar.bz2 zip # Specify mime types mimetype.git=image/git mimetype.html=text/html mimetype.jpg=image/jpeg mimetype.jpeg=image/jpeg mimetype.pdf=application/pdf mimetype.png=image/png mimetype.svg=image/svg+xml mimetype.ts=text/typescript mimetype.js=text/javascript mimetype.css=text/css mimetype.ascii=text/vnd.ascii-art # text/plain is used to prevent XSS mimetype.html=text/plain # Show libravatar - assumes you're using an avatar handler that handles this properly email-filter=lua:/usr/lib/cgit/filters/extra/email-libravatar.lua # If you prefer upstream's: # email-filter=lua:/usr/lib/cgit/filters/email-libravatar.lua # TODO: Create commit filter # commit-filter=exec:/usr/lib/cgit/filters/extra/commit.sh # Handle the about pages about-filter=/usr/lib/cgit/filters/extra/about-formatting.sh # Handle syntax highlighting source-filter=/usr/lib/cgit/filters/syntax-highlighting-uwu.sh project-list=/var/lib/git/projects.list scan-path=/var/lib/git/repositories ## ## List of repositories, if you don't wish to use scanning (I RECOMMEND STRONGLY USING SCANNING!!). ## PS: Any repositories listed when repo.group is unset will not be ## displayed under a group heading ## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') ## and included like this: ## include=/etc/cgitrepos ## #### # section=my repo # #repo.url=testing #repo.path=/var/lib/git/testing.git #repo.desc=Testing repo created by Gitolite #repo.owner=admin@mynetwork.com #