-
Notifications
You must be signed in to change notification settings - Fork 86
Hello world! #1
Hello world! #1
Conversation
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
…manifests list Signed-off-by: Antonio Murdaca <runcom@redhat.com>
image-layout.md: fixes
As the refs are descriptors, the media-type is not strictly a manifest or manifest-list. Reported-by: W. Trevor King <wking@tremily.us> Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This fixes opencontainers/image-spec#130 Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
Right now manifest is relying on the external Docker docs to explain the digest format. Instead use the OCI Descriptor docs. Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
This adds a test of the schema compatibility by taking the manifest of library/docker from the docker hub, with sha256 digest verification, and simply finding/replacing the four constant strings documented in media-types.md and ensuring that it passes OCI validation. https://github.com/opencontainers/image-spec/blob/master/media-types.md This test is functionaly equivalent to downloading a Docker v2.2 manifest into the file `docker-manifest: ``` $ curl -L -H "Authorization: Bearer ..." \ -H "Accept: application/vnd.docker.distribution.manifest.v2+json" \ https://registry-1.docker.io/v2/library/docker/manifests/sha256fg:888206c77cd2811ec47e752ba291e5b7734e3ef137dfd222daadaca39a9f17bc > docker-manifest ``` And then running a regex to change `docker.distribution` to `oci.image` and changing `v2` to `v1` ``` $ cat docker-manifest | sed -e "s%docker\.distribution%oci\.image%g" -e "s%v2%v1%g" > oci-manifest ``` And finally testing the manifest with oci-image-tool: ``` $ oci-image-tool validate oci-manifest oci-manifest: OK ``` Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
These quasi-entities (which are missing the usual closing semicolon) have been floating around since c22ca79 (serialization: docker v1 image format media type, 2016-04-04, #6). Generated with: $ sed -i 's/</</;s/>/>/' $(git grep -l alyspdev@example.com) Signed-off-by: W. Trevor King <wking@tremily.us>
*: Fix '<' -> '<' and '>' -> '>' typos
serialization: add language about whiteout
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
media-types.md: fix typo
image-layout: clarify refs can be generic
manifest: use descriptor doc as canonical source
schema: add a docker v2.2 backwards compat test
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Jonathan Boulle <jonathanboulle@gmail.com>
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
DiffIDs and Manifest list digests were a bit confusing. Explain the difference. Fixes: #115 Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
schema: close files
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
manifest: explain schemaVersion == 2
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Makefile: fix fmt target and format json files
schema: update from updated esc command
test: manifest list backward compatibility
This is a spec change based on testing live Docker Hub configs. Volume may be null as found in the hub.docker.com/library/docker image. Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
Fixies to img: and schema:
image: fix typo in docstring
Closes: opencontainers/image-spec#283 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
|
On Wed, Sep 14, 2016 at 11:39:20AM -0700, Antonio Murdaca wrote:
How was this branch created? I expect we want to merge |
|
This was created from the image-spec |
|
@wking I am guessing git filter-branch |
|
@wking the split is just 1 commit not sure what you need to audit exactly |
|
Also, I don't have commit access to this repo so if anyone would/could, he can pick up image-spec, apply my latest commit from this PR and push force to this repo to preserve commit history. Otherwise github isn't letting me create a PR from totally different branch with nothing in common. |
|
On Wed, Sep 14, 2016 at 12:01:57PM -0700, Antonio Murdaca wrote:
You can merge this repo into your external history (that's what I did |
*: rename serialization.md -> config.md
|
@wking how about now? |
|
LGTM |
|
FYI: I also just enabled Travis CI here too |
thanks Chris! |
|
@wking I merged project-templace as well now, but CI is failing on some DCO's and whitespaces in .gitvalidation on merge commits - what do we do? |
|
On Wed, Sep 14, 2016 at 02:19:23PM -0700, Antonio Murdaca wrote:
Looks pretty good to me. Minor nits:
|
* origin/master: Initial commit
* pt/master: (32 commits) GOVERNANCE.md: fix typo GOVERNANCE and RELEASES: split the files project-governance: Make voting more generic proposals: release approval process explain security@ email proposal: fix a typo proposals: release-approval-process fix a grammar thing release-approval: Add non-spec unanimous quorum reduction release-approval: Shuffle to make more DRY proposals: release-approval-process: fixup additional typos proposals: release approval process: improve REJECT feedback proposals: release approval process: add information to projects proposals: release approval process: add language about mailing list proposals: release approval process: add quorum language proposals: release-approval-process: add voting members language proposals: release approval process: clarify utility of GitHub proposals: release approval process: use consistent language for rejects proposals: release approval process: one month pre-releases proposals: release approval process 3 rcs required proposals: release approval process to one week for apps proposal: release-approval-process add some motivation ...
|
loads of DCO missing, and whitespace checks fail. and the build fails ( |
ooh I'll fix this one before merging (weird) @vbatts about the DCO and whitespaces, not sure what should I do. |
|
LGTM @caniszczyk can you just override the DCO thing, those mistakes were made long ago and not really fixable. P.S. Can we get rid of the DCO, it is sooooo silly. |
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
LGTM |
|
|
This is moving from OCI/image-spec to this new repository - the relevant commit to review is f0a6243 (this commit is also splitting oci-image-tool in 3 new binaries as per opencontainers/image-spec#296)
Please, do add Travis CI.
This is keeping all the history from OCI/image-spec - I'll move out the issues from the spec tomorrow morning.
If something isn't really super correct and doesn't block this PR - I believe we can get this PR in and re-iterate in the following days.
@vbatts @philips PTAL