Open jvoisin opened 3 years ago
rebuildctl pkgs ls
and rebuildctl pkgs log
share the same filters, so you can use this to create a filter that uniquely matches a single package:
root@tails-rebuilder ~ # rebuildctl pkgs ls
[GOOD ] tails-amd64-4.23.img 4.23 (tails, stable, amd64, #5) "https://mirrors.wikimedia.org/tails/stable/tails-amd64-4.23/tails-amd64-4.23.img"
[GOOD ] tails-amd64-4.23.iso 4.23 (tails, stable, amd64, #4) "https://mirrors.wikimedia.org/tails/stable/tails-amd64-4.23/tails-amd64-4.23.iso"
root@tails-rebuilder ~ # rebuildctl pkgs ls --name tails-amd64-4.23.img
[GOOD ] tails-amd64-4.23.img 4.23 (tails, stable, amd64, #5) "https://mirrors.wikimedia.org/tails/stable/tails-amd64-4.23/tails-amd64-4.23.img"
root@tails-rebuilder ~ # rebuildctl pkgs log --name tails-amd64-4.23.img | head
+ IMG_PATH=/tmp/rebuilderd4ZzFlj/inputs/tails-amd64-4.23.img
+ basename /tmp/rebuilderd4ZzFlj/inputs/tails-amd64-4.23.img
+ sed -nr s/tails-amd64-([0-9a-z~\.]+)\.[^\]+/\1/p
+ sed s/~/-/g
+ TAG=4.23
+ REPO_URL=https://gitlab.tails.boum.org/tails/tails.git
+ export TAILS_BUILD_OPTIONS=nomergebasebranch forcecleanup
+ virsh vol-list default
+ awk {print $1}
+ grep ^tails-builder-
root@tails-rebuilder ~ #
Maybe suggest doing so in the rebuildctl pkgs log
error message?
It would be nice to have a list of all the matching packages, to be able to filter them without having to guess.