Run of fresh-snapshots for libmediawiki-api-perl
Try this locally (using silver-platter):
debian-svp new-upstream --snapshot libmediawiki-api-perl
Merge these changes:
git pull https://janitor.debian.net/git/libmediawiki-api-perl fresh-snapshots/main
Summary
Merged new upstream version: 0.41+git20151122.7636178 (was: 0.41).
Diff
=== modified file 'Changes'
--- a/Changes 2015-11-22 16:30:56 +0000
+++ b/Changes 2019-12-03 13:10:21 +0000
@@ -1,7 +1,9 @@
Revision history for MediaWiki-API
0.41 2015-11-13
- When using the max_lag configuration, if max_lag_retries was reached - the reported number tries were incorrect. Fixed up the api->list function not continuing due to lack of rawcontinue parameter that is needed after MediaSiki 1.26. Thanks to Derbeth for the bug reports.
+ When using the max_lag configuration, if max_lag_retries was reached - the reported number tries were incorrect.
+ Fixed up the api->list function not continuing due to lack of rawcontinue parameter that is needed after MediaWiki 1.26.
+ Thanks to Derbeth for the bug reports.
0.40 2014-09-13
Apologies for the lack of updates and the speed to implement some fixes but I have been busy on other projects.
=== modified file 'MANIFEST'
--- a/MANIFEST 2014-10-17 14:19:47 +0000
+++ b/MANIFEST 2019-12-03 13:10:21 +0000
@@ -9,5 +9,3 @@
t/98-pod-coverage.t
t/99-pod.t
t/testimage.png
-META.yml Module YAML meta-data (added by MakeMaker)
-META.json Module JSON meta-data (added by MakeMaker)
=== removed file 'META.json'
--- a/META.json 2015-11-22 16:30:56 +0000
+++ b/META.json 1970-01-01 00:00:00 +0000
@@ -1,46 +0,0 @@
-{
- "abstract" : "Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)",
- "author" : [
- "Jools Wills <buzz@exotica.org.uk>"
- ],
- "dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.150005",
- "license" : [
- "unknown"
- ],
- "meta-spec" : {
- "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
- },
- "name" : "MediaWiki-API",
- "no_index" : {
- "directory" : [
- "t",
- "inc"
- ]
- },
- "prereqs" : {
- "build" : {
- "requires" : {
- "ExtUtils::MakeMaker" : "0"
- }
- },
- "configure" : {
- "requires" : {
- "ExtUtils::MakeMaker" : "0"
- }
- },
- "runtime" : {
- "requires" : {
- "Carp" : "0",
- "Encode" : "0",
- "JSON" : "0",
- "LWP::UserAgent" : "0",
- "Test::More" : "0.98"
- }
- }
- },
- "release_status" : "stable",
- "version" : "0.41",
- "x_serialization_backend" : "JSON::PP version 2.27203"
-}
=== removed file 'META.yml'
--- a/META.yml 2015-11-22 16:30:56 +0000
+++ b/META.yml 1970-01-01 00:00:00 +0000
@@ -1,27 +0,0 @@
----
-abstract: 'Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)'
-author:
- - 'Jools Wills <buzz@exotica.org.uk>'
-build_requires:
- ExtUtils::MakeMaker: '0'
-configure_requires:
- ExtUtils::MakeMaker: '0'
-dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.150005'
-license: unknown
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: '1.4'
-name: MediaWiki-API
-no_index:
- directory:
- - t
- - inc
-requires:
- Carp: '0'
- Encode: '0'
- JSON: '0'
- LWP::UserAgent: '0'
- Test::More: '0.98'
-version: '0.41'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
=== modified file 'debian/changelog'
--- a/debian/changelog 2019-09-15 15:26:17 +0000
+++ b/debian/changelog 2019-12-03 13:10:21 +0000
@@ -1,3 +1,9 @@
+libmediawiki-api-perl (0.41+git20151122.7636178-1) UNRELEASED; urgency=medium
+
+ * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk> Tue, 03 Dec 2019 13:10:10 +0000
+
libmediawiki-api-perl (0.41-2) unstable; urgency=medium
[ Salvatore Bonaccorso ]
=== modified file 'debian/patches/disable-network-test.diff'
--- a/debian/patches/disable-network-test.diff 2015-08-13 15:57:31 +0000
+++ b/debian/patches/disable-network-test.diff 2019-12-03 13:10:42 +0000
@@ -5,9 +5,11 @@
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-10-17
---- a/t/10-api.t
-+++ b/t/10-api.t
-@@ -6,6 +6,8 @@
+Index: libmediawiki-api-perl/t/10-api.t
+===================================================================
+--- libmediawiki-api-perl.orig/t/10-api.t
++++ libmediawiki-api-perl/t/10-api.t
+@@ -6,6 +6,8 @@ use warnings;
use Test::More;
use LWP::UserAgent;
=== added file 't/96-boilerplate.t'
--- a/t/96-boilerplate.t 1970-01-01 00:00:00 +0000
+++ b/t/96-boilerplate.t 2008-10-13 00:47:22 +0000
@@ -0,0 +1,50 @@
+#!perl -T
+
+use strict;
+use warnings;
+use Test::More tests => 3;
+
+sub not_in_file_ok {
+ my ($filename, %regex) = @_;
+ open( my $fh, '<', $filename )
+ or die "couldn't open $filename for reading: $!";
+
+ my %violated;
+
+ while (my $line = <$fh>) {
+ while (my ($desc, $regex) = each %regex) {
+ if ($line =~ $regex) {
+ push @{$violated{$desc}||=[]}, $.;
+ }
+ }
+ }
+
+ if (%violated) {
+ fail("$filename contains boilerplate text");
+ diag "$_ appears on lines @{$violated{$_}}" for keys %violated;
+ } else {
+ pass("$filename contains no boilerplate text");
+ }
+}
+
+sub module_boilerplate_ok {
+ my ($module) = @_;
+ not_in_file_ok($module =>
+ 'the great new $MODULENAME' => qr/ - The great new /,
+ 'boilerplate description' => qr/Quick summary of what the module/,
+ 'stub function definition' => qr/function[12]/,
+ );
+}
+
+ not_in_file_ok(README =>
+ "The README is used..." => qr/The README is used/,
+ "'version information here'" => qr/to provide version information/,
+ );
+
+ not_in_file_ok(Changes =>
+ "placeholder date/time" => qr(Date/time)
+ );
+
+ module_boilerplate_ok('lib/MediaWiki/API.pm');
+
+