-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-enable code for testing arbitrary yum repos #359
Comments
The Copr plugin was removed in commit 7d686de |
The Copr plugin was re-added, but there is an API change in Copr Python API.
Porting the code to a newer Copr Python API will be required. |
Can you point me to code in Koschei that uses this API? Edit: It is here https://github.com/fedora-infra/koschei/tree/acc8eddd6751e17104b5dd6bbe5cb013ad7290c6/koschei/plugins/copr_plugin |
And the code utilize fedmsg. This needs to be migrated to fedora-messaging too. https://fedora-messaging.readthedocs.io/en/stable/tutorial/conversion.html |
The migration of Copr api is documented here https://fedora-copr.github.io/posts/api3-migration-helper |
Also here: https://python-copr.readthedocs.io/en/latest/client_v3/migration.html#migration |
I attempted a port to v3 API, my WiP code is at mizdebsk@a40673f (not tested at all yet). |
The port is now complete. Koschei Copr plugin has been enabled in staging. |
Hi @mizdebsk thanks a lot for having worked on this! I am trying to test the new code for triggering a rebuild and I think I have hit an "issue". The commands to reproduce it are the following I am able to retrieve authenticated content from Koschei using
With the above environment settled up I can retrieve authenticated content from Koschei
I try something similar to trigger a new reverse dependencie re-build
I think I get a 403 - Forbidden error as a result for the I don't know how to make the packit user an admin in Koschei. Could you change the packit role or disable the check? I am not 100% sure this is the issue, since kerberos makes things really hard to test. But I am quite confident. Next week I will be out of office, for this reason I will not reply you soon if there will be any follow up :) |
We (the Packit team) would like to automate
reverse-dependencies
checks for our users.We would like the checks to be triggered both by upstream pull requests and by downstream releases.
This Koshei feature could solve us much of the problem and for this reason we would like to have it re-enabled.
Thank you!
The text was updated successfully, but these errors were encountered: