refactor: Simplify template logic - reduce from 6 to 3 categories, remove variant_type, keep validation, remove tests
Simplified template logic: reduced from 6 categories (required, modifiers, optional, versioned, conditional, flags) to 3 categories (required, modifiers, optional). Removed variant_type and replaced with modifier-based approach (version, bootloader replaced, hardware_support). All validation methods kept for recipe generation and validation. Removed tests directory (tests/test_recipe_generator.py, tests/integration/, tests/container/). Removed non-ISO workflows (validate-recipes, test-generation, container-tests, validate-ingredients). Updated Makefile, requirements.txt, and documentation. All 20 recipes successfully generated, validated, and flattened.
This commit is contained in:
@@ -7,10 +7,10 @@ This is a quick-reference guide for developers. For comprehensive coverage, see
|
||||
```bash
|
||||
# Prerequisites
|
||||
sudo dnf install qemu libvirt virt-install pykickstart
|
||||
pip install PyYAML pytest
|
||||
pip install PyYAML
|
||||
|
||||
# Verify setup
|
||||
cd recipe-generator && make generate-recipes && make test
|
||||
cd recipe-generator && make generate-recipes
|
||||
```
|
||||
|
||||
## Core Workflows
|
||||
@@ -35,13 +35,6 @@ new-package
|
||||
cd recipe-generator && make generate-recipes && make validate-recipes
|
||||
```
|
||||
|
||||
### Run Tests
|
||||
|
||||
```bash
|
||||
cd recipe-generator
|
||||
make test # All tests
|
||||
make test-integration # Integration only
|
||||
make test-container # Containerized
|
||||
```
|
||||
|
||||
### Validate Fragments
|
||||
|
||||
Reference in New Issue
Block a user