aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/packages.go
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-02-01 19:30:39 +0100
committerGitHub <noreply@github.com>2023-02-01 12:30:39 -0600
commit6ba9ff7b4899f1057ac6e41947951da3e43b6918 (patch)
tree52288e45d36d029b8e440c663379d6946211e3b1 /modules/setting/packages.go
parent5882e179a93a00a0635c6c578ec6d43ce68d687b (diff)
downloadgitea-6ba9ff7b4899f1057ac6e41947951da3e43b6918.tar.gz
gitea-6ba9ff7b4899f1057ac6e41947951da3e43b6918.zip
Add Conda package registry (#22262)
This PR adds a [Conda](https://conda.io/) package registry.
Diffstat (limited to 'modules/setting/packages.go')
-rw-r--r--modules/setting/packages.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/packages.go b/modules/setting/packages.go
index 120fbb5bda..d0cd80aa03 100644
--- a/modules/setting/packages.go
+++ b/modules/setting/packages.go
@@ -27,6 +27,7 @@ var (
LimitTotalOwnerSize int64
LimitSizeComposer int64
LimitSizeConan int64
+ LimitSizeConda int64
LimitSizeContainer int64
LimitSizeGeneric int64
LimitSizeHelm int64
@@ -66,6 +67,7 @@ func newPackages() {
Packages.LimitTotalOwnerSize = mustBytes(sec, "LIMIT_TOTAL_OWNER_SIZE")
Packages.LimitSizeComposer = mustBytes(sec, "LIMIT_SIZE_COMPOSER")
Packages.LimitSizeConan = mustBytes(sec, "LIMIT_SIZE_CONAN")
+ Packages.LimitSizeConda = mustBytes(sec, "LIMIT_SIZE_CONDA")
Packages.LimitSizeContainer = mustBytes(sec, "LIMIT_SIZE_CONTAINER")
Packages.LimitSizeGeneric = mustBytes(sec, "LIMIT_SIZE_GENERIC")
Packages.LimitSizeHelm = mustBytes(sec, "LIMIT_SIZE_HELM")