Commit Graph
5087 Commits
Author SHA1 Message Date
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
TheNavigat 3e435a98f7 Merge remote-tracking branch 'letsencrypt/master' 2016-01-11 20:42:38 +02: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
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
Jakub Warmuz bdd9fa4485 Quickfix too-many-instance-attributes.
https://github.com/letsencrypt/letsencrypt/pull/2135#issuecomment-170381179
2016-01-10 18:47:04 +00:00
Jakub Warmuz fac2ed41d8 ACME: pylint to 80 chars 2016-01-10 18:17:35 +00:00
Jakub Warmuz 0a536d50be Remove dead code (error in except) 2016-01-10 17:31:50 +00: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 c10bfd6efc Fix wrong doc comment: account_public_key is None 2016-01-10 14:01:34 +00: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 3c70af7da5 Avoid accidentally mocking noninteractivity 2016-01-09 15:55:54 -08:00
Peter Eckersley 74f09fb7bd Never auto-select plugins in non-interactive mode
* We really want the user to pick one, so that the later addition of a
    second option doesn't cause -n mode to fail.
2016-01-09 15:43:58 -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 cc890e6bdd Merge branch 'master' into non-interactive 2016-01-09 15:10:49 -08:00
Peter Eckersley 1f45c2ca5c s/--apache/--standalong in non-interactive unit tests
Since apache may not be installed in travis or other test envs
2016-01-09 15:10:06 -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