refactor: Remove filename deduplication to generate all 24 variants
- Removed deduplication logic from cli.py - All 24 variants now processed (some overwrite with same filename) - manifests: Added comments explaining cartesian product and filename behavior - tests: Updated assertions for correct filename generation order - Added 3 new tests for guest_agents and hardware_support modifiers
This commit is contained in:
@@ -233,7 +233,6 @@ def generate_from_manifest(args: argparse.Namespace, generator: RecipeGenerator)
|
||||
sys.exit(1)
|
||||
|
||||
# Track seen filenames to avoid overwriting duplicates
|
||||
seen_filenames = set()
|
||||
|
||||
# Generate all recipes
|
||||
for recipe_config in manifest.get('recipes', []):
|
||||
@@ -271,11 +270,6 @@ def generate_from_manifest(args: argparse.Namespace, generator: RecipeGenerator)
|
||||
output_path = args.output_dir / filename
|
||||
|
||||
|
||||
|
||||
if filename in seen_filenames:
|
||||
continue # Already generated this filename
|
||||
seen_filenames.add(filename)
|
||||
|
||||
if args.dry_run:
|
||||
print(f"Would generate: {output_path}")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user