Hello,
I've been investigating whether it's possible to request/apply for (builder) permission for a project via copr api or copr-cli. I.e. the equivalent of what I can do via https://copr.fedorainfracloud.org/coprs/<not-me>/<not-my-project>/permissions/. I haven't seen anything like that in api [1] or "copr-cli modify".
The reason is that with packit [2] we eventually want to have a service that would build packages in copr, so that upstream maintainers could directly see (in a pull request), whether a upstream change (PR) doesn't break in downstream (fedora). And in case they wanted to use their existing copr repo, we'd need our service to have builder permission in that repo and we don't want to manually request it via web for every such project.
Thanks, Jiri
[1] https://copr-rest-api.readthedocs.io [2] https://github.com/packit-service/packit
Hello Jiří,
I've been investigating whether it's possible to request/apply for (builder) permission for a project via copr api or copr-cli. I.e. the equivalent of what I can do via https://copr.fedorainfracloud.org/coprs/<not-me>/<not-my-project>/permissions/. I haven't seen anything like that in api [1] or "copr-cli modify".
That seems to be a valid request, I've created an RFE for that https://pagure.io/copr/copr/issue/612
Jakub
On Wed, Mar 27, 2019 at 4:55 PM Jiri Popelka jpopelka@redhat.com wrote:
Hello,
I've been investigating whether it's possible to request/apply for (builder) permission for a project via copr api or copr-cli. I.e. the equivalent of what I can do via https://copr.fedorainfracloud.org/coprs/<not-me>/<not-my-project>/permissions/. I haven't seen anything like that in api [1] or "copr-cli modify".
The reason is that with packit [2] we eventually want to have a service that would build packages in copr, so that upstream maintainers could directly see (in a pull request), whether a upstream change (PR) doesn't break in downstream (fedora). And in case they wanted to use their existing copr repo, we'd need our service to have builder permission in that repo and we don't want to manually request it via web for every such project.
Thanks, Jiri
[1] https://copr-rest-api.readthedocs.io [2] https://github.com/packit-service/packit _______________________________________________ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.o...
copr-devel@lists.fedorahosted.org