aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/cgit-repos.conf
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-08-12 10:20:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-08-12 10:20:53 +0300
commitd37fb2ae726446b79cb142e4b86a8ef7942043f4 (patch)
tree247e7213ccbaae8186e4aba46125131c72edba66 /examples/cgit-repos.conf
parentremove pull.sh (diff)
downloadcgitize-d37fb2ae726446b79cb142e4b86a8ef7942043f4.tar.gz
cgitize-d37fb2ae726446b79cb142e4b86a8ef7942043f4.zip
move options to a config file
Diffstat (limited to '')
-rw-r--r--examples/cgit-repos.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/cgit-repos.conf b/examples/cgit-repos.conf
new file mode 100644
index 0000000..9729fd3
--- /dev/null
+++ b/examples/cgit-repos.conf
@@ -0,0 +1,24 @@
+# All settings are optional.
+
+[DEFAULT]
+
+# /etc/cgit-repos/my_repos.py by default.
+my_repos = /path/to/my_repos.py
+
+# "$( pwd )/output/" by default.
+output = /path/to/output/
+
+# URL to clone from the output directory.
+# {repo_id} is substituted with the repository ID (in the NAME or SECTION/NAME
+# format, etc.).
+clone_url = http://example.com:8080/git/{repo_id}
+
+owner = Your Name
+
+[GITHUB]
+
+username = your-username
+
+[BITBUCKET]
+
+username = your-username