diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml deleted file mode 100644 index e520750..0000000 --- a/.github/workflows/cygwin.yml +++ /dev/null @@ -1,89 +0,0 @@ -name: cygwin - -on: - push: - branches: - - '*' - tags-ignore: - - '*' - pull_request: - -env: - PERL5LIB: /cygdrive/c/cx/lib/perl5 - PERL_LOCAL_LIB_ROOT: /cygdrive/cx - PERL_MB_OPT: --install_base /cygdrive/c/cx - PERL_MM_OPT: INSTALL_BASE=/cygdrive/c/cx - ALIEN_BUILD_PLUGIN_PKGCONFIG_COMMANDLINE_TEST: 1 # Test Alien::Build::Plugin::PkgConfig::CommandLine - CYGWIN_NOWINPATH: 1 - -jobs: - perl: - - runs-on: windows-latest - - strategy: - fail-fast: false - - defaults: - run: - shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' - - steps: - - name: Set git to use LF - run: | - git config --global core.autocrlf false - git config --global core.eol lf - shell: powershell - - - uses: actions/checkout@v2 - - - name: Set up Cygwin - uses: egor-tensin/setup-cygwin@v3 - with: - platform: x64 - packages: make perl gcc-core gcc-g++ pkg-config libcrypt-devel libssl-devel git libffi-devel libarchive-devel - - - name: perl -V - run: | - perl -V - gcc --version - - - name: Prepare for cache - run: | - perl -V > perlversion.txt - gcc --version >> perlversion.txt - ls perlversion.txt - - - name: Cache CPAN modules - uses: actions/cache@v1 - with: - path: c:\cx - key: ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }} - restore-keys: | - ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }} - - - name: Install Static Dependencies - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - yes | cpan App::cpanminus || true - cpanm -n Dist::Zilla - perl -S dzil authordeps --missing | perl -S cpanm -n - perl -S dzil listdeps --missing | perl -S cpanm -n - - - name: Install Dynamic Dependencies - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - perl -S dzil run --no-build 'perl -S cpanm --installdeps .' - - - name: Run Tests - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - perl -S dzil test -v - - - name: CPAN log - if: ${{ failure() }} - run: | - cat ~/.cpanm/latest-build/build.log diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 63cbf75..e8bc62e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,10 +18,14 @@ jobs: matrix: cip: - tag: static - - tag: "5.37" + - tag: "5.41" bundled_cmd: 0 - - tag: "5.36" + - tag: "5.40" bundled_cmd: 1 + - tag: "5.40" + bundled_cmd: 0 + - tag: "5.38" + bundled_cmd: 0 - tag: "5.36" bundled_cmd: 0 - tag: "5.34" diff --git a/.gitignore b/.gitignore index c89b88b..bbc5ee0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /AnyEvent-FTP-* /.build +*.old +*.orig diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..578c5ee --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "pls.perlcritic.perlcriticrc": "perlcriticrc", + "pls.inc": [ + "$ROOT_PATH/lib" + ] +} diff --git a/README.md b/README.md index 933bc94..20b08d0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# AnyEvent::FTP ![static](https://github.com/uperl/AnyEvent-FTP/workflows/static/badge.svg) ![linux](https://github.com/uperl/AnyEvent-FTP/workflows/linux/badge.svg) ![macos](https://github.com/uperl/AnyEvent-FTP/workflows/macos/badge.svg) ![windows](https://github.com/uperl/AnyEvent-FTP/workflows/windows/badge.svg) ![cygwin](https://github.com/uperl/AnyEvent-FTP/workflows/cygwin/badge.svg) ![msys2-mingw](https://github.com/uperl/AnyEvent-FTP/workflows/msys2-mingw/badge.svg) +# AnyEvent::FTP ![static](https://github.com/uperl/AnyEvent-FTP/workflows/static/badge.svg) ![linux](https://github.com/uperl/AnyEvent-FTP/workflows/linux/badge.svg) ![macos](https://github.com/uperl/AnyEvent-FTP/workflows/macos/badge.svg) ![windows](https://github.com/uperl/AnyEvent-FTP/workflows/windows/badge.svg) ![msys2-mingw](https://github.com/uperl/AnyEvent-FTP/workflows/msys2-mingw/badge.svg) Simple asynchronous FTP client and server @@ -84,7 +84,7 @@ José Joaquín Atria # COPYRIGHT AND LICENSE -This software is copyright (c) 2017-2021 by Graham Ollis. +This software is copyright (c) 2017-2024 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/dist.ini b/dist.ini index 8af4c05..d7f3bd9 100644 --- a/dist.ini +++ b/dist.ini @@ -2,12 +2,12 @@ name = AnyEvent-FTP author = Graham Ollis license = Perl_5 copyright_holder = Graham Ollis -copyright_year = 2017-2022 +copyright_year = 2017-2024 version = 0.19 [@Author::Plicease] -:version = 2.69 +:version = 2.79 release_tests = 1 test2_v0 = 1 github_user = uperl @@ -16,7 +16,6 @@ workflow = static workflow = linux workflow = macos workflow = windows -workflow = cygwin workflow = msys2-mingw diag_preamble = | $post_diag = sub {