Merge lp:~frankban/juju-quickstart/minor-typos into lp:juju-quickstart

Proposed by Francesco Banconi
Status: Merged
Merged at revision: 93
Proposed branch: lp:~frankban/juju-quickstart/minor-typos
Merge into: lp:juju-quickstart
Diff against target: 64 lines (+13/-15)
3 files modified
quickstart/app.py (+2/-4)
quickstart/manage.py (+4/-4)
quickstart/models/envs.py (+7/-7)
To merge this branch: bzr merge lp:~frankban/juju-quickstart/minor-typos
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+231771@code.launchpad.net

Description of the change

Minor fixes in preparation for release.

https://codereview.appspot.com/125640043/

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

Reviewers: mp+231771_code.launchpad.net,

Message:
Please take a look.

Description:
Minor fixes in preparation for release.

https://code.launchpad.net/~frankban/juju-quickstart/minor-typos/+merge/231771

(do not edit description out of merge proposal)

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

Affected files (+15, -15 lines):
   A [revision details]
   M quickstart/app.py
   M quickstart/manage.py
   M quickstart/models/envs.py

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: quickstart/app.py
=== modified file 'quickstart/app.py'
--- quickstart/app.py 2014-08-01 15:35:56 +0000
+++ quickstart/app.py 2014-08-21 16:24:05 +0000
@@ -192,11 +192,9 @@
      if upload_tools:
          cmd.append('--upload-tools')
      if upload_series is not None:
- cmd.append('--upload-series')
- cmd.append(upload_series)
+ cmd.extend(['--upload-series', upload_series])
      if constraints is not None:
- cmd.append('--constraints')
- cmd.append(constraints)
+ cmd.extend(['--constraints', constraints])
      retcode, _, error = utils.call(*cmd)
      if retcode:
          # XXX frankban 2013-11-13 bug 1252322: the check below is weak. We
are

Index: quickstart/manage.py
=== modified file 'quickstart/manage.py'
--- quickstart/manage.py 2014-08-21 13:36:32 +0000
+++ quickstart/manage.py 2014-08-21 16:23:26 +0000
@@ -463,11 +463,11 @@
          help='upload tools for supplied comma-separated series list')
      parser.add_argument(
          '--constraints',
- help='If constraints are specified in the bootstrap command,\n'
- 'they will apply to the machine provisioned for the juju
state\n'
- 'server. They will also be set as default constraints on
the\n'
+ help='If constraints are specified, they will apply to the
machine\n'
+ 'provisioned for the Juju state server. \n'
+ 'They will also be set as default constraints on the\n'
               'environment for all future machines, exactly as if the\n'
- 'constraints were set with juju set-constraints.\n')
+ 'constraints were set with "juju set-constraints".\n')
      # Parse the provided arguments.
      options = parser.parse_args()

Index: quickstart/models/envs.py
=== modified file 'quickstart/models/envs.py'
--- quickstart/models/envs.py 2014-08-21 13:40:09 +0000
+++ quickstart/models/envs.py 2014-08-21 16:23:26 +0000
@@ -685,15 +685,15 @@
                  default='lxcbr0', help='the LXC bridge interface to use'),
              fields.BoolField(
                  'lxc-clone', label='use lxc-clone', required=False,
- help='use lxc-clone to create the containers '
- 'used as machines. LXC clone is enabled by default for
Trusty '
- 'and above, and disabled for earlier Ubuntu releases.'),
+ help='Us...

Read more...

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

Self review trivial + urgent.

https://codereview.appspot.com/125640043/

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

*** Submitted:

Minor fixes in preparation for release.

R=
CC=
https://codereview.appspot.com/125640043

https://codereview.appspot.com/125640043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'quickstart/app.py'
2--- quickstart/app.py 2014-08-01 15:35:56 +0000
3+++ quickstart/app.py 2014-08-21 16:26:17 +0000
4@@ -192,11 +192,9 @@
5 if upload_tools:
6 cmd.append('--upload-tools')
7 if upload_series is not None:
8- cmd.append('--upload-series')
9- cmd.append(upload_series)
10+ cmd.extend(['--upload-series', upload_series])
11 if constraints is not None:
12- cmd.append('--constraints')
13- cmd.append(constraints)
14+ cmd.extend(['--constraints', constraints])
15 retcode, _, error = utils.call(*cmd)
16 if retcode:
17 # XXX frankban 2013-11-13 bug 1252322: the check below is weak. We are
18
19=== modified file 'quickstart/manage.py'
20--- quickstart/manage.py 2014-08-21 13:36:32 +0000
21+++ quickstart/manage.py 2014-08-21 16:26:17 +0000
22@@ -463,11 +463,11 @@
23 help='upload tools for supplied comma-separated series list')
24 parser.add_argument(
25 '--constraints',
26- help='If constraints are specified in the bootstrap command,\n'
27- 'they will apply to the machine provisioned for the juju state\n'
28- 'server. They will also be set as default constraints on the\n'
29+ help='If constraints are specified, they will apply to the machine\n'
30+ 'provisioned for the Juju state server. \n'
31+ 'They will also be set as default constraints on the\n'
32 'environment for all future machines, exactly as if the\n'
33- 'constraints were set with juju set-constraints.\n')
34+ 'constraints were set with "juju set-constraints".\n')
35 # Parse the provided arguments.
36 options = parser.parse_args()
37
38
39=== modified file 'quickstart/models/envs.py'
40--- quickstart/models/envs.py 2014-08-21 13:40:09 +0000
41+++ quickstart/models/envs.py 2014-08-21 16:26:17 +0000
42@@ -685,15 +685,15 @@
43 default='lxcbr0', help='the LXC bridge interface to use'),
44 fields.BoolField(
45 'lxc-clone', label='use lxc-clone', required=False,
46- help='use lxc-clone to create the containers '
47- 'used as machines. LXC clone is enabled by default for Trusty '
48- 'and above, and disabled for earlier Ubuntu releases.'),
49+ help='Use lxc-clone to create the containers used as '
50+ 'machines. LXC clone is enabled by default for Trusty '
51+ 'and above, and disabled for earlier Ubuntu releases.'),
52 fields.BoolField(
53 'lxc-clone-aufs', label='use lxc-clone-aufs', required=False,
54- help='use aufs as a backing-store for the '
55- 'LXC clones, but there are some situations where aufs '
56- "doesn't entirely behave as intuitively as one might "
57- 'expect. If not specified, aufs is not used.'),
58+ help='Use aufs as a backing-store for the LXC clones. Note '
59+ "that there are some situations where aufs doesn't "
60+ 'entirely behave as intuitively as one might expect. '
61+ 'If not specified, aufs is not used.'),
62 is_default_field,
63 ),
64 }

Subscribers

People subscribed via source and target branches