r55371 - in /trunk/libcommon-sense-perl: ./ debian/ debian/patches/ debian/source/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sat Apr 3 11:23:03 UTC 2010


Author: ansgar-guest
Date: Sat Apr  3 11:22:57 2010
New Revision: 55371

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=55371
Log:
* New upstream release.
* debian/watch: No longer mangle upstream version.
* Bump Standards-Version to 3.8.4.
* Add myself to Uploaders.

Added:
    trunk/libcommon-sense-perl/debian/patches/
    trunk/libcommon-sense-perl/debian/patches/series
    trunk/libcommon-sense-perl/debian/patches/spelling.patch
    trunk/libcommon-sense-perl/debian/source/
    trunk/libcommon-sense-perl/debian/source/format
    trunk/libcommon-sense-perl/sense.pm.PL
      - copied unchanged from r55369, branches/upstream/libcommon-sense-perl/current/sense.pm.PL
Removed:
    trunk/libcommon-sense-perl/sense.pm
Modified:
    trunk/libcommon-sense-perl/Changes
    trunk/libcommon-sense-perl/MANIFEST
    trunk/libcommon-sense-perl/META.json
    trunk/libcommon-sense-perl/META.yml
    trunk/libcommon-sense-perl/Makefile.PL
    trunk/libcommon-sense-perl/README
    trunk/libcommon-sense-perl/debian/changelog
    trunk/libcommon-sense-perl/debian/control
    trunk/libcommon-sense-perl/debian/watch

Modified: trunk/libcommon-sense-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/Changes?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/Changes (original)
+++ trunk/libcommon-sense-perl/Changes Sat Apr  3 11:22:57 2010
@@ -1,4 +1,13 @@
 Revision history for perl pragma common::sense.
+
+3.1  Sat Apr  3 04:56:36 CEST 2010
+        - removed "parenthesis" warning:
+             sysread $fh, my $buf, -s $fh; # ok
+             sysread $fh, my $buf, $size;  # warning
+          Made no sense to me, especially as $size is in scope.
+	- no longer hardcode warning/struct bits, calculate them at
+          installation time, for when I will no longer be alive etc.
+	- tweaked documentation.
 
 3.0  Tue Dec 15 03:24:28 CET 2009
 	- enable "use utf8" effect by default.

Modified: trunk/libcommon-sense-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/MANIFEST?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/MANIFEST (original)
+++ trunk/libcommon-sense-perl/MANIFEST Sat Apr  3 11:22:57 2010
@@ -3,7 +3,7 @@
 Changes
 MANIFEST
 Makefile.PL
-sense.pm
+sense.pm.PL
 t/00_load.t
 META.yml                                 Module meta-data (added by MakeMaker)
 META.json                                Module meta-data (added by MakeMaker)

Modified: trunk/libcommon-sense-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/META.json?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/META.json (original)
+++ trunk/libcommon-sense-perl/META.json Sat Apr  3 11:22:57 2010
@@ -1,1 +1,1 @@
-{"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.54","distribution_type":"module","version":"3.0","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 version 6.54","distribution_type":"module","version":"3.1","name":"common-sense","author":[],"license":"unknown","build_requires":{"ExtUtils::MakeMaker":0},"requires":{},"abstract":null,"configure_requires":{"ExtUtils::MakeMaker":0}}

Modified: trunk/libcommon-sense-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/META.yml?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/META.yml (original)
+++ trunk/libcommon-sense-perl/META.yml Sat Apr  3 11:22:57 2010
@@ -11,7 +11,7 @@
    },
    "generated_by" : "ExtUtils::MakeMaker version 6.54",
    "distribution_type" : "module",
-   "version" : "3.0",
+   "version" : "3.1",
    "name" : "common-sense",
    "author" : [],
    "license" : "unknown",

Modified: trunk/libcommon-sense-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/Makefile.PL?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/Makefile.PL (original)
+++ trunk/libcommon-sense-perl/Makefile.PL Sat Apr  3 11:22:57 2010
@@ -6,7 +6,9 @@
 	            COMPRESS	=> 'gzip -9v',
 	            SUFFIX	=> '.gz',
 	           },
-    NAME => "common::sense",
-    VERSION_FROM => "sense.pm",
+    NAME        => "common::sense",
+    VERSION_FROM => "sense.pm.PL",
+    PM          => { "sense.pm" => '$(INST_LIB)/common/sense.pm' },
+    clean       => { FILES => "sense.pm" },
 );
 

Modified: trunk/libcommon-sense-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/README?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/README (original)
+++ trunk/libcommon-sense-perl/README Sat Apr  3 11:22:57 2010
@@ -13,7 +13,7 @@
      # use warnings qw(FATAL closed threads internal debugging pack substr malloc
      #                 portable prototype inplace io pipe unpack regexp
      #                 deprecated exiting glob digit printf layer
-     #                 reserved parenthesis taint closure semicolon);
+     #                 reserved taint closure semicolon);
      # no warnings qw(exec newline unopened);
 
 DESCRIPTION
@@ -30,28 +30,32 @@
     possible, while at the same time, not limiting the expressive power
     available to the programmer".
 
-    Two typical examples of this philosophy are uninitialised and malloc
-    warnings:
-
-    "undef" is a well-defined feature of perl, and enabling warnings for
-    using it rarely catches any bugs, but considerably limits you in what
-    you can do, so uninitialised warnings are disabled.
-
-    Freeing something twice on the C level is a serious bug, usually 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.
+    Two typical examples of how this philosophy is applied in practise is
+    the handling of uninitialised and malloc warnings:
+
+    *uninitialised*
+        "undef" is a well-defined feature of perl, and enabling warnings for
+        using it rarely catches any bugs, but considerably limits you in
+        what you can do, so uninitialised warnings are disabled.
+
+    *malloc*
+        Freeing something twice on the C level is a serious bug, usually
+        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.
 
     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.
 
+RATIONALE
     use utf8
         While it's not common sense to write your programs in UTF-8, it's
-        quickly becoming the most common encoding, and the most convenient
-        encoding available (you can do really nice quoting tricks...).
-        Experience has shown that our programs were either all pure ascii or
-        utf-8, both of which will stay the same.
+        quickly becoming the most common encoding, is the designated future
+        default encoding for perl sources, and the most convenient encoding
+        available (you can do really nice quoting tricks...). Experience has
+        shown that our programs were either all pure ascii or utf-8, both of
+        which will stay the same.
 
         There are few drawbacks to enabling UTF-8 source code by default
         (mainly some speed hits due to bugs in older versions of perl), so
@@ -276,7 +280,23 @@
        "common sense is beautiful, json::xs is fast, Anyevent, EV are fast and
        furious. I love mlehmannware ;)"
 
-FREQUQNTLY ASKED QUESTIONS
+    apeiron
+
+       "... it's mlehmann's view of what common sense is. His view of common
+       sense is certainly uncommon, insofar as anyone with a clue disagrees
+       with him."
+
+    apeiron (another meta-comment)
+
+       "apeiron wonders if his little informant is here to steal more quotes"
+
+    ew73
+
+       "... I never got past the SYNOPSIS before calling it shit."
+       [...]
+       How come no one ever quotes me. :("
+
+FREQUENTLY ASKED QUESTIONS
     Or frequently-come-up confusions.
 
     Is this module meant to be serious?
@@ -296,7 +316,8 @@
     Why do you impose your conventions on my code?
         For some reason people keep thinking that "common::sense" imposes
         process-wide limits, even though the SYNOPSIS makes it clear that it
-        works like other similar modules - only on the scope that uses them.
+        works like other similar modules - i.e. only within the scope that
+        "use"s them.
 
         So, no, we don't - nobody is forced to use this module, and using a
         module that relies on common::sense does not impose anything on you.
@@ -330,7 +351,7 @@
 
     But many modules "use strict" or "use warnings", so the memory savings
     do not apply?
-        I am suddenly so sad.
+        I suddenly feel sad...
 
         But yes, that's true. Fortunately "common::sense" still uses only a
         miniscule amount of RAM.

Modified: trunk/libcommon-sense-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/changelog?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/debian/changelog (original)
+++ trunk/libcommon-sense-perl/debian/changelog Sat Apr  3 11:22:57 2010
@@ -1,3 +1,12 @@
+libcommon-sense-perl (3.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/watch: No longer mangle upstream version.
+  * Bump Standards-Version to 3.8.4.
+  * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sat, 03 Apr 2010 20:22:44 +0900
+
 libcommon-sense-perl (3.00-1) unstable; urgency=low
 
   [ Angel Abad ]

Modified: trunk/libcommon-sense-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/control?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/debian/control (original)
+++ trunk/libcommon-sense-perl/debian/control Sat Apr  3 11:22:57 2010
@@ -5,8 +5,8 @@
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ryan Niebur <ryan at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
- Angel Abad <angelabad at gmail.com>
-Standards-Version: 3.8.3
+ Angel Abad <angelabad at gmail.com>, Ansgar Burchardt <ansgar at 43-1.org>
+Standards-Version: 3.8.4
 Homepage: http://search.cpan.org/dist/common-sense/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcommon-sense-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libcommon-sense-perl/

Added: trunk/libcommon-sense-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/patches/series?rev=55371&op=file
==============================================================================
--- trunk/libcommon-sense-perl/debian/patches/series (added)
+++ trunk/libcommon-sense-perl/debian/patches/series Sat Apr  3 11:22:57 2010
@@ -1,0 +1,1 @@
+spelling.patch

Added: trunk/libcommon-sense-perl/debian/patches/spelling.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/patches/spelling.patch?rev=55371&op=file
==============================================================================
--- trunk/libcommon-sense-perl/debian/patches/spelling.patch (added)
+++ trunk/libcommon-sense-perl/debian/patches/spelling.patch Sat Apr  3 11:22:57 2010
@@ -1,0 +1,15 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sat, 03 Apr 2010 20:18:46 +0900
+Subject: Fix spelling error
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=56249
+--- libcommon-sense-perl.orig/sense.pm.PL
++++ libcommon-sense-perl/sense.pm.PL
+@@ -438,7 +438,7 @@
+ of warning categories and the difficulty in getting exactly the set of
+ warnings you wish (i.e. look at the SYNOPSIS in how complicated it is to
+ get a specific set of warnings - it is not reasonable to put this into
+-every module, the maintainance effort would be enourmous).
++every module, the maintenance effort would be enourmous).
+ 
+ =item But many modules C<use strict> or C<use warnings>, so the memory
+ savings do not apply?

Added: trunk/libcommon-sense-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/source/format?rev=55371&op=file
==============================================================================
--- trunk/libcommon-sense-perl/debian/source/format (added)
+++ trunk/libcommon-sense-perl/debian/source/format Sat Apr  3 11:22:57 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libcommon-sense-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/watch?rev=55371&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/debian/watch (original)
+++ trunk/libcommon-sense-perl/debian/watch Sat Apr  3 11:22:57 2010
@@ -1,3 +1,2 @@
 version=3
-opts=uversionmangle=s/\.\d$/$&0/ \
-	http://search.cpan.org/dist/common-sense/   .*/common-sense-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+http://search.cpan.org/dist/common-sense/   .*/common-sense-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$




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