In https://pagure.io/fedora-ci/general/issue/536 we noticed that
download-build does not exit 0 even if it winds up downloading
nothing at all. This can happen if all packages are skipped
because they're for the wrong arch, or they're debuginfo and
you didn't pass the argument to download debuginfo packages, or
they're not signed and you passed --key and didn't pass
--fallback-unsigned.
It seems more useful to error in this case, since this is
probably not what the caller expected.
In https://pagure.io/fedora-ci/general/issue/536 we noticed that
download-build does not exit 0 even if it winds up downloading
nothing at all. This can happen if all packages are skipped
because they're for the wrong arch, or they're debuginfo and
you didn't pass the argument to download debuginfo packages, or
they're not signed and you passed --key and didn't pass
--fallback-unsigned.
It seems more useful to error in this case, since this is
probably not what the caller expected.
Signed-off-by: Adam Williamson awilliam@redhat.com