Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
32a70ee
Merge pull request #428 from zonemaster/master
matsduf Mar 5, 2025
6fc11a5
Migrate CI from Travis to Github Action
mattias-p Apr 28, 2025
642d515
Merge pull request #432 from mattias-p/github-actions
mattias-p Apr 28, 2025
5a6c402
Slow down the spinner a bit
marc-vanderwal Jan 27, 2025
e4fa522
Merge pull request #419 from marc-vanderwal/feature/slower-spinner
marc-vanderwal May 27, 2025
1167e74
Expand --count option
tgreenx Feb 25, 2025
4701c9c
Update --count option
tgreenx Apr 24, 2025
9d8ace6
Also update json output of --count option
tgreenx Apr 24, 2025
5ee387e
Update unit test for --count option
tgreenx Jun 3, 2025
6fc9f5f
Merge pull request #424 from tgreenx/update-count
tgreenx Jun 4, 2025
44173eb
Updates perl versions in CI
matsduf Jun 5, 2025
3bbdac9
Update after review comment
matsduf Jun 9, 2025
1b37345
Tidy
mattias-p Mar 11, 2025
20821ca
Expression language for specifying tests to run
mattias-p May 2, 2024
d1bcb4e
Update script/zonemaster-cli
mattias-p Mar 13, 2025
6992747
Updates after review comments
mattias-p Mar 13, 2025
bdddff7
Update lib/Zonemaster/CLI/TestCaseSet.pm
mattias-p Mar 14, 2025
16e7525
Update lib/Zonemaster/CLI/TestCaseSet.pm
mattias-p Mar 14, 2025
7c38015
Reworked documentation and naming in TestCaseSet
mattias-p Mar 14, 2025
204e50c
Further tweaks to documentation
mattias-p May 26, 2025
ebe0d08
Apply suggestions from code review
mattias-p Jun 5, 2025
5293577
Update script/zonemaster-cli
mattias-p Jun 5, 2025
db24ac9
Add test for invalid operator
mattias-p Jun 10, 2025
3973afb
Merge pull request #359 from mattias-p/test-option
mattias-p Jun 10, 2025
a7bef93
Expand --nstimes option
tgreenx Feb 11, 2025
7372e29
Update after review, and refactoring
tgreenx Apr 24, 2025
64c4770
Small refactoring
tgreenx Apr 24, 2025
171d8c5
Address review comments
tgreenx Jun 3, 2025
646cc55
Incorporate review comments
tgreenx Jun 5, 2025
e3c9168
Merge pull request #421 from tgreenx/update-nstimes
tgreenx Jun 10, 2025
b949301
Merge pull request #437 from matsduf/update-perl-version-in-ci
matsduf Jun 10, 2025
50d443c
Force locale C for some unit tests
matsduf Jun 23, 2025
b6b78ed
Merge pull request #443 from matsduf/fix-locale-in-unit-test
matsduf Jun 23, 2025
73706bd
Fix argument passing for translations, and remove newlines from to-be…
tgreenx Jun 24, 2025
9057e39
Update French translation
tgreenx Jun 24, 2025
6f41d72
Tidy fr.po file
tgreenx Jun 24, 2025
bc16e84
Merge pull request #444 from tgreenx/fr-translation-update
tgreenx Jun 24, 2025
db21264
Update translations after fix from #444
tgreenx Jun 24, 2025
f9f3f16
Merge pull request #445 from tgreenx/update-translations
tgreenx Jun 25, 2025
b90d33a
Updates for v2025.1 release
matsduf Jun 25, 2025
f015d3b
Matches version update of Zonemaster::LDNS
matsduf Jun 25, 2025
33ce891
Apply suggestions from review
matsduf Jun 25, 2025
52d053a
Merge pull request #446 from matsduf/preparation-release-v2025.1
matsduf Jun 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
name: CI

on:
push:
branches:
- develop
- master
- 'release/**'
pull_request:
branches:
- develop
- master
- 'release/**'

jobs:
run-tests:
strategy:
matrix:
compatibility:
- develop
# - latest
perl:
- '5.40'
- '5.36'
- '5.26'
runner:
- ubuntu-22.04

runs-on: ${{ matrix.runner }}

steps:
- uses: actions/checkout@v2

- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}

- name: Install binary dependencies
run: |
# * These were taken from the installation instruction.
# * Gettext was added so we can run cpanm . on the Engine sources.
# * The Perl modules were left out because I couldn't get all of them
# to work with custom Perl versions.
# * Cpanminus was left out because actions-setup-perl installs it.
sudo apt-get install -y \
autoconf \
automake \
build-essential \
gettext \
libidn2-dev \
libssl-dev \
libtool \
m4 \

- name: Install Zonemaster dependencies (latest)
if: ${{ matrix.compatibility == 'latest' }}
run: |
cpanm --sudo --notest \
Module::Install \
ExtUtils::PkgConfig \
Zonemaster::Engine

- name: Install Zonemaster dependencies (develop)
if: ${{ matrix.compatibility == 'develop' }}
run: |
cpanm --sudo --notest \
Devel::CheckLib \
Module::Install \
ExtUtils::PkgConfig \
Module::Install::XSUtil
git clone --branch=develop --depth=1 \
https://github.com/zonemaster/zonemaster-ldns.git
perl Makefile.PL # Generate MYMETA.yml to appease cpanm .
( cd zonemaster-ldns ; cpanm --sudo --notest . )
rm -rf zonemaster-ldns
git clone --branch=develop --depth=1 \
https://github.com/zonemaster/zonemaster-engine.git
perl Makefile.PL # Generate MYMETA.yml to appease cpanm .
( cd zonemaster-engine ; cpanm --sudo --notest . )
rm -rf zonemaster-engine

# Installing Zonemaster::Engine requires root privileges, because of a
# bug in Mail::SPF preventing normal installation with cpanm as
# non-root user (see link below [1]).
#
# The alternative, if one still wishes to install Zonemaster::Engine
# as non-root user, is to install Mail::SPF first with a command like:
#
# % cpanm --notest \
# --install-args="--install_path sbin=$HOME/.local/sbin" \
# Mail::SPF
#
# For the sake of consistency, other Perl packages installed from CPAN
# are also installed as root.
#
# [1]: https://rt.cpan.org/Public/Bug/Display.html?id=34768
- name: Install remaining dependencies
run: |
cpanm --sudo --verbose --notest --installdeps .

- name: Install Zonemaster::CLI
run: |
cpanm --sudo --verbose --notest .

- name: Show content of log files
if: ${{ failure() }}
run: cat /home/runner/.cpanm/work/*/build.log

- name: Test
run: |
prove -lv t
73 changes: 0 additions & 73 deletions .travis.yml

This file was deleted.

14 changes: 14 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Release history for Zonemaster component Zonemaster-CLI


v8.0.0 2025-06-26 (part of Zonemaster v2025.1 release)

[Breaking changes]
- Makes the --test option more flexible #359

[Features]
- Expands the --nstimes option #421
- Expands the --count option #424

[Fixes]
- Updates translations #444, #445
- Slows down the spinner a bit #419


v7.2.0 2025-03-04 (part of Zonemaster v2024.2.1 release)

[Release information]
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ inc/Module/Install/Share.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/Zonemaster/CLI.pm
lib/Zonemaster/CLI/TestCaseSet.pm
LICENSE
Makefile.PL
MANIFEST This list of files
Expand All @@ -29,6 +30,7 @@ share/locale/sl/LC_MESSAGES/Zonemaster-CLI.mo
share/locale/sv/LC_MESSAGES/Zonemaster-CLI.mo
t/00-load.t
t/pod.t
t/test_case_set.t
t/usage.fake-data.data
t/usage.fake-root.data
t/usage.hints
Expand Down
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ requires(
'JSON::XS' => 0,
'Locale::TextDomain' => 1.23,
'Try::Tiny' => 0,
'Zonemaster::LDNS' => 4.001000, # v4.1.0
'Zonemaster::Engine' => 7.001000, # v7.1.0
'Zonemaster::LDNS' => 5.000000, # v5.0.0
'Zonemaster::Engine' => 8.000000, # v8.0.0
);

test_requires(
Expand Down
Loading