-
Notifications
You must be signed in to change notification settings - Fork 86
Bump up runtime-spec/image-spec to the latest version #69
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,17 @@ | ||
| package: github.com/opencontainers/image-tools | ||
| import: | ||
| - package: github.com/opencontainers/image-spec | ||
| version: 7e6e2f76d6a11cdcb3f3e334e3f12179a0f37dad | ||
| version: v1.0.0-rc2 | ||
| subpackages: | ||
| - schema | ||
| - specs-go/v1 | ||
| - package: github.com/opencontainers/runtime-spec | ||
| version: ~1.0.0-rc1 | ||
| version: v1.0.0-rc2 | ||
| subpackages: | ||
| - specs-go | ||
| - package: github.com/pkg/errors | ||
| version: ~0.7.1 | ||
| - package: github.com/spf13/cobra | ||
| version: 9c28e4bbd74e5c3ed7aacbc552b2cab7cfdfe744 | ||
| - package: github.com/spf13/pflag | ||
| version: 7b17cc4658ef5ca157b986ea5c0b43af7938532b | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -108,7 +108,7 @@ func TestUnpackLayer(t *testing.T) { | |
|
|
||
| testManifest := manifest{ | ||
| Layers: []descriptor{descriptor{ | ||
| MediaType: "application/vnd.oci.image.layer.tar+gzip", | ||
| MediaType: "application/vnd.oci.image.layer.v1.tar+gzip", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you're missing another one of these on line 172:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, Updated:) |
||
| Digest: fmt.Sprintf("sha256:%s", fmt.Sprintf("%x", h.Sum(nil))), | ||
| }}, | ||
| } | ||
|
|
@@ -169,7 +169,7 @@ func TestUnpackLayerRemovePartialyUnpackedFile(t *testing.T) { | |
|
|
||
| testManifest := manifest{ | ||
| Layers: []descriptor{descriptor{ | ||
| MediaType: "application/vnd.oci.image.layer.tar+gzip", | ||
| MediaType: "application/vnd.oci.image.layer.v1.tar+gzip", | ||
| Digest: fmt.Sprintf("sha256:%s", fmt.Sprintf("%x", h.Sum(nil))), | ||
| }}, | ||
| } | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like pflag tags releases. Is there a particular reason you're pinning here instead of at the current tip (spf13/pflag@5ccb023)? Just because that's the currently-vendored commit? I'm fine with that, but would like a note to that effect in the commit message. Something like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK,It's fine to add some notes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you add a note like this somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I add it in comment:

Do you mean add this note in git commit message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, in Git somewhere, in case we leave GitHub or something ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea.Updated it:)