-
Notifications
You must be signed in to change notification settings - Fork 32
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
RFE: Ignore scratch builds if Packit config is present #591
Comments
I see GitHub already did its magic. For completeness and transparency, I've filed a similar request on Packit: packit/packit#2232. I'll keep an eye on both. |
To clarify, only the main admin (owner) of the package can change it from "scratch builds" to something else. However, for going from "no monitoring" to "monitoring" admin privileges appear to be sufficient. |
I transferred this to the-new-hotness as Anitya is not the one who is interacting with dist-git. I'm not sure if just checking for the packit config file is a good way to do it as it doesn't need to mean that the scratch builds are done by packit. But I will look into this and try to find some solution. We should probably think of something together with packit folks as the-new-hotness and packit are sometimes overlapping in their responsibilities. |
Thanks for the transfer. I always seem to get this wrong1. I thought some more about it and actually came to the same conclusion. Packit is only submitting a PR. But it depends on the package being configured for CI and/or Zuul if a scratch build will be triggered. Thus, there might be packages still relying on the scratch builds triggered by hotness. I'll leave it to you and the Packit folks to figure out what's sensible here. Maybe the function of the button can be changed or extended or a new button added? Just a thought. Footnotes
|
Let me look in the packit issue and we try to figure something out. |
if we go from "scratch builds" to "monitoring" , will the-new-hotness open a bugzilla report ? |
@sergiomb2 Yes, it will just not start scratch build. See https://the-new-hotness.readthedocs.io/en/stable/user-guide.html#notifications-settings |
NeuroFedora SIG is adding more and more packages it maintains collectively to Packit. Before Packit we relied on scratch builds triggered by Anitya on retrieving a new release.
It seems we often forget to change the monitoring setting in dist-git from "scratch builds" to "monitoring" after having added a Packit config file (
.packit.yml
or.packit.yaml
) to git. One reason is probably the fact that the setting can only be changed by an admin. For most packages the access for neuro-sig, the NeuroFedora group, is limited to commit access, which is more than sufficient.So, my idea is to have Anitya be smart about it and ignore monitoring status "scratch builds" if it finds a Packit config file in the packages repo. We'd still like to have bugs opened for tracking purposes. Maybe Anitya could add a comment like:
Skipping scratch build due to presence of Packit config. Please consider setting monitoring status to "monitoring".
The text was updated successfully, but these errors were encountered: