Skip to content

Conversation

@runcom
Copy link
Member

@runcom runcom commented Sep 1, 2016

more details on this process.

Also translates the referenced config from application/vnd.oci.image.serialization.config.v1+json to a
runtime-spec-compatible `DEST/config.json`.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a lot to put in NAME. Can we put the new stuff under DESCRIPTION?

@runcom
Copy link
Member Author

runcom commented Sep 1, 2016

@wking PTAL fixed your comments (fat fingers)

@runcom runcom closed this Sep 1, 2016
@runcom runcom reopened this Sep 1, 2016
**oci-image-tool create-runtime-bundle** [src] [dest] [flags]

# DESCRIPTION
`oci-image-tool create-runtime-bundle` generates an [OCI bundle](https://github.com/opencontainers/runtime-spec/blob/master/bundle.md) from an [OCI image layout](https://github.com/opencontainers/image-spec/blob/master/image-layout.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure how we intend to compile these to troff, but ocitools uses go-md2man, which currently handles links poorly:

$ go-md2man -in oci-image-tool-create-runtime-bundle.1.md -out oci-image-tool-create-runtime-bundle.1
$ grep -A4 DESCRIPTION oci-image-tool-create-runtime-bundle.1
.SH DESCRIPTION
.PP
\fB\fCoci\-image\-tool create\-runtime\-bundle\fR generates an 
\[la]https://github.com/opencontainers/runtime-spec/blob/master/bundle.md\[ra] from an 
\[la]https://github.com/opencontainers/image-spec/blob/master/image-layout.md\[ra]\&.

So I recommend we drop this line now that we're adding the additional detail below. Just start with:

`oci-image-tool create-runtime-bundle` validates an application/vnd.oci.image.manifest.v1+json…

@runcom
Copy link
Member Author

runcom commented Sep 1, 2016

@wking took care of your comments

# DESCRIPTION
`oci-image-tool unpack` unpacks a given OCI image into a directory suitable to be used with `runc`.

`oci-image-tool unpack` it validates an application/vnd.oci.image.manifest.v1+json and unpacks its layered filesystem to `DEST`.
Copy link
Contributor

Choose a reason for hiding this comment

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

“it validates” → “validates”

@runcom
Copy link
Member Author

runcom commented Sep 1, 2016

@wking fixed again

@wking
Copy link
Contributor

wking commented Sep 1, 2016 via email

@runcom
Copy link
Member Author

runcom commented Sep 1, 2016

@philips PTAL


# DESCRIPTION
`oci-image-tool create-runtime-bundle` generates an [OCI bundle](https://github.com/opencontainers/runtime-spec/blob/master/bundle.md) from an [OCI image layout](https://github.com/opencontainers/image-spec/blob/master/image-layout.md).
`oci-image-tool create-runtime-bundle` validates an application/vnd.oci.image.manifest.v1+json and unpacks
Copy link
Contributor

Choose a reason for hiding this comment

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

wrapping is weird/inconsistent

Copy link
Member Author

Choose a reason for hiding this comment

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

I might just put everything on a single line (or wrap at 80?)

Copy link
Member Author

Choose a reason for hiding this comment

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

moved on a single line

@wking
Copy link
Contributor

wking commented Sep 2, 2016 via email

@philips
Copy link
Contributor

philips commented Sep 2, 2016

LGTM

Approved with PullApprove

@philips
Copy link
Contributor

philips commented Sep 2, 2016

cc @opencontainers/image-spec-maintainers

@jonboulle
Copy link
Contributor

jonboulle commented Sep 2, 2016

LGTM

Approved with PullApprove

@jonboulle jonboulle closed this Sep 2, 2016
@jonboulle jonboulle reopened this Sep 2, 2016
@jonboulle jonboulle merged commit bbe1d76 into opencontainers:master Sep 2, 2016
@runcom runcom deleted the fix-man branch September 2, 2016 19:45
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.

4 participants