Beyond coding. We forge. https://forgejo.org
Find a file
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
.devcontainer
.forgejo chore(ci): do not hardcode go version, use go.mod instead 2024-08-03 11:53:55 +02:00
assets Merge pull request '[CHORE] Use github.com/ProtonMail/go-crypto' (#4506) from gusted/proton-openpgp into forgejo 2024-07-15 16:49:05 +00:00
build Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
cmd Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
contrib
custom/conf Add signature support for the RPM module (#4780) 2024-08-02 05:56:57 +00:00
docker
models Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
modules Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
options Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
public Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
release-notes feat(quota): Add a terse release not about quotas 2024-08-02 11:10:34 +02:00
releases/images
routers Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
services Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
templates Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
tests Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
tools
web_src Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00
.air.toml
.deadcode-out chore: update .deadcode.out 2024-07-28 09:00:29 +02:00
.dockerignore
.editorconfig
.envrc Enable direnv (#31672) 2024-07-28 07:18:24 +02:00
.eslintrc.yaml [PORT] Enable no-jquery/no-parse-html-literal and fix violation (gitea#31684) 2024-07-28 16:52:02 +02:00
.gitattributes
.gitignore Enable direnv (#31672) 2024-07-28 07:18:24 +02:00
.gitmodules
.gitpod.yml
.golangci.yml Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
.ignore
.markdownlint.yaml
.npmrc
.release-notes-assistant.yaml feat(release-notes-assistant): diff of the change in preview 2024-07-25 22:32:14 +02:00
.spectral.yaml
.yamllint.yaml
BSDmakefile
build.go
CODEOWNERS
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
flake.lock
flake.nix
go.mod chore(ci): do not hardcode go version, use go.mod instead 2024-08-03 11:53:55 +02:00
go.sum Add signature support for the RPM module (#4780) 2024-08-02 05:56:57 +00:00
LICENSE
main.go
Makefile chore(renovate): use mirror image 2024-07-30 09:23:44 +02:00
package-lock.json Update dependency vue to v3.4.35 2024-08-01 00:02:22 +00:00
package.json Update dependency vue to v3.4.35 2024-08-01 00:02:22 +00:00
playwright.config.js
poetry.lock
poetry.toml
pyproject.toml
README.md
release-notes-assistant.sh fix(release-notes-assistant): categorize multiline drafts & cleanup 2024-08-01 20:56:34 +02:00
RELEASE-NOTES.md docs(release-notes): 8.0.0 & 7.0.6 - updates 2024-07-30 16:28:02 +02:00
renovate.json chore(renovate): use mirror image 2024-07-30 09:23:44 +02:00
stylelint.config.js
tailwind.config.js
vitest.config.js
webpack.config.js Merge pull request '[CHORE] Remove AGPL-1.0 as allowed license' (#4673) from gusted/forgejo-rm-agpl into forgejo 2024-07-25 07:40:19 +00:00

Welcome to Forgejo

Hi there! Tired of big platforms playing monopoly? Providing Git hosting for your project, friends, company or community? Forgejo (/for'd͡ʒe.jo/ inspired by forĝejo the Esperanto word for forge) has you covered with its intuitive interface, light and easy hosting and a lot of builtin functionality.

Forgejo was created in 2022 because we think that the project should be owned by an independent community. If you second that, then Forgejo is for you! Our promise: Independent Free/Libre Software forever!

What does Forgejo offer?

If you like any of the following, Forgejo is literally meant for you:

  • Lightweight: Forgejo can easily be hosted on nearly every machine. Running on a Raspberry? Small cloud instance? No problem!
  • Project management: Besides Git hosting, Forgejo offers issues, pull requests, wikis, kanban boards and much more to coordinate with your team.
  • Publishing: Have something to share? Use releases to host your software for download, or use the package registry to publish it for docker, npm and many other package managers.
  • Customizable: Want to change your look? Change some settings? There are many config switches to make Forgejo work exactly like you want.
  • Powerful: Organizations & team permissions, CI integration, Code Search, LDAP, OAuth and much more. If you have advanced needs, Forgejo has you covered.
  • Privacy: From update checker to default settings: Forgejo is built to be privacy first for you and your crew.
  • Federation: (WIP) We are actively working to connect software forges with each other through ActivityPub, and create a collaborative network of personal instances.

Learn more

Dive into the documentation, subscribe to releases and blog post on our website, find us on the Fediverse or hop into our Matrix room if you have any questions or want to get involved.

Get involved

If you are interested in making Forgejo better, either by reporting a bug or by changing the governance, please take a look at the contribution guide.