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

Rename oci-image-tool create to oci-image-tool create-bundle #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 leijitang@huawei.com

@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 <leijitang@huawei.com>
@wking
Copy link
Contributor

wking commented Sep 11, 2017 via email

@@ -76,7 +76,7 @@ func createHandle(context *cli.Context) error {
}

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