From 4c91e159ccc2c4e51ad1dc20a442886c97898f51 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 4 Jan 2025 12:01:59 -0700 Subject: [PATCH 1/6] update repository --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index bcb18fd..636d1ff 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -13,7 +13,7 @@ WriteMakefile( AUTHOR => 'David Muir Sharnoff ', META_MERGE => { resources => { - repository => 'http://github.com/muir/IO-Event', + repository => 'http://github.com/uperl/IO-Event', }, }, ) From 3677dc33205da8a5e1aeaa7f1a89308f3e518232 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 4 Jan 2025 12:02:11 -0700 Subject: [PATCH 2/6] remove travis.yml --- .travis.yml | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d5a461d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: perl -perl: - - "5.16" - - "5.14" - - "5.12" - - "5.10" - - "5.8" - -install: - - cpanm --quiet --installdeps --notest . || { cat ~/.cpanm/build.log ; false ; } From 0469ded899bd67a3000396d59405144fee16a034 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 4 Jan 2025 12:12:23 -0700 Subject: [PATCH 3/6] remove unecessary -x permission --- Makefile.PL | 0 t/callbacks.tt | 0 t/callbacks1.t | 0 t/callbacks2.t | 0 t/callbacks3.t | 0 t/forked.tt | 0 t/forked1.t | 0 t/forked2.t | 0 t/forked3.t | 0 t/getline.tt | 0 t/getline1.t | 0 t/getline2.t | 0 t/getline3.t | 0 t/multifork1.t | 0 t/multifork2.t | 0 t/multifork3.t | 0 t/timer1.t | 0 t/timer2.t | 0 t/timer3.t | 0 19 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 Makefile.PL mode change 100755 => 100644 t/callbacks.tt mode change 100755 => 100644 t/callbacks1.t mode change 100755 => 100644 t/callbacks2.t mode change 100755 => 100644 t/callbacks3.t mode change 100755 => 100644 t/forked.tt mode change 100755 => 100644 t/forked1.t mode change 100755 => 100644 t/forked2.t mode change 100755 => 100644 t/forked3.t mode change 100755 => 100644 t/getline.tt mode change 100755 => 100644 t/getline1.t mode change 100755 => 100644 t/getline2.t mode change 100755 => 100644 t/getline3.t mode change 100755 => 100644 t/multifork1.t mode change 100755 => 100644 t/multifork2.t mode change 100755 => 100644 t/multifork3.t mode change 100755 => 100644 t/timer1.t mode change 100755 => 100644 t/timer2.t mode change 100755 => 100644 t/timer3.t diff --git a/Makefile.PL b/Makefile.PL old mode 100755 new mode 100644 diff --git a/t/callbacks.tt b/t/callbacks.tt old mode 100755 new mode 100644 diff --git a/t/callbacks1.t b/t/callbacks1.t old mode 100755 new mode 100644 diff --git a/t/callbacks2.t b/t/callbacks2.t old mode 100755 new mode 100644 diff --git a/t/callbacks3.t b/t/callbacks3.t old mode 100755 new mode 100644 diff --git a/t/forked.tt b/t/forked.tt old mode 100755 new mode 100644 diff --git a/t/forked1.t b/t/forked1.t old mode 100755 new mode 100644 diff --git a/t/forked2.t b/t/forked2.t old mode 100755 new mode 100644 diff --git a/t/forked3.t b/t/forked3.t old mode 100755 new mode 100644 diff --git a/t/getline.tt b/t/getline.tt old mode 100755 new mode 100644 diff --git a/t/getline1.t b/t/getline1.t old mode 100755 new mode 100644 diff --git a/t/getline2.t b/t/getline2.t old mode 100755 new mode 100644 diff --git a/t/getline3.t b/t/getline3.t old mode 100755 new mode 100644 diff --git a/t/multifork1.t b/t/multifork1.t old mode 100755 new mode 100644 diff --git a/t/multifork2.t b/t/multifork2.t old mode 100755 new mode 100644 diff --git a/t/multifork3.t b/t/multifork3.t old mode 100755 new mode 100644 diff --git a/t/timer1.t b/t/timer1.t old mode 100755 new mode 100644 diff --git a/t/timer2.t b/t/timer2.t old mode 100755 new mode 100644 diff --git a/t/timer3.t b/t/timer3.t old mode 100755 new mode 100644 From 082a3879188aad2fe725151ef842e64df21f7698 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 4 Jan 2025 12:12:58 -0700 Subject: [PATCH 4/6] use GHA for CI --- .github/workflows/linux.yml | 82 +++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 .github/workflows/linux.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..5848471 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,82 @@ +name: linux + +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + perl: + + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + cip_tag: + - "5.41" + - "5.40" + - "5.38" + - "5.36" + - "5.34" + - "5.32" + - "5.30" + - "5.28" + - "5.26" + - "5.24" + - "5.22" + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" + + env: + CIP_TAG: ${{ matrix.cip_tag }} + + steps: + - uses: actions/checkout@v2 + + - name: Bootstrap CIP + run: | + curl -L https://raw.githubusercontent.com/uperl/cip/main/bin/github-bootstrap | bash + + - name: Cache-Key + id: cache-key + run: | + echo -n '::set-output name=key::' + cip cache-key + + - name: Cache CPAN modules + uses: actions/cache@v2 + with: + path: ~/.cip + key: ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }} + restore-keys: | + ${{ runner.os }}-build-${{ steps.cache-key.outputs.key }} + + - name: Start-Container + run: | + cip start + + - name: Diagnostics + run: | + cip diag + + - name: Install-Dependencies + run: | + cip install + + - name: Build + Test + run: | + cip script + + - name: CPAN log + if: ${{ failure() }} + run: | + cip exec bash -c 'cat $HOME/.cpanm/latest-build/build.log' From bbc8ebb11af03272974f3978453c6db4e0eca401 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 4 Jan 2025 12:15:03 -0700 Subject: [PATCH 5/6] s/List::MoreUtils/List::SomeUtils/g --- Makefile.PL | 2 +- lib/IO/Event.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 636d1ff..be1f006 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -23,7 +23,7 @@ WriteMakefile( 'PREREQ_PM' => { 'IO::Handle' => 0, 'Time::HiRes' => 0, - 'List::MoreUtils' => 0, + 'List::SomeUtils' => 0, }, 'BUILD_REQUIRES' => { 'Event' => 0, diff --git a/lib/IO/Event.pm b/lib/IO/Event.pm index bad0fab..b522c2f 100644 --- a/lib/IO/Event.pm +++ b/lib/IO/Event.pm @@ -1196,7 +1196,7 @@ use warnings; use strict; use warnings; -use List::MoreUtils qw(any); +use List::SomeUtils qw(any); our @ISA = qw(IO::Event); From 36617643f20b2f297f6e723d21d0a64d49012520 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sat, 4 Jan 2025 12:20:56 -0700 Subject: [PATCH 6/6] update changes --- Changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Changes b/Changes index b9366b9..02a7a13 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for Perl module IO::Event + - use List::SomeUtils instead of List::MoreUtils (works around a + broken dep in List::MoreUtils) (gh#10 - fixed a pod formatting goof - fixed the repository line in the Makefile.PL