aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/examples/cgitize.toml
blob: 19b705692f81c87a3679ca980807a51f8e3608a7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                     
                           





                                                                              
                    






                                                                       

                                                                         

                     





                                                                            







                                                                               

                                                           
                     



                                                                      
 





                                                                            









                                               
               


                                          
# All settings are optional.

# /var/tmp/cgitize/output by default.
output_dir = "/tmp/cgitize"

# URL to clone from the output directory. {name} is replaced by the repository
# ID.
clone_url = "https://yourhost.com/git/{name}"

# Clones via SSH by default.
clone_via_ssh = true

# Unless this is specified, cgit is going to derive the owner from the
# repository's directory ownership.
owner = "Your Name"

[github]
# If some of the repositories hosted on GitHub are private, you can use
# "personal access tokens" to access them. Also can be provided using the
# CGITIZE_GITHUB_ACCESS_TOKEN environment variable.
#access_token = "XXX"

[github.users.me]
name = "egor-tensin"
# To avoid directory name clashes with other repositories, you can specify a
# subdirectory to put that user's repositories to.
dir = "github-dir"

# Some random repositories hosted on GitHub:
[github.repositories.lens]
id = "ekmett/lens"
[github.repositories.pytomlpp]
id = "bobfang1992/pytomlpp"

[bitbucket]
# If some of the repositories hosted on Bitbucket are private, you can use "app
# passwords" to access them. Also can be provided using the
# CGITIZE_BITBUCKET_APP_PASSWORD environment variable.
#app_password = "XXX"
# Contrary to GitHub, Bitbucket doesn't associate app passwords with a
# username, so you also need that (CGITIZE_BITBUCKET_USERNAME is the
# environment variable).
#username = "your-username"

[bitbucket.users.me]
name = "egor-tensin"
# To avoid directory name clashes with other repositories, you can specify a
# subdirectory to put that user's repositories to.
dir = "bitbucket-dir"

# Some random repositories hosted on Bitbucket:
[bitbucket.repositories.cef]
id = "chromiumembedded/cef"
[bitbucket.repositories.upc-runtime]
id = "berkeleylab/upc-runtime"

[repositories]

# Some random repositories hosted on the web:
[repositories.wintun]
name = "wintun"
clone_url = "https://git.zx2c4.com/wintun"
owner = "Jason A. Donenfeld"
desc = "Layer 3 TUN Driver for Windows"