If the run info can’t be parsed as JSON, loading it will fail. Change
cibtool run list so that it only lists the run ids by default.
Signed-off-by: Lars Wirzenius liw@liw.fi
fix: “cibtool run remove” removed only by broker run id by default
We need to parse the run info in the database as JSON to get at the
adapter run info. This fails if the run info can’t be parsed. That can
happen if the database has run info from a development version. Change
cibtool run remove so that it takes only broker run ids by default
so that we can delete using those even if the run info is broken.
Allow removing by adapter run id with the --adapter option.
Signed-off-by: Lars Wirzenius liw@liw.fi
If the run info can’t be parsed as JSON, loading it will fail. Change
cibtool run list so that it only lists the run ids by default.
Signed-off-by: Lars Wirzenius liw@liw.fi
fix: “cibtool run remove” removed only by broker run id by default
We need to parse the run info in the database as JSON to get at the
adapter run info. This fails if the run info can’t be parsed. That can
happen if the database has run info from a development version. Change
cibtool run remove so that it takes only broker run ids by default
so that we can delete using those even if the run info is broken.
Allow removing by adapter run id with the --adapter option.
Signed-off-by: Lars Wirzenius liw@liw.fi