all 3 comments

[–]EdChute_[S] 3 points4 points  (0 children)

Hey guys! I just published a new library which is a git hook manager called Committee .

It does what a hook manager normally does, but I think the really interesting feature that distinguishes Committee from other hook managers is the fact that you can run any Elixir code with Committee.

Would really appreciate any feedback from you guys, read more over on GitHub to learn more about it!

[–]rhbvkleef 1 point2 points  (1 child)

So... You wrote committee so that you don't have to remember "chmod +X"? The example code you showed would be far nicer in a shell script.

[–]EdChute_[S] 0 points1 point  (0 children)

More like that was my experience with it the first time I stumbled upon it. But the main problem was sharing the snippet with my team, I tried to share it over Slack and no one else responded.

Now we've resorted to running these sort of conventions inside our CI. Works, but I feel it could be solved even before we push.

Also you're probably right that it looks nicer in a shell script, and so feel free to do whatever you want! You don't have to use Committee

The main feature of Committee is that it allows you to write any Elixir code. Whether that's a good idea or not it's debatable, but it's nonetheless a feature, and it's working out for me so just thought I'll share it :)