Releases: cushycush/stock
Release list
v0.4.0
Release 0.4.0 Cuts the release that includes the read-only `stock tui` dashboard, `make dogfood` for container-based real-manager testing, the apt empty-cache fix, and the README restructure. Code has been on main since April 22 but no tag was pushed, so AUR / Nix / GitHub release artifacts and `go install @latest` users have been stuck on 0.3.1 without a TUI. This unblocks them.
v0.3.1
First release installable from AUR, Nix, and GitHub prebuilt binaries.
Install
Arch Linux (AUR)
yay -S stock # source build
yay -S stock-bin # prebuilt
yay -S stock-git # tip-of-mainNix (flake)
nix run github:cushycush/stock -- doctor
nix profile install github:cushycush/stockGo
go install github.com/cushycush/stock/cmd/stock@v0.3.1Prebuilt binaries — attached below for linux/darwin/windows on amd64/arm64.
From v0.3.0 (skipped)
v0.3.0's release workflow failed with a missing `go.sum` entry for `golang.org/x/term` — a transitive dep pulled in by the store-core v0.2.0 bump that our local workspace resolved through a sibling `go.work`. v0.3.1 fixes `go.sum` via `GOWORK=off go mod tidy`. No other changes.
From v0.2.0
- Arch Linux (AUR) distribution via three packages: `stock` (source), `stock-bin` (prebuilt), `stock-git` (tip-of-main). The release workflow pushes `stock` and `stock-bin` automatically on every tag.
- Nix flake — `nix run`, `nix profile install`, and a pinned Go + gopls dev shell.
- GitHub release binaries — cross-compiled zips for linux/darwin/windows on amd64/arm64.
- CI — `go test` + `go build` on ubuntu/macos/windows for every push and PR.
- `stock version` reports the build-time-injected version string.
v0.2.0
Changed
stocknow styles its CLI output — doctor manager chips, drift/unservable reports, diff+markers, bootstrap phase headers, and snapshot warnings all render in color through the sharedstore-core/uimodule. Output matchesstore's look; styling auto-disables on non-terminal stdout and honorsNO_COLOR/FORCE_COLOR.- Requires
store-core v0.2.0.
Visual before/after
Before: pacman: missing: ripgrep
After: [warn] pacman missing: ripgrep (chip and manager bolded; [warn] dim yellow)
Install
go install github.com/cushycush/stock/cmd/stock@v0.2.0v0.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.