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

Issue 132770043: Set juju binary with JUJU env var

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by jrwren
Modified:
9 years, 8 months ago
Reviewers:
bac, mp+227238, frankban
Visibility:
Public.

Description

Set juju binary with JUJU env var Print a warning if a customized juju is being used. Do not continue if juju must be executed using sudo. /usr/bin/juju was hard-coded. Made interoperability testing with pre-release versions of juju difficult. This allows override with JUJU environment var. https://code.launchpad.net/~evarlast/juju-quickstart/which-juju/+merge/227238 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 8

Patch Set 2 : - #

Patch Set 3 #

Patch Set 4 #

Total comments: 10

Patch Set 5 #

Total comments: 6

Patch Set 6 : - #

Total comments: 1

Patch Set 7 : - #

Patch Set 8 : Set juju binary with JUJU env var #

Patch Set 9 : Set juju binary with JUJU env var #

Patch Set 10 : Set juju binary with JUJU env var #

Patch Set 11 : Set juju binary with JUJU env var #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -15 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M quickstart/app.py View 1 chunk +18 lines, -0 lines 0 comments Download
M quickstart/manage.py View 1 chunk +5 lines, -4 lines 0 comments Download
M quickstart/platform_support.py View 2 chunks +18 lines, -3 lines 0 comments Download
M quickstart/tests/test_app.py View 1 chunk +29 lines, -0 lines 0 comments Download
M quickstart/tests/test_manage.py View 5 chunks +25 lines, -4 lines 0 comments Download
M quickstart/tests/test_platform_support.py View 1 chunk +15 lines, -0 lines 0 comments Download
M quickstart/tests/test_utils.py View 1 chunk +8 lines, -2 lines 0 comments Download
M quickstart/utils.py View 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 15
jrwren
Please take a look.
9 years, 8 months ago (2014-08-21 15:24:40 UTC) #1
frankban
Thanks for this branch Jay. Please take a look at my concerns below: if I ...
9 years, 8 months ago (2014-08-21 16:06:06 UTC) #2
jrwren
On 2014/08/21 16:06:06, frankban wrote: > Thanks for this branch Jay. > Please take a ...
9 years, 8 months ago (2014-08-21 17:33:59 UTC) #3
jrwren
Please take a look.
9 years, 8 months ago (2014-08-21 17:34:04 UTC) #4
jrwren
Please take a look.
9 years, 8 months ago (2014-08-21 18:25:39 UTC) #5
frankban
On 2014/08/21 17:33:59, jrwren wrote: > I agree with all of the issues you have ...
9 years, 8 months ago (2014-08-22 09:48:13 UTC) #6
jrwren
Please take a look.
9 years, 8 months ago (2014-08-22 16:47:19 UTC) #7
frankban
Very nice branch Jay. I have some other minor suggestions, and I am well over ...
9 years, 8 months ago (2014-08-22 17:37:45 UTC) #8
jrwren
Please take a look.
9 years, 8 months ago (2014-08-22 18:44:50 UTC) #9
frankban
LGTM with a couple of minor changes. QA ok. Thank you! https://codereview.appspot.com/132770043/diff/80001/quickstart/platform_support.py File quickstart/platform_support.py (right): ...
9 years, 8 months ago (2014-08-25 14:37:39 UTC) #10
jrwren
Please take a look. https://codereview.appspot.com/132770043/diff/80001/quickstart/tests/test_platform_support.py File quickstart/tests/test_platform_support.py (right): https://codereview.appspot.com/132770043/diff/80001/quickstart/tests/test_platform_support.py#newcode170 quickstart/tests/test_platform_support.py:170: class TestGetJujuCommand(unittest.TestCase): On 2014/08/25 14:37:39, ...
9 years, 8 months ago (2014-08-25 14:46:40 UTC) #11
bac
The branch LGTM Jay. Thanks for getting it done and working with Francesco to improve ...
9 years, 8 months ago (2014-08-25 15:36:49 UTC) #12
jrwren
Please take a look.
9 years, 8 months ago (2014-08-25 16:18:33 UTC) #13
jrwren
Please take a look.
9 years, 8 months ago (2014-08-25 16:58:41 UTC) #14
jrwren
9 years, 8 months ago (2014-08-25 17:00:22 UTC) #15
*** Submitted:

Set juju binary with JUJU env var

Print a warning if a customized juju is being used.

Do not continue if juju must be executed using sudo.

/usr/bin/juju was hard-coded.  Made interoperability testing with
  pre-release versions of juju difficult. This allows override with JUJU
  environment var.

R=frankban, bac
CC=
https://codereview.appspot.com/132770043
Sign in to reply to this message.

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