File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
docs/content/doc/advanced Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ PREFIX_ARCHIVE_FILES = true
7070DISABLE_MIRRORS = false
7171; Disable migrating feature.
7272DISABLE_MIGRATIONS = false
73+ ; Disable stars feature.
74+ DISABLE_STARS = false
7375; The default branch name of new repositories
7476DEFAULT_BRANCH = master
7577; Allow adoption of unadopted repositories
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
7575- ` PREFIX_ARCHIVE_FILES ` : ** true** : Prefix archive files by placing them in a directory named after the repository.
7676- ` DISABLE_MIRRORS ` : ** false** : Disable the creation of ** new** mirrors. Pre-existing mirrors remain valid.
7777- ` DISABLE_MIGRATIONS ` : ** false** : Disable migrating feature.
78+ - ` DISABLE_STARS ` : ** false** : Disable stars feature.
7879- ` DEFAULT_BRANCH ` : ** master** : Default branch name of all repositories.
7980- ` ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES ` : ** false** : Allow non-admin users to adopt unadopted repositories
8081- ` ALLOW_DELETION_OF_UNADOPTED_REPOSITORIES ` : ** false** : Allow non-admin users to delete unadopted repositories
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ package structs
66
77// GeneralRepoSettings contains global repository settings exposed by API
88type GeneralRepoSettings struct {
9- MirrorsDisabled bool `json:"mirrors_disabled"`
10- HTTPGitDisabled bool `json:"http_git_disabled"`
11- MigrationsDisabled bool `json:"migrations_disabled"`
12- StarsDisabled bool `json:"stars_disabled"`
9+ MirrorsDisabled bool `json:"mirrors_disabled"`
10+ HTTPGitDisabled bool `json:"http_git_disabled"`
11+ MigrationsDisabled bool `json:"migrations_disabled"`
12+ StarsDisabled bool `json:"stars_disabled"`
1313 TimeTrackingDisabled bool `json:"time_tracking_disabled"`
1414 LFSDisabled bool `json:"lfs_disabled"`
1515}
You can’t perform that action at this time.
0 commit comments