From 9c46e93c5d125c993ef5b8151871a60e971bc194 Mon Sep 17 00:00:00 2001 From: David Rabkin Date: Tue, 19 Aug 2025 13:40:28 +0300 Subject: [PATCH 1/2] fix(redo): prevent globbing --- lint.do | 16 ++++++++-------- test-container.do | 6 +++--- test.do | 8 ++++---- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lint.do b/lint.do index eeed45a..85a9877 100644 --- a/lint.do +++ b/lint.do @@ -3,14 +3,14 @@ # SPDX-FileCopyrightText: 2022-2025 David Rabkin # SPDX-License-Identifier: 0BSD redo-ifchange \ + ./.github/*.yml \ + ./.github/workflows/*.yml \ + ./app/* \ + ./container/*/Containerfile \ + ./lib/* \ ./*.do \ - .github/*.yml \ - .github/workflows/*.yml \ - app/* \ - container/*/Containerfile \ - lib/* \ - Makefile \ - README.adoc + ./Makefile \ + ./README.adoc BSH="$( CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1 )"/lib/base.sh || { @@ -21,7 +21,7 @@ BSH="$( # shellcheck disable=SC2034 # Variable appears unused. readonly \ - BASE_APP_VERSION=0.9.20250803 \ + BASE_APP_VERSION=0.9.20250819 \ BASE_MIN_VERSION=0.9.20231212 \ BSH set -- "$@" --quiet diff --git a/test-container.do b/test-container.do index 241aefc..03fa6f1 100644 --- a/test-container.do +++ b/test-container.do @@ -2,7 +2,7 @@ # vi:et lbr noet sw=2 ts=2 tw=79 wrap # SPDX-FileCopyrightText: 2022-2025 David Rabkin # SPDX-License-Identifier: 0BSD -redo-ifchange app/* lib/* +redo-ifchange ./app/* ./lib/* BSH="$( CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1 )"/lib/base.sh || { @@ -13,7 +13,7 @@ BSH="$( # shellcheck disable=SC2034 # Variable appears unused. readonly \ - BASE_APP_VERSION=0.9.20250617 \ + BASE_APP_VERSION=0.9.20250819 \ BASE_MIN_VERSION=0.9.20231228 \ BSH set -- "$@" --quiet @@ -35,7 +35,7 @@ inside "$(uname -m)" arm64 && ARM=true || ARM=false # The build is executed silently, resulting in a container hash. Runs a # container and automatically removes it after it stops. -for f in container/*/Containerfile; do +for f in ./container/*/Containerfile; do [ "$ARM" = true ] && inside "$f" archlinux && { printf >&2 'Arch Linux does not currently support ARM architecture.\n' continue diff --git a/test.do b/test.do index 964b2b2..d87e8d4 100644 --- a/test.do +++ b/test.do @@ -2,7 +2,7 @@ # vi:et lbr noet sw=2 ts=2 tw=79 wrap # SPDX-FileCopyrightText: 2022-2025 David Rabkin # SPDX-License-Identifier: 0BSD -redo-ifchange app/* lib/* +redo-ifchange ./app/* ./lib/* BSH="$( CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1 )"/lib/base.sh || { @@ -13,7 +13,7 @@ BSH="$( # shellcheck disable=SC2034 # Variable appears unused. readonly \ - BASE_APP_VERSION=0.9.20250604 \ + BASE_APP_VERSION=0.9.20250819 \ BASE_MIN_VERSION=0.9.20231228 \ BSH set -- "$@" --quiet @@ -23,10 +23,10 @@ set -- "$@" --quiet for sh in ash bash dash fish ksh oksh tcsh yash zsh; do cmd_exists "$sh" || continue chrono_sta run || die - for ok in app/*-ok; do + for ok in ./app/*-ok; do "$sh" -c "$ok 2>&1" || die "$ok" on "$sh" returns negative. done - for no in app/*-no; do + for no in ./app/*-no; do # shellcheck disable=SC2015 # A && B || C. "$sh" -c "$no 2>&1" && die "$no" on "$sh" returns positive. || : done From 8191de1c5d12680446dda2a5bb0e272eef9cec16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 01:26:05 +0000 Subject: [PATCH 2/2] build(deps): bump vmactions/freebsd-vm from 1.2.1 to 1.2.3 Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 1.2.1 to 1.2.3. - [Release notes](https://github.com/vmactions/freebsd-vm/releases) - [Commits](https://github.com/vmactions/freebsd-vm/compare/v1.2.1...v1.2.3) --- updated-dependencies: - dependency-name: vmactions/freebsd-vm dependency-version: 1.2.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/test-bsd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-bsd.yml b/.github/workflows/test-bsd.yml index 92da38e..26775d6 100644 --- a/.github/workflows/test-bsd.yml +++ b/.github/workflows/test-bsd.yml @@ -15,7 +15,7 @@ jobs: - ubuntu-24.04 steps: - uses: actions/checkout@v5 - - uses: vmactions/freebsd-vm@v1.2.1 + - uses: vmactions/freebsd-vm@v1.2.3 with: prepare: | pkg update