From 0b859187ae2dcff7221273cc7f741f505f947ac6 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Wed, 2 Apr 2025 09:40:32 +0200 Subject: [PATCH 1/5] Remove obsolete dependency on TAP::Formatter::Color --- cpanfile | 1 - 1 file changed, 1 deletion(-) diff --git a/cpanfile b/cpanfile index 999ee1d..ac874d7 100644 --- a/cpanfile +++ b/cpanfile @@ -9,7 +9,6 @@ on configure => sub { on test => sub { requires 'Test::More'; requires 'Test::Exception'; - requires 'TAP::Formatter::Color'; requires 'Test::Pod'; }; From 99c99abc5fe7f590578c97706e000628f582296c Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Wed, 2 Apr 2025 12:05:23 +0200 Subject: [PATCH 2/5] Update Build.PL and META.json with minilla 3.1.25 --- Build.PL | 14 ++++++-------- META.json | 32 ++++++++++++++++++++++++-------- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/Build.PL b/Build.PL index 7f3962b..2c3a6d7 100644 --- a/Build.PL +++ b/Build.PL @@ -14,12 +14,8 @@ use builder::custom; use File::Basename; use File::Spec; -my $tap_harness_args = { - "verbosity" => 1, - "merge" => 1, - "formatter_class" => "TAP::Formatter::GitHubActions", - - }; +die "OS unsupported\n" if $^O eq "MSWin32"; +die "OS unsupported\n" if $^O eq "cygwin"; my %args = ( license => 'perl_5', @@ -46,6 +42,7 @@ my %args = ( test_requires => { 'Test::Exception' => '0', 'Test::More' => '0', + 'Test::Pod' => '0', }, name => 'Mojo-IOLoop-ReadWriteProcess', @@ -57,9 +54,10 @@ my %args = ( test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/', recursive_test_files => 1, - tap_harness_args => $tap_harness_args, -); + tap_harness_args => {"merge" => 1}, + +); if (-d 'share') { $args{share_dir} = 'share'; } diff --git a/META.json b/META.json index f9f539e..b66ef19 100644 --- a/META.json +++ b/META.json @@ -4,13 +4,13 @@ "Ettore Di Giacinto " ], "dynamic_config" : 0, - "generated_by" : "Minilla/v3.1.22, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Minilla/v3.1.25, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : 2 + "version" : "2" }, "name" : "Mojo-IOLoop-ReadWriteProcess", "no_index" : { @@ -25,6 +25,22 @@ "builder" ] }, + "optional_features" : { + "ci" : { + "description" : "ci", + "prereqs" : { + "runtime" : { + "requires" : { + "Devel::Cover" : "0", + "Devel::Cover::Report::Codecovbash" : "0", + "Minilla" : "0", + "TAP::Formatter::GitHubActions" : "0", + "Test::Pod::Coverage" : "0" + } + } + } + } + }, "prereqs" : { "configure" : { "requires" : { @@ -34,13 +50,10 @@ }, "develop" : { "requires" : { - "Devel::Cover" : "0", - "Devel::Cover::Report::Codecovbash" : "0", "Test::CPAN::Meta" : "0", "Test::MinimumVersion::Fast" : "0.04", "Test::PAUSE::Permissions" : "0.07", "Test::Pod" : "1.41", - "Test::Pod::Coverage" : "0", "Test::Spellunker" : "v0.2.7" } }, @@ -53,7 +66,8 @@ "test" : { "requires" : { "Test::Exception" : "0", - "Test::More" : "0" + "Test::More" : "0", + "Test::Pod" : "0" } } }, @@ -75,20 +89,22 @@ "Clemens Famulla-Conrad ", "Ettore Di Giacinto ", "Ettore Di Giacinto ", - "Marius Kittler ", "Martchus ", + "Martchus ", "Mohammad S Anwar ", "Nick Morrott ", "Oliver Kurz ", "Santiago Zarate <229240+foursixnine@users.noreply.github.com>", "Santiago Zarate ", + "Santiago Zarate ", "Santiago Zarate ", "Sebastian Riedel ", "Sebastian Riedel ", "Tina Müller ", + "Wabri <12409541+Wabri@users.noreply.github.com>", "cfconrad <40127946+cfconrad@users.noreply.github.com>", "gregor herrmann " ], - "x_serialization_backend" : "JSON::PP version 4.16", + "x_serialization_backend" : "JSON::PP version 2.27400_02", "x_static_install" : 0 } From 75b23f09dbfb8f095b4962bb8dbe53db92333f09 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Wed, 2 Apr 2025 12:05:41 +0200 Subject: [PATCH 3/5] Try to prevent warnings about Formatter --- minil.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/minil.toml b/minil.toml index e4d2117..74ba141 100644 --- a/minil.toml +++ b/minil.toml @@ -16,4 +16,3 @@ os = [ [tap_harness_args] merge = 1 -formatter = "TAP::Formatter::GitHubActions" From 2d0f5127046bbbecd79949f15d00aa755a719fc5 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Wed, 2 Apr 2025 12:06:09 +0200 Subject: [PATCH 4/5] README: Update POD using minilla --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8275b68..f8d6a0f 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ Mojo::IOLoop::ReadWriteProcess - Execute external programs or internal code bloc $process->stop(); my @errors = $process->error; + # To help when debugging Mojo::Collections + use Mojo::Util qw(dumper); + my $errors = dumper $process->error->to_array; + # Get process return value $process = process( sub { return "256"; } )->start()->wait_stop; # We need to stop it to retrieve the exit status From d942c46e38b2a3f2e7f6a9c06aa49159c1f113fa Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Wed, 2 Apr 2025 16:11:19 +0200 Subject: [PATCH 5/5] Prepare release of 1.1.0 --- Changes | 6 ++++++ META.json | 2 +- lib/Mojo/IOLoop/ReadWriteProcess.pm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index cfc4ebe..0ef897d 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,12 @@ Revision history for Perl extension Mojo-IOLoop-ReadWriteProcess {{$NEXT}} + - README: Update POD using minilla + - Try to prevent warnings about Formatter + - Update Build.PL and META.json with minilla 3.1.25 + - Remove obsolete dependency on TAP::Formatter::Color + - Fix changelog + 1.0.0 2025-03-17 12:20:20Z - Various test fixes - Fix race condition in `is_running` when `kill_whole_group` is set diff --git a/META.json b/META.json index b66ef19..9630a19 100644 --- a/META.json +++ b/META.json @@ -83,7 +83,7 @@ "web" : "https://github.com/openSUSE/Mojo-IOLoop-ReadWriteProcess" } }, - "version" : "1.0.0", + "version" : "1.1.0", "x_contributors" : [ "Adam Williamson ", "Clemens Famulla-Conrad ", diff --git a/lib/Mojo/IOLoop/ReadWriteProcess.pm b/lib/Mojo/IOLoop/ReadWriteProcess.pm index 2aa6043..bde8d50 100644 --- a/lib/Mojo/IOLoop/ReadWriteProcess.pm +++ b/lib/Mojo/IOLoop/ReadWriteProcess.pm @@ -1,6 +1,6 @@ package Mojo::IOLoop::ReadWriteProcess; -our $VERSION = '1.0.0'; +our $VERSION = '1.1.0'; use Mojo::Base 'Mojo::EventEmitter'; use Mojo::File 'path';