Peter Eckersley
c7732114cb
Only test CLI for nginx plugin if it is present
...
- Fixes 919
2015-10-13 14:50:23 -07:00
Peter Eckersley
78be30d457
Basic support for --apache and --nginx
...
- Also begin to clean up the code that integrates --configurator,
--installer, and --authenticator inputs.
2015-10-13 14:38:31 -07:00
James Kasten
ccd9c54a6f
Merge pull request #949 from kuba/bugs/838
...
Fix tests under dev release packaging
2015-10-13 14:38:17 -04:00
Jakub Warmuz
c4042e6ce8
Busy wait loop for testing serve_forever2
...
This fixes race conditions, such as those in
https://travis-ci.org/letsencrypt/letsencrypt/jobs/84990239 :
+ nosetests -c /dev/null --with-cover --cover-tests --cover-package acme --cover-min-percentage=100 acme
.......................................................................................................................................................................................................................................................................................................................................................Exception in thread Thread-5:
Traceback (most recent call last):
File "/opt/python/2.7.9/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/opt/python/2.7.9/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/python/2.7.9/lib/python2.7/SocketServer.py", line 271, in handle_request
timeout = self.socket.gettimeout()
File "/opt/python/2.7.9/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
File "/opt/python/2.7.9/lib/python2.7/socket.py", line 170, in _dummy
raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
.127.0.0.1 - - [12/Oct/2015 20:08:23] "GET /foo HTTP/1.1" 404 -
.127.0.0.1 - - [12/Oct/2015 20:08:23] "GET / HTTP/1.1" 200 -
.127.0.0.1 - - [12/Oct/2015 20:08:23] "GET /.well-known/acme-challenge/eHh4eHh4eHh4eHh4eHh4eA HTTP/1.1" 200 -
.....
Name Stmts Miss Cover Missing
------------------------------------------------------------
acme.py 0 0 100%
acme/challenges.py 215 0 100%
acme/challenges_test.py 366 0 100%
acme/client.py 215 0 100%
acme/client_test.py 308 0 100%
acme/crypto_util.py 92 0 100%
acme/crypto_util_test.py 53 0 100%
acme/errors.py 19 0 100%
acme/errors_test.py 18 0 100%
acme/fields.py 32 0 100%
acme/fields_test.py 41 0 100%
acme/jose.py 8 0 100%
acme/jose/b64.py 15 0 100%
acme/jose/b64_test.py 38 0 100%
acme/jose/errors.py 12 0 100%
acme/jose/errors_test.py 8 0 100%
acme/jose/interfaces.py 39 0 100%
acme/jose/interfaces_test.py 73 0 100%
acme/jose/json_util.py 170 0 100%
acme/jose/json_util_test.py 214 0 100%
acme/jose/jwa.py 105 0 100%
acme/jose/jwa_test.py 58 0 100%
acme/jose/jwk.py 114 0 100%
acme/jose/jwk_test.py 96 0 100%
acme/jose/jws.py 205 0 100%
acme/jose/jws_test.py 145 0 100%
acme/jose/util.py 114 0 100%
acme/jose/util_test.py 126 0 100%
acme/jws.py 17 0 100%
acme/jws_test.py 27 0 100%
acme/messages.py 184 0 100%
acme/messages_test.py 198 0 100%
acme/other.py 21 0 100%
acme/other_test.py 48 0 100%
acme/standalone.py 102 1 99% 58
acme/standalone_test.py 109 0 100%
acme/test_util.py 28 0 100%
acme/util.py 3 0 100%
acme/util_test.py 7 0 100%
------------------------------------------------------------
TOTAL 3643 1 99%
nose.plugins.cover: ERROR: TOTAL Coverage did not reach minimum required: 100%
2015-10-13 07:09:28 +00:00
Brad Warren
acc44f2b65
Always delete lockfiles in _fix_symlinks
2015-10-12 21:04:40 -07:00
Brad Warren
b90827dc98
Added tests
2015-10-12 20:40:17 -07:00
Brad Warren
f8f80f5392
Added calls to recovery code
2015-10-12 18:39:17 -07:00
Brad Warren
49ba0c05e7
Added recovery function
2015-10-12 18:35:07 -07:00
Douglas José
6ae3f4c973
Added pip and virtualenv installation steps to Mac's bootstrap script.
2015-10-12 21:25:52 -04:00
Brad Warren
15cf1c1a4e
Added _lockfiles
2015-10-12 18:23:12 -07:00
Brad Warren
3ee4ee0996
Added lockfiles around link update
2015-10-12 18:07:21 -07:00
bmw
5ca70e19a7
Merge pull request #950 from letsencrypt/jsha/nginx-improvements
...
Nginx improvements
2015-10-12 16:41:52 -07:00
bmw
abd37a65ae
Merge pull request #961 from BKreisel/master
...
PEP8 Love: E126 Fix for #945
2015-10-12 13:51:58 -07:00
Brandon Kreisel
d4af07a7f8
PEP8 Love: E126 Fix for #945
2015-10-12 16:43:22 -04:00
Jakub Warmuz
73ae361559
Merge remote-tracking branch 'github/letsencrypt/master' into standalone2
2015-10-12 19:36:46 +00:00
bmw
0465f8e131
Merge pull request #945 from ddworken/master
...
Fixes #902
2015-10-12 12:24:30 -07:00
David Dworken
20d7576f66
Deleted duplicate line caused by #912
2015-10-12 15:14:13 -04:00
David Dworken
589145686f
Don't print error message and only call os.geteuid() once
2015-10-12 15:02:07 -04:00
bmw
806246b8ef
Merge pull request #886 from BKreisel/mac-psutil
...
Add Mac compatibility to integration tests
2015-10-12 11:22:17 -07:00
bmw
bb508739f0
Merge pull request #935 from letsencrypt/plugin_tests
...
Plugin tests
2015-10-12 10:17:24 -07:00
Brad Warren
7defdb1819
Updated a2enmod comments
2015-10-12 10:08:35 -07:00
Brad Warren
67ee9bf930
Added 'strict_permissions' to constants.py
2015-10-12 10:00:35 -07:00
Brad Warren
990e90df1f
Merge branch 'master' into plugin_tests
2015-10-12 09:58:15 -07:00
Brad Warren
9c59b50894
Reverted incorrect change from 18adec0
2015-10-11 17:33:00 -07:00
Brad Warren
90f3b26bcf
Fixed a2enmod
2015-10-11 17:29:19 -07:00
Brandon Kreisel
52f7a64b84
lint newline
2015-10-11 17:56:30 -04:00
David Dworken
8ec7fdd323
Always create the folders
2015-10-11 16:20:18 -04:00
David Dworken
a809a059f0
Don't create renewal_configs_dir and config_dir, instead just print a helpful error message and fail
2015-10-11 15:57:57 -04:00
Jacob Hoffman-Andrews
216e589d46
Replace lambda with comprehension.
2015-10-11 12:30:02 -07:00
bmw
b56467c0c0
Merge pull request #907 from ArchimedesPi/instructions-for-a-new-pr
...
Add instructions for submitting a PR
2015-10-11 12:26:03 -07:00
Jacob Hoffman-Andrews
f16489f762
Go back to hasattr and add a test.
2015-10-11 12:19:39 -07:00
David Dworken
c23deb8a31
Merged in changes
2015-10-11 15:12:58 -04:00
bmw
ac68be7e1f
Merge pull request #912 from kuba/bugs/897
...
Renewer logging setup (fixes #897 )
2015-10-11 11:55:28 -07:00
Jacob Hoffman-Andrews
06c85d6b5a
Fix line-wrapped function indents.
2015-10-11 11:30:11 -07:00
Jacob Hoffman-Andrews
f0cfd69cdc
Respond to review feedback.
2015-10-11 11:28:39 -07:00
Jacob Hoffman-Andrews
cd52fc02b9
Add a sleep to let Nginx finish reloading.
2015-10-11 11:20:21 -07:00
Brad Warren
4c73db9aa1
Revert "Fixed version string"
...
This reverts commit d1ee831137 .
2015-10-11 10:34:32 -07:00
bmw
9dce7c7d04
Merge pull request #944 from letsencrypt/faster-travis
...
Limit Travis runs to master and PRs.
2015-10-11 10:33:40 -07:00
bmw
2fe7d671dc
Merge pull request #947 from kuba/revert-master-dev-release
...
Revert "Release 0.0.0.dev20151008"
2015-10-11 10:33:09 -07:00
Jakub Warmuz
4c2d5dbdfc
Pass stream to StreamHandler.__init__
2015-10-11 17:23:23 +00:00
Jacob Hoffman-Andrews
dd8c6d6548
Nginx improvements
...
Add a server_names_hash_bucket_size directive during challenges to fix an nginx
crash on restart (Fixes #922 ).
Use fullchain instead of chain (Fixes #610 ).
Implement OCSP stapling (Fixes #937 , Fixes #931 ).
Hide Boulder output in integration tests to make them more readable.
2015-10-11 10:20:08 -07:00
Jakub Warmuz
5ab54c5bd1
Fix assertRaises for py2.6
2015-10-11 17:18:04 +00:00
Jakub Warmuz
8788f956a7
Again, drop recursive loop for StreamHandler py26
2015-10-11 17:10:05 +00:00
Jakub Warmuz
9427c474ab
More py2.6 love for StreamHandler.
2015-10-11 16:55:59 +00:00
Jakub Warmuz
9702495ff0
lint: locally disable non-parent-init-called
2015-10-11 16:49:49 +00:00
Jakub Warmuz
6b53f2f3a7
Drop recursive loop (logging.StreamHandler)
2015-10-11 16:48:24 +00:00
Jakub Warmuz
3bc2b30e93
StreamHandler py2.6 fix
2015-10-11 16:17:08 +00:00
Jakub Warmuz
a1a6120abf
Add py3 trove classifiers for acme
2015-10-11 16:03:32 +00:00
Jakub Warmuz
1802b87a12
Revert "Remove Python 2.6 support."
...
This reverts commit 31d37a3953 .
2015-10-11 16:01:52 +00:00
David Dworken
ef9312817e
Alphabetized imports and added newline at end of file
2015-10-11 11:39:55 -04:00