aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/packages/package.go
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-05-12 19:27:50 +0200
committerGitHub <noreply@github.com>2023-05-12 17:27:50 +0000
commit9173e079ae9ddf18685216fd846ca1727297393c (patch)
tree3437a68d48c338f5721146e951f553fb40facbab /routers/api/v1/packages/package.go
parent80bde0141bb4a04b65b399b40ab547bf56c0567e (diff)
downloadgitea-9173e079ae9ddf18685216fd846ca1727297393c.tar.gz
gitea-9173e079ae9ddf18685216fd846ca1727297393c.zip
Add Alpine package registry (#23714)
This PR adds an Alpine package registry. You can follow [this tutorial](https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package) to build a *.apk package for testing. This functionality is similar to the Debian registry (#22854) and therefore shares some methods. I marked this PR as blocked because it should be merged after #22854. ![grafik](https://user-images.githubusercontent.com/1666336/227779595-b76163aa-eea1-4a79-9583-775c24ad74e8.png) --------- Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'routers/api/v1/packages/package.go')
-rw-r--r--routers/api/v1/packages/package.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/packages/package.go b/routers/api/v1/packages/package.go
index e0811f8665..d7277247fc 100644
--- a/routers/api/v1/packages/package.go
+++ b/routers/api/v1/packages/package.go
@@ -40,7 +40,7 @@ func ListPackages(ctx *context.APIContext) {
// in: query
// description: package type filter
// type: string
- // enum: [cargo, chef, composer, conan, conda, container, debian, generic, helm, maven, npm, nuget, pub, pypi, rpm, rubygems, swift, vagrant]
+ // enum: [alpine, cargo, chef, composer, conan, conda, container, debian, generic, helm, maven, npm, nuget, pub, pypi, rpm, rubygems, swift, vagrant]
// - name: q
// in: query
// description: name filter