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

RFE: automatically update build list of an update if a build is untagged from the side-tag #4377

Open
mattiaverga opened this issue Feb 8, 2022 · 0 comments
Labels
RFE Requests for Enhancement

Comments

@mattiaverga
Copy link
Contributor

Suppose a user creates a side-tag update with two builds, foo-1.0 and bar-1.0.
Later they build foo-1.1 in the side-tag: they login in Bodhi, edit the update by hitting the refresh build list button and the new nvr replaces the old one.

If, instead of replacing an existing build, they want to only remove a build from being pushed within the update, they need to manually untag foo-1.0 from the side-tag with Koji and then they again need to login in Bodhi and hit the refresh button (there's no way to manually edit the build list in Bodhi).

My proposal is to add a consumer that processes the buildsys.untag messages to look if any user (other than Bodhi or Autopen) untag a build from a side-tag associated to an existing pending update and remove the build from the update list (and also remove the pending and testing tags possibly associated to the build).
That will simplify the previous example case nr. 2. I don't want to propose to automatically update the build list (example case nr. 1), because building a package in a side-tag doesn't automatically imply that the user wants it to be added to the update. But I think that is a user removes a nvr from a side-tag they certainly wants the build to be removed from the update.

Does it makes sense?

@mattiaverga mattiaverga added the RFE Requests for Enhancement label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE Requests for Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant