Merge lp:~marcoceppi/juju-deployer/plugin-support into lp:juju-deployer/darwin

Proposed by Marco Ceppi
Status: Merged
Merged at revision: 113
Proposed branch: lp:~marcoceppi/juju-deployer/plugin-support
Merge into: lp:juju-deployer/darwin
Diff against target: 24 lines (+7/-0)
1 file modified
deployer/cli.py (+7/-0)
To merge this branch: bzr merge lp:~marcoceppi/juju-deployer/plugin-support
Reviewer Review Type Date Requested Status
juju-deployers Pending
Review via email: mp+180377@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

Thanks, lgtm

On Thu, Aug 15, 2013 at 12:18 PM, Marco Ceppi <email address hidden> wrote:

> Marco Ceppi has proposed merging
> lp:~marcoceppi/juju-deployer/plugin-support into lp:juju-deployer/darwin.
>
> Requested reviews:
> juju-deployers (juju-deployers)
> Related bugs:
> Bug #1212740 in juju-deployer: "no --description option produces poor UX
> with juju-core plugins"
> https://bugs.launchpad.net/juju-deployer/+bug/1212740
>
> For more details, see:
>
> https://code.launchpad.net/~marcoceppi/juju-deployer/plugin-support/+merge/180377
> --
>
> https://code.launchpad.net/~marcoceppi/juju-deployer/plugin-support/+merge/180377
> Your team juju-deployers is requested to review the proposed merge of
> lp:~marcoceppi/juju-deployer/plugin-support into lp:juju-deployer/darwin.
>
> === modified file 'deployer/cli.py'
> --- deployer/cli.py 2013-07-30 23:39:51 +0000
> +++ deployer/cli.py 2013-08-15 16:17:49 +0000
> @@ -101,6 +101,8 @@
> help=('Number of seconds to wait before checking for '
> 'relation errors after all relations have been added '
> 'and subordinates started. (default: 60)'))
> + parser.add_argument("--description", help=argparse.SUPPRESS,
> + action="store_true")
> parser.add_argument("deployment", nargs="?")
> return parser
>
> @@ -119,6 +121,11 @@
> parser = setup_parser()
> options = parser.parse_args()
>
> + if options.description:
> + print "tool for setting up complex and offline juju deployments "
> + \
> + "across any provider"
> + sys.exit(0)
> +
> # Debug implies watching and verbose
> if options.debug:
> options.watch = options.verbose = True
>
>
>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'deployer/cli.py'
2--- deployer/cli.py 2013-07-30 23:39:51 +0000
3+++ deployer/cli.py 2013-08-15 16:17:49 +0000
4@@ -101,6 +101,8 @@
5 help=('Number of seconds to wait before checking for '
6 'relation errors after all relations have been added '
7 'and subordinates started. (default: 60)'))
8+ parser.add_argument("--description", help=argparse.SUPPRESS,
9+ action="store_true")
10 parser.add_argument("deployment", nargs="?")
11 return parser
12
13@@ -119,6 +121,11 @@
14 parser = setup_parser()
15 options = parser.parse_args()
16
17+ if options.description:
18+ print "tool for setting up complex and offline juju deployments " + \
19+ "across any provider"
20+ sys.exit(0)
21+
22 # Debug implies watching and verbose
23 if options.debug:
24 options.watch = options.verbose = True

Subscribers

People subscribed via source and target branches

to all changes: