When patching fails, a few things need to happen:
- fix the patching, obviously;
- create appropriate changelog lines accordingly;
- adjust
state.yaml to clean the steps for the failed version;
- retry, without the preparation (mostly merging, adding a changelog entry), as that was done, not undone, and quite probably augmented with changelog lines documenting the changes.
One way to do the last one is to patch frido/actions.py, setting 'prepare': []. But if that's forgotten, or if --only-one is not passed, we might try building another version without the relevant actions for that step, which would be really needed!
Maybe this could work:
- add a
--skip-prepare option;
- if present, it must be accompanied with (
--build and) --only-one;
- if present, it overrides the
prepare actions with an empty list.
When patching fails, a few things need to happen:
state.yamlto clean the steps for the failed version;One way to do the last one is to patch
frido/actions.py, setting'prepare': []. But if that's forgotten, or if--only-oneis not passed, we might try building another version without the relevant actions for that step, which would be really needed!Maybe this could work:
--skip-prepareoption;--buildand)--only-one;prepareactions with an empty list.