forgejo/models/packages
Exploding Dragon f17194ca91 Arch packages implementation (#4785)
This PR is from https://github.com/go-gitea/gitea/pull/31037

This PR was originally created by @d1nch8g , and the original source code comes from https://ion.lc/core/gitea.

This PR adds a package registry for [Arch Linux](https://archlinux.org/) packages with support for package files, [signatures](https://wiki.archlinux.org/title/Pacman/Package_signing), and automatic [pacman-database](https://archlinux.org/pacman/repo-add.8.html) management.

Features:

1. Push any ` tar.zst ` package and Gitea sign it.
2. Delete endpoint for specific package version and all related files
3. Supports trust levels with `SigLevel = Required`.
4. Package UI with instructions to connect to the new pacman database and visualised package metadata

![](/attachments/810ca6df-bd20-44c2-bdf7-95e94886d750)

You can follow [this tutorial](https://wiki.archlinux.org/title/Creating_packages) to build a *.pkg.tar.zst package for testing

docs pr: https://codeberg.org/forgejo/docs/pulls/791

Co-authored-by: d1nch8g@ion.lc
Co-authored-by: @KN4CK3R
Co-authored-by: @mahlzahn
Co-authored-by: @silverwind
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4785
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Exploding Dragon <explodingfkl@gmail.com>
Co-committed-by: Exploding Dragon <explodingfkl@gmail.com>
2024-08-04 06:16:29 +00:00
..
alpine
conan
conda
container List all Debian package versions in Packages (#27786) 2023-10-29 14:14:47 +00:00
cran
debian List all Debian package versions in Packages (#27786) 2023-10-29 14:14:47 +00:00
nuget remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
rpm Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
descriptor.go Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
package.go Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
package_blob.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
package_blob_upload.go
package_cleanup_rule.go
package_file.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
package_property.go
package_test.go feat(UI): add package counter to repo/user/org overview pages 2024-07-31 12:40:24 +02:00
package_version.go Fix package list performance (#30520) 2024-04-21 16:28:16 +02:00