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

manifest/v2s1: add get_labels() method, test and example #59

Merged
merged 1 commit into from
Nov 8, 2018

Conversation

steveej
Copy link
Contributor

@steveej steveej commented Nov 8, 2018

  • draft implementation for open discussion
  • fixture test
  • proper implementation

Partial fix (v2s1 only) for #57.

@steveej steveej force-pushed the examples-image-labels branch 3 times, most recently from b59cc22 to 25dc0f7 Compare November 8, 2018 00:35
src/v2/manifest/manifest_schema1.rs Outdated Show resolved Hide resolved
src/v2/manifest/manifest_schema1.rs Outdated Show resolved Hide resolved
src/v2/manifest/manifest_schema1.rs Outdated Show resolved Hide resolved
src/v2/manifest/manifest_schema1.rs Outdated Show resolved Hide resolved
@lucab
Copy link
Member

lucab commented Nov 8, 2018

I'm not opposed to this, but it seems to encode quite a bit of docker black magic which should be recorded somewhere (an inline comment is fine).

@steveej steveej changed the title [WIP/DRAFT] manifest/v2s1: add get_labels() method and example [WIP] manifest/v2s1: add get_labels() method, test and example Nov 8, 2018
@steveej
Copy link
Contributor Author

steveej commented Nov 8, 2018

I think we can skip the network test for this one. I've curled the manifest of my test image and added it as a fixture.

@steveej steveej changed the title [WIP] manifest/v2s1: add get_labels() method, test and example manifest/v2s1: add get_labels() method, test and example Nov 8, 2018
@steveej steveej requested a review from lucab November 8, 2018 12:35
src/v2/manifest/manifest_schema1.rs Outdated Show resolved Hide resolved
src/v2/manifest/manifest_schema1.rs Show resolved Hide resolved
src/v2/manifest/manifest_schema1.rs Outdated Show resolved Hide resolved
@steveej steveej merged commit d1d344c into camallo:master Nov 8, 2018
@steveej steveej deleted the examples-image-labels branch November 12, 2018 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants