summaryrefslogtreecommitdiff
path: root/development/cgit/config/cgitrc.sample
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2011-07-03 13:39:37 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:01 -0300
commit769dadaf444a25834210f5f88b222913e9d7f92f (patch)
tree51c6df74f30dc71ffb23404dc027cf1d92cf4db0 /development/cgit/config/cgitrc.sample
parent8f35cc6ad9a9a6d52b6fc971dabe0feb72798a73 (diff)
downloadslackbuilds-769dadaf444a25834210f5f88b222913e9d7f92f.tar.gz
development/cgit: Added (web frontend for git repositories)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/cgit/config/cgitrc.sample')
-rw-r--r--development/cgit/config/cgitrc.sample22
1 files changed, 22 insertions, 0 deletions
diff --git a/development/cgit/config/cgitrc.sample b/development/cgit/config/cgitrc.sample
new file mode 100644
index 0000000000..29d3981a55
--- /dev/null
+++ b/development/cgit/config/cgitrc.sample
@@ -0,0 +1,22 @@
+# sample /etc/cgitrc file: two repos are defined
+# you can see a demo here http://cgit.ponce.cc/
+
+root-title=ponce's repository browser
+root-desc=a fast interface to these git repositories
+virtual-root=/
+snapshots=tar.gz
+
+#css=/static/cgit.css
+#logo=/static/cgit.png
+
+# repository specific data
+repo.url=slackbuilds
+repo.path=/path/to/repo/.git
+repo.desc=slackbuilds.org fork for slackware-current
+repo.owner=my.address _at_ my.isp
+# the default branch here is set to current (default if omitted is master)
+repo.defbranch=current
+repo.clone-url=git://github.com/Ponce/slackbuilds.git
+
+# if you need to display other repositories you can more config blocks
+# like the one above