1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00
Commit Graph

4872 Commits

Author SHA1 Message Date
Erik Rose
2771249522 Merge master in before computing a known-good set for 0.2.0.
This also serves as a suitable base to build sdists for isnot.org, so we can try the old le-auto script against mockless versions of the LE packages.
2016-01-13 18:23:51 -05:00
Erik Rose
25e428ce4b Bring built le-auto up to date again. 2016-01-13 17:27:47 -05:00
Erik Rose
c3ea4bdc9b Roll back change to acme's pylintrc, which was needed to get lint to pass on Travis's Trusty beta (sudo) infra.
We're stepping off that infra briefly, to keep it the same as boulder's. When we retire the old le-auto, we'll step back on and change boulder to use it as well.
2016-01-13 17:22:59 -05:00
Brad Warren
bccb2124bc Fix paths in contributing.rst 2016-01-13 14:05:19 -08:00
Brad Warren
a287b504a5 Fix Vagrantfile path 2016-01-13 13:26:36 -08:00
Brad Warren
a1f6678d61 Revert changes to Dockerfile 2016-01-13 13:26:16 -08:00
Brad Warren
587e2e76f3 Revert "Get all tests, even le_auto, working on Travis."
This reverts commit 7ee23b723a.
2016-01-13 13:25:29 -08:00
Erik Rose
d8130974c7 Upgrade half-sign to sha256. Bring back old le-auto temporarily. Improve le-auto's option parsing.
If the new le-auto works well in the minutes or hours after release, we'll make another commit to master that removes the old le-auto and bootstrap scripts.

Close https://github.com/erikrose/letsencrypt/pull/2.
2016-01-13 13:12:34 -05:00
Erik Rose
86266f5fe1 Remove backported Python 2.7 assertion helpers.
I didn't backport their imports, so they had NameErrors in the failure case anyway. And, because of the docker image, these tests currently are run under only 2.7 at the moment.
2016-01-13 12:50:12 -05:00
Brad Warren
ab07620504 Fixed fake letsencrypt hash 2016-01-13 09:30:54 -08:00
Brad Warren
7945db7a2d Rebuild sdist 2016-01-13 09:30:54 -08:00
Brad Warren
e192cce1fc Fix fake letsencrypt 2016-01-13 09:30:54 -08:00
Peter Eckersley
435dfc0c52 Undelete the old letsencrypt-auto for now 2016-01-13 09:30:54 -08:00
Erik Rose
2d4c21ad4f Bring built le-auto script up to date. 2016-01-13 09:30:54 -08:00
Peter Eckersley
9500f2b3c3 Merge pull request #2139 from kuba/acme-pylint-80
ACME: pylint to 80 chars
2016-01-13 00:31:02 -08:00
Erik Rose
a7ae4369c8 Bring built le-auto script up to date. 2016-01-12 18:16:08 -05:00
bmw
de89eb89e2 Merge pull request #2135 from kuba/acme-client-dead-error
Remove dead code (error in except)
2016-01-12 14:50:15 -08:00
bmw
9167871a82 Merge pull request #2132 from kuba/acme-account-key-none-docs
Fix wrong doc comment: account_public_key is None
2016-01-12 14:49:43 -08:00
bmw
591f0376e8 Merge pull request #2089 from wteiken/fix_regr_from_resource
Update new_authzr_uri when querying or updating a registration
2016-01-12 14:45:54 -08:00
Peter Eckersley
3abf028f69 Merge branch 'letsencrypt-auto-release' of https://github.com/erikrose/letsencrypt into letsencrypt-auto-release 2016-01-12 14:29:58 -08:00
Erik Rose
cb5beb84c5 Fix Fedora 23 crasher.
This fixes an "OSError: [Errno 2] No such file or directory" on Fedora 23. Note that openssl-devel was not sufficient to install the openssl commandline tool.

The current manual-testing build of le-auto now crashes with #1548, but that should have been resolved when we upgraded the cryptography lib and so should go away when we build a new version.
2016-01-12 17:06:58 -05:00
Peter Eckersley
ff7e765611 Merge pull request #2146 from letsencrypt/apache-redirect
Copy only relevant lines from http vhost to ssl vhost skeleton v2
2016-01-12 12:26:23 -08:00
Erik Rose
a3288a92b9 Disable too-many-instance-attributes for the acme linter.
This should make the linter pass and allow us to merge the letsencrypt-auto-release branch when it's ready. IHNI why it passes on master without this disabled.
2016-01-12 14:25:36 -05:00
Erik Rose
7ee23b723a Get all tests, even le_auto, working on Travis.
Switch to a MySQL 5.6 setup based on https://github.com/mozilla/treeherder/pull/1080/files and Travis's beta trusty infra, which runs on Google Compute Engine.

Remove MariaDB addon, which conflicts with the socket used by the treeherder approach's mysql package. Remove maria service (which has no effect).
2016-01-12 13:04:24 -05:00
Erik Rose
ed562645e0 Master master into letsencrypt-auto-release so Travis will build it. 2016-01-11 21:45:16 -05:00
Brad Warren
4cdf63c55e Fix a couple nits 2016-01-11 18:27:01 -08:00
Erik Rose
6c05197a43 Remove mock as an install requirement.
The motivation is to free us of a reliance on a rather modern version of setuptools, which caused le-auto failures for people on Wheezy and other older distros. (The alternative would have been to forcibly upgrade setuptools as the old le-auto did, but less is more.)

Mock is used only in tests, so we move it to tests_require. It will still be installed automatically when setup.py test is run. Give all packages a test_suite so this works.

The "testing" extra remains for optional packages not required for the nose tests but used in tox. However, the extra is much less useful now and is a candidate for deletion. We could roll the list of packages therein into the tox config so as not to favor any particular package.

Remove tests_require=install_requires, which I don't think does anything useful, since install requirements are implicitly installed when running setup.py test.

Fix tests to pass with mock removed. We had to stop them pulling down LE from PyPI, since the current version there (0.1.1) requires mock and explodes when `letsencrypt` is run.
2016-01-11 21:26:41 -05:00
Brad Warren
24e6f4142b Merge branch 'master' into apache-redirect 2016-01-11 18:21:51 -08:00
Brad Warren
10df56bab6 Added revisions 2016-01-11 18:21:33 -08:00
Erik Rose
66ca7449cb Take le-auto tests out of Travis until we figure out why sudo:required causes other ones to fail.
For now, we'll run them locally with `tox -e le_auto` as we do with the apacheconf tests.
2016-01-11 21:00:57 -05:00
Peter Eckersley
1b3c8e87c7 Better processing & documentation of leauto flags
- move them to the top for clarity
 - accept them in any position
 - shadow & document them in the Python client
2016-01-11 14:22:51 -08:00
Peter Eckersley
916f8916d8 Clearer notes about when / how to edit the script 2016-01-11 14:22:51 -08:00
Peter Eckersley
be653e8e6b Use SHA256 openssl signatures 2016-01-11 14:22:51 -08:00
sagi
b28b5b08d7 More tests; Make Nose happy 2016-01-11 20:59:19 +00:00
sagi
4645bf8329 Make lint happy 2016-01-11 20:58:52 +00:00
bmw
355563e23c Merge pull request #2130 from letsencrypt/earlier-renewal
Default: renew 30 days before expiry, rather than 10
2016-01-11 12:32:07 -08:00
Peter Eckersley
c89dcad313 This default shouldn't be a magic string 2016-01-11 12:22:22 -08:00
sagi
9c2a0362a7 Add rewrite tests: normal, small, quoted, etc. 2016-01-11 19:55:55 +00:00
sagi
a43e7b11f1 Add colon 2016-01-11 19:55:15 +00:00
sagi
82a58fec48 Dequote possible quoted target 2016-01-11 19:48:17 +00:00
sagi
ae572fe084 Make lint happy 2016-01-11 19:20:29 +00:00
sagi
6c18a7d318 Revise RewriteRule sifting algorithm 2016-01-11 19:15:23 +00:00
sagi
bf74b2cc64 Change test RewriteRule so that it conforms with Apaches spec. 2016-01-11 19:12:30 +00:00
Peter Eckersley
c850481b31 Merge pull request #2134 from joohoi/parse_includes
Search all paths included from across the configuration for VirtualHosts
2016-01-11 09:53:34 -08:00
Erik Rose
2f3425a232 Switch to real key, and add signing to release script. Close #1573. 2016-01-11 12:41:55 -05:00
sagi
20433db0bb Merge remote-tracking branch 'upstream/master' into bugfix_skeleton 2016-01-11 17:36:45 +00:00
Peter Eckersley
e17bb27508 Remove test key 2016-01-11 09:19:21 -08:00
Peter Eckersley
c430876d47 Merge pull request #2133 from letsencrypt/precise-bootstrap
[bootstrap/_deb_common] Re-fix the always-install-backports
2016-01-11 08:50:38 -08:00
Peter Eckersley
d915f63be4 Add tool for requesting & handling offline signatures 2016-01-10 23:22:04 -08:00
Peter Eckersley
0c09eaff3c Switch to real release key
(though this is still a test signature)
2016-01-10 23:18:52 -08:00