Learn more about these different git repos.
Other Git URLs
Recently I wanted to use copr-rpmbuild to locally reproduce a failing build (which is the commonly agreed purpose of this tool) and I was surprised that the most obvious task input methods are not yet implemented. The combination of build ID and chroot
copr-rpmbuild --build-id 123 --chroot fedora-rawhide-x86_64
is the most user-friendly way, that we can offer. However, it is not always the most dev-friendly option for several reasons.
https://<frontend>/backend/get-build-task/<build_id>-<chroot>
All of these use-cases can be covered with simple --task-file and --task-url parameters.
--task-file
--task-url
copr-rpmbuild --task-file /tmp/mytask.json copr-rpmbuild --task-url https://<frontend>/backend/get-build-task/<build_id>-<chroot>
The implementation shouldn't mess with the copr-rpmbuild pipeline. In the case of --task-url, it would just request the given URL instead of constructing one from build ID and chroot. Then continue as usual. In case of --task-file, there will be a bit more deviation and instead of requesting an URL and reading json from it, it will read a file instead, and then continue as usual. Both cases should be trivial to implement.
Modified in PR#794
The PR#794 is merged for a long time and I am happily using the feature.
Metadata Update from @frostyx: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.