Merge lp:~frankban/juju-gui/quickstart-instructions into lp:juju-gui/experimental

Proposed by Francesco Banconi
Status: Merged
Merged at revision: 1195
Proposed branch: lp:~frankban/juju-gui/quickstart-instructions
Merge into: lp:juju-gui/experimental
Diff against target: 17 lines (+3/-4)
1 file modified
app/templates/bundle.handlebars (+3/-4)
To merge this branch: bzr merge lp:~frankban/juju-gui/quickstart-instructions
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+195020@code.launchpad.net

Description of the change

Update bundle quickstart instructions,

https://codereview.appspot.com/25950043/

To post a comment you must log in.
Revision history for this message
Francesco Banconi (frankban) wrote :

Reviewers: mp+195020_code.launchpad.net,

Message:
Please take a look.

Description:
Update bundle quickstart instructions,

https://code.launchpad.net/~frankban/juju-gui/quickstart-instructions/+merge/195020

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/25950043/

Affected files (+5, -4 lines):
   A [revision details]
   M app/templates/bundle.handlebars

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision:
<email address hidden>

Index: app/templates/bundle.handlebars
=== modified file 'app/templates/bundle.handlebars'
--- app/templates/bundle.handlebars 2013-11-12 14:28:46 +0000
+++ app/templates/bundle.handlebars 2013-11-13 10:06:38 +0000
@@ -72,10 +72,9 @@
                          <pre>sudo apt-get update</pre>
                          <pre>sudo apt-get install juju-quickstart</pre>
                      </p>
- <p>Step 2 - Download and deploy bundle
- <pre>wget -O bundle.json \</pre>
- <pre> {{deployer_file_url}}</pre>
- <pre>juju quickstart bundle.json</pre></p>
+ <p>Step 2 - Deploy bundle
+ <pre>juju quickstart {{permanent_url}} [-e
&lt;JUJU_ENV&gt;]</pre>
+ </p>
                      <h3>Deploy via the deployer</h3>
                      <p>The Juju deployer is a tool that the quickstart
plugin (above) uses. It can also be used standalone to give you more
control.</p>
                      <p>Step 1 - Install the deployer

Revision history for this message
Gary Poster (gary) wrote :

LGTM given consideration of the comment. Thank you!

https://codereview.appspot.com/25950043/diff/1/app/templates/bundle.handlebars
File app/templates/bundle.handlebars (right):

https://codereview.appspot.com/25950043/diff/1/app/templates/bundle.handlebars#newcode76
app/templates/bundle.handlebars:76: <pre>juju quickstart
{{permanent_url}} [-e &lt;JUJU_ENV&gt;]</pre>
Can the optional -e really come after the positional argument? I would
have guessed that it needs to come before, and that's certainly more
typical.

https://codereview.appspot.com/25950043/

Revision history for this message
Francesco Banconi (frankban) wrote :

*** Submitted:

Update bundle quickstart instructions,

R=gary.poster
CC=
https://codereview.appspot.com/25950043

https://codereview.appspot.com/25950043/

Revision history for this message
Francesco Banconi (frankban) wrote :

On 2013/11/13 13:33:32, gary.poster wrote:

https://codereview.appspot.com/25950043/diff/1/app/templates/bundle.handlebars#newcode76
> app/templates/bundle.handlebars:76: <pre>juju quickstart
{{permanent_url}} [-e
> &lt;JUJU_ENV&gt;]</pre>
> Can the optional -e really come after the positional argument? I
would have
> guessed that it needs to come before, and that's certainly more
typical.

As mentioned on IRC, the -e argument can come before or after,
I put that after just to make copy/paste easier for users which already
have a default env.

Thanks for the review!

https://codereview.appspot.com/25950043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'app/templates/bundle.handlebars'
2--- app/templates/bundle.handlebars 2013-11-12 14:28:46 +0000
3+++ app/templates/bundle.handlebars 2013-11-13 10:11:21 +0000
4@@ -72,10 +72,9 @@
5 <pre>sudo apt-get update</pre>
6 <pre>sudo apt-get install juju-quickstart</pre>
7 </p>
8- <p>Step 2 - Download and deploy bundle
9- <pre>wget -O bundle.json \</pre>
10- <pre> {{deployer_file_url}}</pre>
11- <pre>juju quickstart bundle.json</pre></p>
12+ <p>Step 2 - Deploy bundle
13+ <pre>juju quickstart {{permanent_url}} [-e &lt;JUJU_ENV&gt;]</pre>
14+ </p>
15 <h3>Deploy via the deployer</h3>
16 <p>The Juju deployer is a tool that the quickstart plugin (above) uses. It can also be used standalone to give you more control.</p>
17 <p>Step 1 - Install the deployer

Subscribers

People subscribed via source and target branches