Disable unused gitea features

This explicitly disables gitea federation and repo migrations.
Federation is disabled by default currently, but disabling it explicitly
ensures that won't change on us later. Migrations aren't something we
need so we disable them.

Change-Id: Ic7f3f3fe6927b2ff13509050d0113e01622ed51e
This commit is contained in:
Clark Boylan 2022-10-26 13:54:49 -07:00
parent 1d6b7c6640
commit d5a4dfe549

@ -33,6 +33,7 @@ LOG_SQL = false
ROOT = /data/git/repositories ROOT = /data/git/repositories
DISABLED_REPO_UNITS = repo.issues,repo.pulls,repo.wiki,repo.projects DISABLED_REPO_UNITS = repo.issues,repo.pulls,repo.wiki,repo.projects
DISABLE_STARS = true DISABLE_STARS = true
DISABLE_MIGRATIONS = true
[git] [git]
; Implemented in 1.16 but broke older git clients. Now expected to work ; Implemented in 1.16 but broke older git clients. Now expected to work
@ -40,6 +41,9 @@ DISABLE_STARS = true
; to true again. ; to true again.
DISABLE_PARTIAL_CLONE = false DISABLE_PARTIAL_CLONE = false
[federation]
ENABLED = false
[packages] [packages]
ENABLED = false ENABLED = false