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

Specify process for naming future architectures #60

Merged
merged 1 commit into from
May 3, 2016

Conversation

philips
Copy link
Contributor

@philips philips commented May 3, 2016

Signed-off-by: Timothy Hobbs timothyhobbs@seznam.cz

@wking
Copy link
Contributor

wking commented May 3, 2016

I think it makes sense to also have something like:

New entries SHOULD be submitted to 1 for standardization.

which is along the lines of what you had in 2. I agree with
@stevvooe that the OCI will not own the namespace 3, but we can
encourage consistency between implementations without requiring it.

Signed-off-by: Timothy Hobbs <timothyhobbs@seznam.cz>
@philips
Copy link
Contributor Author

philips commented May 3, 2016

@wking improved the language, thanks.

@vbatts
Copy link
Member

vbatts commented May 3, 2016

LGTM

@vbatts vbatts merged commit 47ea862 into opencontainers:master May 3, 2016
wking added a commit to wking/opencontainer-runtime-spec that referenced this pull request May 20, 2016
The old platform.os text had two MUST conditions.  The first could
have been read "the runtime MUST generate an error if invoked with a
config.json whose platform.os is incompatible with the host platform"
(which is the direction I'm going with this commit).  However, it
could also have been read "the bundle-validator MUST generate an error
if platform.os is incompatible with the content the bundle's other
content (e.g. 'linux' in platform.os, but only Windows binaries in the
bundle's rootfs).

For the second MUST, I doubt we want to require a compliant runtime
support all Go architectures itself.  And there is a benefit to
pointing runtime/bundle authors at the Go set, but not much benefit in
making that a hard limit [1,2].  The rewording here follows [2] in
acknowledging that process.arch-matching is something that the config
author and runtime caller have to sort out between themselves and
pointing them at the Go docs and a registration process to avoid
fragmenting the community.

[1]: opencontainers/image-spec#29
[2]: opencontainers/image-spec#60

Signed-off-by: W. Trevor King <wking@tremily.us>
Mashimiao pushed a commit to Mashimiao/specs that referenced this pull request Aug 19, 2016
The old platform.os text had two MUST conditions.  The first could
have been read "the runtime MUST generate an error if invoked with a
config.json whose platform.os is incompatible with the host platform"
(which is the direction I'm going with this commit).  However, it
could also have been read "the bundle-validator MUST generate an error
if platform.os is incompatible with the content the bundle's other
content (e.g. 'linux' in platform.os, but only Windows binaries in the
bundle's rootfs).

For the second MUST, I doubt we want to require a compliant runtime
support all Go architectures itself.  And there is a benefit to
pointing runtime/bundle authors at the Go set, but not much benefit in
making that a hard limit [1,2].  The rewording here follows [2] in
acknowledging that process.arch-matching is something that the config
author and runtime caller have to sort out between themselves and
pointing them at the Go docs and a registration process to avoid
fragmenting the community.

[1]: opencontainers/image-spec#29
[2]: opencontainers/image-spec#60

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.

None yet

4 participants