Commit graph

9985 commits

Author SHA1 Message Date
Seth Schoen
6f4212dcf1 Fix trivial documentation typo 2015-05-16 23:52:33 -07:00
Seth Schoen
52fefad693 Basic functionality of run/auth CLI verbs 2015-05-16 23:51:58 -07:00
Seth Schoen
0f64082f1d Document newly-added functions and methods 2015-05-16 21:27:06 -07:00
Seth Schoen
dd18040e47 Use getattr() instead of .__getattribute__() 2015-05-15 15:55:11 -07:00
Jakub Warmuz
74d6d4e0b3
Fix typo in examples 2015-05-15 19:53:41 +00:00
Jakub Warmuz
a941cf61b7
Merge remote-tracking branch 'github/letsencrypt/master' into test-dirs-chmods
Conflicts:
	letsencrypt_nginx/dvsni.py
2015-05-15 19:44:07 +00:00
Seth Schoen
6db7cb5210 Merge remote-tracking branch 'origin/master' into renewer 2015-05-15 12:10:14 -07:00
Jakub Warmuz
834691278e
Fix repr for PluginsRegistry (unhashable PluginEntryPoint).
(venv)root@le:~/lets-encrypt-preview# letsencrypt -vv auth
DEBUG:root:Logging level set at 10
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 471, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
msg = msg % self.args
File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 219, in __repr__
self.__class__.__name__, set(self._plugins.itervalues()))
TypeError: unhashable type: 'PluginEntryPoint'
Logged from file cli.py, line 356
Traceback (most recent call last):
File "/root/lets-encrypt-preview/venv/bin/letsencrypt", line 9, in <module>
load_entry_point('letsencrypt==0.1', 'console_scripts', 'letsencrypt')()
File "/root/lets-encrypt-preview/letsencrypt/cli.py", line 356, in main
logging.debug("Discovered plugins: %r", plugins)
File "/usr/lib/python2.7/logging/__init__.py", line 1630, in debug
root.debug(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1148, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1279, in _log
self.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1289, in handle
self.callHandlers(record)
File "/usr/lib/python2.7/logging/__init__.py", line 1329, in callHandlers
hdlr.handle(record)
File "/usr/lib/python2.7/logging/__init__.py", line 757, in handle
self.emit(record)
File "/root/lets-encrypt-preview/letsencrypt/log.py", line 40, in emit
for line in record.getMessage().splitlines():
File "/usr/lib/python2.7/logging/__init__.py", line 335, in getMessage
msg = msg % self.args
File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 219, in __repr__
self.__class__.__name__, set(self._plugins.itervalues()))
TypeError: unhashable type: 'PluginEntryPoint'
2015-05-15 15:00:53 +00:00
James Kasten
e166c4159e Merge pull request #416 from kuba/tests
Small tests improvements
2015-05-14 22:26:10 -07:00
Seth Schoen
4a100490a1 Readability improvements for storage.py 2015-05-14 17:36:30 -07:00
Seth Schoen
9a144b46bc Remove TODO referring to obsolete .config feature 2015-05-14 17:03:20 -07:00
Seth Schoen
64d4e6249c Fix some PEP8 issues 2015-05-14 17:01:04 -07:00
Seth Schoen
2201e7944d Unit tests for le_util.unique_lineage_name() 2015-05-14 16:47:41 -07:00
Seth Schoen
ca4bece393 Attempt to fix #378 2015-05-14 15:36:51 -07:00
Seth Schoen
018201170c Fix indentation 2015-05-14 15:06:22 -07:00
Seth Schoen
183b49fbc2 Consolidate and shorten some renewer tests 2015-05-14 14:59:24 -07:00
Jakub Warmuz
0bc5791a55
More tests for cli.py 2015-05-14 21:44:36 +00:00
Seth Schoen
c951429895 Separate stdlib imports from third-party 2015-05-14 14:36:43 -07:00
Seth Schoen
866d236249 Style cleanups in renewer test 2015-05-14 14:26:01 -07:00
Jakub Warmuz
82bd808ab3
100% coverage for network2_test 2015-05-14 21:16:38 +00:00
Jakub Warmuz
484fd8fe9e
Fix randomly created mock_dir 2015-05-14 21:13:12 +00:00
Jakub Warmuz
a2767d30a1
Remove dead code 2015-05-14 21:12:58 +00:00
Seth Schoen
87592d64a9 Moving code outside of try block 2015-05-14 12:42:48 -07:00
Seth Schoen
fb8b2f1415 Moving code outside of try block 2015-05-14 12:40:03 -07:00
Seth Schoen
e612d52693 Indentation fix 2015-05-14 12:39:57 -07:00
Seth Schoen
9556203ae9 Explicit "is None" 2015-05-14 12:28:24 -07:00
Seth Schoen
e469ae4ed8 Remove magic constant 2015-05-14 12:27:52 -07:00
Seth Schoen
ff41397ccf Consolidate redundant tests in a loop 2015-05-14 12:27:38 -07:00
Seth Schoen
b8fef70bf5 Making clear that other files don't actually exist 2015-05-14 12:12:26 -07:00
Seth Schoen
c5a44f3e39 Removing magic constants 2015-05-14 12:12:16 -07:00
Seth Schoen
56b71e3b32 Replacing magic constant 2015-05-14 12:07:39 -07:00
Seth Schoen
d443fd9074 Explicit "is not None" 2015-05-14 12:06:21 -07:00
Seth Schoen
fc81f18864 Clarify that these test files never exist 2015-05-14 11:53:48 -07:00
Seth Schoen
995759abad pragma: no cover for test main function 2015-05-14 11:49:38 -07:00
Seth Schoen
93953604a2 Don't redefine ALL_FOUR 2015-05-14 11:48:30 -07:00
Seth Schoen
35308bfc7d Unify implementation of notbefore and notafter 2015-05-14 11:45:40 -07:00
Seth Schoen
af767f917b Unit tests for notify.py and get_sans_from_cert 2015-05-13 22:35:00 -07:00
Seth Schoen
0a62bd6ebe Reorganize and shorten some renewer tests 2015-05-13 14:29:19 -07:00
Seth Schoen
2c6cfe3f81 Cleanup to get rid of scripts directory 2015-05-13 13:18:37 -07:00
Seth Schoen
6f6ee897f8 Changes to fix problems after reorganization 2015-05-13 12:37:04 -07:00
Seth Schoen
5d22925108 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-13 12:11:04 -07:00
Seth Schoen
82a4c61eff Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
Conflicts:
	letsencrypt/client.py
2015-05-13 12:10:36 -07:00
James Kasten
c57443812b Merge pull request #409 from kuba/pkgs_sep_prep
Fix references to letsencrypt.client
2015-05-13 11:59:50 -07:00
Jakub Warmuz
e06c0cbbf7
Revert "Bump coverage"
This reverts commit da53813770.
2015-05-12 22:09:45 +00:00
Jakub Warmuz
787c64c546
Fix references to letsencrypt.client 2015-05-12 22:08:00 +00:00
Jakub Warmuz
514d319662
Use debian:jessie as docker base image
le                  latest              e1f2e8ce3a0e        14 minutes ago      780.2 MB
vs
  le                  latest              d3276dd3976c        About a minute ago   393.6 MB

where:
  buildpack-deps      jessie              ecff3a5a9760        12 days ago          677.4 MB
  debian              jessie              41b730702607        13 days ago          125.1 MB
2015-05-12 22:01:20 +00:00
Jakub Warmuz
125ba6449e
Dockerfile: copy dep modules dirs 2015-05-12 21:35:43 +00:00
Jakub Warmuz
aeef964fb6
Merge remote-tracking branch 'github/letsencrypt/master' into get_sans 2015-05-12 21:27:10 +00:00
Jakub Warmuz
da53813770
Bump coverage 2015-05-12 21:18:45 +00:00
Jakub Warmuz
ac9f97100c
Merge remote-tracking branch 'github/letsencrypt/master' into test-mode
Conflicts:
	letsencrypt/tests/configuration_test.py
	letsencrypt/tests/network2_test.py
2015-05-12 21:16:56 +00:00