1
0
Fork 0
forked from forgejo/forgejo

Add Conda package registry (#22262)

This PR adds a [Conda](https://conda.io/) package registry.
This commit is contained in:
KN4CK3R 2023-02-01 19:30:39 +01:00 committed by GitHub
parent 5882e179a9
commit 6ba9ff7b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1244 additions and 3 deletions

View file

@ -32,6 +32,7 @@ type Type string
const (
TypeComposer Type = "composer"
TypeConan Type = "conan"
TypeConda Type = "conda"
TypeContainer Type = "container"
TypeGeneric Type = "generic"
TypeHelm Type = "helm"
@ -47,6 +48,7 @@ const (
var TypeList = []Type{
TypeComposer,
TypeConan,
TypeConda,
TypeContainer,
TypeGeneric,
TypeHelm,
@ -66,6 +68,8 @@ func (pt Type) Name() string {
return "Composer"
case TypeConan:
return "Conan"
case TypeConda:
return "Conda"
case TypeContainer:
return "Container"
case TypeGeneric:
@ -97,6 +101,8 @@ func (pt Type) SVGName() string {
return "gitea-composer"
case TypeConan:
return "gitea-conan"
case TypeConda:
return "gitea-conda"
case TypeContainer:
return "octicon-container"
case TypeGeneric: