abhinav / abhinav/git-spice

Pre/post command hooks

Open
#779 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
762
Forks
72
Avg merge
18h 24m
Merged PRs (30d)
28

Description

git-spice should support hooks that it runs before/after certain operations
like post-restack, post-submit, etc.
This would allow power users to build custom workflows on top of git-spice
operations.

Refs https://github.com/abhinav/git-spice/issues/414#issuecomment-2672423604

This issue only tracks the high-level design of the hooks system,
not a comprehensive list of hooks.
One supported hook will be enough to resolve this issue.

Open questions:

- Where do hooks go? .git/hooks/spice/ or .git/spice/hooks/?
- Do we want to support in-repo hooks?
- How (if at all) should we support the core.hooksPath configuration option?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.