aboutsummaryrefslogtreecommitdiffstats
path: root/services
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 /services
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 'services')
-rw-r--r--services/forms/package_form.go2
-rw-r--r--services/packages/packages.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/services/forms/package_form.go b/services/forms/package_form.go
index 734bb05dc6..e78e64ef7e 100644
--- a/services/forms/package_form.go
+++ b/services/forms/package_form.go
@@ -15,7 +15,7 @@ import (
type PackageCleanupRuleForm struct {
ID int64
Enabled bool
- Type string `binding:"Required;In(composer,conan,container,generic,helm,maven,npm,nuget,pub,pypi,rubygems,vagrant)"`
+ Type string `binding:"Required;In(composer,conan,conda,container,generic,helm,maven,npm,nuget,pub,pypi,rubygems,vagrant)"`
KeepCount int `binding:"In(0,1,5,10,25,50,100)"`
KeepPattern string `binding:"RegexPattern"`
RemoveDays int `binding:"In(0,7,14,30,60,90,180)"`
diff --git a/services/packages/packages.go b/services/packages/packages.go
index 754dfa7110..9e52cb1450 100644
--- a/services/packages/packages.go
+++ b/services/packages/packages.go
@@ -339,6 +339,8 @@ func CheckSizeQuotaExceeded(ctx context.Context, doer, owner *user_model.User, p
typeSpecificSize = setting.Packages.LimitSizeComposer
case packages_model.TypeConan:
typeSpecificSize = setting.Packages.LimitSizeConan
+ case packages_model.TypeConda:
+ typeSpecificSize = setting.Packages.LimitSizeConda
case packages_model.TypeContainer:
typeSpecificSize = setting.Packages.LimitSizeContainer
case packages_model.TypeGeneric:
>backport/40394/stable28 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/COPYING-README
blob: 53e29ec47717dd5d2924d7b2a74d48db262154f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Files in Nextcloud are licensed under the Affero General Public License version 3,
the text of which can be found in COPYING, or any later version of the AGPL,
unless otherwise noted.

Licensing of components:
* jQuery: MIT / GPL
* HTTP: 3 clause BSD
* MDB2: BSD style custom
* User: AGPL
* XML/RPC: MIT / PHP
* Elementary filetype icons: GPL v3+
* Material UI icons: APACHE LICENSE, VERSION 2.0
All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files.

Attribution information for Nextcloud is contained in the AUTHORS file.