Make the “cibtool run add” options to set the state of a CI run be more logical. There are now four:
- –triggered
- –running
- –success
- –failure
That is, drop the –running option. This allows the clap configuration to specify that one of those four is required. I could not find a way to specify that if –running was present, one of –success and –failure was required, but that’s OK: the –running option didn’t actually help to make things easier for the user.
Signed-off-by: Lars Wirzenius liw@liw.fi
Make the “cibtool run add” options to set the state of a CI run be more logical. There are now four:
- –triggered
- –running
- –success
- –failure
That is, drop the –running option. This allows the clap configuration to specify that one of those four is required. I could not find a way to specify that if –running was present, one of –success and –failure was required, but that’s OK: the –running option didn’t actually help to make things easier for the user.
Signed-off-by: Lars Wirzenius liw@liw.fi