abhinav / abhinav/git-spice

Pre/post command hooks

Offen
#779 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Go
Sterne
762
Forks
72
Ø Merge
18 Std. 24 Min.
Gemergte PRs (30 T.)
28

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.