Skip to content

Conversation

@coolljt0725
Copy link
Member

@coolljt0725 coolljt0725 commented Sep 7, 2017

oci-image-tool create is confusing, rename it to create-bundle,
and we may have create-layer in future which is infligh in
#8
and we may have create-image in future.

Signed-off-by: Lei Jitang [email protected]

@coolljt0725 coolljt0725 force-pushed the create_bundle branch 2 times, most recently from 19de833 to af0a9b7 Compare September 8, 2017 01:30
`oci-image-tool create` is confusing, rename it to `create-bundle`,
and we may have `create-layer` in future which is infligh in
and we may have `create-image` in future.

Signed-off-by: Lei Jitang <[email protected]>
@wking
Copy link
Contributor

wking commented Sep 11, 2017 via email

var createCommand = cli.Command{
Name: "create",
Name: "create-bundle",
Usage: "Create an OCI image runtime bundle",

Choose a reason for hiding this comment

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

Is it better to change this file name to create-bundle.go?

@jonboulle
Copy link
Contributor

I tend to agree with #182 (comment) - unpack nomenclature seems a lot more intuitive here (especially considering this is a superset of the unpack command)

@coolljt0725
Copy link
Member Author

@jonboulle @wking we already has a oci-image-tool unpack which only unpack the layers to a rootfs, so do you mean to use oci-image-tool unpack to create runtime bundle and use oci-image-tool unpack-layers to unpack the layers to a rootfs?

@wking
Copy link
Contributor

wking commented Oct 19, 2017 via email

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