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

Issue 83700043: Provide hidden options for proof server.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by bac
Modified:
10 years, 1 month ago
Reviewers:
Marco Ceppi, mp+213926
Visibility:
Public.

Description

Provide hidden options for proof server. When doing QA for charmworld bundle proof changes to ensure they work with charm-proof, it is troublesome to get charm-proof pointed at a local charmworld instance or the one at staging.jujucharms.com. This branch adds three new command-line option: --server, --port, and --secure. A typical use is: % charm-proof -b --server=localhost --port=2464 -b . or % charm-proof -b --server=staging.jujucharms.com -b . Note that 'help=argparse.SUPPRESS' has been used so that 'charm-proof -h' does not show these options to the regular user. I think suppressing their existence strikes the right balance between having options that only serve developers while preserving the clean CLI for the average user. https://code.launchpad.net/~bac/charm-tools/cmd-line-server/+merge/213926 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : Provide hidden options for proof server. #

Patch Set 3 : Provide hidden options for proof server. #

Patch Set 4 : Provide hidden options for proof server. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -10 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M charmtools/bundles.py View 2 chunks +11 lines, -4 lines 0 comments Download
M charmtools/proof.py View 4 chunks +13 lines, -6 lines 0 comments Download
M requirements.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4
bac
Please take a look.
10 years, 1 month ago (2014-04-02 21:03:06 UTC) #1
Marco Ceppi
Thanks a lot for these fixes, they add additional flexibility to the proof command! I ...
10 years, 1 month ago (2014-04-08 00:26:26 UTC) #2
bac
Thanks for the review Marco. I think getting this merged will be a win for ...
10 years, 1 month ago (2014-04-08 14:31:32 UTC) #3
bac
10 years, 1 month ago (2014-04-08 21:26:44 UTC) #4
*** Submitted:

Provide hidden options for proof server.

When doing QA for charmworld bundle proof changes to ensure they work with
charm-proof, it is troublesome to get charm-proof pointed at a local
charmworld instance or the one at staging.jujucharms.com.

This branch adds three new command-line option: --server, --port, and
--secure.

A typical use is:

% charm-proof -b --server=localhost --port=2464 -b .

or

% charm-proof -b --server=staging.jujucharms.com -b .

Note that 'help=argparse.SUPPRESS' has been used so that 'charm-proof -h' does
not show these options to the regular user.  I think suppressing their
existence strikes the right balance between having options that only serve
developers while preserving the clean CLI for the average user.

R=Marco Ceppi
CC=
https://codereview.appspot.com/83700043
Sign in to reply to this message.

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