Skip to content

release: gitkit v0.5.0 - #19

Merged
JheisonMB merged 35 commits into
mainfrom
develop
Aug 13, 2026
Merged

release: gitkit v0.5.0#19
JheisonMB merged 35 commits into
mainfrom
develop

Conversation

@JheisonMB

Copy link
Copy Markdown
Collaborator
  • test: add 75 unit tests for ignore, config, builds, attributes, hooks, git, utils, status, init
  • style: apply rustfmt
  • fix: resolve clippy warnings
  • fix: resolve failing tests for CI coverage
  • test: fix integration tests and add clone module coverage
  • style: apply cargo fmt formatting
  • test: increase coverage to 87%+ with comprehensive tests
  • test: increase coverage to 87%+ with comprehensive tests
  • test: increase coverage to 87%+ with comprehensive tests
  • style: fix clippy warnings
  • fix: ignore flaky set_current_dir tests
  • fix: add serial_test to serialize tests using set_current_dir
  • style: apply cargo fmt

JheisonMB and others added 30 commits July 15, 2026 12:13
- Fix 5 failing integration tests (PascalCase -> lowercase for clap subcommands)
- Fix cli_build_list_empty to accept 'Saved builds' output
- All 25 integration tests now passing
- Add tests for hooks, builds, config, ignore, init modules
- Test dry-run paths, backup logic, config set/remove
- All 381 tests passing, 87.46% line coverage
- Add tests for hooks, builds, config, ignore, init modules
- Test dry-run paths, backup logic, config set/remove
- All 356 tests passing (some flaky due to set_current_dir in parallel)
- 87.46% line coverage
- Add tests for hooks, builds, config, ignore, init modules
- Test dry-run paths, backup logic, config set/remove
- All 356 tests pass sequentially (flaky in parallel due to set_current_dir)
- 87.46% line coverage
Add homepage field to Cargo.toml linking to https://univerlab.org/gitkit.
crates.io renders this as a clickable link in the sidebar. Add corresponding
link in README for discoverable visitors.
Add Repository locks and Version check & self-update features to README
Features section. Update CLI Reference to document --push, --all flags
for gitkit lock, and --json flag for gitkit lock status.

Repository locks block commits and pushes during agent sessions via
pre-commit and pre-push hooks. Version check queries GitHub for newer
releases and can be disabled with GITKIT_NO_UPDATE_CHECK environment
variable.
Add comprehensive documentation for push-blocking feature shipped in
commit 6a48cc2. Includes:
- Examples for --push and --all flags
- Explanation of pre-push hook mechanics
- Per-operation status output (commit/push locked separately)
- Updated bypass documentation for git push --no-verify

Previously, docs/lock.md only covered commit-blocking, leaving half the
feature undocumented.
Document the automatic version check and self-update mechanism shipped in
commit 6a48cc2. Includes:
- Self-update section in Installation guide
- GITKIT_NO_UPDATE_CHECK environment variable to opt out
- Cargo-managed install handling (points to cargo install --force)
- Binary-in-place update behavior

Also update index.md to reflect current capabilities:
- Agent lock now blocks commits and/or pushes (not just commits)
- Add self-update to the feature list
- Update documentation guide to mention automatic self-updates
Add no-body commit-msg hook that rejects messages with a body, accepting
only a single-line subject (plus optional BREAKING CHANGE footer). Fix
conventional-commits to accept ! before the colon and to validate only
the first line.
Detect hooks that exist but are not executable (dormant) — the state
that caused four months of silent hook failures across seven repos.
Classify each hook as active/dormant/modified/absent, with explicit
language telling the user git ignores a dormant hook. --repair sets the
executable bit on dormant hooks without touching content; --strict exits
non-zero for CI. No new dependencies.
@JheisonMB JheisonMB added the target:main Targets the main branch label Aug 13, 2026
@JheisonMB JheisonMB changed the title develop release: gitkit v0.5.0 Aug 13, 2026
@JheisonMB
JheisonMB merged commit 12d9918 into main Aug 13, 2026
4 checks passed
@JheisonMB
JheisonMB deployed to production August 13, 2026 23:07 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target:main Targets the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant