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

config: Make Markdown canonical #342

Merged
merged 2 commits into from
Mar 16, 2016

Conversation

wking
Copy link
Contributor

@wking wking commented Mar 10, 2016

It's pretty clear that the Go bindings cannot be canonical on their
own, because they do not define limits (e.g. the 0 through 512 range
for FileMode). The JSON Schema is closer, but still does not cover
everything (e.g. “a directory must exist at root.path”). Both
the Go bindings and the JSON Schema could grow to cover the full spec
by adding that sort of thing to comments and descriptions, but that's
not how things seem to be working now.

Also:

@wking wking force-pushed the canonical-markdown-and-go-links branch from d305d10 to 2123330 Compare March 10, 2016 21:41
Also:

* Update the link to Go bindings after 7bf06d5 (source and schema:
  differentiate with examples, 2015-12-18, opencontainers#276).
* Add a reference to the JSON Schema after cdcabde (schema: JSON
  Schema and validator for `config.json`, 2016-01-19, opencontainers#313).

It's pretty clear that the Go bindings cannot be canonical on their
own, because they do not define limits (e.g. the 0 through 512 range
for FileMode).  The JSON Schema is closer, but still does not cover
everything (e.g. "a directory must exist at root.path").  Both the Go
bindings and the JSON Schema could grow to cover the full spec by
adding that sort of thing to comments and descriptions, but that's not
how things seem to be working now.

Signed-off-by: W. Trevor King <wking@tremily.us>
Catch up with 7bf06d5 (source and schema: differentiate with examples,
2015-12-18, opencontainers#276).

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

vbatts commented Mar 16, 2016

LGTM

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented Mar 16, 2016

LGTM

mrunalp pushed a commit that referenced this pull request Mar 16, 2016
@mrunalp mrunalp merged commit b8d67bb into opencontainers:master Mar 16, 2016
@wking wking deleted the canonical-markdown-and-go-links branch March 30, 2016 04:18
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.

3 participants