Description of problem: It can happen that one submits a wrong/bad srpm or duplicate build by mistake to Copr. For this case it would be nice to have a way to cancel builds once they have started. eg I got some backtrace from copr-cli ("KeyError: 'id'") and thought mistakenly that my build had not been submitted but actually it had to my surprise, so I ended up with a duplicate build - for long builds of large packages this can expensive (both time and resource-wise).
I know the Web frontend has UI to cancel pending builds. It would be nice if this was also possibly once the build has starting running.
(In reply to Jens Petersen from comment #1) > It would be nice if this was also possibly once the build > has starting running. Is this a limitation of the new copr: I think earlier one could cancel jobs even after they started. I tried just now to run "copr-cli cancel buildid" and it failed for my started job.
This is pretty difficult to achieve with the current infrastructure. We might implement this in future, but can't really say that with any certainty at the moment.
Finally fixed by https://pagure.io/copr/copr/c/2ddb4711b58355b8ded54555328cdea6878df0b3?branch=master and https://pagure.io/copr/copr/c/aa637036e49330e1df3a91a8621b1569065b63a1?branch=master.
copr-backend-1.95-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8da0e210c5
copr-backend-1.95-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b5e57a860c
copr-backend-1.95-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8abd50b960
copr-backend-1.95-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8abd50b960
copr-backend-1.95-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8da0e210c5
copr-backend-1.95-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b5e57a860c
copr-backend-1.95-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
copr-backend-1.95-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.