From d9002c044d33d141bb247f8c128c1f3fa96fb711 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 30 Mar 2021 01:34:29 +0300 Subject: examples: mention access tokens --- examples/cgitize.conf | 13 ++++++++++--- 1 file 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 -- cgit v1.2.3