From 6e421f6d843424b230a57a040652ff242df17271 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Thu, 19 Mar 2026 09:23:33 +0100 Subject: [PATCH] fix: verify uses list_platforms for --all, add --include-archived verify.py now uses the same platform listing as generate_pack.py: --all shows active platforms, --include-archived adds archived ones. Before, verify --all listed all .yml files without filtering. --- scripts/verify.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/verify.py b/scripts/verify.py index 0e6e934b..7ff66b04 100644 --- a/scripts/verify.py +++ b/scripts/verify.py @@ -248,7 +248,8 @@ def verify_platform(config: dict, db: dict) -> dict: def main(): parser = argparse.ArgumentParser(description="Verify BIOS coverage per platform") parser.add_argument("--platform", "-p", help="Platform name") - parser.add_argument("--all", action="store_true", help="Verify all platforms") + parser.add_argument("--all", action="store_true", help="Verify all active platforms") + parser.add_argument("--include-archived", action="store_true", help="Include archived platforms") parser.add_argument("--db", default=DEFAULT_DB) parser.add_argument("--platforms-dir", default=DEFAULT_PLATFORMS_DIR) parser.add_argument("--json", action="store_true", help="JSON output") @@ -258,7 +259,8 @@ def main(): db = json.load(f) if args.all: - platforms = [p.stem for p in Path(args.platforms_dir).glob("*.yml") if not p.name.startswith("_")] + from list_platforms import list_platforms as _list_platforms + platforms = _list_platforms(include_archived=args.include_archived) elif args.platform: platforms = [args.platform] else: