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

Create runtime-tools and image-tools projects #18

Merged
merged 7 commits into from
Sep 8, 2016

Conversation

RobDolinMS
Copy link
Contributor

Signed-off-by: Rob Dolin robdolin@microsoft.com

@philips
Copy link
Contributor

philips commented Aug 29, 2016

LGTM!

@caniszczyk
Copy link
Contributor

LGTM

On Tuesday, August 30, 2016, Brandon Philips notifications@github.com
wrote:

LGTM!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#18 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5IfVgjn8vqgj2ZLubKtMTyttNE4EKks5qk2h5gaJpZM4Jv_Mq
.

Cheers,

Chris Aniszczyk
http://aniszczyk.org
+1 512 961 6719

## Proposal
With repositories under the http://github.com/OpenContainers organization:
* Rename the OCITools repository as runtime-tools
* Create a new repository named image-tools and populate this with the files from: https://github.com/opencontainers/image-spec/tree/master/cmd/oci-image-tool
Copy link
Contributor

@wking wking Aug 30, 2016

Choose a reason for hiding this comment

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

In off-list discussion starting here, I think (and understand @RobDolinMS to agree) that we want to say that the repo names should end with {component}-tools (e.g. runtime-tools). That way the tool maintainers can choose oci-runtime-tools (e.g. to match an installed command) if they like, or choose runtime-tools if there is no installed command to match, or if they (for whatever reason) don't want the repo name to match the installed command.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did a bit more research on this and recommend against attempting to align the repo names with CLI commands. Today, the CLI commands are "ocitools" for runtime and "oci-image-tool" for image.

Antonio (@runcom) has also suggested that we use the plural ("tools") instead of singular ("tool") since more tools may be developed in the future.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 on calling it image-tools and runtime-tools. Ship it!

Copy link
Contributor

Choose a reason for hiding this comment

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

@philips LGTM! I think this is ready to do an email vote via the @opencontainers/tob mailing list.

Copy link
Contributor

Choose a reason for hiding this comment

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

On Wed, Aug 31, 2016 at 02:45:12PM -0700, Rob Dolin (MSFT) wrote:

+* Create a new repository named image-tools and populate this with the files from: https://github.com/opencontainers/image-spec/tree/master/cmd/oci-image-tool

I did a bit more research on this and recommend against attempting
to align the repo names with CLI commands. Today, the CLI commands
are "ocitools" for runtime and "oci-image-tool" for image.

I was expecting we'd rename the installed commands to oci-*-tools. No
sense in having two names when we can use one ;).

Signed-off-by: Rob Dolin <robdolin@microsoft.com>
wking referenced this pull request in opencontainers/image-spec Sep 7, 2016
The validation/unpacking code doesn't really care what the reference
and CAS implemenations are.  And the new generic interfaces in
image/refs and image/cas will scale better as we add new backends than
the walker interface.

The old tar/directory distinction between image and imageLayout is
gone.  The new CAS/refs engines don't support directory backends yet
(I plan on adding them once the engine framework lands), but the new
framework will handle tar/directory/... detection inside
layout.NewEngine (and possibly inside a new (cas|refs).NewEngine when
we grow engine types that aren't based on image-layout).

I'd prefer casLayout and refsLayout for the imported packages, but
Stephen doesn't want camelCase for package names [1].

[1]: #159 (comment)

Signed-off-by: W. Trevor King <wking@tremily.us>
@philips
Copy link
Contributor

philips commented Sep 7, 2016

LGTM, I will email the tob list

@caniszczyk caniszczyk merged commit 729e1ec into opencontainers:master Sep 8, 2016
@caniszczyk
Copy link
Contributor

Thanks for kicking off the vote! The vote tentatively passed (https://groups.google.com/a/opencontainers.org/forum/#!topic/tob/rZ4luMa-pxY) with at least at two-thirds super majority approving the vote, going to merge this change in proactively.

wking added a commit to wking/oci-project-template that referenced this pull request Sep 9, 2016
Currently the OCI seems to have one repository per Project.  A few
repositories are not official projects; ocitools is just becoming
official [1] and artwork [2] may never be a Project.  But I expect
that going forward, any opencontainers/ repos that have a MAINTAINERS
file will be official Projects, so the union rule here should be
both correct and easy to maintain.

The file is not Markdown, so I've gone with my usual reference-style
link instead of a Markdown reference-style link.

[1]: opencontainers/tob#18
     Subject: Create runtime-tools and image-tools projects
[2]: https://github.com/opencontainers/artwork

Signed-off-by: W. Trevor King <wking@tremily.us>
wking added a commit to wking/oci-project-template that referenced this pull request Aug 21, 2017
Currently the OCI seems to have one repository per Project.  A few
repositories are not official projects; ocitools is just becoming
official [1] and artwork [2] may never be a Project.  But I expect
that going forward, any opencontainers/ repos that have a MAINTAINERS
file will be official Projects, so the union rule here should be
both correct and easy to maintain.

The file is not Markdown, so I've gone with my usual reference-style
link instead of a Markdown reference-style link.

[1]: opencontainers/tob#18
     Subject: Create runtime-tools and image-tools projects
[2]: https://github.com/opencontainers/artwork

Signed-off-by: W. Trevor King <wking@tremily.us>
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.

6 participants