zlacker

[return to "Hk, a new Git hook manager"]
1. timhh+tm[view] [source] 2025-02-17 18:35:50
>>DrBenC+(OP)
Interesting. I've been working on a pre-commit replacement too, written in Rust but using WASI for all plugins (no exceptions!). I haven't got very far but I think this will have huge advantages over pre-commit, mostly in reliability.

Me and my colleagues have had numerous issues setting up pre-commit because it inherits Python's atrocious infrastructure.

I'm curious how this is going to deal with actually running plugins? Will it take the same approach as pre-commit and add dedicated not-very-good support for a load of different languages?

◧◩
2. tralln+Ap[view] [source] 2025-02-17 18:57:05
>>timhh+tm
Is it that difficult to use `pipx install` or `uv tool install`?
◧◩◪
3. timhh+4v[view] [source] 2025-02-17 19:28:23
>>tralln+Ap
Yes. Those are both more effort and less reliable than what I am planning (a static binary with WASI plugins).
◧◩◪◨
4. tralln+GO1[view] [source] 2025-02-18 08:56:59
>>timhh+4v
I agree to both. It just sounded to me like it is an unbearable experience, which I wanted to correct. Certainly, on a clean slate, I prefer a static binary
[go to top]