View raw

1 # ogit configuration file 2 # Copy to $XDG_CONFIG_HOME/ogit/config.toml or /etc/ogit/config.toml, 3 # or set OGIT_CONFIG to point to a custom location. 4 5 # Username displayed in the page footer and navigation title. 6 # When empty, the navigation shows "Repositories" and the footer 7 # omits the name. 8 # Type: string 9 user_name = "" 10 11 # Default branch to resolve when HEAD is detached or missing. 12 # Type: string 13 default_branch = "main" 14 15 # Filesystem path containing bare or non-bare git repositories. 16 # Type: string (absolute path) 17 git_project_root = "/srv/git" 18 19 # Maximum number of commits shown on the summary page. 20 # Type: integer (must be positive) 21 commits_max_displayed = 10 22 23 # Root navigation title. When empty, defaults to "Repositories" (or 24 # "Repositories for <user_name>" if user_name is set). 25 # Type: string 26 ogit_root_title = "" 27 28 # Image URL used by the navigation logo. Local paths are normalized to start 29 # at the site root; absolute HTTP(S) and data URLs are also accepted. 30 # Type: string 31 nav_logo = "/static/git_icon.svg" 32 33 # Network interface to bind the HTTP server to. 34 # Type: string (IP address) 35 host = "127.0.0.1" 36 37 # TCP port for the HTTP server. 38 # Type: integer (1-65535) 39 port = 8081 40 41 # Repositories or directories to highlight in a "Favorites" section 42 # at the top of the root page. Use the repo directory name for repos 43 # (e.g. "myproject.git") or a directory name with trailing slash for 44 # groups (e.g. "important/"). 45 # Type: array of strings 46 favorite_repositories = [] 47 48 # Repositories or directories to collect in an "Archived" section 49 # at the bottom of the root page. Same naming convention as above. 50 # Type: array of strings 51 archived_repositories = [] 52