📦 Pacman Package Server
Find a file
JMARyA 3080fee86b
All checks were successful
ci/woodpecker/push/build Pipeline was successful
fix
2024-12-27 05:35:27 +01:00
.woodpecker CI 2024-12-26 01:08:46 +01:00
migrations fix 2024-12-27 04:56:15 +01:00
src fix 2024-12-27 05:35:27 +01:00
.gitignore init 2024-12-26 00:37:50 +01:00
Cargo.lock update 2024-12-27 04:28:05 +01:00
Cargo.toml update 2024-12-26 01:07:43 +01:00
docker-compose.yml fix 2024-12-27 04:56:15 +01:00
Dockerfile fix 2024-12-27 04:38:47 +01:00
README.md update 2024-12-27 04:28:05 +01:00

Pacco

Pacco is an application for managing and hosting pacman repositories.

Features

  • Multiple repositories
  • Multiple architectures
  • Web UI for packages
  • API for pushing new packages
  • Smart mirroring

Usage

Package Repo

To use the packages pacco provides, add the following to pacman.conf:

# /etc/pacman.conf

[repo]
Include = /etc/pacman.d/mirrorlist_pacco

Add /etc/pacman.d/mirrorlist_pacco:

# /etc/pacman.d/mirrorlist_pacco

Server = https://example.com/pkg/$repo/$arch

Add a new package

To upload a package you created with makepkg to a repo use curl:

curl -X POST \
-F "pkg=@./<pkg_name>-<version>-<rel>-<arch>.pkg.tar.zst" \
-F "sig=@./<pkg_name>-<version>-<rel>-<arch>.pkg.tar.zst.sig" \
-F "name=<pkg_name>" \
-F "arch=<arch>" \
-F "version=<version>" \
"https://<domain>/pkg/<repo>/upload"