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

4842 Commits

Author SHA1 Message Date
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
Erik Rose
a7ae4369c8 Bring built le-auto script up to date. 2016-01-12 18:16:08 -05: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
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
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
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
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
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
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
Peter Eckersley
bbd53d6d7d Ensure we have an leauto signature before releasing 2016-01-10 23:15:29 -08:00
Peter Eckersley
7a8507d002 helpful documentation 2016-01-10 23:14:44 -08:00
Peter Eckersley
7cfb10ba27 These signatures should be in git 2016-01-10 23:12:48 -08:00
Peter Eckersley
2eb3e09ca9 Check correct signature presence for release 2016-01-10 22:57:49 -08:00
Joona Hoikkala
39e4053b82 Removed some now obsolete mock code from tests 2016-01-10 19:15:09 +02:00
Peter Eckersley
4c02902762 [bootstrap/_deb_common] Re-fix the always-install-backports
* This bug seems to come back every time it's fixed :(
2016-01-10 09:03:16 -08:00
Joona Hoikkala
f5862a7a4f Parse all included paths in apache root configuration 2016-01-10 18:38:53 +02:00
Jakub Warmuz
3cddb15023 Merge remote-tracking branch 'github/letsencrypt/master' into pyopenssl 2016-01-10 11:25:12 +00:00
Jakub Warmuz
1182dcf0c2 Merge remote-tracking branch 'github/letsencrypt/master' into acme-pylint 2016-01-10 11:17:03 +00:00
Peter Eckersley
bf4793039a Merge remote-tracking branch 'origin/master' into pyopenssl 2016-01-10 02:39:54 -08:00
Peter Eckersley
e58fc0aaa6 Merge pull request #2110 from letsencrypt/precise-bootstrap
Precise bootstrap
2016-01-10 02:36:10 -08:00
Peter Eckersley
5146a766c7 Merge pull request #2092 from joohoi/augeas_paths
Select broader wildcard matching pattern for augeas paths if overlapping
2016-01-10 02:15:10 -08:00
Peter Eckersley
3a7565afe5 trigger travis rerun 2016-01-10 01:03:50 -08:00
Peter Eckersley
5b3bd890b7 Default: renew 30 days before expiry, rather than 10
- gives more time for various fallback strategies if renewal doesn't work the
   first time
2016-01-09 15:15:05 -08:00
Peter Eckersley
684ff01124 Merge pull request #2094 from twstrike/enforce-required-fields
Warn the user when --chain-path or --fullchain-path are missing but are required [minor revision requested]
2016-01-09 10:55:33 -08:00
Peter Eckersley
00e0355eb7 Merge pull request #2104 from benubois/patch-1
Document webroot request path.
2016-01-09 10:54:25 -08:00
Peter Eckersley
eb6dc15067 Merge pull request #2129 from letsencrypt/py3-acme
Python 3 Travis testing for acme.
2016-01-09 10:52:16 -08:00
Jakub Warmuz
b26dda3afe Add Python 3.5 trove classifier to acme 2016-01-09 13:38:12 +00:00
Jakub Warmuz
34010a0168 Python 3.5 needs explicit Travis setting 2016-01-09 13:31:50 +00:00
Jakub Warmuz
7728f4d28a Python 3 Travis testing for acme.
Despite its description,
https://github.com/letsencrypt/letsencrypt/pull/630, removed not only
Python 2.6 support, but also Travis tests against Python 3. ACME
library supports Python 3 and Travis should tests it.

This must be merged before any pending PRs agains acme library.
2016-01-09 13:24:54 +00:00
Jakub Warmuz
a367c98409 Merge remote-tracking branch 'github/letsencrypt/master' into acme-pylint 2016-01-09 12:50:13 +00:00
Peter Eckersley
705032bc67 [Always] Install augeas-lenses
- But do we need the augeas-lenses package?
 - Install augeas from backports even if the backports were already available
   (this is the third time fixing that bug!)
2016-01-08 19:12:30 -08:00
Peter Eckersley
ed85726071 Merge pull request #2109 from twstrike/fix-2059
Makes NginxParser aware of `ssl on` directive
2016-01-08 16:44:44 -08:00