From 1dae3f1e75a287659fb4f3899e3f213c0f87b1db Mon Sep 17 00:00:00 2001 From: vasilito Date: Thu, 9 Jul 2026 19:08:34 +0300 Subject: [PATCH] fix: always return 0 from source tree validator in default path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missing source trees (tar present but not extracted) are non-fatal — the cookbook fetches/extracts them during build. Also fixed the --missing-paths-only branch (previous commit). --- local/scripts/validate-source-trees.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/local/scripts/validate-source-trees.py b/local/scripts/validate-source-trees.py index 3d85114323..d9ca61e9b2 100755 --- a/local/scripts/validate-source-trees.py +++ b/local/scripts/validate-source-trees.py @@ -134,8 +134,7 @@ def main(): if missing_entries: release = args.release or "" print(f"\nTo restore: ./local/scripts/restore-sources.sh --release={release}") - return 1 - print("All source trees present.") + print("Source tree validation complete.") return 0