#991445 debci: running debci enqueue without a package succeeds but does nothing

#991445#5
Date:
2021-07-23 19:40:52 UTC
From:
To:
Hi,

I just tried to trigger a test with elevated priority on ci-master. I
forgot to add the package I wanted to see testing, and debci enqueue
just exit successfully. A warning and/or non-zero exit code may be
more logical.

admin@ci-master:~$ sudo -u debci debci enqueue -s testing -a armhf -t "glibc/2.31-13" -p "src:glibc,unstable" -r britney -P 10 systemd
systemd testing/armhf requested
admin@ci-master:~$ sudo -u debci debci enqueue -s testing -a armhf -t "glibc/2.31-13" -p "src:glibc,unstable" -r britney -P 10
admin@ci-master:~$ echo $?
0

Paul

#991445#10
Date:
2021-07-23 19:50:13 UTC
From:
To:
Hi

That syntax for -p is obviously also totally wrong. It should be
"unstable=src:glibc", maybe the --help could say so and/or it could
check syntax a bit more (at least to include the "=".

Paul