Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
feat! "cibtool run add" run state option change
Merged liw opened 1 year ago

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

liw opened with revision 1d149ed5 on base a80ab49d +70 -20 1 year ago

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

liw merged revision 1d149ed5 at 2cc1dc4b 1 year ago