v0.1.0
First tagged release. Package/tool/runtime installer, companion to store.
Highlights
- Reads
.store/packages.yaml; groups map manager keys (brew,apt,pacman, …) to package lists, with optionalwhen:filters that accept either a YAML scalar or a list (os: linuxoros: [linux, darwin]). - Supported managers:
brew,brew-cask,apt,pacman,dnf(falls back toyum),zypper,apk,winget,cargo,go,npm,pipx,gem. Cross-platform "alternatives" in one group are expected —stockruns whichever manager is available. - Commands:
install,diff,doctor,snapshot,platform,bootstrap.--dry-runoninstallandbootstrap. - Git-style subcommand dispatch: unknown commands fall back to
stock-<name>on$PATH. - Hooks under
.store/hooks/run with the sharedSTORE_*env contract fromstore-core.
Install
go install github.com/cushycush/stock/cmd/stock@v0.1.0Testing
Unit test coverage focuses on the load-bearing pieces: config 96%, runner 87%, plus full coverage of plan orchestration (when: filtering, cross-group aggregation, unavailable-manager silent skip, unknown-key warnings) and RunInstall happy / error paths. Real manager shell-outs are not unit tested.
See the README for config examples and the full command reference.