Hooks for Darcs
darcs-hooks is a framework for darcs hooks. you can write plugins for it, configure them and each plugin will be invoked once for each pushed patch.
As I no longer use darcs these days, it’s kind of unmaintained but as far as I know it still works properly with the latest stable version of darcs.
Why is it good?
The posthook feature of darcs allows you to run 'one' command 'once' when you push something to the repo. darcs-hooks allows you to run 'several' commands 'for each pushed patch', no matter if you pushed one or several ones.
How does it work?
All you need is to append the following two lines to your
_darcs/prefs/defaults file inside your repository:
apply posthook python /path/to/darcs-hooks/darcs-hooks.py apply run-posthook
/config.py file to enable/disable plugins. See the
/foo/config.py files to fine-tune a given plugin.
git clone https://github.com/vmiklos/darcs-hooks.git
should be able to download the code.
Back to my projects page.