openusage-cli prioritizes compatibility with upstream OpenUsage plugin contracts.
- Upstream references are vendored in
vendor/openusage/ - Runtime compatibility fixes should be implemented in
src/(not by editing vendored plugin files)
See openusage_differences.md for intentional behavior differences.
Full CI parity command:
make ci-compactFast local loop:
cargo fmt && cargo testFocused tests:
cargo test --test http_smoke
cargo test --test plugin_compatibility
cargo test --test codex_overrideInstall helper cargo subcommands once:
cargo install cargo-deb cargo-generate-rpmBuild packages:
make deb
make rpm
make packagesPackage layout:
- Binary:
/usr/bin/openusage-cli - Upstream plugins:
/usr/share/openusage-cli/openusage-plugins - Override plugins:
/usr/share/openusage-cli/plugin-overrides
- Branches keep
Cargo.tomlat0.0.0 - Release version comes from Git tag
vX.Y.Z - CI injects tag version during packaging and exports
OPENUSAGE_BUILD_VERSION
Create a release tag:
make release-tag VERSION=0.2.0
git push origin v0.2.0