File tree 3 files changed +7
-4
lines changed
docs/content/doc/advanced 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
70
70
DISABLE_MIRRORS = false
71
71
; Disable migrating feature.
72
72
DISABLE_MIGRATIONS = false
73
+ ; Disable stars feature.
74
+ DISABLE_STARS = false
73
75
; The default branch name of new repositories
74
76
DEFAULT_BRANCH = master
75
77
; 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 `"""`.
75
75
- ` PREFIX_ARCHIVE_FILES ` : ** true** : Prefix archive files by placing them in a directory named after the repository.
76
76
- ` DISABLE_MIRRORS ` : ** false** : Disable the creation of ** new** mirrors. Pre-existing mirrors remain valid.
77
77
- ` DISABLE_MIGRATIONS ` : ** false** : Disable migrating feature.
78
+ - ` DISABLE_STARS ` : ** false** : Disable stars feature.
78
79
- ` DEFAULT_BRANCH ` : ** master** : Default branch name of all repositories.
79
80
- ` ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES ` : ** false** : Allow non-admin users to adopt unadopted repositories
80
81
- ` 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
6
6
7
7
// GeneralRepoSettings contains global repository settings exposed by API
8
8
type 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"`
13
13
TimeTrackingDisabled bool `json:"time_tracking_disabled"`
14
14
LFSDisabled bool `json:"lfs_disabled"`
15
15
}
You can’t perform that action at this time.
0 commit comments