Menu

📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/M0Rf30·3 days ago
#3xxfynhr
Reading 0:00
15s threshold

I've been running YAP in production for a few years to package software across several distros. Cleaned it up enough to share. You write one PKGBUILD and it builds native packages for Debian, Fedora, Alpine, Arch and others. Builds run in Docker/Podman containers. The part that might interest this sub: it doesn't shell out to apt/dpkg/dnf/apk for metadata. It's all reimplemented in Go: deb822 parser for apt/dpkg metadata apt update/install with OpenPGP InRelease verification apk update/add pacman -Sy RPM SQLite reader Package installs go into a separate SQLite state DB instead of the system dpkg/rpm databases, which is what makes it usable inside throwaway build containers.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More