r30620 - in /trunk/libperl-critic-perl/debian: NEWS changelog
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Feb 12 14:31:25 UTC 2009
Author: gregoa
Date: Thu Feb 12 14:31:22 2009
New Revision: 30620
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30620
Log:
Add debian/NEWS to document some incompatible changes.
Added:
trunk/libperl-critic-perl/debian/NEWS
Modified:
trunk/libperl-critic-perl/debian/changelog
Added: trunk/libperl-critic-perl/debian/NEWS
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-critic-perl/debian/NEWS?rev=30620&op=file
==============================================================================
--- trunk/libperl-critic-perl/debian/NEWS (added)
+++ trunk/libperl-critic-perl/debian/NEWS Thu Feb 12 14:31:22 2009
@@ -1,0 +1,30 @@
+libperl-critic-perl (1.096-1) unstable; urgency=low
+
+ From the upstream Changes:
+
+ [1.094] Released on 2009-01-01
+
+ Incompatible Changes:
+ * The way that "## no critic" markers was refactored. As
+ a result, we discovered that the syntax for the markers was pretty
+ vague. If you didn't do it just right, it would disable all policies,
+ and not just the specific ones that you wanted. So we've tightened this
+ up a bit. If you followed the examples that have been in the docs for
+ the last couple years, then you should be fine. But if you've been
+ using certain other variations in your "## no critic" markers, then you
+ might suddenly find yourself violating the new
+ ProhibtUnrestrictedNoCritic policy. To fix this, just make sure your
+ Policy names appear in parentheses:
+
+ ## no critic Foo, Bar, Baz # wrong!
+ ## no critic Foo Bar Baz # wrong!
+
+
+ ## no critic (Foo, Bar, Baz) # ok!
+ ## no critic qw(Foo Bar Baz) # also ok!
+
+ * The deprecated $FORMAT variables for Perl::Critic::Policy and
+ Perl::Critic::Violation no longer exist. Use the corresponding
+ get_format() and set_format() functions instead.
+
+ -- gregor herrmann <gregoa at debian.org> Thu, 12 Feb 2009 15:23:08 +0100
Modified: trunk/libperl-critic-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-critic-perl/debian/changelog?rev=30620&op=diff
==============================================================================
--- trunk/libperl-critic-perl/debian/changelog (original)
+++ trunk/libperl-critic-perl/debian/changelog Thu Feb 12 14:31:22 2009
@@ -8,6 +8,7 @@
[ gregor herrmann ]
* debian/copyright: update years of upstream and packaging copyright.
+ * Add debian/NEWS to document some incompatible changes.
-- Antonio Radici <antonio at dyne.org> Mon, 09 Feb 2009 22:55:57 +0000
More information about the Pkg-perl-cvs-commits
mailing list