From 6d18422fc9b2146b5e818d14c152512b33956f7c Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Jan 2026 07:36:05 +0000 Subject: [PATCH 1/4] Update to CryFS 1.0.3 - Update download URL and SHA256 for version 1.0.3 - Fix CI RuboCop cache error by creating home/.cache directory and setting HOME explicitly (RuboCop File.realpath fails when HOME points to non-existent directory) See: https://github.com/rubocop/rubocop/issues/11725 --- .github/workflows/tests.yml | 13 ++++++++++++- Formula/cryfs.rb | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0fe87da..162b995 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,7 +34,18 @@ jobs: run: brew install --cask macfuse shell: bash - - run: brew test-bot + # Create test-bot home directory to prevent RuboCop File.realpath errors + # test-bot sets HOME=./home/ but RuboCop tries to resolve paths before it's created + # See: https://github.com/rubocop/rubocop/issues/11725 + - name: Create test-bot home directory + run: mkdir -p home/.cache + shell: bash + + - name: Run brew test-bot + run: brew test-bot + env: + XDG_CACHE_HOME: /tmp + HOME: ${{ github.workspace }}/home shell: bash - name: Upload bottles as artifact diff --git a/Formula/cryfs.rb b/Formula/cryfs.rb index 154a242..6e74e67 100644 --- a/Formula/cryfs.rb +++ b/Formula/cryfs.rb @@ -16,8 +16,8 @@ def message class Cryfs < Formula desc "Encrypts your files so you can safely store them in Dropbox, iCloud, etc." homepage "https://www.cryfs.org" - url "https://github.com/cryfs/cryfs/releases/download/1.0.1/cryfs-1.0.1.tar.xz" - sha256 "7ad4cc45e1060431991538d3e671ec11285896c0d7a24880290945ef3ca248ed" + url "https://github.com/cryfs/cryfs/releases/download/1.0.3/cryfs-1.0.3.tar.xz" + sha256 "1f30cc406e5c811490ba14174518a797a80442bfff317a2fdfbc5d21205b9dfe" license "LGPL-3.0-or-later" head "https://github.com/cryfs/cryfs.git", branch: "develop", shallow: false From 9e94e297c4548799d853daa23180c0ad9dd7b073 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Jan 2026 22:10:21 +0000 Subject: [PATCH 2/4] Update to CryFS 1.0.3 - Update download URL and SHA256 for version 1.0.3 - Fix CI: Create home/.cache directory for test-bot without overriding HOME (Let test-bot manage HOME internally, just ensure directory exists) See: https://github.com/rubocop/rubocop/issues/11725 --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 162b995..5751456 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,17 +35,18 @@ jobs: shell: bash # Create test-bot home directory to prevent RuboCop File.realpath errors - # test-bot sets HOME=./home/ but RuboCop tries to resolve paths before it's created + # test-bot sets HOME=./home/ internally but RuboCop tries to resolve it before creation # See: https://github.com/rubocop/rubocop/issues/11725 - name: Create test-bot home directory - run: mkdir -p home/.cache + run: | + mkdir -p home/.cache + ls -la home/ shell: bash - name: Run brew test-bot run: brew test-bot env: XDG_CACHE_HOME: /tmp - HOME: ${{ github.workspace }}/home shell: bash - name: Upload bottles as artifact From 39f566463fed27fbd17702c0e2d7c98cba3cce47 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Jan 2026 22:38:41 +0000 Subject: [PATCH 3/4] Update to CryFS 1.0.3 - revert workflow to simple version --- .github/workflows/tests.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5751456..0fe87da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,19 +34,7 @@ jobs: run: brew install --cask macfuse shell: bash - # Create test-bot home directory to prevent RuboCop File.realpath errors - # test-bot sets HOME=./home/ internally but RuboCop tries to resolve it before creation - # See: https://github.com/rubocop/rubocop/issues/11725 - - name: Create test-bot home directory - run: | - mkdir -p home/.cache - ls -la home/ - shell: bash - - - name: Run brew test-bot - run: brew test-bot - env: - XDG_CACHE_HOME: /tmp + - run: brew test-bot shell: bash - name: Upload bottles as artifact From 1894512184fd8779d3a3d18fd642eb03eea4a1e2 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 10 Jan 2026 23:12:49 +0000 Subject: [PATCH 4/4] Split brew test-bot into separate steps to identify failing phase --- .github/workflows/tests.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0fe87da..0d7f266 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,7 +34,17 @@ jobs: run: brew install --cask macfuse shell: bash - - run: brew test-bot + - run: brew test-bot --only-cleanup-before + shell: bash + + - run: brew test-bot --only-setup + shell: bash + + - run: brew test-bot --only-tap-syntax + shell: bash + + - run: brew test-bot --only-formulae + if: github.event_name == 'pull_request' shell: bash - name: Upload bottles as artifact