From 2cc0ee5b8a2ec8f7cfec83dd8865424f4c5c2407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 9 Apr 2025 17:25:17 +0400 Subject: [PATCH 1/2] Upgrade Gitea to 1.23.7 --- site-cookbooks/kosmos_gitea/attributes/default.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site-cookbooks/kosmos_gitea/attributes/default.rb b/site-cookbooks/kosmos_gitea/attributes/default.rb index d50cf29..d83d71c 100644 --- a/site-cookbooks/kosmos_gitea/attributes/default.rb +++ b/site-cookbooks/kosmos_gitea/attributes/default.rb @@ -1,5 +1,5 @@ -node.default["gitea"]["version"] = "1.23.6" -node.default["gitea"]["checksum"] = "fcb76127fec7ba9fba10bfe11d81cdc01888aacb588fc4f29b124bf2ffba883e" +node.default["gitea"]["version"] = "1.23.7" +node.default["gitea"]["checksum"] = "3c0a7121ad1d9c525a92c68a7c040546553cd41e7464ce2fa811246b648c0a46" node.default["gitea"]["working_directory"] = "/var/lib/gitea" node.default["gitea"]["port"] = 3000 node.default["gitea"]["postgresql_host"] = "localhost:5432" From f65256d22981e046a1881e48272458b564c7532f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 9 Apr 2025 17:25:41 +0400 Subject: [PATCH 2/2] Disable downloads of repo archives --- site-cookbooks/kosmos_gitea/templates/default/app.ini.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb index 5eacffc..0a846fa 100644 --- a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb +++ b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb @@ -28,6 +28,7 @@ MAX_OPEN_CONNS = 20 [repository] ROOT = <%= @repository_root_directory %> +DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true # [indexer] # ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve