Skip to content

Feature/status and wizard improvements#12

Merged
JheisonMB merged 12 commits into
developfrom
feature/status-and-wizard-improvements
Jun 12, 2026
Merged

Feature/status and wizard improvements#12
JheisonMB merged 12 commits into
developfrom
feature/status-and-wizard-improvements

Conversation

@JheisonMB

@JheisonMB JheisonMB commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

status and wizard improvements

JheisonMB and others added 11 commits June 11, 2026 17:32
- Add 'gitkit status' to show current hooks, gitignore, gitattributes, and config
- 'gitkit' without args now runs the init wizard
- Detect installed hooks and match against built-ins
- Show git config for both global and local scopes
- Add --global/--local flags to config apply
- Default scope: --local if in repo, --global otherwise
- Add 'gitkit config show' subcommand
- Detect already-set configs and show 'already set' message
- Export ConfigScope for use in wizard
- Detect installed hooks and mark with [✓ installed]
- Pre-select already installed hooks in wizard
- Detect configured git config and mark with [✓ already set]
- Allow deselecting to remove hooks and configs
- Add remove_hook and remove_config_key helper functions
- Replace text input with Select for hook type
- Show valid hook names in interactive picker
- Prevents typos and improves UX
- Add tests for resolve_keys, get_configured_keys
- Add tests for scope_flag
- All 27 tests passing
- Add gitkit status command documentation
- Document gitkit without args as wizard alias
- Add config scope options (--global/--local)
- Document idempotency detection
- Update wizard description to mention state awareness
- Fix 'nothing' check to consider hooks_to_remove and configs_to_remove
- Fix potential panic with multibyte chars in hook detection
- Fix incorrect 'removed' message when config removal fails
- Move git_config_get to utils to avoid duplication
- Optimize get_configured_keys: use git config --list (2 calls vs 10)
- Fix useless test assertion
- Add Build struct with TOML serialization
- Implement build list/save/delete commands
- Store builds in ~/.gitkit/builds/
- Add capture_current_config to detect current repo state
- Add detect_gitignore_templates and detect_gitattributes_presets
- Show saved builds at wizard start, allow selecting one
- Ask to save configuration as build at wizard end
- Update README with builds documentation
- Add builds to features list
…compatibility

- Add Windows USERPROFILE fallback for HOME environment variable
- Enforce build name validation (no paths, no empty names)
- Refactor hook detection to separate builtins from custom hooks
- Extract custom hook commands from script shebangs
- Simplify struct initialization with default patterns
- Remove unnecessary dead_code annotations

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@JheisonMB JheisonMB changed the base branch from main to develop June 12, 2026 21:42
@JheisonMB JheisonMB added the target:develop Targets the develop branch label Jun 12, 2026
@JheisonMB JheisonMB merged commit c33d06d into develop Jun 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target:develop Targets the develop branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant