Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Arch packages implementation #31037

Draft
wants to merge 192 commits into
base: main
Choose a base branch
from

Conversation

ExplodingDragon
Copy link
Contributor

@ExplodingDragon ExplodingDragon commented May 21, 2024

close #25037

This Commit was created by d1nch8g (#25396).

Sources: https://ion.lc/core/gitea

This PR adds a package registry for Arch Linux packages with support for package files, signatures, and automatic pacman-database management.

Features:

  1. Push endpoints to upload package with or without signatures
  2. Delete endpoint for specific package version and all related files
  3. Get endpoint which is working for package files, gpg signature files and pacman database files
  4. Package UI with instructions to connect to the new pacman database and visualised package metadata

You can follow this tutorial to build a *.pkg.tar.zst package for testing

Co-authored-by: d1nch8g@ion.lc
Co-authored-by: @KN4CK3R
Co-authored-by: @silverwind

dancheg97 and others added 30 commits June 20, 2023 23:08
…ction and remove windows incompatible dependency
Co-authored-by: silverwind <me@silverwind.io>
… file in memory, added download counter related to pkg.tar.zst files
…equest automatically from package metadata in database
@github-actions github-actions bot added modifies/translation modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/docs labels May 21, 2024
@github-actions github-actions bot added modifies/cli PR changes something on the CLI, i.e. gitea doctor or gitea admin modifies/migrations modifies/internal modifies/js modifies/dependencies labels May 21, 2024
@pull-request-size pull-request-size bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 21, 2024
@pull-request-size pull-request-size bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 21, 2024
@github-actions github-actions bot removed modifies/cli PR changes something on the CLI, i.e. gitea doctor or gitea admin modifies/migrations modifies/internal modifies/js modifies/dependencies labels May 21, 2024
@ExplodingDragon
Copy link
Contributor Author

ExplodingDragon commented May 21, 2024

TODO: Package signatures should be managed by Gitea, custom signatures will result in inconsistencies with index signatures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/dependencies modifies/docs modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/translation size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arch linux packages
3 participants