Commit graph

9985 commits

Author SHA1 Message Date
Jakub Warmuz
3f08932479
Merge remote-tracking branch 'github/letsencrypt/master' into mock-2.6 2015-10-04 08:41:01 +00:00
Jakub Warmuz
4925e0b811
Update MANIFEST.in for compatibility-test 2015-10-04 07:47:14 +00:00
Jakub Warmuz
08afe48019
Add API docs for letsencrypt_compatibility_test 2015-10-04 06:37:35 +00:00
Jakub Warmuz
b89bd4b5de
Add API docs for letshelp_letsencrypt 2015-10-04 06:25:02 +00:00
Brandon Kreisel
a4d0188d21 Add Mac compatibility to integration tests 2015-10-03 12:50:18 -04:00
Brandon Kreisel
8409c9c658 Meddle with more documentation and learn how to bash flag 2015-10-03 11:27:39 -04:00
Peter Eckersley
5b26ac14d2 Merge branch 'master' of ssh://github.com/letsencrypt/letsencrypt 2015-10-03 01:33:00 -07:00
Brandon Kreisel
0868a5962f Add documentation for OS X bootstrap script 2015-10-02 22:37:22 -04:00
Brandon Kreisel
895faa7dc9 Add OS X bootstrap for integration enviornment
Installs requirements and sets up environment to run boulder and
integration tests
2015-10-02 22:36:56 -04:00
Peter Eckersley
74b2e3bc51 Merge pull request #868 from letsencrypt/sysexit_error
ErrorHandler should ignore sys.exit
2015-10-02 00:59:24 -07:00
Brad Warren
8e45ecd975 Merge branch 'master' into sysexit_error 2015-10-01 15:40:08 -07:00
Brad Warren
d7a16ecfcb Added tests and documentation 2015-10-01 15:39:55 -07:00
bmw
ec09bd4be5 Merge pull request #874 from letsencrypt/nginx_readme
Updated README to reflect state of Nginx plugin
2015-10-01 15:28:15 -07:00
bmw
09d6e7e13c Merge pull request #876 from letsencrypt/fix_indentation
Fixed indentation in storage.py
2015-10-01 15:28:05 -07:00
James Kasten
1808b6fb94 Merge pull request #870 from letsencrypt/apache_no_install
Report Apache correctly when uninstalled
2015-10-01 16:41:03 -04:00
Brad Warren
59348ad30c Made methods private and updated tests 2015-10-01 13:33:22 -07:00
Peter Eckersley
ecd0087df5 Merge branch 'master' of ssh://github.com/letsencrypt/letsencrypt 2015-10-01 13:08:42 -07:00
Peter Eckersley
7b63f99749 Merge pull request #871 from letsencrypt/license
Make sure the LICENSE file is accurate for first pre-relase
2015-10-01 13:04:59 -07:00
Brad Warren
c976c0abdf Removed duplicated code 2015-10-01 13:03:23 -07:00
Brad Warren
6bde83c983 Fixed indentation in storage.py 2015-10-01 11:53:11 -07:00
Brad Warren
268368b3e9 Updated README to reflect state of Nginx plugin 2015-10-01 10:12:38 -07:00
Peter Eckersley
8041b35f99 Make sure the LICENSE file is accurate for first pre-relase
- In general copyrights remain with their respective authors or authors'
   organizations, but with license granted by clause 5 of the Apache License.
 - Presently the plurality of the copyright in the client is held by EFF as a result of
   work-for-hire by jdkasten, bmw, schoen, pde, rolandshoemaker and jsha;
   or by Jakub Warmuz or his employer, Google.
2015-09-30 19:23:17 -07:00
Peter Eckersley
7a7971ff8d Make sure the LICENSE file is accurate for first pre-relase
- In general copyrights remain with their respective authors or authors'
   organizations, but with license granted by clause 5 of the Apache License.
 - Presently the plurality of the copyright in the client is held by EFF as a result of
   work-for-hire by jdkasten, jdkasten, bmw, schoen, pde, rolandshoemaker and jsha;
   or by Jakub Warmuz or his employer, Google.
2015-09-30 19:06:16 -07:00
Brad Warren
9cf2ea8a57 Report Apache correctly when uninstalled 2015-09-30 17:16:27 -07:00
Peter Eckersley
393f4b4997 Merge pull request #863 from letsencrypt/subargs
Improve CLI flag and help processing
2015-09-30 17:05:06 -07:00
bmw
078b8c01f6 Merge pull request #869 from letsencrypt/broken-nginx
Mark Nginx as non-working.
2015-09-30 17:00:49 -07:00
Peter Eckersley
43cb36807a Also test top level help 2015-09-30 17:00:09 -07:00
Peter Eckersley
11ca1108c2 Test cases for command line help 2015-09-30 16:53:08 -07:00
Jacob Hoffman-Andrews
95c4b55da0 Mark Nginx as non-working. 2015-09-30 16:49:03 -07:00
Peter Eckersley
2406fc0486 Go back to VERBS as a list
The dictionary was destroying the ordering, which was important.
2015-09-30 16:07:16 -07:00
Peter Eckersley
5ca1a27200 Keep the acme/ subtree compatible with strict pylinting 2015-09-30 15:31:32 -07:00
Peter Eckersley
d85f42d71f Plugins don't need to be in HELP_TOPICS
They're already added as topics automatically, though they do need to be in
the hand-written top level help.
2015-09-30 15:29:29 -07:00
Brad Warren
bb167743f3 Don't call_registered() on SystemExit 2015-09-30 13:00:10 -07:00
Peter Eckersley
2d578468bd Use a verb -> function table instead of eval()
- plugins_cmd() not plugins() broke the more minimalist eval() approach
 - more wrangling was required to mock out calls via the VERBS table
2015-09-30 12:32:44 -07:00
Peter Eckersley
2a3a111d62 Disable pylint invalid-name
It's clearly making our code harder to read and write
2015-09-30 12:10:16 -07:00
Peter Eckersley
1e3c92c714 Cleanup the verb -> subparser mapping 2015-09-30 11:49:46 -07:00
Peter Eckersley
627fca37b4 We didn't actually need to define --help as a verb 2015-09-29 18:55:59 -07:00
Peter Eckersley
18dacc528d Preserve all argparse parameters
Try to restore all variants that applied to the different subcomannds
2015-09-29 18:55:59 -07:00
Peter Eckersley
6b6bc03882 --cert-path was required for install and revoke
Oops
2015-09-29 17:14:40 -07:00
Peter Eckersley
2297349b95 lintian 2015-09-29 16:56:36 -07:00
Peter Eckersley
4437ec5586 Merge remote-tracking branch 'origin/master' into subargs 2015-09-29 14:49:32 -07:00
Peter Eckersley
05d439a339 Update cli tests
We don't expect to error out if called with no args
2015-09-29 14:48:40 -07:00
Peter Eckersley
a0af023b14 --key-path is mandatory for install, optional for revoke 2015-09-29 14:48:26 -07:00
Peter Eckersley
2e0fd36c28 Improve flag and help processing
* letsencrypt --help $SUBCOMMAND now works.
   Fixes #787 #819
 * subcommand arguments are now actually argument groups, so that all flags
   can be placed before or after subcommand verbs as the user wishes
   Fixes: #820

A limitation:

 * args like --cert-path were previously present for multiple verbs
   (auth/install/revoke) with separate docs; they are now in the "paths"
   topic.  That's fine, though it would be good to *also* list them when the
   user types letsencrypt --help install.
2015-09-29 21:01:02 +00:00
bmw
ce520ca532 Merge pull request #859 from letsencrypt/report_success
Report cert issuance to the user
2015-09-29 13:02:00 -07:00
Brad Warren
312057b1b8 changes += kuba_feedback 2015-09-29 12:54:52 -07:00
bmw
23e766a4d3 Merge pull request #861 from letsencrypt/nginx_alpha
Mark Nginx as Alpha
2015-09-29 11:12:19 -07:00
Brad Warren
dcd274ed93 Marked Nginx as Alpha 2015-09-29 11:06:02 -07:00
bmw
74d96f9d92 Merge pull request #860 from kuba/bugs/855
UnrecognizedChallenge (fixes #855).
2015-09-29 08:52:15 -07:00
Jakub Warmuz
0ffef20a20
UnrecognizedChallenge: fix tests and lint. 2015-09-29 07:02:33 +00:00