|
environs: remove VarDir global
This makes it much easier to make the environs functions
work on hypothetical remote machines, for example.
Also rename VarDir to DataDir throughout.
https://code.launchpad.net/~rogpeppe/juju-core/055-no-global-vardir/+merge/123316
(do not edit description out of merge proposal)
Total comments: 19
Total comments: 2
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+275 lines, -274 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/cmd_test.go
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/agent.go
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine.go
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/machine_test.go
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/provisioning_test.go
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cmd/jujud/unit.go
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cmd/jujud/unit_test.go
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/upgrade.go
|
View
|
1
2
3
4
5
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/upgrade_test.go
|
View
|
1
2
3
4
|
7 chunks |
+8 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/util_test.go
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
container/container.go
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+31 lines, -39 lines |
0 comments
|
Download
|
 |
M |
container/container_test.go
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
 |
D |
container/export_test.go
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
environs/cloudinit/cloudinit.go
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+20 lines, -5 lines |
0 comments
|
Download
|
 |
M |
environs/cloudinit/cloudinit_test.go
|
View
|
1
2
3
4
5
|
6 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
environs/ec2/ec2.go
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
environs/tools.go
|
View
|
1
2
3
4
|
7 chunks |
+26 lines, -29 lines |
0 comments
|
Download
|
 |
M |
environs/tools_test.go
|
View
|
1
2
3
4
|
11 chunks |
+35 lines, -38 lines |
0 comments
|
Download
|
 |
M |
juju/testing/conn.go
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
A |
worker/machiner/export_test.go
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
worker/machiner/machiner.go
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
worker/machiner/machiner_test.go
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
worker/uniter/tools.go
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
worker/uniter/tools_test.go
|
View
|
1
2
3
4
|
5 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
 |
M |
worker/uniter/uniter.go
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
worker/uniter/uniter_test.go
|
View
|
1
2
3
4
5
|
8 chunks |
+20 lines, -20 lines |
0 comments
|
Download
|
Total messages: 18
|