From glen at delfi.ee Mon Feb 4 11:04:10 2008 From: glen at delfi.ee (Elan =?iso-8859-15?q?Ruusam=E4e?=) Date: Mon, 4 Feb 2008 13:04:10 +0200 Subject: [cvsspam-devel] Encrypting CVS notification emails In-Reply-To: References: Message-ID: <200802041304.10229.glen@delfi.ee> On Wednesday 30 January 2008 19:38:25 vinnie nolan wrote: > Hi > > I wonder if it would be possible to configure cvsspam to encrypt all > notification emails sent by CVS . Some notification emails could contain > potentially sensitive information so it would make sense to encrypt them. > > The emails would be encrypted with a single certificate which is stored in > PEM format in a local file. > > To encrypt an email using openssl and sendmail is quite simple. Just use > the following format: > > $ openssl smime > -encrypt \ > -text \ > -in myMessage.txt \ # Text to encrypt > -from me at somewhere.com\ > -to you at somewhere.com \ > -subject "Encrypted CVS notification message" \ > yourcert.pem \ # PEM certificate of user you want to send the email to. > This could be the same file for all users on a mailing list. > > | /usr/sbin/sendmail you at somewhere.com i once coded sendmail wrapper to be used from cvsspam $sendmail_prog = /path/to/this/program using gpg it's perl program altho. you need email addresses you encode the email listed in $CVSROOT/CVSROOT/pubkeys, each email by it's line. -- glen -------------- next part -------------- A non-text attachment was scrubbed... Name: gpg-encrypt.pl Type: application/x-perl Size: 1619 bytes Desc: not available Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20080204/f17ec9e2/attachment.bin From kiran.happy at gmail.com Thu Feb 7 13:53:47 2008 From: kiran.happy at gmail.com (Kiran Pradeep) Date: Thu, 7 Feb 2008 19:23:47 +0530 Subject: [cvsspam-devel] feature request - cvsspam mail on tagging Message-ID: <6e2feee40802070553u3d39e5d0l83945ee5a1f531ba@mail.gmail.com> Howdy! Thanks for the amazing tool. It really helps us. Would love to have 1 more feature. Can we configure cvsspam to send out a mail in case cvs is tagged. This feature would be useful for many. Thanks Kiran. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20080207/384574af/attachment.htm From haroon.rafique at utoronto.ca Thu Feb 7 15:24:27 2008 From: haroon.rafique at utoronto.ca (Haroon Rafique) Date: Thu, 7 Feb 2008 10:24:27 -0500 (EST) Subject: [cvsspam-devel] feature request - cvsspam mail on tagging In-Reply-To: <6e2feee40802070553u3d39e5d0l83945ee5a1f531ba@mail.gmail.com> References: <6e2feee40802070553u3d39e5d0l83945ee5a1f531ba@mail.gmail.com> Message-ID: On Today at 7:23pm, KP=>Kiran Pradeep wrote: KP> Howdy! KP> KP> Thanks for the amazing tool. It really helps us. Would love KP> to have 1 more feature. KP> KP> Can we configure cvsspam to send out a mail in case cvs is KP> tagged. This feature would be useful for many. KP> KP> Thanks KP> Kiran. KP> Hi Kiran, Please see: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/2006-August/000522.html and: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/2006-December/000534.html Cheers, -- Haroon Rafique From rey4 at columbia.edu Wed Feb 13 22:52:33 2008 From: rey4 at columbia.edu (rey4 at columbia.edu) Date: Wed, 13 Feb 2008 17:52:33 -0500 Subject: [cvsspam-devel] undefined method `call' for nil Message-ID: <20080213175233.3hzixz7hug0cgkwc@cubmail.cc.columbia.edu> I occasionally see the following error on from CVSspam during commits: /home/russ/cvsspam/cvsspam.rb:64:in `gsub!': undefined method `call' for nil (NameError) from /home/russ/cvsspam/cvsspam.rb:58:in `gsub!' from /home/russ/cvsspam/cvsspam.rb:58:in `gsub!' from /home/russ/cvsspam/cvsspam.rb:610:in `teardown' from /home/russ/cvsspam/cvsspam.rb:504:in `handleLines' from /home/russ/cvsspam/cvsspam.rb:1490 from /home/russ/cvsspam/cvsspam.rb:1482:in `open' from /home/russ/cvsspam/cvsspam.rb:1482 from /home/russ/cvsspam/cvsspam.rb:1478:in `open' from /home/russ/cvsspam/cvsspam.rb:1478 /home/russ/cvsspam/collect_diffs.rb:315:in `mailtest': problem running '/home/russ/cvsspam/cvsspam.rb' (RuntimeError) from /home/russ/cvsspam/collect_diffs.rb:475 This is with the trunk version of CVSspam (r255) at http://svn.badgers-in-foil.co.uk/cvsspam/trunk/ I'm not sure what causes this. Has anyone seen this before? - Russ From rey4 at columbia.edu Thu Feb 14 23:16:46 2008 From: rey4 at columbia.edu (rey4 at columbia.edu) Date: Thu, 14 Feb 2008 18:16:46 -0500 Subject: [cvsspam-devel] undefined method `call' for nil [PATCH] In-Reply-To: <20080213175233.3hzixz7hug0cgkwc@cubmail.cc.columbia.edu> References: <20080213175233.3hzixz7hug0cgkwc@cubmail.cc.columbia.edu> Message-ID: <20080214181646.20d0jbzqzow40k0c@cubmail.cc.columbia.edu> A patch is attached which fixes this. The problem was that the bugzilla regular expression had a capturing group in it which messed up the group indexes used by the MultiSub class. I changed the group into a non-capturing group and cvsspam now works fine. -------------- next part -------------- A non-text attachment was scrubbed... Name: bugzilla-re-fix.patch Type: text/x-patch Size: 448 bytes Desc: not available Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20080214/48ad4ecc/attachment.bin