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

Convert RHUI product ID to list of IDs [RHELDST-28614] #50

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

amcmahon-rh
Copy link
Contributor

Recently created rhui tooling products and content sets caused issues for downstream tools, such as Manifest-API. This is because their download_urls contained "/rhui", which erroneously set the for_rhui property to true.

This issue has been fixed, but we would like to extend the solution to make it more robust. This change adds a new rhui_product_ids entry to the schema, so we can compare against a list of IDs rather than a single one. This was done to avoid breaking changes.

@@ -178,7 +178,9 @@ ignore_lp_version_product_ids:
- "000"

# The RHUI product ID. Used to identify RHUI repos that do not contain the 'rhui' substring.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should probably be a sentence or two here explaining the relationship between rhui_product_id and rhui_product_ids and proposing what clients are supposed to do with them.

For example, clarifying that rhui_product_ids takes precedent over rhui_product_id (meaning a client should ignore rhui_product_id if rhui_product_ids is present) - I'm assuming that is the intended behavior.

Recently created rhui tooling products and content sets caused issues for downstream tools,
such as Manifest-API.  This is because their download_urls contained "/rhui", which
erroneously set the for_rhui property to true.

This issue has been fixed, but we would like to extend the solution to
make it more robust. This change adds a new rhui_product_ids entry to
the schema, so we can compare against a list of IDs rather than a single
one. This was done to avoid breaking changes.
@rohanpm rohanpm merged commit 7873ef0 into release-engineering:master Jan 14, 2025
6 checks passed
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.

2 participants