abhinav / abhinav/git-spice

Pre/post command hooks

Đang mở
#779 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
762
Fork
72
Merge trung bình
18 giờ 24 phút
Pull request đã merge (30 ngày)
28

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.