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

Issue 13079045: Minor fix for Windows

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by natefinch
Modified:
10 years, 7 months ago
Reviewers:
mue, mp+181916, jameinel
Visibility:
Public.

Description

Minor fix for Windows Our code uses the environment variable $HOME everywhere, but on windows the same logical environment variable is actually HOMEPATH. So, a quick patch at the beginning of the juju client makes $HOME work as expected. https://code.launchpad.net/~natefinch/juju-core/008-windows/+merge/181916 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Minor fix for Windows #

Total comments: 4

Patch Set 3 : Minor fix for Windows #

Total comments: 2

Patch Set 4 : Minor fix for Windows #

Total comments: 1

Patch Set 5 : Minor fix for Windows #

Patch Set 6 : Minor fix for Windows #

Patch Set 7 : Minor fix for Windows #

Patch Set 8 : Minor fix for Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1325 lines, -56 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M environs/config/authkeys.go View 1 2 chunks +6 lines, -3 lines 0 comments Download
M juju/conn.go View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M juju/conn_test.go View 1 4 chunks +5 lines, -4 lines 0 comments Download
M juju/osenv/package_test.go View 1 1 chunk +12 lines, -0 lines 0 comments Download
M juju/osenv/vars.go View 1 2 3 2 chunks +37 lines, -0 lines 0 comments Download
A juju/osenv/vars_linux.go View 1 1 chunk +18 lines, -0 lines 0 comments Download
A juju/osenv/vars_linux_test.go View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
D juju/osenv/vars_test.go View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
D juju/osenv/vars_test.go View 1 4 5 6 7 1 chunk +0 lines, -20 lines 0 comments Download
A juju/osenv/vars_windows.go View 1 1 chunk +26 lines, -0 lines 0 comments Download
A juju/osenv/vars_windows_test.go View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M juju/testing/conn.go View 1 3 chunks +4 lines, -3 lines 0 comments Download
M provider/ec2/config_test.go View 1 3 chunks +4 lines, -3 lines 0 comments Download
M provider/local/config_test.go View 1 3 chunks +3 lines, -2 lines 0 comments Download
M provider/local/environ.go View 1 1 chunk +1 line, -1 line 0 comments Download
A scripts/win-installer/LICENCE.txt View 1 1 chunk +661 lines, -0 lines 0 comments Download
A scripts/win-installer/README.txt View 1 1 chunk +133 lines, -0 lines 0 comments Download
A scripts/win-installer/juju.ico View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A scripts/win-installer/juju-55.bmp View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A scripts/win-installer/juju-wizard-side.bmp View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A scripts/win-installer/modpath.iss View 1 1 chunk +219 lines, -0 lines 0 comments Download
A scripts/win-installer/setup.iss View 1 1 chunk +63 lines, -0 lines 0 comments Download
M testing/environ.go View 1 4 chunks +5 lines, -4 lines 0 comments Download
M testing/environ_test.go View 1 3 chunks +7 lines, -6 lines 0 comments Download
M utils/file.go View 1 1 chunk +3 lines, -2 lines 0 comments Download
M utils/file_test.go View 1 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 14
natefinch
Please take a look.
10 years, 8 months ago (2013-08-23 20:10:03 UTC) #1
jameinel
Main doesn't seem like quite the right place for this. We should be fairly centralized ...
10 years, 8 months ago (2013-08-25 10:01:24 UTC) #2
jameinel
I should mention, *I* didn't notice this because all of my Windows shells have $HOME ...
10 years, 8 months ago (2013-08-25 10:03:32 UTC) #3
natefinch
Please take a look.
10 years, 8 months ago (2013-08-30 19:44:03 UTC) #4
jameinel
I'm a bit surprised to see the timeout change and the full windows installer end ...
10 years, 8 months ago (2013-08-30 20:09:45 UTC) #5
natefinch
On 2013/08/30 20:09:45, jameinel wrote: > I'm a bit surprised to see the timeout change ...
10 years, 8 months ago (2013-08-30 20:24:47 UTC) #6
natefinch
Please take a look.
10 years, 8 months ago (2013-08-30 20:27:54 UTC) #7
jameinel
I have some comments about where I'd like to see things, but you can probably ...
10 years, 7 months ago (2013-09-03 12:24:13 UTC) #8
natefinch
Please take a look.
10 years, 7 months ago (2013-09-03 20:01:06 UTC) #9
jameinel
LGTM, though I think you removed the import check accidentally. https://codereview.appspot.com/13079045/diff/20001/juju/osenv/vars_test.go File juju/osenv/vars_test.go (right): https://codereview.appspot.com/13079045/diff/20001/juju/osenv/vars_test.go#newcode22 ...
10 years, 7 months ago (2013-09-04 04:22:37 UTC) #10
natefinch
Please take a look.
10 years, 7 months ago (2013-09-04 14:35:47 UTC) #11
natefinch
On 2013/09/04 04:22:37, jameinel wrote: > LGTM, though I think you removed the import check ...
10 years, 7 months ago (2013-09-04 14:43:08 UTC) #12
jameinel
If I LGTM a patch with some minor comments, and you feel like you've satisfied ...
10 years, 7 months ago (2013-09-04 16:15:45 UTC) #13
mue
10 years, 7 months ago (2013-09-06 09:58:43 UTC) #14
LGTM
Sign in to reply to this message.

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