From 642b4dd9eef924a9bfec886934862b1b6da404f1 Mon Sep 17 00:00:00 2001 From: delvh Date: Fri, 20 May 2022 02:48:42 +0200 Subject: [PATCH] Enable packages by default again (as described by docs) (#19746) --- modules/setting/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setting/repository.go b/modules/setting/repository.go index f24bc841d6541..bae4ad1be9f7d 100644 --- a/modules/setting/repository.go +++ b/modules/setting/repository.go @@ -295,7 +295,7 @@ func newRepository() { log.Fatal("Failed to map Repository.PullRequest settings: %v", err) } - if !Cfg.Section("packages").Key("ENABLED").MustBool(false) { + if !Cfg.Section("packages").Key("ENABLED").MustBool(true) { Repository.DisabledRepoUnits = append(Repository.DisabledRepoUnits, "repo.packages") }