Closed azzamsa closed 2 years ago
Thank you for the question and kind words. It's a fair question, but I'll preface by saying that our objective in listing alternatives is not to rationalize the existence of rusty-hook, nor promote/disparage any other tool. It's just an acknowledgement of the fact that there are other published tools that are available so that users have additional information to help them choose the tool that works best for them.
In short, there's a couple different styles/strategies for client side git hook tools, and unsurprisingly, we prefer the style that rusty-hook has implemented :grin:
Some of the core capabilities/experience we wanted from a git hook tool:
In order to achieve those goals, the style of git hook tool that rusty-hook implements is required. There's tradeoffs to each style of git hook tool, and some folks prefer a different style. However, there weren't any Rust-geared git hook tools in this style and accordingly none that satisfied our core goals (at least at the time we started developing rusty-hook). It also wouldn't have made sense to try to extend/modify any of the existing tools, as they were intentionally developed with some of the other styles and had their own respective set of relative benefits/drawbacks.
Accordingly, we developed a new tool implementing the style seen today with rusty-hook; the section you've quoted from the readme is just for awareness about the other tools and other styles.
Going to close as I imagine the above answers the question posed in the description, but feel free to follow up with any additional comments or questions!
I am very glad that you mentioned other alternatives.
Thanks for the very thorough answers. I hope this helps others to know about the rusty-hook niche.
Thank you for rusty-hook.
Question
Hi. I couldn't find the "why" of rusty-hook in both the docs and issues. I only find this:
Would you like to elaborate more on this?
Thanks for rusty-hook.