Comments (2)
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 😁
Some of the core capabilities/experience we wanted from a git hook tool:
- configuration driven
- having the ability for new/modified/removed hook commands for a project to be automatically cascaded to all project contributors, without each individual contributor having to locally run a command/tool
- simplicity in use, specifically without having to develop and add shell scripts to a git repo (including things corresponding permissions in the repo index, etc.)
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!
from rusty-hook.
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.
from rusty-hook.
Related Issues (20)
- Exit gracefully from hook scripts when requisite bins missing
- Don't attempt to init during bin install
- Fix clippy warnings
- Setup Testspace publishing
- Switch to GitHub Actions
- Hooks fail when using toml array syntax for multi-commands in rusty-hook.toml HOT 2
- Allow for alternative path for config HOT 7
- constantly upgrading HOT 10
- Rename existing commit hooks HOT 1
- Improve handling of projects in sub-directories HOT 12
- Clarify/document hook commands executed in git root directory
- Document git hook files are automanaged HOT 1
- error: Found argument '' which wasn't expected, or isn't valid in this context HOT 7
- Release `0.12.0` ? HOT 3
- The git arguments are not properly passed by `%rh!` HOT 2
- Allow setting environment variables and map them with specific hook HOT 2
- Invalid rusty-hook config file HOT 1
- Pre-push hook does not work when it has a list as value HOT 1
- Using a custom script HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rusty-hook.