I wanted to use the output of bkr job-list in my shell (to pass on to bkr job-modify) but it returns JSON/Python which I have no easy way to parse in bash. It's also not easy to read for humans, if the list of jobs is more than a handful long. It would probably make more sense if it output one job id per line (and no count). Then it would be possible to do things like: bkr job-modify --retention-tag=scratch $(bkr job-list --mine) We could also add a --format option like we have for bkr distros-list.
Verified with beaker-0.11.3-1.git.210.bda2c22. new option --format is supported by the updated client command 'job-list': $ bkr job-list --format=json ["J:8", "J:7", "J:6", "J:5", "J:4", "J:3", "J:2", "J:1"] $ bkr job-list --format=list J:8 J:7 J:6 J:5 J:4 J:3 J:2 J:1 $ bkr job-list ["J:8", "J:7", "J:6", "J:5", "J:4", "J:3", "J:2", "J:1"]
Beaker 0.12 has been released.