feat: add PMO dependency version checking and bumping tools #7

Merged
eric merged 1 commit from push-umzqrlmnsrmp into main 2026-11-08 07:43:07 +01:00
Owner

Introduce deps-check and deps-bump targets to verify that PMO crates use the latest published versions and to update them automatically. This ensures projects do not run with deprecated or incompatible dependency versions, integrating these checks into CI pipelines (make ci, jjpush, jjrelease) and the watch pipeline.

  • Add kit/scripts/deps-check.sh with functions bad, index_path, latest_published, req_accepts, req_for, and lock_entries to analyze Cargo.lock entries against published registry versions.
  • Add tests/deps-check.sh with test utilities (ok, ko, make_index, new_project, neighbor, lock_pkg, run, expect) to validate dependency resolution logic in isolated environments.
  • Update kit/dev-patch.mk to define phony targets deps-check and deps-bump that invoke the new script for checking and bumping PMO dependencies.
  • Integrate deps-check into CI workflows by updating template/AGENTS.md (make ci) and kit/crate.mk (watch, jjpush, jjrelease pipelines).
  • Update README.md to document the new dependency management process, including version constraints, flagging conditions, and the make deps-bump workflow.
  • Add a new end-to-end test case in Makefile using @tests/deps-check.sh to verify API verdicts and dependency control on a mini-crate.
  • Bump kit version from 0.1.6 to 0.1.7 in kit/VERSION.
Introduce `deps-check` and `deps-bump` targets to verify that PMO crates use the latest published versions and to update them automatically. This ensures projects do not run with deprecated or incompatible dependency versions, integrating these checks into CI pipelines (`make ci`, `jjpush`, `jjrelease`) and the `watch` pipeline. - Add `kit/scripts/deps-check.sh` with functions `bad`, `index_path`, `latest_published`, `req_accepts`, `req_for`, and `lock_entries` to analyze `Cargo.lock` entries against published registry versions. - Add `tests/deps-check.sh` with test utilities (`ok`, `ko`, `make_index`, `new_project`, `neighbor`, `lock_pkg`, `run`, `expect`) to validate dependency resolution logic in isolated environments. - Update `kit/dev-patch.mk` to define phony targets `deps-check` and `deps-bump` that invoke the new script for checking and bumping PMO dependencies. - Integrate `deps-check` into CI workflows by updating `template/AGENTS.md` (`make ci`) and `kit/crate.mk` (`watch`, `jjpush`, `jjrelease` pipelines). - Update `README.md` to document the new dependency management process, including version constraints, flagging conditions, and the `make deps-bump` workflow. - Add a new end-to-end test case in `Makefile` using `@tests/deps-check.sh` to verify API verdicts and dependency control on a mini-crate. - Bump kit version from 0.1.6 to 0.1.7 in `kit/VERSION`.
feat: add PMO dependency version checking and bumping tools
All checks were successful
Release / release (push) Successful in 19s
8b6b153ed8
Introduce `deps-check` and `deps-bump` targets to verify that PMO crates use the latest published versions and to update them automatically. This ensures projects do not run with deprecated or incompatible dependency versions, integrating these checks into CI pipelines (`make ci`, `jjpush`, `jjrelease`) and the `watch` pipeline.

- Add `kit/scripts/deps-check.sh` with functions `bad`, `index_path`, `latest_published`, `req_accepts`, `req_for`, and `lock_entries` to analyze `Cargo.lock` entries against published registry versions.
- Add `tests/deps-check.sh` with test utilities (`ok`, `ko`, `make_index`, `new_project`, `neighbor`, `lock_pkg`, `run`, `expect`) to validate dependency resolution logic in isolated environments.
- Update `kit/dev-patch.mk` to define phony targets `deps-check` and `deps-bump` that invoke the new script for checking and bumping PMO dependencies.
- Integrate `deps-check` into CI workflows by updating `template/AGENTS.md` (`make ci`) and `kit/crate.mk` (`watch`, `jjpush`, `jjrelease` pipelines).
- Update `README.md` to document the new dependency management process, including version constraints, flagging conditions, and the `make deps-bump` workflow.
- Add a new end-to-end test case in `Makefile` using `@tests/deps-check.sh` to verify API verdicts and dependency control on a mini-crate.
- Bump kit version from 0.1.6 to 0.1.7 in `kit/VERSION`.
eric merged commit 9f44f3e74b into main 2026-11-08 07:43:07 +01:00
eric deleted branch push-umzqrlmnsrmp 2026-11-08 07:43:09 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
LLM/crate-kit!7
No description provided.