aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-30 01:34:29 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-30 01:34:29 +0300
commitd9002c044d33d141bb247f8c128c1f3fa96fb711 (patch)
tree7f5e152f973e0d0a38ba234377c9b9b8abd41d97
parentREADME: update (diff)
downloadcgitize-d9002c044d33d141bb247f8c128c1f3fa96fb711.tar.gz
cgitize-d9002c044d33d141bb247f8c128c1f3fa96fb711.zip
examples: mention access tokens
-rw-r--r--examples/cgitize.conf13
1 files changed, 10 insertions, 3 deletions
diff --git a/examples/cgitize.conf b/examples/cgitize.conf
index f3a2d0d..a85daee 100644
--- a/examples/cgitize.conf
+++ b/examples/cgitize.conf
@@ -8,9 +8,8 @@ my_repos = /path/to/my_repos.py
# /var/tmp/cgitize/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.).
+# URL to clone from the output directory. {repo_id} is replaced by the
+# repository ID (in the NAME or SECTION/NAME format).
clone_url = http://example.com:8080/git/{repo_id}
# Clones via SSH by default.
@@ -22,6 +21,14 @@ owner = Your Name
username = your-username
+# If some of the repositories hosted on GitHub are private, you can use
+# "personal access tokens" to access them.
+access_token = XXX
+
[BITBUCKET]
username = your-username
+
+# If some of the repositories hosted on Bitbucket are private, you can use "app
+# passwords" to access them.
+app_password = XXX