Signed-off-by: Lenka Segura lsegura@redhat.com
To disable the monitoring while retiring a package it is necessary to perform a POST request. For that, rpkg needs distgit_url and api token. Context: https://pagure.io/releng/issue/10724 https://pagure.io/rpkg/pull-request/646
pretty please pagure-ci rebuild
Failed to resolve allow statement at /var/lib/selinux/targeted/tmp/modules/200/container/cil:1246 Failed to resolve AST /usr/sbin/semodule: Failed!
There seems to be a related ticket on bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2069325
Hello, in the https://pagure.io/rpkg/pull-request/646 I was talking about moving the functionality here. Additionally, some points came to my mind:
retire
disable-monitoring
Again, I can implement such code.
Hello @onosek, thanks for the points!
Regarding the ACLs, fork_project is not enough to pass a change in monitoring. The ACL has to be modify_project.
fork_project
modify_project
It was written with the intention of having the token optional, in that case the disable_monitoring will not run, but the user will be notified that the monitoring has not been disabled, and it should be done manually.
disable_monitoring
Regarding the function as a separate CLI command, that is a pretty good idea.
Thanks for taking over and let me know if I can help in any way.
Closed in favour of: https://pagure.io/fedpkg/pull-request/499
Pull-Request has been closed by onosek
Signed-off-by: Lenka Segura lsegura@redhat.com
To disable the monitoring while retiring a package it is necessary to perform a POST request. For that, rpkg needs distgit_url and api token.
Context:
https://pagure.io/releng/issue/10724
https://pagure.io/rpkg/pull-request/646