Description of problem:
When running the transform subcommand to convert from XML to YAML, an extra file is always generated in a different folder containing multiple rules that aren't in the original XML file
Version-Release number of selected component (if applicable): upstream
How reproducible: Always
Steps to Reproduce:
1. Run the following command providing your own paths
./kantra transform rules --input /path/to/xml/folder/ --output /path/to/output/folder
2. Open the output folder and look for a fodler named 00-discovery
Actual results:
A file called 0.yaml (attached) is generated and contains multiple rules that were not in the original XML (attached)
Expected results:
The output folder should contain just the generated yaml and log outputs.
Additional info:
Attached to this issue you'll find the XML file used to reproduce this bug and the generated extra yaml file.
- links to
-
RHBA-2023:120350 Migration Toolkit for Applications bug fix and enhancement update
- mentioned on