Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1369)

Issue 6312044: container: new package

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by rog
Modified:
11 years, 10 months ago
Reviewers:
mp+110824
Visibility:
Public.

Description

container: new package https://code.launchpad.net/~rogpeppe/juju-core/container-package2/+merge/110824 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : container: new package #

Patch Set 3 : container: new package #

Total comments: 3

Patch Set 4 : container: new package #

Patch Set 5 : container: new package #

Patch Set 6 : container: new package #

Total comments: 2

Patch Set 7 : container: new package #

Patch Set 8 : container: new package #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -6 lines) Patch
A [revision details] View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A container/container.go View 1 2 3 4 5 6 1 chunk +82 lines, -0 lines 0 comments Download
A container/container_test.go View 1 2 3 4 5 1 chunk +89 lines, -0 lines 0 comments Download
A container/export_test.go View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M upstart/upstart.go View 1 3 chunks +15 lines, -2 lines 0 comments Download
M upstart/upstart_test.go View 1 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
11 years, 10 months ago (2012-06-18 16:42:43 UTC) #1
niemeyer
A couple of ideas. https://codereview.appspot.com/6312044/diff/5001/container/container.go File container/container.go (right): https://codereview.appspot.com/6312044/diff/5001/container/container.go#newcode33 container/container.go:33: func Simple(unit *state.Unit) Container { ...
11 years, 10 months ago (2012-06-19 14:39:58 UTC) #2
rog
Please take a look. https://codereview.appspot.com/6312044/diff/5001/container/container.go File container/container.go (right): https://codereview.appspot.com/6312044/diff/5001/container/container.go#newcode33 container/container.go:33: func Simple(unit *state.Unit) Container { ...
11 years, 10 months ago (2012-06-19 15:56:35 UTC) #3
rog
Please take a look.
11 years, 10 months ago (2012-06-19 16:03:07 UTC) #4
niemeyer
LGTM assuming a safer mode: https://codereview.appspot.com/6312044/diff/11001/container/container.go File container/container.go (right): https://codereview.appspot.com/6312044/diff/11001/container/container.go#newcode65 container/container.go:65: if err := os.MkdirAll(dir, ...
11 years, 10 months ago (2012-06-19 17:21:39 UTC) #5
rog
11 years, 10 months ago (2012-06-20 13:13:36 UTC) #6
*** Submitted:

container: new package

R=niemeyer
CC=
https://codereview.appspot.com/6312044

https://codereview.appspot.com/6312044/diff/11001/container/container.go
File container/container.go (right):

https://codereview.appspot.com/6312044/diff/11001/container/container.go#newc...
container/container.go:65: if err := os.MkdirAll(dir, 0777); err != nil {
On 2012/06/19 17:21:39, niemeyer wrote:
> 0755 is a better default. There's really no reason why we'd want to give
writing
> access to everybody.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b