Skip to content
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

Obsolete updates when a newer one is pushed to stable #4446

Merged
merged 2 commits into from Apr 8, 2022

Conversation

mattiaverga
Copy link
Contributor

We currently ignore obsoleting updates which are being pushed to stable. The rationale is that we can create an update with a newer build and push it to testing while allowing the older one to be pushed stable meanwhile.

Unfortunately, this doesn't work well when a release is frozen, as we may end up with several builds all stuck in testing being pushed to stable. When the freeze is lifted, not only the newer build is pushed to stable, but Bodhi will try to push the older too.

This PR is an attempt to fix that by allowing Bodhi to obsolete updates being pushed to stable, but only when the newer update is pushed to stable too. To achieve that I've added a call to obsolete_older_updates at the end of set_request and modified the query used to identify obsoletable candidates.

Signed-off-by: Mattia Verga mattia.verga@tiscali.it

@mattiaverga
Copy link
Contributor Author

This is rebased on #4447

Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
@abompard abompard merged commit eef9ef5 into fedora-infra:develop Apr 8, 2022
@mattiaverga mattiaverga deleted the obsolete_freeze branch June 11, 2022 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants