Skip to content

Allow querying updates by side tag name#6078

Open
nforro wants to merge 1 commit intofedora-infra:developfrom
nforro:side-tag
Open

Allow querying updates by side tag name#6078
nforro wants to merge 1 commit intofedora-infra:developfrom
nforro:side-tag

Conversation

@nforro
Copy link
Contributor

@nforro nforro commented Feb 4, 2026

Packit allows to automate creating multi-package updates by using side tags. However, since the lifecycle of a side tag doesn't necessarily correspond to the lifecycle of the update created from it, it is necessary for Packit, as side tag creator, to be able to query updates corresponding to a particular side tag so that it can act accordingly when an update has been obsoleted or unpushed.

In order not to break existing API, this commit adds a new field, from_side_tag_name, that allows to query for updates created from the specified side tag.

Alternatively, the existing from_side_tag field could be adjusted to accept both a boolean value and a string, but I'm not sure that's such a good idea.

Packit allows to automate creating multi-package updates by using side
tags. However, since the lifecycle of a side tag doesn't necessarily
correspond to the lifecycle of the update created from it, it is
necessary for Packit, as side tag creator, to be able to query updates
corresponding to a particular side tag so that it can act accordingly when
an update has been obsoleted or unpushed.

In order not to break existing API, this commit adds a new field,
`from_side_tag_name`, that allows to query for updates created from
the specified side tag.

Alternatively, the existing `from_side_tag` field could be adjusted
to accept both a boolean value and a string, but I'm not sure that's
such a good idea.

Signed-off-by: Nikola Forró <nforro@redhat.com>
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.

1 participant