Skip to content

Conversation

@vbatts
Copy link
Member

@vbatts vbatts commented Jan 13, 2016

carrying forward #286 by making the field required

laijs and others added 2 commits December 29, 2015 11:48
After thorough discussion, even though a reasonable default is "/", for
platform independence, leave this up to the bundle author.

Also, by this variable being present it makes things explicit for the
runtime.

Signed-off-by: Vincent Batts <[email protected]>
@crosbymichael
Copy link
Member

LGTM

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented Jan 13, 2016

LGTM

mrunalp pushed a commit that referenced this pull request Jan 13, 2016
@mrunalp mrunalp merged commit d2617a1 into opencontainers:master Jan 13, 2016
@vbatts vbatts deleted the carry-cwd branch January 13, 2016 21:43
@wking
Copy link
Contributor

wking commented Jan 13, 2016

On Wed, Jan 13, 2016 at 01:41:00PM -0800, Vincent Batts wrote:

carrying forward #286 by making the field required

Should this have dropped omitempty from Process.Cwd in config.go?

Re 1, I think “different platforms have different defaults” is a
feature (platforms can try and differentiate themselves by picking
more useful defaults, and spec wording like 2 would ensure “runtimes
don't default to something different”). For an example where we
decided to expose platform defaults (as I think we should do
consistently), see 3.

@wking
Copy link
Contributor

wking commented Jan 13, 2016

On Wed, Jan 13, 2016 at 01:41:00PM -0800, Vincent Batts wrote:

  • config: cwd is a required default

I'm not sure what the plan is for maintaining the ChangeLog 1,
but if it's not “added right before cutting a release” we probably
don't want to wait too long before landing an entry for this
backwards-incompatible change.

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.

5 participants