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

bundle: Move 'rootfs' recommendation to config.md #839

Merged

Conversation

wking
Copy link
Contributor

@wking wking commented May 18, 2017

Anyone setting 'rootfs.path' should be aware of this advice, regardless of whether they're the ones composing the bundle or not.

Use the RFC 2119 “SHOULD” (vs. the old lowercase “should”) for this recommendation. The SHOULD semantics make sense and using SHOULD avoids confusing readers (“did they mean to SHOULD this?”).

Also drop the “While the name of this directory may be arbitrary” caveat, because SHOULD already implies “but you can pick another directory name if you want”.

Note that the “MUST be present in a single directory” line which is still in bundle.md forbids you from picking foo/bar, ../foo, or other paths that do not point at a direct child of the bundle directory. I don't like that direct-child restriction, but I'm not touching it in this commit.

Anyone setting 'rootfs.path' should be aware of this advice,
regardless of whether they're the ones composing the bundle or not.

Use the RFC 2119 "SHOULD" (vs. the old lowercase "should") for this
recommendation.  The SHOULD semantics make sense and using SHOULD
avoids confusing readers ("did they mean to SHOULD this?").

Also drop the "While the name of this directory may be arbitrary"
caveat, because SHOULD already implies "but you can pick another
directory name if you want".

Note that the "MUST be present in a single directory" line which is
still in bundle.md forbids you from picking "foo/bar", "../foo", or
other paths that do not point at a direct child of the bundle
directory.  I don't like that direct-child restriction [1], but I'm
not touching it in this commit.

[1]: opencontainers#469

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

hqhq commented May 20, 2017

LGTM

Approved with PullApprove

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented May 22, 2017

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit fae0d09 into opencontainers:master May 22, 2017
@wking wking deleted the move-rootfs-recommendation-to-config branch May 22, 2017 17:22
@vbatts vbatts mentioned this pull request Jul 5, 2017
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