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

Don't store blob's media_type on the model. #600

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Conversation

ipanova
Copy link
Member

@ipanova ipanova commented Feb 22, 2022

closes #493

@ipanova ipanova requested review from mdellweg, lubosmj and dkliban and removed request for mdellweg and lubosmj February 22, 2022 15:11
@ipanova
Copy link
Member Author

ipanova commented Feb 22, 2022

@newswangerd, @jlsherrill FYI

@ipanova ipanova requested a review from lubosmj February 22, 2022 15:12
Copy link
Member

@mdellweg mdellweg left a comment

Choose a reason for hiding this comment

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

Great change. Assuming all the tests still pass.

@newswangerd
Copy link
Contributor

@ipanova We use this data in the automation hub UI to determine if a manifest is a manifest list so we can show the manifest list UI. https://github.com/ansible/ansible-hub-ui/blob/7d7c0379a4b65c623287202d55e91052fc8e3325/src/containers/execution-environment-detail/execution_environment_detail_images.tsx#L562

Is there another way for us to make this determination?

@ipanova
Copy link
Member Author

ipanova commented Feb 22, 2022

@ipanova We use this data in the automation hub UI to determine if a manifest is a manifest list so we can show the manifest list UI. https://github.com/ansible/ansible-hub-ui/blob/7d7c0379a4b65c623287202d55e91052fc8e3325/src/containers/execution-environment-detail/execution_environment_detail_images.tsx#L562

Is there another way for us to make this determination?

@newswangerd this is fine, since the media_type on the manifest model stays. it's removed only from the blob model #493 (comment)

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.

push operation does not save config blob with the correct media_type
4 participants