Hello community,
here is the log from the commit of package perl-Test2-Plugin-NoWarnings for
openSUSE:Factory checked in at 2019-10-23 15:32:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test2-Plugin-NoWarnings (Old)
and /work/SRC/openSUSE:Factory/.perl-Test2-Plugin-NoWarnings.new.2352
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test2-Plugin-NoWarnings"
Wed Oct 23 15:32:52 2019 rev:4 rq:738933 version:0.08
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test2-Plugin-NoWarnings/perl-Test2-Plugin-NoWarnings.changes
2019-05-06 21:13:50.360521767 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test2-Plugin-NoWarnings.new.2352/perl-Test2-Plugin-NoWarnings.changes
2019-10-23 15:32:54.153478467 +0200
@@ -1,0 +2,12 @@
+Sat Oct 12 13:54:13 UTC 2019 - <[email protected]>
+
+- updated to 0.08
+ see /usr/share/doc/packages/perl-Test2-Plugin-NoWarnings/Changes
+
+ 0.08 2019-10-11
+
+ - Use IPC::Run3 instead of Capture::Tiny for all tests. This fixes an issue
+ with the `tap-bug-in-test2.t` on Windows. Reported by Alexandr Ciornii and
+ further diagnosed by Phil M. Perry. RT #129294.
+
+-------------------------------------------------------------------
Old:
----
Test2-Plugin-NoWarnings-0.07.tar.gz
New:
----
Test2-Plugin-NoWarnings-0.08.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test2-Plugin-NoWarnings.spec ++++++
--- /var/tmp/diff_new_pack.tGNOCJ/_old 2019-10-23 15:32:54.737479138 +0200
+++ /var/tmp/diff_new_pack.tGNOCJ/_new 2019-10-23 15:32:54.741479142 +0200
@@ -17,7 +17,7 @@
Name: perl-Test2-Plugin-NoWarnings
-Version: 0.07
+Version: 0.08
Release: 0
%define cpan_name Test2-Plugin-NoWarnings
Summary: Fail if tests warn
@@ -30,7 +30,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(IPC::Run3)
BuildRequires: perl(Test2) >= 1.302096
BuildRequires: perl(Test2::API)
@@ -72,7 +71,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
+%doc appveyor.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
%license LICENSE
%changelog
++++++ Test2-Plugin-NoWarnings-0.07.tar.gz ->
Test2-Plugin-NoWarnings-0.08.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/CONTRIBUTING.md
new/Test2-Plugin-NoWarnings-0.08/CONTRIBUTING.md
--- old/Test2-Plugin-NoWarnings-0.07/CONTRIBUTING.md 2019-04-21
20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/CONTRIBUTING.md 2019-10-11
18:34:54.000000000 +0200
@@ -71,13 +71,13 @@
requests](https://help.github.com/articles/creating-a-pull-request)
If you have found a bug, but do not have an accompanying patch to fix it, you
-can submit an issue report [via the
web](http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings)
or [via email]([email protected]).
+can submit an issue report [via the
web](https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues).
## Continuous Integration
All pull requests for this distribution will be automatically tested
-on Linux by
[Travis](https://travis-ci.org/houseabsolute/Test2-Plugin-NoWarnings).
+on Linux by
[Travis](https://travis-ci.org/houseabsolute/Test2-Plugin-NoWarnings) and on
Windows by
[AppVeyor](https://ci.appveyor.com/project/autarch/Test2-Plugin-NoWarnings).
All CI results will be visible in the pull request on GitHub. Follow the
appropriate links for details when tests fail.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/Changes
new/Test2-Plugin-NoWarnings-0.08/Changes
--- old/Test2-Plugin-NoWarnings-0.07/Changes 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/Changes 2019-10-11 18:34:54.000000000
+0200
@@ -1,3 +1,10 @@
+0.08 2019-10-11
+
+- Use IPC::Run3 instead of Capture::Tiny for all tests. This fixes an issue
+ with the `tap-bug-in-test2.t` on Windows. Reported by Alexandr Ciornii and
+ further diagnosed by Phil M. Perry. RT #129294.
+
+
0.07 2019-04-21
- Reverted back to using the Warning event type, since the bug in the Test2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/MANIFEST
new/Test2-Plugin-NoWarnings-0.08/MANIFEST
--- old/Test2-Plugin-NoWarnings-0.07/MANIFEST 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/MANIFEST 2019-10-11 18:34:54.000000000
+0200
@@ -9,6 +9,7 @@
META.yml
Makefile.PL
README.md
+appveyor.yml
cpanfile
dist.ini
lib/Test2/Event/Warning.pm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/META.json
new/Test2-Plugin-NoWarnings-0.08/META.json
--- old/Test2-Plugin-NoWarnings-0.07/META.json 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/META.json 2019-10-11 18:34:54.000000000
+0200
@@ -62,7 +62,6 @@
"CPAN::Meta" : "2.120900"
},
"requires" : {
- "Capture::Tiny" : "0",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"IPC::Run3" : "0",
@@ -75,18 +74,17 @@
"provides" : {
"Test2::Event::Warning" : {
"file" : "lib/Test2/Event/Warning.pm",
- "version" : "0.07"
+ "version" : "0.08"
},
"Test2::Plugin::NoWarnings" : {
"file" : "lib/Test2/Plugin/NoWarnings.pm",
- "version" : "0.07"
+ "version" : "0.08"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "mailto" : "[email protected]",
- "web" :
"http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings"
+ "web" :
"https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues"
},
"homepage" : "http://metacpan.org/release/Test2-Plugin-NoWarnings",
"repository" : {
@@ -95,7 +93,7 @@
"web" : "https://github.com/houseabsolute/Test2-Plugin-NoWarnings"
}
},
- "version" : "0.07",
+ "version" : "0.08",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.026002"
@@ -829,7 +827,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v0.07",
+ "tag" : "v0.08",
"tag_format" : "v%V",
"tag_message" : "v%V"
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/META.yml
new/Test2-Plugin-NoWarnings-0.08/META.yml
--- old/Test2-Plugin-NoWarnings-0.07/META.yml 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/META.yml 2019-10-11 18:34:54.000000000
+0200
@@ -3,7 +3,6 @@
author:
- 'Dave Rolsky <[email protected]>'
build_requires:
- Capture::Tiny: '0'
ExtUtils::MakeMaker: '0'
File::Spec: '0'
IPC::Run3: '0'
@@ -22,10 +21,10 @@
provides:
Test2::Event::Warning:
file: lib/Test2/Event/Warning.pm
- version: '0.07'
+ version: '0.08'
Test2::Plugin::NoWarnings:
file: lib/Test2/Plugin/NoWarnings.pm
- version: '0.07'
+ version: '0.08'
requires:
Carp: '0'
Test2: '1.302096'
@@ -36,10 +35,10 @@
strict: '0'
warnings: '0'
resources:
- bugtracker:
http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings
+ bugtracker: https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues
homepage: http://metacpan.org/release/Test2-Plugin-NoWarnings
repository: git://github.com/houseabsolute/Test2-Plugin-NoWarnings.git
-version: '0.07'
+version: '0.08'
x_Dist_Zilla:
perl:
version: '5.026002'
@@ -608,7 +607,7 @@
branch: ~
changelog: Changes
signed: 0
- tag: v0.07
+ tag: v0.08
tag_format: v%V
tag_message: v%V
Dist::Zilla::Role::Git::Repo:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/Makefile.PL
new/Test2-Plugin-NoWarnings-0.08/Makefile.PL
--- old/Test2-Plugin-NoWarnings-0.07/Makefile.PL 2019-04-21
20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/Makefile.PL 2019-10-11
18:34:54.000000000 +0200
@@ -28,7 +28,6 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
- "Capture::Tiny" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"IPC::Run3" => 0,
@@ -36,14 +35,13 @@
"Test2::V0" => 0,
"Test::More" => "1.302015"
},
- "VERSION" => "0.07",
+ "VERSION" => "0.08",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
- "Capture::Tiny" => 0,
"Carp" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/README.md
new/Test2-Plugin-NoWarnings-0.08/README.md
--- old/Test2-Plugin-NoWarnings-0.07/README.md 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/README.md 2019-10-11 18:34:54.000000000
+0200
@@ -4,7 +4,7 @@
# VERSION
-version 0.07
+version 0.08
# SYNOPSIS
@@ -32,7 +32,7 @@
# SUPPORT
-Bugs may be submitted at
[http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings](http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings)
or via email to
[[email protected]](mailto:[email protected]).
+Bugs may be submitted at
[https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues](https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues).
I am also usually active on IRC as 'autarch' on `irc://irc.perl.org`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/appveyor.yml
new/Test2-Plugin-NoWarnings-0.08/appveyor.yml
--- old/Test2-Plugin-NoWarnings-0.07/appveyor.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/Test2-Plugin-NoWarnings-0.08/appveyor.yml 2019-10-11
18:34:54.000000000 +0200
@@ -0,0 +1,17 @@
+---
+skip_tags: true
+cache:
+ - C:\strawberry
+install:
+ - if not exist "C:\strawberry" cinst strawberryperl -y
+ - set
PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
+ - cd %APPVEYOR_BUILD_FOLDER%
+ - cpanm --installdeps . -n
+build_script:
+ - perl -e 1
+test_script:
+ - prove -lrvm t/
+### __app_cisetup__
+# --- {}
+
+### __app_cisetup__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/cpanfile
new/Test2-Plugin-NoWarnings-0.08/cpanfile
--- old/Test2-Plugin-NoWarnings-0.07/cpanfile 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/cpanfile 2019-10-11 18:34:54.000000000
+0200
@@ -8,7 +8,6 @@
requires "warnings" => "0";
on 'test' => sub {
- requires "Capture::Tiny" => "0";
requires "ExtUtils::MakeMaker" => "0";
requires "File::Spec" => "0";
requires "IPC::Run3" => "0";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/dist.ini
new/Test2-Plugin-NoWarnings-0.08/dist.ini
--- old/Test2-Plugin-NoWarnings-0.07/dist.ini 2019-04-21 20:51:03.000000000
+0200
+++ new/Test2-Plugin-NoWarnings-0.08/dist.ini 2019-10-11 18:34:54.000000000
+0200
@@ -5,6 +5,7 @@
[@DROLSKY]
dist = Test2-Plugin-NoWarnings
+use_github_issues = 1
-remove = Test::CleanNamespaces
; Tests by doing "require path/to/module.pm" which causes a warning about not
; being able run an INIT block, which in turn causes a test failure because
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test2-Plugin-NoWarnings-0.07/lib/Test2/Event/Warning.pm
new/Test2-Plugin-NoWarnings-0.08/lib/Test2/Event/Warning.pm
--- old/Test2-Plugin-NoWarnings-0.07/lib/Test2/Event/Warning.pm 2019-04-21
20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/lib/Test2/Event/Warning.pm 2019-10-11
18:34:54.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
use parent 'Test2::Event';
@@ -35,7 +35,7 @@
=head1 VERSION
-version 0.07
+version 0.08
=head1 DESCRIPTION
@@ -55,7 +55,7 @@
=head1 SUPPORT
-Bugs may be submitted at
L<http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings> or
via email to
L<[email protected]|mailto:[email protected]>.
+Bugs may be submitted at
L<https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues>.
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test2-Plugin-NoWarnings-0.07/lib/Test2/Plugin/NoWarnings.pm
new/Test2-Plugin-NoWarnings-0.08/lib/Test2/Plugin/NoWarnings.pm
--- old/Test2-Plugin-NoWarnings-0.07/lib/Test2/Plugin/NoWarnings.pm
2019-04-21 20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/lib/Test2/Plugin/NoWarnings.pm
2019-10-11 18:34:54.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
use Test2 1.302096;
use Test2::API qw( context_do );
@@ -74,7 +74,7 @@
=head1 VERSION
-version 0.07
+version 0.08
=head1 SYNOPSIS
@@ -102,7 +102,7 @@
=head1 SUPPORT
-Bugs may be submitted at
L<http://rt.cpan.org/Public/Dist/Display.html?Name=Test2-Plugin-NoWarnings> or
via email to
L<[email protected]|mailto:[email protected]>.
+Bugs may be submitted at
L<https://github.com/houseabsolute/Test2-Plugin-NoWarnings/issues>.
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/t/00-report-prereqs.dd
new/Test2-Plugin-NoWarnings-0.08/t/00-report-prereqs.dd
--- old/Test2-Plugin-NoWarnings-0.07/t/00-report-prereqs.dd 2019-04-21
20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/t/00-report-prereqs.dd 2019-10-11
18:34:54.000000000 +0200
@@ -47,7 +47,6 @@
'CPAN::Meta' => '2.120900'
},
'requires' => {
- 'Capture::Tiny' => '0',
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'IPC::Run3' => '0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/t/compile.t
new/Test2-Plugin-NoWarnings-0.08/t/compile.t
--- old/Test2-Plugin-NoWarnings-0.07/t/compile.t 2019-04-21
20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/t/compile.t 2019-10-11
18:34:54.000000000 +0200
@@ -7,7 +7,9 @@
use IPC::Run3 qw( run3 );
-plan skip_all 'IPC::Run3 does not play well with Windows' if $^O eq 'MSWin32';
+plan skip_all
+ 'IPC::Run3 does not play well with Windows when scripts exit non-0'
+ if $^O eq 'MSWin32';
my $code = <<'EOF';
use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test2-Plugin-NoWarnings-0.07/t/tap-bug-in-test2.t
new/Test2-Plugin-NoWarnings-0.08/t/tap-bug-in-test2.t
--- old/Test2-Plugin-NoWarnings-0.07/t/tap-bug-in-test2.t 2019-04-21
20:51:03.000000000 +0200
+++ new/Test2-Plugin-NoWarnings-0.08/t/tap-bug-in-test2.t 2019-10-11
18:34:54.000000000 +0200
@@ -1,16 +1,12 @@
use strict;
use warnings;
-use Capture::Tiny qw( capture );
-
use Test2::V0;
+use Test2::Require::Module 'IPC::Run3';
-my $output = capture {
-
- # We expect this to exit non-zero since the test will fail.
+use IPC::Run3 qw( run3 );
- ## no critic (InputOutput::RequireCheckedSyscalls)
- system( $^X, '-e', <<'EOF' );
+my $code = <<'EOF';
use strict;
use warnings;
@@ -28,7 +24,13 @@
done_testing();
EOF
-};
+my ($output);
+run3(
+ [ $^X, '-e', $code ],
+ \undef,
+ \$output,
+ \$output,
+);
like(
$output,