r67378 - in /trunk/libcommon-sense-perl: Changes MANIFEST META.json META.yml README debian/changelog debian/control debian/copyright sense.pm.PL
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Fri Jan 14 11:09:37 UTC 2011
Author: angelabad-guest
Date: Fri Jan 14 11:09:15 2011
New Revision: 67378
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67378
Log:
* New upstream release
* debian/copyright:
- Update license stanzas
- Add Files to upstream section
* Bump Standards-Version to 3.9.1 (no changes)
Removed:
trunk/libcommon-sense-perl/META.yml
Modified:
trunk/libcommon-sense-perl/Changes
trunk/libcommon-sense-perl/MANIFEST
trunk/libcommon-sense-perl/META.json
trunk/libcommon-sense-perl/README
trunk/libcommon-sense-perl/debian/changelog
trunk/libcommon-sense-perl/debian/control
trunk/libcommon-sense-perl/debian/copyright
trunk/libcommon-sense-perl/sense.pm.PL
Modified: trunk/libcommon-sense-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/Changes?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/Changes (original)
+++ trunk/libcommon-sense-perl/Changes Fri Jan 14 11:09:15 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: trunk/libcommon-sense-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/MANIFEST?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/MANIFEST (original)
+++ trunk/libcommon-sense-perl/MANIFEST Fri Jan 14 11:09:15 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: trunk/libcommon-sense-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/META.json?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/META.json (original)
+++ trunk/libcommon-sense-perl/META.json Fri Jan 14 11:09:15 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: trunk/libcommon-sense-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/README?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/README (original)
+++ trunk/libcommon-sense-perl/README Fri Jan 14 11:09:15 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: trunk/libcommon-sense-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/changelog?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/debian/changelog (original)
+++ trunk/libcommon-sense-perl/debian/changelog Fri Jan 14 11:09:15 2011
@@ -1,8 +1,16 @@
-libcommon-sense-perl (3.3-2) UNRELEASED; urgency=low
+libcommon-sense-perl (3.4-1) unstable; urgency=low
+ [ Angel Abad ]
+ * New upstream release
+ * debian/copyright:
+ - Update license stanzas
+ - Add Files to upstream section
+ * Bump Standards-Version to 3.9.1 (no changes)
+
+ [ Ansgar Burchardt ]
* Update my email address.
- -- Ansgar Burchardt <ansgar at debian.org> Mon, 01 Nov 2010 11:16:28 +0100
+ -- Angel Abad <angelabad at gmail.com> Fri, 14 Jan 2011 12:08:06 +0100
libcommon-sense-perl (3.3-1) unstable; urgency=low
Modified: trunk/libcommon-sense-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/control?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/debian/control (original)
+++ trunk/libcommon-sense-perl/debian/control Fri Jan 14 11:09:15 2011
@@ -4,10 +4,12 @@
Build-Depends: debhelper (>= 7)
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>, Ansgar Burchardt <ansgar at debian.org>,
+Uploaders: Ryan Niebur <ryan at debian.org>,
+ Jonathan Yu <jawnsy at cpan.org>,
+ Angel Abad <angelabad at gmail.com>,
+ Ansgar Burchardt <ansgar at debian.org>,
gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.9.0
+Standards-Version: 3.9.1
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/
Modified: trunk/libcommon-sense-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/debian/copyright?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/debian/copyright (original)
+++ trunk/libcommon-sense-perl/debian/copyright Fri Jan 14 11:09:15 2011
@@ -3,6 +3,7 @@
Source: http://search.cpan.org/dist/common-sense/
Name: common-sense
+Files: *
Copyright: 2009, Marc Lehmann <schmorp at schmorp.de>
2009, Robin Redeker <elmex at ta-sa.org>
License: Artistic or GPL-1+
@@ -78,9 +79,10 @@
-=====/_/_//_/\_,_/ /_/\_\
Files: debian/*
-Copyright: 2009, Angel Abad <angelabad at gmail.com>
- 2009, Ryan Niebur <ryan at debian.org>
+Copyright: 2009, 2011, Angel Abad <angelabad at gmail.com>
2009, Jonathan Yu <jawnsy at cpan.org>
+ 2009, Ryan Niebur <ryanryan52 at gmail.com>
+ 2010, Ansgar Burchardt <ansgar at debian.org>
2010, gregor herrmann <gregoa at debian.org>
License: Artistic or GPL-1+
@@ -88,8 +90,8 @@
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License, which comes with Perl.
.
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
License: GPL-1+
This program is free software; you can redistribute it and/or modify
@@ -97,6 +99,5 @@
the Free Software Foundation; either version 1, or (at your option)
any later version.
.
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
-
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
Modified: trunk/libcommon-sense-perl/sense.pm.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcommon-sense-perl/sense.pm.PL?rev=67378&op=diff
==============================================================================
--- trunk/libcommon-sense-perl/sense.pm.PL (original)
+++ trunk/libcommon-sense-perl/sense.pm.PL Fri Jan 14 11:09:15 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