Jakub Warmuz and Peter Eckersley
762e9e578f
Split letsencrypt-apache API docs
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
ca464c25fb
Split JOSE API docs
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
5b757bdff2
Split ACME API docs
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
fe49889b16
Per subpkg requirements.txt for RTD
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
f922b9b694
Split docs into subpkgs ( fixes #969 )
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
946ee63238
docs_extra for subpkgs
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
5fe5d69192
Include docs in subpkgs tarballs
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
baa6c4aeec
gitignores for various doc files
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
86f01d1fa9
sphinx: copyright 2014-2015
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
dfdb64c505
sphinx: default_role py:obj
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
1f0cbda9fc
Unify autodoc options
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
1a6fc9ce76
RTD theme everywhere!
2015-10-21 17:06:36 -07:00
Jakub Warmuz and Peter Eckersley
607ea59fd3
Add extensions for subpkgs docs
2015-10-21 17:06:35 -07:00
Jakub Warmuz and Peter Eckersley
511eef130b
Unify todo_include_todos
2015-10-21 17:06:35 -07:00
Jakub Warmuz and Peter Eckersley
635008f5e6
Configure intersphinx
2015-10-21 17:06:35 -07:00
Jakub Warmuz and Peter Eckersley
b9868d3c97
sphinx-quickstart for subpkgs
...
```
sphinx-quickstart --dot _ --project acme-python --author Let's Encrypt Project -v 0 --release 0 --language en --suffix .rst --master index --ext-autodoc --ext-intersphinx --ext-todo --ext-coverage --ext-viewcode --makefile --batchfile acme/docs
sphinx-quickstart --dot _ --project letsencrypt-apache --author Let's Encrypt Project -v 0 --release 0 --language en --suffix .rst --master index --ext-autodoc --ext-intersphinx --ext-todo --ext-coverage --ext-viewcode --makefile --batchfile letsencrypt-apache/docs
sphinx-quickstart --dot _ --project letsencrypt-nginx --author Let's Encrypt Project -v 0 --release 0 --language en --suffix .rst --master index --ext-autodoc --ext-intersphinx --ext-todo --ext-coverage --ext-viewcode --makefile --batchfile letsencrypt-nginx/docs
sphinx-quickstart --dot _ --project letshelp-letsencrypt --author Let's Encrypt Project -v 0 --release 0 --language en --suffix .rst --master index --ext-autodoc --ext-intersphinx --ext-todo --ext-coverage --ext-viewcode --makefile --batchfile letshelp-letsencrypt/docs
sphinx-quickstart --dot _ --project letsencrypt-compatibility-test --author Let's Encrypt Project -v 0 --release 0 --language en --suffix .rst --master index --ext-autodoc --ext-intersphinx --ext-todo --ext-coverage --ext-viewcode --makefile --batchfile letsencrypt-compatibility-test/docs
```
2015-10-21 17:06:35 -07:00
Jakub Warmuz and Peter Eckersley
934301abc6
Fix ACME module description
2015-10-21 17:06:35 -07:00
Jakub Warmuz
e52922b11e
Fix getsockname usage with IPv6
2015-10-20 20:44:18 +00:00
Jakub Warmuz
aa67b83b38
debug log version
2015-10-20 20:22:38 +00:00
Jakub Warmuz
11495c5820
Better logging for start/stop acme.standalone servers.
2015-10-20 20:16:12 +00:00
Jakub Warmuz
aa4641b3b0
--agree-dev-preview
...
`git grep -i eula` to the rescue
2015-10-20 19:33:27 +00:00
Jakub Warmuz
7a9ceaae2e
lint
2015-10-18 12:33:06 +00:00
Jakub Warmuz
4090085b17
Avoid race conditions in acme.standalone_test.
2015-10-18 12:22:54 +00:00
Jakub Warmuz
6eae746735
Clean up after simplehttp port change to 5002.
...
Now, when https://github.com/letsencrypt/boulder/pull/998 is in, we
can remove all quick fixes for
https://github.com/letsencrypt/boulder/issues/985 .
2015-10-17 18:06:21 +00:00
Jakub Warmuz
5ff6d07519
Merge remote-tracking branch 'github/letsencrypt/master' into release
2015-10-17 15:29:37 +00:00
Jakub Warmuz
5544ca1c35
Merge remote-tracking branch 'github/letsencrypt/master' into bugs/1012
2015-10-17 15:29:02 +00:00
Jakub Warmuz
28a837ada7
Use PEM for Account.id generation ( fixes #1012 ).
...
This is a breaking change, already existing /etc/letsencrypt/accounts
will cause the client raise errors.AccountStorageError ("Account ids
mismatch ..."). Simple fix: start over by `rm -rf
/etc/letsencrypt`. In a long run it's a better solution that bumping
to `cryptography>=0.9`...
2015-10-17 12:07:49 +00:00
Jakub Warmuz
17a09eac6b
fix comment
2015-10-17 11:13:43 +00:00
Jakub Warmuz
9ebf530dc4
dev-release: more comments about recent changes
2015-10-17 11:12:46 +00:00
Jakub Warmuz
0cf2b5a4bd
dev release: start with fresh virtualenv
2015-10-17 10:57:02 +00:00
Jakub Warmuz
31109b3332
log git commit in dev release
2015-10-17 10:55:41 +00:00
Jakub Warmuz
da63155724
dev release: clean up subpkgs/subpkg_modules confusion
2015-10-17 09:09:57 +00:00
Jakub Warmuz
5621cf325d
dev-release.sh: Update setuptools/pip
2015-10-17 09:02:32 +00:00
Jakub Warmuz
78c296bbd1
Integration tests: force le3.wtf over DVSNI.
...
Becuse of https://github.com/letsencrypt/boulder/issues/985 , we need
to force standalone to one particular type of challenge at a
time. #895 didn't fix it properly - it forgot about issuance of
le3.wtf (CSR-initiated), which results in Travis builds failing 50% of
a time,
e.g. https://travis-ci.org/letsencrypt/letsencrypt/jobs/85875483#L3318 .
2015-10-17 07:43:07 +00:00
Jakub Warmuz
e23b77883d
Merge remote-tracking branch 'github/letsencrypt/master' into detect-downstream-deps
2015-10-17 05:28:54 +00:00
Jakub Warmuz
37cb419b1c
Switch to Go 1.5.1 ( fixes #955 )
2015-10-16 22:28:22 +00:00
Jakub Warmuz
5c1858627b
pep8 love
2015-10-16 22:25:20 +00:00
Jakub Warmuz
86cd5af76e
Add comment about downstream deps fix
2015-10-16 22:17:31 +00:00
Jakub Warmuz
408903b732
tox: bring back test for letshelp_letsencrypt
2015-10-16 22:04:52 +00:00
Jakub Warmuz
fd4528baa3
tox: pip install -e
2015-10-16 22:04:18 +00:00
Jakub Warmuz
2f3b6251c7
Tox: verbose nosetests
2015-10-16 21:33:02 +00:00
Jakub Warmuz
fd1103ccda
Tox tests detect downstream deps errors.
2015-10-16 21:33:02 +00:00
Jakub Warmuz
523c7c3369
Merge remote-tracking branch 'github/letsencrypt/master' into standalone2
2015-10-16 06:39:23 +00:00
Jakub Warmuz
d1b7b0553f
Back to 5001, but with env var
2015-10-15 20:53:47 +00:00
Jakub Warmuz
5043574093
Integration tests: SimpleHTTP on port 5002.
...
Should be pulled by @jsha in lockstep with
https://github.com/letsencrypt/boulder/commit/6b8f1c27003bb43f33ffcfa9a5f63eb4154c6df9 .
2015-10-15 20:42:49 +00:00
Jakub Warmuz
ec24641511
standalone2: run(): tls -> challenge_type.
2015-10-15 20:31:22 +00:00
Jakub Warmuz
6f44bcf117
standalone2: move alread_listening to perform
2015-10-15 18:01:14 +00:00
Jakub Warmuz
e7809563b1
Address first batch of Seth's review comments.
2015-10-15 17:23:43 +00:00
Jakub Warmuz
18ddcc72f6
More quickfix for boulder#985
2015-10-14 19:40:07 +00:00
Jakub Warmuz
99a31463b0
Fix typo: porta -> port
2015-10-14 19:23:33 +00:00
Jakub Warmuz
371daa42ca
Quickfix for boulder#985
2015-10-14 19:16:30 +00:00
Jakub Warmuz
8a8dfd4bc3
More verbose tox python env tests
2015-10-14 18:48:43 +00:00
Jakub Warmuz
3f942d7426
Basic virtualenv bootstrap script for end users.
2015-10-14 18:19:10 +00:00
Jakub Warmuz
9b77c9aecb
Uncomment simplehttp/dvsni port check
2015-10-14 17:35:30 +00:00
Jakub Warmuz
244a020b0a
Merge remote-tracking branch 'github/letsencrypt/master' into standalone2
2015-10-14 17:26:35 +00: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
Jakub Warmuz
73ae361559
Merge remote-tracking branch 'github/letsencrypt/master' into standalone2
2015-10-12 19:36:46 +00:00
Jakub Warmuz
ce41201861
Require tests pass in dev release.
2015-10-11 10:52:08 +00:00
Jakub Warmuz
5edd809161
ApacheConfigurator.is_enabled using filecmp ( fixes #838 ).
2015-10-11 10:51:24 +00:00
Jakub Warmuz
7a153ebf50
Revert "Release 0.0.0.dev20151008"
...
This reverts commit 9e1477faa4 .
2015-10-11 07:05:35 +00:00
Jakub Warmuz
304414a214
Remove SimpleHTTP TLS from acme.
2015-10-08 21:10:12 +00:00
Jakub Warmuz
6dfb75b96f
Fix #928 test_json_dumps_pretty py3 compat.
2015-10-08 20:32:25 +00:00
Jakub Warmuz
9e1477faa4
Release 0.0.0.dev20151008
2015-10-08 19:28:55 +00:00
Jakub Warmuz
0034a8fae4
Add docs to tarballs ( fixes #884 ).
2015-10-07 22:40:02 +00:00
Jakub Warmuz
1efec6b399
Merge remote-tracking branch 'github/letsencrypt/master' into standalone2
2015-10-07 20:07:01 +00:00
Jakub Warmuz
5afb0ebd1c
Remove SimpleHTTP TLS from standalone 2.0
2015-10-07 20:06:41 +00:00
Jakub Warmuz
7102f9ef4b
Don't expose threads from ServerManager.
2015-10-07 19:20:47 +00:00
Jakub Warmuz
f0214ddf9a
Merge commit 'a2c41ca7f539303cb413ba3e73d3669633063150' into standalone2
2015-10-07 19:07:44 +00:00
Jakub Warmuz
f0c11152d2
ACMEServerMixin.__init__
2015-10-07 19:00:47 +00:00
Jakub Warmuz
e4e94b20d4
Remove --no-simple-http-tls from integration tests
2015-10-07 06:23:40 +00:00
Jakub Warmuz
73ee63779c
Remove --no-simple-http-tls
2015-10-07 06:23:28 +00:00
Jakub Warmuz
0d89fa6d88
Remove SimpleHTTP TLS from Manual Plugin.
2015-10-07 06:21:49 +00:00
Jakub Warmuz
c6ebfae15e
Unify quotes
2015-10-06 21:11:52 +00:00
Jakub Warmuz
3dac62f20e
json_dumps_pretty: prettier separators.
2015-10-06 21:11:52 +00:00
Jakub Warmuz
7e1b7ff7ae
Add naive JWK Thumbprint implementation
2015-10-06 21:05:43 +00:00
Jakub Warmuz
ae66253ddf
Don't save KGS in dist dir in dev release script ( fixes #908 ).
2015-10-06 19:07:20 +00:00
Jakub Warmuz
f7241af5ce
Bump core coverage to 98%
2015-10-06 18:58:06 +00:00
Jakub Warmuz
e8118c862b
Renewer logging setup ( fixes #897 )
2015-10-06 18:54:05 +00:00
Jakub Warmuz
26e03dbba2
docs: remove venv3.
2015-10-05 22:12:21 +00:00
Jakub Warmuz
4cd5a8e42c
Archlinux bootstrap: python-virtualenv
2015-10-05 21:40:55 +00:00
Jakub Warmuz
eec5542cb3
lint archlinux bootstrap script
2015-10-05 21:39:34 +00:00
Jakub Warmuz
18f1bb49f0
Merge remote-tracking branch 'github/letsencrypt/master' into bootstrap
2015-10-05 21:38:06 +00:00
Jakub Warmuz
0d880e334d
separate pip install -U setuptools pip
...
https://travis-ci.org/jsha/boulder/jobs/83762761#L557
Success: virtualenv --no-site-packages -p python2 ./venv
./venv/bin/pip install -U setuptools pip
Downloading/unpacking distribute from https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
Downloading distribute-0.7.3.zip (145Kb): 145Kb downloaded
Running setup.py egg_info for package distribute
Downloading/unpacking pip from https://pypi.python.org/packages/source/p/pip/pip-7.1.2.tar.gz#md5=3823d2343d9f3aaab21cf9c917710196
Downloading pip-7.1.2.tar.gz (1.0Mb): 1.0Mb downloaded
Running setup.py egg_info for package pip
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'pip/_vendor/Makefile'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching 'dev-requirements.txt'
no previously-included directories found matching '.travis'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'contrib'
no previously-included directories found matching 'tasks'
no previously-included directories found matching 'tests'
Downloading/unpacking setuptools>=0.7 (from distribute)
Downloading setuptools-18.3.2.tar.gz (626Kb): 626Kb downloaded
Running setup.py egg_info for package setuptools
Installing collected packages: distribute, pip, setuptools
Found existing installation: distribute 0.6.24
Uninstalling distribute:
Successfully uninstalled distribute
Running setup.py install for distribute
Found existing installation: pip 1.1
Uninstalling pip:
Successfully uninstalled pip
Running setup.py install for pip
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
Complete output from command /home/travis/letsencrypt/venv/bin/python2 -c "import setuptools;__file__='/home/travis/letsencrypt/venv/build/pip/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-4lZMdG-record/install-record.txt --install-headers /home/travis/letsencrypt/venv/include/site/python2.7:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools
----------------------------------------
Rolling back uninstall of pip
Exception:
Traceback (most recent call last):
File "/home/travis/letsencrypt/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/home/travis/letsencrypt/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/home/travis/letsencrypt/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1137, in install
requirement.rollback_uninstall()
File "/home/travis/letsencrypt/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 491, in rollback_uninstall
self.uninstalled.rollback()
File "/home/travis/letsencrypt/venv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1450, in rollback
pth.rollback()
AttributeError: 'str' object has no attribute 'rollback'
Storing complete log in /home/travis/.pip/pip.log
[!] FAILURE: ./venv/bin/pip install -U setuptools pip
./venv/bin/pip install -r requirements.txt -e acme -e . -e letsencrypt-apache -e letsencrypt-nginx
Traceback (most recent call last):
File "./venv/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
2015-10-05 20:06:55 +00:00
Jakub Warmuz
1e18351041
Fix #903 : docs version parsing
2015-10-05 19:44:35 +00:00
Jakub Warmuz
c3e28fa909
Merge remote-tracking branch 'github/letsencrypt/master' into mock-2.6
2015-10-05 19:31:05 +00:00
Jakub Warmuz
ee9385c64b
Merge remote-tracking branch 'github/letsencrypt/master' into compat-test-manifest
2015-10-05 19:29:09 +00:00
Jakub Warmuz
1774ab64c4
Add SupportedChallengesValidatorTest.
2015-10-04 20:24:53 +00:00
Jakub Warmuz
94c6e307c9
Fix plugins.common.Dvsni._setup_challenge_cert.
2015-10-04 20:13:00 +00:00
Jakub Warmuz
ed70c948aa
Renewer: restore IConfig.simple_http_port data type.
2015-10-04 19:50:27 +00:00
Jakub Warmuz
4d25cabfe2
Add missing docstring
2015-10-04 19:27:47 +00:00
Jakub Warmuz
827c66c667
Integration tests: standalone dvsni and simpleHttp.
2015-10-04 19:19:36 +00:00
Jakub Warmuz
509af11a92
--standalone-supported-chalenges
2015-10-04 19:15:45 +00:00
Jakub Warmuz
ea45fc6504
TestSimpleServer: don't rely on symlinks
2015-10-04 19:15:05 +00:00
Jakub Warmuz
774dc7db9a
100% coverage for Standalone 2.0
2015-10-04 19:15:05 +00:00
Jakub Warmuz
1a0f8889ad
ServerManager.running returns dict
2015-10-04 19:15:04 +00:00
Jakub Warmuz
df04938f6a
Standalone 2.0: add detection for unsupported SimpleHTTP TLS platform.
2015-10-04 19:14:58 +00:00
Jakub Warmuz
517a74f432
standalone 2.0: lint, docs, cleanup.
2015-10-04 17:21:35 +00:00
Jakub Warmuz
bba0560c0e
Almost full coverage for plugins.standalone (perform2 left).
2015-10-04 13:24:30 +00:00
Jakub Warmuz
7687ecd6e3
100% coverage for standalone.ServerManager
2015-10-04 12:14:10 +00:00
Jakub Warmuz
22b1514f51
server_forever2/shutdown2
2015-10-04 12:14:10 +00:00