- Introduced `bread-sync` module with core functionalities for syncing system state via Git. - Implemented `MachineProfile` struct for managing machine profiles, including methods for reading and writing profiles. - Added package management support with snapshot capabilities for `pacman`, `pip`, `npm`, and `cargo`. - Created comprehensive tests for sync operations, package parsing, and machine profile management. - Enhanced `udev` adapter to include vendor and product IDs for scanned devices. - Updated state engine to handle module clearing commands. - Introduced Lua integration for accessing machine information and file system operations. - Improved packaging documentation for Arch Linux and systemd service setup.
793 B
793 B
Arch packaging
PKGBUILD builds and installs both breadd and bread from source.
Local build
makepkg -si
Before publishing to AUR
- Tag a release on GitHub.
- Update
pkgverto match the tag. - Update
sourceto the release tarball URL. - Run
updpkgsums(or manually setsha256sums). - Update
urlif the repository has moved. - Set
dependsaccurately — at minimum:glibc. Addudevandlibgit2if not linking statically.
Runtime dependencies
| Package | Required | Notes |
|---|---|---|
glibc |
yes | always |
udev |
yes | device events |
dbus |
optional | UPower battery events |
libnotify |
optional | bread.notify() (uses notify-send) |
git |
optional | bread sync push/pull |