mirror of
1
Fork 0
forgejo/modules/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 Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
arch Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
cargo Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
chef Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
composer Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
conan Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
conda Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
container Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
cran Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
debian Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
goproxy Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
helm Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
maven Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
npm Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
nuget Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pub Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pypi Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
rpm Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
rubygems Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
swift Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
vagrant Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
content_store.go Add direct serving of package content (#25543) 2023-07-03 15:33:28 +02:00
hashed_buffer.go Close all hashed buffers (#27787) 2023-10-25 21:24:24 +02:00
hashed_buffer_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
multi_hasher.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
multi_hasher_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00