- Shell 100%
| .github/ISSUE_TEMPLATE | ||
| bash-completion | ||
| bin | ||
| etc | ||
| lib | ||
| man | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| TODO | ||
krack
Krathalan's packaging softwares. You can think of krack as an automated building system for the ABS/AUR, split between two machines: one that builds and sends packages, and one that receives and hosts them.
The specific use case for krack is having a spare PC at home that has enough power to compile some programs. You can set up krack to build and upload your desired packages on this PC, and then receive them at a remote PC of your choosing that hosts a pacman repository, such as a low-power, inexpensive VPS. Then all your Arch devices can pull in package updates from that repository, without having to build them manually on any device or pay exorbiant fees for a powerful VPS.
All of the documentation comes in the form of man pages. Before using krack, you should read them in this order (click to read unprocessed on Codeberg):
Features
- GPG package signing.
- Automated scheduled headless building using a user-configurable systemd timer (2x/week, Tues/Fri 2:30am by default).
- Ccache compliance for faster build times and lower power usage.
- Optional zero config per-package hooks, pre/post-gitpull and pre/post-makechrootpkg, for user script execution (for patching PKGBUILDs, config files, etc.)
- Diffs from
git pulls are saved and stored for later manual review. - Advanced logging (custom, and optionally on-by-default journald) that saves and indexes build failures for easy diagnosis.
- Option to send build cycle reports over email with
msmtp. - Stores last package build durations for next new package build reporting.
- Easily request package builds and manage your pending build requests.
- Automatic chroot updating and cleanup of old build artifacts.
- Krack-receive does not use its own service that listens on a port, but instead relies on rsync, ssh, and inotify.
- Low overhead.
Outstanding issues
- No option to auto-import GPG keys for source file verification.
- No support for non-zstd compressed packages.
- No way to detect a hanging/stuck package build.
Fixed:
- No option to not use GPG package signing.
Installation
Install krack from the AUR: https://aur.archlinux.org/packages/krack/
krack-git is also available in my personal pkgbuilds repo: https://codeberg.org/krathalan/pkgbuilds
Contributing
See CONTRIBUTING.md.
Other similar projects
ABS_CD: https://github.com/bionade24/abs_cd
