packit / packit-service

Packit provided as a service
https://packit.dev
MIT License
37 stars 48 forks source link

Support pulling new releases into CentOS Stream #2068

Open lbarcziova opened 1 year ago

lbarcziova commented 1 year ago

CC @cathay4t

mfocko commented 1 year ago

I had a look at it… It is a bit more complicated to resolve:

lbarcziova commented 1 year ago

The person who will pick this should make sure this is everything that needs to be changed and in case there is more, create follow-up issues.

nforro commented 1 year ago

I wonder if this actually makes sense. We react to org.fedoraproject.prod.hotness.update.bug.file messages, which effectively means release-monitoring.org projects that have Fedora mapping configured and monitoring enabled at src.fedoraproject.org. Shouldn't we rather react to org.release-monitoring.prod.anitya.project.version.update messages and check for Fedora/CentOS mapping and continue from there?

lachmanfrantisek commented 1 year ago

@nforro Thanks for bringing this up.

If I remember correctly, we've picked this option to have some pre-filtering done by the New Hotness but I am now not sure, what pre-filtering is being done here and if it still makes sense. We can ask Michal.

nforro commented 1 year ago

Yes, I suppose the monitoring option in Pagure does filter out some unwanted traffic, and it makes complete sense to take advantage of it in Fedora, but not so much in CentOS. What if there is a package that is EL-only?

lbarcziova commented 1 year ago

@nforro is right that the messages we currently listen to are filtered in a way that there needs to be mapping to Fedora for the particular package. Besides that, New Hotness does other prefiltering, see the code, e.g. the monitoring enabled in Fedora dist-git, whether the version is newer, whether the package is not retired etc. If we want to support CentOS only packages, we would need to do what Nikola proposes. And in that case, maybe implement the additional checks ourselves.

mfocko commented 1 year ago

Architecture discussion notes

ckelleyRH commented 1 year ago

@mfocko - FYI I am happy to do "real world" battle testing of Packit -> CentOS Stream things as and when it is useful. I am part of the OSCI team responsible for Stream/RHEL and I have some packages in Fedora/Stream/RHEL that I maintain primarily to dogfood the whole packaging experience holistically.