-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Propose for enhancement.
I want to add Travis CI test for this repository .
As first step, only to verify the all the existing recipe files's style format.
The CI can be on Travis CI + Fedora Docker + rpm-list-builder.
The entire concept is something like below picture.
for recipe in recipe_file_list in the repository:
for collection_id in the recipe's collection_ids:
verify command by rpm-list-builder.
As a first way, I tried blow command that I expected that is kind of verify command to only run Recipe#verify. But it needed for the directory to be created.
(venv) $ rpmlb --build dummy ror.yml rh-ror50
...
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/rpmlb-k8dixpt_/001/rh-ror50'
But below command works.
(venv) $ python3 -c 'from rpmlb import recipe
> r = recipe.Recipe("ror.yml", "rh-ror50")
> print(r.verify())
> '
True
This time we can use this logic.
In the future the logic can be run by rpmlb --verify RECIPE_FILE COLLECTION_ID
How do you think?
Metadata
Metadata
Assignees
Labels
No labels