[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers-public] [savannah-help-public] [sr #108411] Enable
From: |
Karl Berry |
Subject: |
Re: [Savannah-hackers-public] [savannah-help-public] [sr #108411] Enable commit mails including diffs for GNU AUCTeX |
Date: |
Sat, 12 Oct 2013 22:38:36 GMT |
The existing hook script was calling run-parts on a .d
Just for the record: with subversion this works more easily, because
(I believe) stdin is not used to pass info to the hooks.
E.g., The administration project's svn repo also uses run-parts;
vcs:/srv/svn/administration/hooks/post-commit just calls run-parts on
post-commit.d/, passing $REPOS and $REV with --arg. In fact, any svn
project that wants commit mail is set up this way, though normally there
is only one script in post-commit.d.
It was highly convenient for the ikiwiki stuff that this was done, since
I could add the crazy new script to do the wiki updating
(vcs:/srv/svn/administration/hooks/post-commit.d/sv_ikiwiki_refresh)
simply as another script to be executed by run-parts. I was impressed.
karl
- Re: [Savannah-hackers-public] [savannah-help-public] [sr #108411] Enable commit mails including diffs for GNU AUCTeX,
Karl Berry <=