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
Add profile information to modulemd endpoint #2456
Comments
|
Please also consider description and summary fields in the modulemd endpoint. |
|
BZ to track it downstream for 6.11.z: https://bugzilla.redhat.com/show_bug.cgi?id=2109634 |
|
Actually we do need to be careful now that import/export disregards z-stream. |
|
To recap the convo that happened on matrix - my preference would be to write a migration that would be adding new fields and in the data repair management command to populate those. |
|
Link to the matrix discussion: https://matrix.to/#/!NLyoXfybQSfvkVRUFB:matrix.org/$4S6z0CApShY1GNkj3_gt5AyQA5vuG1QfUxBVPNO9TSU?via=libera.chat&via=matrix.org&via=ctrl-c.liu.se I'm shifting back towards the original idea of just doing it in a migration. Reasons:
@ggainey @pavelpicka What do you think? |
|
Also this shouldn't be backported. We can put it in 3.18 and then tell Katello they should use that for the 6.12 release but we need to do that soon. |
|
@pavelpicka In this same PR could you add "description" and double check with @sjha4 whether there are any other fields that need to be added |
Is your feature request related to a problem? Please describe.
Currently there seems to be no easy way of getting profiles for a modulemd from the API. It would make sense to have that data available at https://docs.pulpproject.org/pulp_rpm/restapi.html#operation/content_rpm_modulemds_read endpoint.
Describe alternatives you've considered
Open to suggestions here for other ways to read this data from pulp if needed.
Additional context
Katello locally indexes module streams and associated profiles. Adding it to the above endpoint will provide a clear way to access this data from pulp.
We might need some data migration for already synced and indexed content especially on the katello db based on how this task is implemented.
The text was updated successfully, but these errors were encountered: