#1350 copr build -r no-such-chroot should give an error rather than ignore the chroot option
Closed: Fixed 3 years ago by praiskup. Opened 3 years ago by petersen.

The other day (while hacking up a progressive copr build tool), I accidentally executed

copr build -r fedora-fedora-31-x86_64 project srpm

and this made a build for all the project's chroots.

I would have expected copr to error out with a message about "unknown chroot", rather than ignoring the incorrect unconfigured chroot just to go ahead anyway.


Indeed, thanks for the report.

Metadata Update from @praiskup:
- Issue tagged with: bug

3 years ago

Metadata Update from @praiskup:
- Issue priority set to: High

3 years ago

Btw., while fixing this we should take into account this RFE:
https://bugzilla.redhat.com/show_bug.cgi?id=1399815
(IOW, when some code revamp is needed, we can get it prepared
or even implement directly).

Metadata Update from @frostyx:
- Issue assigned to frostyx

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1650 Merged 3 years ago