[cvsspam-devel] tagging hooks for use with cvsspam
Haroon Rafique
haroon.rafique at utoronto.ca
Wed Aug 16 18:10:21 UTC 2006
Hi there,
First of all, thanks for the wonderful product. Kudos.
Secondly, I have developed some hooks for use with taginfo/posttag which
allow notifications whenever tagging events happen. If there is any
interest, then I can either post to the mailing list (if list accepts
attachments) or publish on a website for download.
Caveats:
* This is my first attempt at ruby ever. I decided to write in ruby since
I was really duplicating most of the logic already present in the
existing scripts. So please be gentle if and when you do provide
feedback.
* I am using cvs 1.12.12. From what I understand posttag hook was only
added in 1.12.10. My hooks will *NOT* work with cvs 1.11.x.
Theoretically these hooks should work with 1.12.10+
* You will get one email for each tagging event performed with a "cvs tag"
command. However, when using a "cvs rtag" command (which I have never
used), I have been told that the sequence in which the taginfo and
posttag hooks run is once per directory. So you will get as many emails
as the number of involved directories (again, I haven't tried this with
"cvs rtag" - just speculating)
Cheers,
--
Haroon Rafique
<haroon.rafique at utoronto.ca>
More information about the cvsspam-devel
mailing list