[cvsspam-devel] Script changes for new CVS info format strings
David Multer
david at multer.com
Mon Oct 27 13:42:04 GMT 2008
I'm using the latest CVSspam and I get the following message after a
CVS commit. Before I upgraded to the latest CVS, I was getting no
warning message.
cvs commit: warning: Set to use deprecated info format strings.
Establish
compatibility with the new info file format strings (add a temporary
'1' in
all info files after each '%' which doesn't represent a literal percent)
and set UseNewInfoFmtStrings=yes in CVSROOT/config. After that, convert
individual command lines and scripts to handle the new format at your
leisure.
My CVS/commitinfo:
ALL /usr/local/lib/cvsspam/record_lastdir.rb %r/%p %s
My loginfo:
ALL /usr/local/lib/cvsspam/collect_diffs.rb --to commits at domain.com %
{sVv}
Sounds like there might have been another format change, but I'm not
sure. I don't know where the error comes from.
Thanks,
David
On Oct 27, 2008, at 4:26 AM, David Holroyd wrote:
> Hi there,
>
> On Wed, Sep 10, 2008 at 11:55:55AM -0700, David Multer wrote:
>> Any chance we can get an update to the scripts for those of us
>> running
>> the latest CVS (1.12.13) with the new info format strings? Changes
>> are
>> definitely needed in collect_diffs.rb and maybe record_lastdir.rb
>
> Have format strings changed *again*, or is your CVSspam install just
> not
> noticing that the 'new' format is in effect?
>
> collect_diffs.rb tries to inspect the value of the
> UseNewInfoFmtStrings
> property in $CVSROOT/config to decide what to do. Maybe the logic
> CVSspam uses to find this file or parse its content is flawed?
>
> The CVS servers I use are all on 'old' releases of CVS these days, so
> could you point me at more info, or suggest changes / provide a patch?
>
>
> Thanks for letting us know about the problem!
> dave
>
> --
> http://david.holroyd.me.uk/
>
> _______________________________________________
> cvsspam-devel mailing list
> cvsspam-devel at lists.badgers-in-foil.co.uk
> http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20081027/96222c16/attachment.htm
More information about the cvsspam-devel
mailing list