r67376 - in /branches/upstream/libcommon-sense-perl/current: Changes MANIFEST META.json META.yml README sense.pm.PL

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Fri Jan 14 10:42:39 UTC 2011


Author: angelabad-guest
Date: Fri Jan 14 10:42:27 2011
New Revision: 67376

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67376
Log:
[svn-upgrade] new version libcommon-sense-perl (3.4)

Removed:
    branches/upstream/libcommon-sense-perl/current/META.yml
Modified:
    branches/upstream/libcommon-sense-perl/current/Changes
    branches/upstream/libcommon-sense-perl/current/MANIFEST
    branches/upstream/libcommon-sense-perl/current/META.json
    branches/upstream/libcommon-sense-perl/current/README
    branches/upstream/libcommon-sense-perl/current/sense.pm.PL

Modified: branches/upstream/libcommon-sense-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcommon-sense-perl/current/Changes?rev=67376&op=diff
==============================================================================
--- branches/upstream/libcommon-sense-perl/current/Changes (original)
+++ branches/upstream/libcommon-sense-perl/current/Changes Fri Jan 14 10:42:27 2011
@@ -1,4 +1,12 @@
 Revision history for perl pragma common::sense.
+
+3.4  Fri Jan 14 07:17:16 CET 2011
+	- remove "regexp" category. this is rather painful as it's a large
+          class, but unfortunately, somebody thought emitting a warning when you
+          match more than 32kb of text is in some way useful, which spoils the whole
+          category.
+        - use META.json instead of META.yml - apparently YAML parsers don't actually
+          exist.
 
 3.3  Fri Jul  2 22:40:14 CEST 2010
         - removed "exiting" category - this is too useful to create new

Modified: branches/upstream/libcommon-sense-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcommon-sense-perl/current/MANIFEST?rev=67376&op=diff
==============================================================================
--- branches/upstream/libcommon-sense-perl/current/MANIFEST (original)
+++ branches/upstream/libcommon-sense-perl/current/MANIFEST Fri Jan 14 10:42:27 2011
@@ -5,5 +5,4 @@
 Makefile.PL
 sense.pm.PL
 t/00_load.t
-META.yml                                 Module meta-data (added by MakeMaker)
 META.json                                Module meta-data (added by MakeMaker)

Modified: branches/upstream/libcommon-sense-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcommon-sense-perl/current/META.json?rev=67376&op=diff
==============================================================================
--- branches/upstream/libcommon-sense-perl/current/META.json (original)
+++ branches/upstream/libcommon-sense-perl/current/META.json Fri Jan 14 10:42:27 2011
@@ -1,1 +1,26 @@
-{"no_index":{"directory":["t","inc"]},"meta-spec":{"version":1.4,"url":"http://module-build.sourceforge.net/META-spec-v1.4.html"},"generated_by":"ExtUtils::MakeMaker version 6.56","distribution_type":"module","version":"3.3","name":"common-sense","author":[],"license":"unknown","build_requires":{"ExtUtils::MakeMaker":0},"requires":{},"abstract":null,"configure_requires":{"ExtUtils::MakeMaker":0}}
+{
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "meta-spec" : {
+      "version" : 1.4,
+      "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html"
+   },
+   "generated_by" : "ExtUtils::MakeMaker::JSONMETA version 7.000",
+   "distribution_type" : "module",
+   "version" : "3.4",
+   "name" : "common-sense",
+   "author" : [],
+   "license" : "unknown",
+   "build_requires" : {
+      "ExtUtils::MakeMaker" : 0
+   },
+   "requires" : {},
+   "abstract" : null,
+   "configure_requires" : {
+      "ExtUtils::MakeMaker" : 0
+   }
+}

Modified: branches/upstream/libcommon-sense-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcommon-sense-perl/current/README?rev=67376&op=diff
==============================================================================
--- branches/upstream/libcommon-sense-perl/current/README (original)
+++ branches/upstream/libcommon-sense-perl/current/README Fri Jan 14 10:42:27 2011
@@ -10,8 +10,8 @@
      # use strict qw(vars subs);
      # use feature qw(say state switch);
      # no warnings;
-     # use warnings qw(FATAL closed threads internal debugging pack malloc
-     #                 portable prototype inplace io pipe unpack regexp
+     # use warnings qw(FATAL closed threads internal debugging pack
+     #                 portable prototype inplace io pipe unpack malloc
      #                 deprecated glob digit printf layer
      #                 reserved taint closure semicolon);
      # no warnings qw(exec newline unopened);
@@ -48,6 +48,12 @@
         causing memory corruption. It often leads to side effects much later
         in the program and there are no advantages to not reporting this, so
         malloc warnings are fatal by default.
+
+    Unfortunately, there is no fine-grained warning control in perl, so
+    often whole groups of useful warnings had to be excluded because of a
+    single useless warning (for example, perl puts an arbitrary limit on the
+    length of text you can match with some regexes before emitting a
+    warning, making the whole "regexp" category useless).
 
     What follows is a more thorough discussion of what this module does, and
     why it does it, and what the advantages (and disadvantages) of this
@@ -340,7 +346,7 @@
         languages who might be surprised about stuff such as "undef". On the
         other hand, this does not exclude the usefulness of this module for
         total newbies, due to its strictness in enforcing policy, while at
-        the same time not limiting the expresive power of perl.
+        the same time not limiting the expressive power of perl.
 
         This module is considerably *more* strict than the canonical "use
         strict; use warnings", as it makes all its warnings fatal in nature,
@@ -376,6 +382,10 @@
         is correctly parsed by CPAN, so if you have trouble with it, the
         problem is likely on your side.
 
+        Update: Since it turned out that most YAML parsers can't, in fact,
+        parse YAML at all(!), CPAN decided to go with a separate file called
+        META.json, which is what "common::sense" is now doing.
+
     But! But!
         Yeah, we know.
 

Modified: branches/upstream/libcommon-sense-perl/current/sense.pm.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcommon-sense-perl/current/sense.pm.PL?rev=67376&op=diff
==============================================================================
--- branches/upstream/libcommon-sense-perl/current/sense.pm.PL (original)
+++ branches/upstream/libcommon-sense-perl/current/sense.pm.PL Fri Jan 14 10:42:27 2011
@@ -1,4 +1,4 @@
-#! perl
+#! perl-000
 
 open STDOUT, ">$ARGV[0]~"
    or die "$ARGV[0]~: $!";
@@ -16,7 +16,7 @@
 
 no warnings;
 use warnings qw(FATAL closed threads internal debugging pack malloc portable prototype
-                inplace io pipe unpack regexp deprecated glob digit printf
+                inplace io pipe unpack deprecated glob digit printf
                 layer reserved taint closure semicolon);
 no warnings qw(exec newline unopened);
 
@@ -56,8 +56,8 @@
  # use strict qw(vars subs);
  # use feature qw(say state switch);
  # no warnings;
- # use warnings qw(FATAL closed threads internal debugging pack malloc
- #                 portable prototype inplace io pipe unpack regexp
+ # use warnings qw(FATAL closed threads internal debugging pack
+ #                 portable prototype inplace io pipe unpack malloc
  #                 deprecated glob digit printf layer
  #                 reserved taint closure semicolon);
  # no warnings qw(exec newline unopened);
@@ -103,6 +103,12 @@
 
 =back
 
+Unfortunately, there is no fine-grained warning control in perl, so often
+whole groups of useful warnings had to be excluded because of a single
+useless warning (for example, perl puts an arbitrary limit on the length
+of text you can match with some regexes before emitting a warning, making
+the whole C<regexp> category useless).
+
 What follows is a more thorough discussion of what this module does,
 and why it does it, and what the advantages (and disadvantages) of this
 approach are.
@@ -265,7 +271,7 @@
 
 package common::sense;
 
-our $VERSION = '3.3';
+our $VERSION = '3.4';
 
 # overload should be included
 
@@ -434,7 +440,7 @@
 who might be surprised about stuff such as C<undef>. On the other hand,
 this does not exclude the usefulness of this module for total newbies, due
 to its strictness in enforcing policy, while at the same time not limiting
-the expresive power of perl.
+the expressive power of perl.
 
 This module is considerably I<more> strict than the canonical C<use
 strict; use warnings>, as it makes all its warnings fatal in nature, so




More information about the Pkg-perl-cvs-commits mailing list