Open ethanjli opened 1 month ago
Note: the use-case of using the next staged pallet bundle to call stage set-next
(to reset tracking of whether the next staged pallet bundle failed to be applied) should already be solved by calling stage set-next next
.
Currently there's a
stage set-next
subcommand, but the only way to check the index of the next staged pallet bundle is to runstage show
orstage show-bun next
(which are not easy to use in shell scripts) or to parse the output ofstage locate-bun next
(e.g. as in here). We should just add astage get-next
subcommand which simply prints the index of the next staged pallet bundle.