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

ROADMAP for image-tools #187

Open
zhouhao3 opened this issue Sep 26, 2017 · 3 comments
Open

ROADMAP for image-tools #187

zhouhao3 opened this issue Sep 26, 2017 · 3 comments

Comments

@zhouhao3
Copy link

zhouhao3 commented Sep 26, 2017

Hi everyone,
In order to achieve the release as soon as possible, I made the following roadmap, any comments are welcome. cc @opencontainers/image-tools-maintainers @wking

Currently, image-tools has implemented the following functions:
1.Validate one or more image files
2.Unpack an image or image source layout
3.Create an OCI runtime bundle

image-tools has implemented the most important verification function, so I think image-tools can already prepare v1.0 release.

The following a roadmap draft, any comments are welcome.

v1.0: Solve image-tools problems.
There are two known problems with image-tools:
1.How to handle multiple manifests with the same ref.name:
We discussed this problem in #164 and proposed a solution waiting for review in #169.
2.Autodetect problem:
The main reason for this problem is that the main judgment in the Autodetect function is that the Mediatype field becomes a non-required field in spec. So that leads to validation errors.
We discussed this problem in #62 an proposed a solution waiting for review in #184 and #62 (Two different solutions).

v1.x: Add additional functionality.
Add create-layer sub command #8
Add create-image sub command
Add oci-cas sub command #40 (This still need to discuss, the current views are not uniform.)

These above features are additional features. We can wait until later.

Most of the plans have a corresponding patch, but we need to discuss and optimize.Please come up with anything to add.

@zhouhao3 zhouhao3 mentioned this issue Feb 6, 2018
@coolljt0725
Copy link
Member

ping @opencontainers/image-tools-maintainers

@stevvooe
Copy link
Contributor

stevvooe commented Feb 9, 2018

@coolljt0725 UI in #169 needs to be fixed: these images don't have a name, they have a tag. The API should allow for arbitrary label selection. The current situation prevents us from ever adding a name in the future. I described the desired behavior and syntax in #164 (comment).

Something like this:

oci-image-tool validate --select annotations."org.opencontainers.ref.name"=latest --select platform.os=linux ubuntu.tar

@zhouhao3
Copy link
Author

zhouhao3 commented Feb 9, 2018

Fine. I'll modify it.

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

No branches or pull requests

3 participants