From 52cbdddd0b492a53826a135aea94cc71f0dc0db4 Mon Sep 17 00:00:00 2001 From: vasilito Date: Thu, 9 Jul 2026 19:04:37 +0300 Subject: [PATCH] fix: make missing source trees non-fatal in preflight validator Missing source trees (e.g. plasma-desktop with recipe.toml but not yet extracted source/) should not block the build. Sources are fetched/extracted by the cookbook during the build phase. The validator now warns about missing sources but returns exit code 0. --- local/scripts/validate-source-trees.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/scripts/validate-source-trees.py b/local/scripts/validate-source-trees.py index 52f4c1a65e..3d85114323 100755 --- a/local/scripts/validate-source-trees.py +++ b/local/scripts/validate-source-trees.py @@ -118,7 +118,7 @@ def main(): if recipe_path not in seen: print(recipe_path) seen.add(recipe_path) - return 1 if missing_entries else 0 + return 0 # Missing sources are non-fatal; they get fetched during build print(f"=== Validating source trees for config: {args.config} ===") for package_name, recipe_dir in missing_entries: