Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Mon Jun 13 20:52:37 2022 +0200

    feat: add option for repo default units and branch
This commit is contained in:
Robert Kaussow 2022-06-13 18:58:26 +00:00
parent 0bbd7ed48f
commit 3ba0636807
1 changed files with 26 additions and 0 deletions

View File

@ -7,6 +7,8 @@ type: docs
Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community managed lightweight code hosting solution written in Go.
<!--more-->
- [Default Variables](#default-variables)
- [gitea_access_token_expiration_time](#gitea_access_token_expiration_time)
- [gitea_api_default_git_trees_per_page](#gitea_api_default_git_trees_per_page)
@ -86,8 +88,10 @@ Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community manage
- [gitea_repository_auto_watch_on_change](#gitea_repository_auto_watch_on_change)
- [gitea_repository_auto_watch_on_creation](#gitea_repository_auto_watch_on_creation)
- [gitea_repository_creation_limit](#gitea_repository_creation_limit)
- [gitea_repository_default_branch](#gitea_repository_default_branch)
- [gitea_repository_default_license](#gitea_repository_default_license)
- [gitea_repository_default_private](#gitea_repository_default_private)
- [gitea_repository_default_repo_units](#gitea_repository_default_repo_units)
- [gitea_repository_editor_line_wrap_ext](#gitea_repository_editor_line_wrap_ext)
- [gitea_repository_force_private](#gitea_repository_force_private)
- [gitea_repository_http_enabled](#gitea_repository_http_enabled)
@ -800,6 +804,14 @@ gitea_repository_auto_watch_on_creation: false
gitea_repository_creation_limit: -1
```
### gitea_repository_default_branch
#### Default value
```YAML
gitea_repository_default_branch: main
```
### gitea_repository_default_license
#### Default value
@ -818,6 +830,20 @@ gitea_repository_default_license:
gitea_repository_default_private: last
```
### gitea_repository_default_repo_units
#### Default value
```YAML
gitea_repository_default_repo_units:
- repo.code
- repo.releases
- repo.issues
- repo.pulls
- repo.wiki
- repo.projects
```
### gitea_repository_editor_line_wrap_ext
Comma-separated list of file extensions for which lines should be wrapped in the CodeMirror editor. To line wrap files without an extension, just put a comma.