![](https://secure.gravatar.com/avatar/a52180e24a72c78dc830624b240c5795.jpg?s=120&d=mm&r=g)
Hi, First of all sorry for the previous mail, which I was sent accidentally. :) Well, I opened a thread in the contrib mailing list with the same topic, and seems that contributors are interested, but logically they want to known more about the code of certain hook scripts. I browse the gitweb looking for this code, and I found an older one used for subversion hooks: http://crux.nu/gitweb/?p=misc/scripts.git;a=blob;f=svn-notify.sh Maybe possible to import these hook scripts (and other useful ones) inside the script.git repository. Best regards, Jose V Beneyto
![](https://secure.gravatar.com/avatar/4e374bb9f03cbbca5d9541a8bf8ec8bf.jpg?s=120&d=mm&r=g)
Hi Jose, On Thu, Jul 03, 2008 at 17:50:51 +0200, Jose V Beneyto wrote:
Hi,
First of all sorry for the previous mail, which I was sent accidentally. :) No problem :-)
Well, I opened a thread in the contrib mailing list with the same topic, and seems that contributors are interested, but logically they want to known more about the code of certain hook scripts. The relevant hook in git is the 'update' hook, there's an extensive description here: http://www.kernel.org/pub/software/scm/git/docs/howto/update-hook-example.tx...
Our current hook does just the following procedure, for every commit that gets pushed: if "[notify]" is in the commit message: send an e-mail to both crux@ and crux-commits@ otherwise: send a mail to crux-commits@ only (in reality, we create a list of My personal opinion is that we could/should send contrib mail to crux-commits@ too, in other words use the exact same hook.
I browse the gitweb looking for this code, and I found an older one used for subversion hooks: http://crux.nu/gitweb/?p=misc/scripts.git;a=blob;f=svn-notify.sh It does the same thing, except that there's no "[security]" tag anymore. we use "[notify]" for any kind of notifications, be that important changes in a port or security related.
Plus it's in perl :-)
Maybe possible to import these hook scripts (and other useful ones) inside the script.git repository. Sure, why not. There's no author mentioned so far, so I'll try to find out who wrote it before importing it, but I don't think there should be a problem doing so.
Cheers, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch
![](https://secure.gravatar.com/avatar/4e374bb9f03cbbca5d9541a8bf8ec8bf.jpg?s=120&d=mm&r=g)
On Fri, Jul 04, 2008 at 08:03:14 +0200, Johannes Winkelmann wrote: [...]
Our current hook does just the following procedure, for every commit that gets pushed: if "[notify]" is in the commit message: send an e-mail to both crux@ and crux-commits@ otherwise: send a mail to crux-commits@ only
(in reality, we create a list of ^ just ignore that, that's a leftover from a previous formulation, combined with lack of coffee :-).
Regards, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch
participants (2)
-
Johannes Winkelmann
-
Jose V Beneyto