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

Add MediaType::to_docker_v2s2 for Docker Image Manifest V2 Schema 2 equivalents #106

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

nokome
Copy link
Contributor

@nokome nokome commented Jun 7, 2022

Closes #105.

I chose to_v2s2 over the shorter to_docker_v2s2 after I noted that v2s2 is the shorthand used by podman. But happy to change to the more explicit to_docker_v2s2 is you feel that is appropriate.

@saschagrunert
Copy link
Contributor

Hey @nokome, thank you for this PR! May I ask you to sign-off your commits via git commit -s --amend and force push again?

But happy to change to the more explicit to_docker_v2s2 is you feel that is appropriate.

Yep I'd prefer that.

@codecov-commenter
Copy link

codecov-commenter commented Jun 7, 2022

Codecov Report

Merging #106 (b6d21f0) into main (6df620e) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   24.21%   24.09%   -0.13%     
==========================================
  Files          20       20              
  Lines        1503     1511       +8     
  Branches      741      742       +1     
==========================================
  Hits          364      364              
- Misses        495      503       +8     
  Partials      644      644              

@nokome nokome changed the title Add MediaType::to_v2s2 for Docker Image Manifest V2 Schema 2 equivalents Add MediaType::to_docker_v2s2 for Docker Image Manifest V2 Schema 2 equivalents Jun 8, 2022
@nokome
Copy link
Contributor Author

nokome commented Jun 8, 2022

@saschagrunert thanks for your quick attention to this. I have signed off the commit and renamed to to_docker_v2s2.

@saschagrunert
Copy link
Contributor

@nokome have you pushed the changes, I still see to_v2s2 rather than to_docker_v2s2 in the diff.

… equivalents

Signed-off-by: Nokome Bentley <nokome@stenci.la>
@nokome
Copy link
Contributor Author

nokome commented Jun 9, 2022

have you pushed the changes, I still see to_v2s2 rather than to_docker_v2s2 in the diff.

Yeah, sorry about that, I hadn't staged the changes before git commit -s --amend 🤦.

Copy link
Contributor

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

LGTM, please take a look @utam0k

Copy link
Member

@utam0k utam0k left a comment

Choose a reason for hiding this comment

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

Looks good. Sorry for late response

@utam0k utam0k merged commit 609028d into youki-dev:main Jun 13, 2022
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.

Trait to provide Docker Image Version 2 Schema 2 media type equivalents
4 participants