https://github.com/crobinso/bodhi-push-updates
Description from the README:
Basically works like this:
So if you push a lot of updates this can save a bit of time clicking around in the web UI or invoking bodhi manually from the command line.
- Query all your pending updates
- Filter out the ones that haven't reached the testing timeout, by looking for the 'can be pushed to stable' comment from bodhi.
- For each appropriate update:
- Show the update karma
- Filter out bodhi process comments ('pushed to testing' etc.)
- Filter out PASSED taskotron messages
- Show the remaining comments
- Prompt the user if they'd like to push this update to stable
- Push all the requested updates to stable
You should probably filter out Taskotron PASSED messages only if there are no FAILED messages. Otherwise it might be confusing if it first FAILED for some reason, then PASSED, and you would hide the PASSED result.
ReplyDeleteThanks for the suggestion. Just curious, will taskotron automatically retry a FAILED test? In what case would taskotron report two results in bodhi from the same test case?
Delete