Commit graph

4829 commits

Author SHA1 Message Date
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
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
bmw
1a2f42d7d7 Merge pull request #2121 from letsencrypt/revert-2120-cryptography_fix
Revert "Don't use cryptography version 1.2"
2016-01-08 18:36:03 -05:00
Peter Eckersley
313dda65e1 Merge branch 'master' into precise-bootstrap 2016-01-08 14:41:50 -08:00
Erik Rose
5512838377 Get le-auto tests running on Travis. 2016-01-08 17:39:51 -05:00
Erik Rose
f2586fbc11 Merge master in so Travis will test this PR. 2016-01-08 17:08:30 -05:00
bmw
96b55c8f34 Revert "Don't use cryptography version 1.2" 2016-01-08 17:02:35 -05:00
bmw
e8705720be Merge pull request #1593 from TheNavigat/read-the-docs-python
Adding Python 2.6+ note to docs
2016-01-08 16:33:32 -05:00
Erik Rose
cd43e9035b Rename letsencrypt_auto dir to match other dirs.
Originally, I had it in mind to move letsencrypt-auto inside this dir. However, now we'd like to copy it or link it to the root level, where people are used to finding it (at least for awhile). Since it would be confusing to have a letsencrypt-auto and a letsencrypt_auto right next to each other, we rename this folder.
2016-01-08 16:26:25 -05:00
Erik Rose
1d719bd89c Teach le-auto about dependencies that are conditional on the Python version. 2016-01-08 15:31:22 -05:00
Brad Warren
b1e67f241e Fix merge conflicts properly 2016-01-08 14:31:30 -05:00
Brad Warren
36679c2daa Merge branch 'master' into pyopenssl 2016-01-08 14:27:07 -05:00
Brad Warren
a7a7380110 Merge branch 'master' into pyopenssl 2016-01-08 14:26:13 -05:00
bmw
67b01d328c Merge pull request #2120 from letsencrypt/cryptography_fix
Don't use cryptography version 1.2
2016-01-08 14:25:39 -05:00
Brad Warren
b039c884d8 Don't use cryptography version 1.2 2016-01-08 14:09:44 -05:00