r41105 - in /trunk/libtest-checkchanges-perl: Changes MANIFEST META.yml README SIGNATURE debian/changelog examples/versionN/ lib/Test/CheckChanges.pm t/parse_versionN.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Aug 2 23:07:44 UTC 2009
Author: jawnsy-guest
Date: Sun Aug 2 23:07:37 2009
New Revision: 41105
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=41105
Log:
* New upstream release
+ Added format for "Version NUM Date" style
Added:
trunk/libtest-checkchanges-perl/examples/versionN/
- copied from r41104, branches/upstream/libtest-checkchanges-perl/current/examples/versionN/
trunk/libtest-checkchanges-perl/t/parse_versionN.t
- copied unchanged from r41104, branches/upstream/libtest-checkchanges-perl/current/t/parse_versionN.t
Modified:
trunk/libtest-checkchanges-perl/Changes
trunk/libtest-checkchanges-perl/MANIFEST
trunk/libtest-checkchanges-perl/META.yml
trunk/libtest-checkchanges-perl/README
trunk/libtest-checkchanges-perl/SIGNATURE
trunk/libtest-checkchanges-perl/debian/changelog
trunk/libtest-checkchanges-perl/lib/Test/CheckChanges.pm
Modified: trunk/libtest-checkchanges-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/Changes?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/Changes (original)
+++ trunk/libtest-checkchanges-perl/Changes Sun Aug 2 23:07:37 2009
@@ -1,4 +1,9 @@
Revision history for Perl extension Test::CheckChanges
+
+0.08 Sun, 02 Aug 2009 09:13:11 -0400
+ - Added "Version N" format
+ - Added Test for "Version N" format
+ - Added Documentation for "Version N" format
0.07 Sat, 13 Jun 2009 23:43:29 -0400
- Test not fails if multiple Changes files are found.
Modified: trunk/libtest-checkchanges-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/MANIFEST?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/MANIFEST (original)
+++ trunk/libtest-checkchanges-perl/MANIFEST Sun Aug 2 23:07:37 2009
@@ -6,6 +6,8 @@
examples/common/Makefile
examples/yaml/Changes
examples/yaml/Makefile
+examples/versionN/Makefile
+examples/versionN/Changes
lib/Test/CheckChanges.pm
Makefile.PL
MANIFEST This list of files
@@ -40,6 +42,7 @@
t/parse_apocal.t
t/parse_common.t
t/parse_yaml.t
+t/parse_versionN.t
t/pod.t
t/pod_coverage.t
t/test1a.t
Modified: trunk/libtest-checkchanges-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/META.yml?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/META.yml (original)
+++ trunk/libtest-checkchanges-perl/META.yml Sun Aug 2 23:07:37 2009
@@ -1,6 +1,6 @@
---
name: Test-CheckChanges
-version: 0.07
+version: 0.08
author:
- '"G. Allen Morris III" <gam3 at gam3.net>'
abstract: Check that the Changes file matches the distribution.
@@ -18,7 +18,7 @@
provides:
Test::CheckChanges:
file: lib/Test/CheckChanges.pm
- version: 0.07
+ version: 0.08
generated_by: Module::Build version 0.280801
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
Modified: trunk/libtest-checkchanges-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/README?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/README (original)
+++ trunk/libtest-checkchanges-perl/README Sun Aug 2 23:07:37 2009
@@ -3,7 +3,7 @@
distribution.
VERSION
- Version 0.07
+ Version 0.08
SYNOPSIS
use Test::CheckChanges;
@@ -45,7 +45,7 @@
The ok_changes method takes no arguments and returns no value.
CHANGES FILE FORMAT
- Currently this package parses 3 different types of "Changes" files. The
+ Currently this package parses 4 different types of "Changes" files. The
first is the common, free style, "Changes" file where the version is
first item on an unindented line:
@@ -63,6 +63,13 @@
* 1.00
Is this a bug or a feature
+
+ The fourth type of file parsed starts the line with the word Version
+ followed by the version number.
+
+ Version 6.00 17.02.2008
+ + Oops. Fixed version number. '5.10' is less than '5.9'. I thought
+ CPAN would handle this but apparently not..
There are examples of these Changes file in the *examples* directory.
Modified: trunk/libtest-checkchanges-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/SIGNATURE?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/SIGNATURE (original)
+++ trunk/libtest-checkchanges-perl/SIGNATURE Sun Aug 2 23:07:37 2009
@@ -15,18 +15,20 @@
Hash: SHA1
SHA1 badac0e40137c1d34beb5fabea9c6a3e1f9675eb Build.PL
-SHA1 856a95aaddf95851522c278a441e1eb5c67275a7 Changes
-SHA1 c2fedbb6680aaf68996531e403db051d15d88d48 MANIFEST
-SHA1 57372d26a259f548481912cd35094ffeca66cebd META.yml
+SHA1 2f93cb9deaaaeed03fa7cd02e79f8e94ed655174 Changes
+SHA1 08fcb6462c77296570bea9a62e282bc6881ce316 MANIFEST
+SHA1 ec276c109ca47b4746f8d412a1ec11b5a5b90bfe META.yml
SHA1 a1d137169191d00d4bdd204211d4a9c84647f21e Makefile.PL
-SHA1 0dd1032049ed906f1b66e2bca5a05767aa7c9ca1 README
+SHA1 2d8e1d8c794dd1ad5aeff967779446a9616cae47 README
SHA1 27f9fc192c38a30171338e66520e43326ea85cb5 examples/apocal/Changes
SHA1 d099144eb6e8b85b4331e676d3a972b627e4d16b examples/apocal/Makefile
SHA1 6a677ea6f79a4604e073a4582989f81d997f202d examples/common/Changes
SHA1 5c084c50fe44844576993233cda1c749fd7a389f examples/common/Makefile
+SHA1 cf9f1185e01f970797669d1dc52f11590063bd7a examples/versionN/Changes
+SHA1 5df9d5e6d83b274305c2109a287ac113f87c3e56 examples/versionN/Makefile
SHA1 5eede8ff157d5f64920965838cb23090aefd8341 examples/yaml/Changes
SHA1 9c4243cc82bea6335c6a6cba6de89647ae9c5c36 examples/yaml/Makefile
-SHA1 ca06436f394be9e59fc22d3df92879d45e5b0f8a lib/Test/CheckChanges.pm
+SHA1 0a19d87b88caa605354a864aed55b96b8b464f45 lib/Test/CheckChanges.pm
SHA1 0c791db5cdce98d392b9f7446f370468b4169af1 t/bad/missing2/README
SHA1 552de64c0259d5b506cd1c73425e30b442b202b3 t/bad/mixxed/Changes
SHA1 cc2f87f5e32b9b1ca7fe27e064e1364d15a54139 t/bad/mixxed/Makefile
@@ -55,6 +57,7 @@
SHA1 2f7de5c0790d640362d7dc070213b5bdba9bc94f t/multi.t
SHA1 e3e2dfa2ee2cd40f9f0ba23dd175c649effc68c7 t/parse_apocal.t
SHA1 a31358d01470c99efcc9a70f88dc134182610795 t/parse_common.t
+SHA1 2468db6554123c5d86c89cf0a1bdfa9156654fe3 t/parse_versionN.t
SHA1 e188b8247008aa5125f4cc6d36788635426e4c5a t/parse_yaml.t
SHA1 9d38eb83b6fa38c6d35dc1892b5a03f108e0719f t/pod.t
SHA1 2adc8acd2956b87972abc56ff01f46541e86165b t/pod_coverage.t
@@ -73,8 +76,8 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-iGcEARECACcFAko1r5ggGmh0dHA6Ly93d3cuZ2FtMy5uZXQvcG9saWN5Lmh0bWwA
-CgkQliSr/X1H0Fzq/wCgoUx2DLVLhE6luV5uikP5x58iJqcAniq7+Eof8IlklYpv
-UjCjcTZ+NTRZ
-=KYcX
+iGcEARECACcFAkp1t2EgGmh0dHA6Ly93d3cuZ2FtMy5uZXQvcG9saWN5Lmh0bWwA
+CgkQliSr/X1H0FzbLQCfXeJ8blbqOe2C0LEdy9KW+FWsj+0AoPhxBD03B6RLbPln
+WNFj9rs5OV8M
+=dLIE
-----END PGP SIGNATURE-----
Modified: trunk/libtest-checkchanges-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/debian/changelog?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/debian/changelog (original)
+++ trunk/libtest-checkchanges-perl/debian/changelog Sun Aug 2 23:07:37 2009
@@ -1,3 +1,10 @@
+libtest-checkchanges-perl (0.08-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ + Added format for "Version NUM Date" style
+
+ -- Jonathan Yu <frequency at cpan.org> Sun, 02 Aug 2009 15:08:18 -0400
+
libtest-checkchanges-perl (0.07-1) unstable; urgency=low
[ Jonathan Yu ]
Modified: trunk/libtest-checkchanges-perl/lib/Test/CheckChanges.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-checkchanges-perl/lib/Test/CheckChanges.pm?rev=41105&op=diff
==============================================================================
--- trunk/libtest-checkchanges-perl/lib/Test/CheckChanges.pm (original)
+++ trunk/libtest-checkchanges-perl/lib/Test/CheckChanges.pm Sun Aug 2 23:07:37 2009
@@ -17,11 +17,11 @@
=head1 VERSION
-Version 0.07
-
-=cut
-
-our $VERSION = 0.07;
+Version 0.08
+
+=cut
+
+our $VERSION = 0.08;
=head1 SYNOPSIS
@@ -205,6 +205,16 @@
} else {
push(@not_found, "$1");
}
+ } elsif (/^Version ([\d.]+)($|[:,[:space:]])/) {
+# Plain "Version N"
+ $mixed++ if $type and $type != 3;
+ $type = 4;
+ if ($version eq $1) {
+ $found = $_;
+ last;
+ } else {
+ push(@not_found, "$1");
+ }
}
}
close(IN) or die "Could not close ($change_file) file";
@@ -234,7 +244,7 @@
=head1 CHANGES FILE FORMAT
-Currently this package parses 3 different types of C<Changes> files.
+Currently this package parses 4 different types of C<Changes> files.
The first is the common, free style, C<Changes> file where the version
is first item on an unindented line:
@@ -251,6 +261,13 @@
Is this a bug or a feature
+The fourth type of file parsed starts the line with the word Version
+followed by the version number.
+
+ Version 6.00 17.02.2008
+ + Oops. Fixed version number. '5.10' is less than '5.9'. I thought
+ CPAN would handle this but apparently not..
+
There are examples of these Changes file in the I<examples> directory.
Create an RT if you need a different format file supported. If it is not horrid, I will add it.
More information about the Pkg-perl-cvs-commits
mailing list