From dave at badgers-in-foil.co.uk Sun Dec 4 13:56:31 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun Dec 4 13:56:42 2005 Subject: [cvsspam-devel] CVSspam + multiple repositories In-Reply-To: References: Message-ID: <20051204135630.GA17241@badgers-in-foil.co.uk> Hi there, On Sat, Nov 26, 2005 at 09:07:41AM -0600, George K. Thiruvathukal wrote: > I am completely new and apologize if this is a duplicate issue. (I did > "search" the archives, but it is a pain.) I've set up CVSspam and think its > very nicely done. Less is more! > > There is one improvement I would like to suggest and am willing to help > develop. It would be nice if I could customize the subject of the e-mails > being sent to include not only the module name but the repository name as > well. We tend to use multiple repositories (one per major project) in my > organization, and I suspect that many folks do the same. > > Ideally, colect_diffs.rb would allow a --subject-template option to be > specified: > > --subject "[CVS MyRepositoryName %(RepositoryList)s]" > > Pardon my use of a Python-like variable reference to the list of modules > that were committed. In case there is confusion, I am suggesting that the > result of Repository.array.join(',') would be substituted where you see > RepositoryList in the template. This is the line of code where it is > referenced in cvsspam.rb: > > $subjectPrefix = "[CVS #{Repository.array.join(',')}]" > > I believe the change I am proposing can be done such that the default > behavior continues to be as is. Only in the presence of --subject-template > will the subject template be used. Ok, lots of people ask for customisation of the email subject. Time to bite the bullet and implement some kind of simple tamplate... dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Sun Dec 4 14:00:13 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun Dec 4 14:00:32 2005 Subject: [cvsspam-devel] cvsspam using SMTP:need help in getting mails to show color. In-Reply-To: References: Message-ID: <20051204140012.GB17241@badgers-in-foil.co.uk> Hey, On Sat, Nov 26, 2005 at 06:18:20PM +0000, vikram shevde wrote: > Thanks for your earlier response on the errors I was getting. I now > have the emails going out successfully, but the only issue i am facing > is that the mails do not show any color. I am using the SMTP option, > so is there anything else i need to do to get the emails to show up > in color? Hmm, could you give more info? What email client are you using? Do you see the HTML tags appearing when you view the message source (if possible), or have they been stripped out by a servier along the delivery path. thanks, dave PS It would be neat if you could post to the list in plain text, rather than in HTML ;) -- http://david.holroyd.me.uk/ From pardinilist at pardini.net Tue Dec 6 02:36:20 2005 From: pardinilist at pardini.net (Ricardo Pardini) Date: Tue Dec 6 02:36:46 2005 Subject: [cvsspam-devel] Error while commiting into cvs after cvsspam install: libcrypto.so.0.9.8 In-Reply-To: <20051121110938.GA14092@badgers-in-foil.co.uk> References: <20051121110938.GA14092@badgers-in-foil.co.uk> Message-ID: <4394F924.406@pardini.net> Hello, sorry to intrude. > Hi there! > > On Sun, Nov 20, 2005 at 07:52:07PM +0000, vikram shevde wrote: > >> So i installed Ruby 1.8.3 on our CVS Server( didnt build from source, but >> got binary from sunfreeware.com). Our CVS box runs solaris. I followed the >> instructions to setup cvsspam and now when i try commiting any file to cvs, >> i get the following error: >> >> cvs -z9 -q commit -m "Ticket ID: -1 test for cvsspam" application.xpdl (in >> directory D:\src\app\web\resources\xml\noaa\) >> Checking in application.xpdl; >> /cvsroot/app/web/resources/xml/noaa/application.xpdl,v <-- >> application.xpdl >> new revision: 1.76.2.30; previous revision: 1.76.2.29 >> done >> /usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so: ld.so.1: >> /usr/local/bin/ruby: fatal: libcrypto.so.0.9.8: open failed: No such file >> or directory - /usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so >> (LoadError) >> from /usr/local/lib/ruby/1.8/net/smtp.rb:24 >> from /cvsroot/CVSROOT/cvsspam.rb:1813 >> > > Sounds like there's a problem with the Ruby installation, or its > integration into your system. > This is most certainly a problem with the Ruby installation on the Solaris box, but only related to the md5 module. I dunno why, but probably the SMTP code in Ruby loads the MD5 module, which in turn is dynamically linked with libcrypto, which Solaris can't find. I have a feeling that a simple symlink from /usr/lib/libcrypto.so.X.X (you should have this lib somewhere) to /usr/local/lib/libcrypto.so.0.9.8. "ldd" and/or "ldconfig -v" are your friends. Try "ldd /usr/local/lib/ruby/1.8/sparc-solaris2.9/digest/md5.so" and symlink until it stops complaining. But I would really go for a from-source installation of Ruby... that is, if you have a compiler around. Sunfreeware's GCC packages always worked well for me... What version of Solaris are you running? Hope this helps.... -- Pardini -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3172 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20051206/9097742f/smime.bin From tim at uckun.com Sun Dec 25 18:35:30 2005 From: tim at uckun.com (Tim) Date: Tue Dec 27 00:15:14 2005 Subject: [cvsspam-devel] Selectively exclude certain files from the diffs. In-Reply-To: <200502281921.57810.glen@delfi.ee> References: <42234809.80502@uckun.com> <200502281918.40374.glen@delfi.ee> <200502281921.57810.glen@delfi.ee> Message-ID: <42235439.3050904@uckun.com> Thanks for the tip. I was afraid I was going to hack the code :). It might be a good feature to add though. Elan Ruusam?e wrote: >On Monday 28 February 2005 19:18, Elan Ruusam?e wrote: > > >>try adding to CVSROOT/loginfo: >> >>*.bin /bin/true >> >> >sorry, this should read: >.*\.bin$ /bin/true > >ie, it's regexp not shell glob there > > > >>this assumes you have cvsspam configured as DEFAULT, ie not as ALL >> >>On Monday 28 February 2005 18:34, Tim wrote: >> >> >>>Is it possible for specify that no diffs should be sent for certain >>>files or files matching a glob or a regexp? For example to exclude all >>>the binary files or the Delphi form files. >>> >>> > > > From tim at uckun.com Sun Dec 25 18:45:52 2005 From: tim at uckun.com (Tim) Date: Tue Dec 27 00:15:24 2005 Subject: [cvsspam-devel] Selectively exclude certain files from the diffs. In-Reply-To: <200502281921.57810.glen@delfi.ee> References: <42234809.80502@uckun.com> <200502281918.40374.glen@delfi.ee> <200502281921.57810.glen@delfi.ee> Message-ID: <42235439.3050904@uckun.com> Thanks for the tip. I was afraid I was going to hack the code :). It might be a good feature to add though. Elan Ruusam?e wrote: >On Monday 28 February 2005 19:18, Elan Ruusam?e wrote: > > >>try adding to CVSROOT/loginfo: >> >>*.bin /bin/true >> >> >sorry, this should read: >.*\.bin$ /bin/true > >ie, it's regexp not shell glob there > > > >>this assumes you have cvsspam configured as DEFAULT, ie not as ALL >> >>On Monday 28 February 2005 18:34, Tim wrote: >> >> >>>Is it possible for specify that no diffs should be sent for certain >>>files or files matching a glob or a regexp? For example to exclude all >>>the binary files or the Delphi form files. >>> >>> > > > From delfi at delfi.ee Tue Dec 27 15:24:00 2005 From: delfi at delfi.ee (Elan =?iso-8859-1?q?Ruusam=E4e?=) Date: Tue Dec 27 15:38:54 2005 Subject: [cvsspam-devel] Selectively exclude certain files from the diffs. In-Reply-To: <42235439.3050904@uckun.com> References: <42234809.80502@uckun.com> <200502281921.57810.glen@delfi.ee> <42235439.3050904@uckun.com> Message-ID: <200512271724.01033.delfi@delfi.ee> wow. this email took 10 months to travel! it was left unsent in your outbox? :) Received: by localhost (Postfix, from userid 0) id 32D26112C7AE; Sun, 25 Dec 2005 11:45:04 -0700 (MST) Message-ID: <42235439.3050904@uckun.com> Date: Mon, 28 Feb 2005 10:26:17 -0700 On Monday 28 February 2005 19:26, Tim wrote: > Thanks for the tip. > > I was afraid I was going to hack the code :). It might be a good > feature to add though. > > Elan Ruusam?e wrote: > >On Monday 28 February 2005 19:18, Elan Ruusam?e wrote: > >>try adding to CVSROOT/loginfo: > >> > >>*.bin /bin/true > > > >sorry, this should read: > >.*\.bin$ /bin/true > > > >ie, it's regexp not shell glob there > > > >>this assumes you have cvsspam configured as DEFAULT, ie not as ALL > >> > >>On Monday 28 February 2005 18:34, Tim wrote: > >>>Is it possible for specify that no diffs should be sent for certain > >>>files or files matching a glob or a regexp? For example to exclude all > >>>the binary files or the Delphi form files. -- Elan Ruusam?e http://www.DELFI.ee/ R?vala pst 6, 10143, Tallinn, Eesti tel (secretary): +372 650 4922 tel: +372 650 1278 fax: +372 681 4719