Peter Eckersley
387d61d027
Merge pull request #3259 from certbot/epel-auto
...
Automatically enable EPEL after prompting users
2016-08-18 14:22:04 -07:00
Brad Warren
156c6415c2
error out when we can't simply install epel-release
2016-08-17 17:31:56 -07:00
Brad Warren
5c16b43221
satisfy OCD by removing space
2016-08-17 17:00:51 -07:00
Brad Warren
6dce950d6d
Update comment about how to generate requirements file
2016-08-17 16:12:12 -07:00
Brad Warren
9333be6c88
Add pyparsing hashes to requirements file
2016-08-17 16:07:37 -07:00
Amjad Mashaal
1fdf41e636
Adding modification check against the current /letsencrypt-auto
2016-08-04 14:22:20 +02:00
Joona Hoikkala
ade8403310
Revert "Remove psutil dependency"
...
This reverts commit 9bd361b28d .
2016-07-27 15:36:12 +03:00
Joona Hoikkala
603e3ac3ea
Merge remote-tracking branch 'upstream/master' into psutil
2016-07-25 11:26:05 +03:00
Joona Hoikkala
9bd361b28d
Remove psutil dependency
2016-07-25 11:13:16 +03:00
shodan
54eafcf8da
Change fatal warning to a fatal message
2016-07-21 14:50:12 +02:00
Brad Warren
62d6cc3b90
Merge pull request #3176 from TheNavigat/pip-verbose
...
Printing pip output to terminal when -v is used
2016-07-15 17:23:41 -07:00
Amjad Mashaal
a43991651c
Fixing tests
2016-07-16 02:04:59 +02:00
Amjad Mashaal
a0f9eb54b1
Updating letsencrypt-auto
2016-07-16 01:34:13 +02:00
Amjad Mashaal
4ab6a183f0
Removing 2>&1
2016-07-16 01:33:44 +02:00
Brad Warren
44113a5d06
Automatically enable EPEL (after prompting users)
2016-07-07 17:25:09 -07:00
Amjad Mashaal
797d0a0660
Printing pip output to terminal when -v is used
...
Signed-off-by: Amjad Mashaal <me@amjad.io>
2016-06-25 12:37:42 +02:00
Brad Warren
f98fb1c6b6
Merge pull request #3155 from gdoucet/master
...
Added the argument --quiet and -q so then when used with a regular user there is no output to the screen.
2016-06-21 15:19:05 -07:00
Brad Warren
8b3528969d
Bump pyopenssl version
2016-06-20 14:33:00 -07:00
Brad Warren
0bfdea86d6
Bump cryptography version
2016-06-20 14:32:21 -07:00
Brad Warren
5c74e728b5
Bump version to 0.9.0
2016-06-14 16:56:31 -07:00
Brad Warren
4158656058
Release 0.8.1
2016-06-14 16:56:16 -07:00
Peter Eckersley
4da0ee6185
Merge pull request #3111 from certbot/exit-if-no-bootstrap
...
Exit if cannot bootstrap in certbot-auto
2016-06-14 14:29:28 -07:00
Geoffroy Doucet
8c8125c6fd
Added the argument --quiet and -q so then when used with a regular
...
user there is no output to the screen.
2016-06-13 21:29:51 -04:00
Peter Eckersley
268fb903b2
Merge pull request #3134 from fibbers/fix-virtualenv-package-installation-issue
...
Prevent bootstrap-issue on Debian systems with virtualenv package
2016-06-13 15:00:19 -07:00
Peter Eckersley
28169f17e3
Merge pull request #3133 from certbot/mageia
...
Mageia Bootstrap
2016-06-13 14:26:05 -07:00
Willem Fibbe
afd899886d
Prevent bootstrap-issue on Debian systems with virtualenv package
...
On Debian 7 (and probably relative distro's) `aptitude show virtualenv` exits
with 0, since it is a virtual package. However, it doesn't have any installation
candidates, so filter on this case before trying to install `virtualenv` to
prevent installation-errors while bootstrapping.
NB, to make this clear:
(0)#: apt-cache show virtualenv
N: Can't select versions from package 'virtualenv' as it is purely virtual
N: No packages found
(0)#: echo $?
0
Furthermore, --quiet=0 is necessary, to be able to grep through `apt-cache`'s
output via a pipe. More details on
http://unix.stackexchange.com/questions/201869/why-isnt-apt-cache-policy-output-piped/202041#202041 .
2016-06-09 09:38:47 +02:00
Peter Eckersley
029aac92fa
Merge pull request #3121 from certbot/auto-arch
...
Update letsencrypt-auto in response to Arch package rename
2016-06-08 12:16:06 -07:00
Brad Warren
e51c16d666
Update letsencrypt-auto changes for the new format
2016-06-07 17:24:56 -07:00
Brad Warren
1c363716a0
Wrap mageia bootstrap script in bash function
2016-06-07 16:33:04 -07:00
Brad Warren
8aa1d85991
Move mageia bootstrap script
2016-06-07 16:25:08 -07:00
Brad Warren
2815361e63
Update the template as well
2016-06-03 11:12:49 -07:00
Felix Yan
6b7a76442e
Update letsencrypt-auto for Arch's new package name
2016-06-02 23:04:14 -05:00
Brad Warren
c9bdc19851
Build letsencrypt-auto
2016-06-02 16:03:15 -07:00
Brad Warren
76a939ceb3
Exit if cannot bootstrap
2016-06-02 16:00:19 -07:00
Brad Warren
36e63a7372
Bump version to 0.9.0
2016-06-02 13:50:37 -07:00
Brad Warren
dcadcf8d42
Release 0.8.0
2016-06-02 13:50:30 -07:00
Brad Warren
8a8a8b776d
permanently pin 0.7.0 of letsencrypt in certbot-auto
2016-06-02 13:17:41 -07:00
Peter Eckersley
731f9a2dee
Merge pull request #2926 from TheNavigat/auto_test_fix
...
Fixing auto_test.py for Python 2.6
2016-05-27 14:39:44 -07:00
Brad Warren
7153220b41
Bump version to 0.8.0
2016-05-27 13:30:54 -07:00
Brad Warren
46d8f6e18c
Release 0.7.0
2016-05-27 13:30:46 -07:00
bmw
42e3f6f27c
Merge pull request #3062 from certbot/remove-temp-dir
...
Always remove temporary directories in le-auto
2016-05-24 21:36:05 -07:00
bmw
f8dd9411b8
Merge pull request #3026 from SwartzCr/issue_2839
...
update pypi for auto
2016-05-24 18:34:39 -07:00
Brad Warren
c606273d14
use TEMP_DIR trap consistently
2016-05-24 13:16:21 -07:00
Brad Warren
70bb7ff68f
fixes #3060
2016-05-24 13:08:10 -07:00
Brad Warren
b1eff0fe35
Build le-auto to bring it up to date
2016-05-24 13:03:53 -07:00
Noah Swartz
22badb2380
tests pass?
2016-05-19 17:29:39 -07:00
Noah Swartz
0bb8b0bcd5
change invocation
2016-05-19 12:27:17 -07:00
Noah Swartz
409640fb87
le to cb for test package
2016-05-19 12:05:42 -07:00
Noah Swartz
e8e009cc85
Revert "update secret pypi?"
...
This reverts commit 55755d818a .
2016-05-18 17:00:42 -07:00
Noah Swartz
55755d818a
update secret pypi?
2016-05-18 15:42:55 -07:00
Peter Eckersley
d3c4a9e04f
Merge pull request #2994 from tapple/master
...
system python path has changed on el capitan
2016-05-18 14:37:53 -07:00
Peter Eckersley
b88a2f22e6
Merge pull request #3016 from certbot/quiet-no-quiet
...
Make certbot-auto quieter without implementing --quiet
2016-05-18 14:22:36 -07:00
Noah Swartz
01ebab26bf
update pypi for auto
2016-05-18 14:21:57 -07:00
Noah Swartz
c4fc7b30e3
change github URL
2016-05-18 13:44:29 -07:00
Brad Warren
507b154276
Don't saying you're requesting root unless you really are
2016-05-17 20:11:02 -07:00
Brad Warren
502eba1cc4
Simplify SUDO certbot prompt
2016-05-17 20:07:45 -07:00
Brad Warren
45b7c407c1
Don't tell people you check for updates on every run
2016-05-17 20:07:06 -07:00
Brad Warren
af41345967
Put arg parsing in one place
2016-05-17 20:06:35 -07:00
Brad Warren
14778c15ce
Run build to make le-auto up to date
2016-05-17 20:05:47 -07:00
Amjad Mashaal
d57c943471
Fixing broken tests
2016-05-18 01:57:48 +02:00
Amjad Mashaal
12a0312282
Fixing auto_test.py for Python 2.6
2016-05-18 01:57:48 +02:00
Peter Eckersley
248dc0962e
Merge pull request #2895 from dietsche/joyent
...
Joyent SmartOS Zone Bootstrap Support [revised]
2016-05-17 14:54:08 -07:00
Brad Warren
d39dee20ad
fix auto arg parsing
2016-05-16 15:06:51 -07:00
Tapple Gao
4cb35eaeb3
system python path has changed on el capitan. Look for both old and new
...
path
2016-05-15 11:44:48 +02:00
Peter Eckersley
b6f14c2ef1
Merge pull request #2943 from MichalMMac/master
...
Ensure /usr/local/lib/ exists in mac.sh bootstraper
2016-05-12 17:54:33 -07:00
Brad Warren
c8cf0b4600
Bump version to 0.7.0
2016-05-11 18:04:27 -07:00
Brad Warren
8e742fa3c6
Release 0.6.0
2016-05-11 18:04:15 -07:00
Peter Eckersley
c9cdefd780
Merge remote-tracking branch 'origin/master' into deprecation-warning
2016-05-11 09:40:57 -07:00
Gregory L. Dietsche
029a818370
Experimental Joyent SmartOS Support
...
Testing using image: 088b97b0-e1a1-11e5-b895-9baa2086eb33
base-64-lts 15.4.1
Signed-off-by: Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
2016-05-10 18:03:32 +00:00
Gregory L. Dietsche
62cf9c93a8
/etc/issue does not exist on all systems
...
Signed-off-by: Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
2016-05-10 18:03:32 +00:00
Peter Eckersley
ed23f2e27f
CERTBOT_AUTO env was broken (especially if containing spaces)
2016-05-10 10:21:15 -07:00
Brad Warren
7a848d2b04
Remove unneeded info about backports
2016-05-09 19:51:08 -07:00
Brad Warren
f38d59d675
Use --non-interactive instead of --yes and use getopt for parsing short opts
2016-05-09 19:08:25 -07:00
Michal Moravec
653c7b6327
Ensure /usr/local/lib/ exists before creating libaugeas.dylib symlink in mac.sh bootstraper
2016-05-08 16:16:54 +02:00
Brad Warren
0f228e935d
Add backports countdown when using --yes/letsencrypt-auto
2016-05-02 11:52:57 -07:00
Brad Warren
23baf225a4
Ask before enabling backports
2016-04-22 16:44:06 -04:00
Brad Warren
ab2319e609
Respect yes with opensuse bootstrap
2016-04-22 15:00:24 -04:00
Brad Warren
40aa4dbf91
add --yes support to red hat bootstrap script
2016-04-22 14:51:40 -04:00
Brad Warren
61203db2eb
Add --yes support to arch and debian bootstrappers
2016-04-22 13:01:32 -04:00
Brad Warren
c66f0bd18e
Make le-auto helpful
2016-04-21 16:13:17 -04:00
Brad Warren
0fa18b6081
Add help text
2016-04-21 15:55:28 -04:00
Brad Warren
530033a37d
Add CLI parsing
2016-04-21 15:16:39 -04:00
Brad Warren
45681909c7
Selectively rename le-auto strings
2016-04-20 14:39:26 -04:00
Peter Eckersley
3c455b7e64
letsencrypt-auto: set CERTBOT_AUTO :)
2016-04-20 10:45:30 +10:00
Peter Eckersley
b597f4a284
[letsencrypt-auto] handle network/pypi failures more gracefully
2016-04-20 09:28:41 +10:00
Peter Eckersley
5b597e0e8b
Rebuild letsencrypt-auto from current source
2016-04-20 09:28:11 +10:00
Brad Warren
21173e2353
Partial le-auto rename
2016-04-14 10:50:31 -07:00
Brad Warren
37817130b0
Bump version to 0.6.0
2016-04-05 17:55:29 -07:00
Brad Warren
4d4cfb414f
Release 0.5.0
2016-04-05 17:55:18 -07:00
Brad Warren
ee2ef9a345
reuse venv sometimes on Python 2.6
2016-04-05 16:36:11 -07:00
Brad Warren
b0c34b7581
build le-auto
2016-04-05 16:34:42 -07:00
Erik Rose
7ac614e763
Update pipstrap to 1.1.1.
...
Report crashes without crashing under Python 2.6.
2016-04-04 16:48:15 -04:00
Robert Xiao
4be308ac0e
Support MacPorts on OS X. This fixes #2447 .
...
Notably, this also installs pip via the recommended `get-pip` route rather than
grabbing a whole new version over Homebrew; this allows the install to work with
OS X's built-in Python or with the python.org Python.
2016-03-14 16:48:40 -04:00
Brad Warren
4a17294654
Remove sigfileball and add it to gitignore
2016-03-10 13:35:06 -08:00
Brad Warren
99382b9f5b
Merge branch 'pip8'
2016-03-08 15:49:52 -08:00
Brad Warren
7f099b5355
Bump version to 0.5.0
2016-03-03 15:50:36 -08:00
Brad Warren
fe0c9c8ff1
Release 0.4.2
2016-03-03 15:50:15 -08:00
bmw
f2390edb49
Merge pull request #2594 from letsencrypt/upgrade-cryptography-version
...
upgrade cryptography version in le-auto
2016-03-03 12:40:54 -08:00
Brad Warren
bb0406ee85
quote TEMP_DIR
2016-03-03 12:01:53 -08:00
Brad Warren
8fbb6ed819
Use consistent comment style
2016-03-03 09:46:11 -08:00
Brad Warren
34eb86b226
trap magic
2016-03-03 09:44:42 -08:00
Brad Warren
bd04076bad
Install setuptools separately...
2016-03-02 19:32:06 -08:00
Brad Warren
bcdce86ced
split setuptools into own requirements
2016-03-02 19:18:40 -08:00
Brad Warren
25cd02c75e
documentation++
2016-03-02 18:18:46 -08:00
Brad Warren
dcaf600a5d
Use newest setuptools
2016-03-02 18:15:14 -08:00
bmw
cb1a5fda6a
Merge pull request #2592 from letsencrypt/upgrade-leauto-parsedatetime
...
Upgrade parsedatetime dependency
2016-03-02 18:06:42 -08:00
Brad Warren
4c9bb18777
upgrade cryptography version in le-auto
2016-03-02 15:22:18 -08:00
Erik Rose
7de0fd452c
Move pycparser above cffi in the requirements file. May fix #2499 .
...
There's no particular reason this *should* fix #2499 , but it changes how pycparser gets installed (to a more modern way: pip vs. setuptools), so it may.
2016-03-02 17:54:30 -05:00
Brad Warren
0b118c6522
Upgrade le-auto parsedatetime pin to 2.1
2016-03-02 14:53:11 -08:00
Brad Warren
94930a48c5
Bump source le-auto version
2016-03-01 12:49:25 -08:00
Brad Warren
49d8fd7d61
Release 0.4.1
2016-02-29 16:30:24 -08:00
Brad Warren
bbea71760c
grammar
2016-02-29 13:24:12 -08:00
Brad Warren
35437019a5
Merge branch 'master' into autopeep
2016-02-29 12:33:50 -08:00
Brad Warren
0c345cb8d3
Merge branch 'master' into revert-2492-unbreak-le-auto
2016-02-26 08:49:37 -08:00
Peter Eckersley
71cd638183
Merge pull request #2547 from erikrose/safer-shell-script-updates
...
Use a new file for the updated le-auto script. Fix #2456 .
2016-02-25 23:58:04 -08:00
Brad Warren
b3166497f0
Merge branch 'master' into keinwerkzeug
2016-02-25 17:16:12 -08:00
Peter Eckersley
556e9f2123
Rebuild leauto
2016-02-25 17:03:48 -08:00
Peter Eckersley
bcb40a890b
Remove werkzeug from leauto requirements
2016-02-25 16:52:29 -08:00
Peter Eckersley
a5d320bca0
Merge pull request #2465 from erikrose/mac-always-brew-python
...
Always install the homebrew version of Python. Fix #1437 .
2016-02-25 15:07:46 -08:00
Erik Rose
d4804fd9e6
Use a new file for the updated le-auto script. Fix #2456 .
...
I prefer to err toward simplicity here. Yes, there's an assumption necessary for this to work--that the shell doesn't do multiple open() calls to the script path throughout the life of the interpreter--but I think it's reasonable. The alternative of exec-ing out to a dedicated update script which then execs back to le-auto has more moving parts (like extra files that we have to clean up) and is longer.
2016-02-25 00:15:28 -05:00
bmw
aebe4b7c73
Merge pull request #2485 from letsencrypt/arch-bootstrap
...
Fix minor bootstrap problems
2016-02-24 14:40:44 -08:00
Peter Eckersley
38d4b62a3f
Merge pull request #2473 from dave-cz/patch-1
...
sudo: not found [needs revision]
2016-02-23 17:35:59 -08:00
bmw
3c43698280
Merge pull request #2486 from erikrose/peep-3.1.1
...
Upgrade peep to 3.1.1.
2016-02-23 08:17:57 -08:00
bmw
db4135a3ec
Revert "Revert "Let --no-self-upgrade bootstrap OS packages. Fix #2432.""
2016-02-22 11:21:04 -08:00
dave-cz
eec6287d12
change in the source file
2016-02-18 09:57:06 +01:00
Brad Warren
dbc81490e5
Revert "Let --no-self-upgrade bootstrap OS packages. Fix #2432."
...
This reverts commit 6eb2d60166 .
2016-02-16 17:10:59 -08:00
Erik Rose
c71fa44456
Upgrade peep to 3.1.1.
...
Fix bad LE experience reported at https://github.com/erikrose/peep/issues/119 .
2016-02-16 17:51:08 -05:00
Brad Warren
55228e2df4
Remove quotes around SUDO in other bootstrap scripts
2016-02-16 14:30:35 -08:00
Brad Warren
4b25d6543f
Don't exit without installing packages
2016-02-16 14:19:27 -08:00
Brad Warren
95efab93b7
Remove quotes around $SUDO
2016-02-16 13:59:28 -08:00
Peter Eckersley
805e85dd64
Make requirements.txt safe for editing
2016-02-16 12:34:35 -08:00
Erik Rose
e8f6d4ff39
Merge the true public suitability of --no-self-upgrade. Close #2451 .
2016-02-16 15:12:26 -05:00
Erik Rose
3915e0014b
Merge removal of venv on le-auto failure. Close #2450 .
2016-02-16 15:02:23 -05:00
David
c83517c6f1
sudo: not found
...
Executed as root
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt/
./letsencrypt-auto --help
failed with message
./letsencrypt-auto: 171: ./letsencrypt-auto: sudo: not found
2016-02-15 09:29:29 +01:00
Peter Eckersley
f3894fb9e9
Merge pull request #2466 from erikrose/shelly-fixes
...
le-auto shell style improvements
2016-02-13 10:37:58 -08:00
Erik Rose
e08aa36a4e
Switch to case statement for arg parsing in le-auto.
...
Ported from #1751 .
* It's more lines but fewer tokens, less room for quote errors, and more idiomatic (see any init.d script).
* Also, fix a bug in which any option containing "-v", e.g. --eat-vertical-pizza, would be construed as --verbose.
2016-02-12 17:36:48 -05:00
Erik Rose
4c2c80dcda
Fix DeterminePythonVersion().
...
Ported from #1751 .
* Make sure any Python passed in as $LE_PYTHON actually exists.
* Dodge a word-splitting bug: `a='a b'; export a=${a:-c}; echo $a` gives `a` instead of `a b` under shells that respect POSIX.1, like dash.
2016-02-12 17:23:29 -05:00
Erik Rose
043273960e
Always install the homebrew version of Python. Fix #1437 .
...
Otherwise, we sometimes end up using the system Python, for which we'd need to use sudo to install virtualenv. Brew complicates this by yelling at you if you do use sudo. So let's simplify things by always using the homebrew python, which is more up to date anyway.
2016-02-12 15:47:24 -05:00
Erik Rose
dc8bdfac56
Quote the remaining variable expansions in le-auto. Refs #1899 .
...
...except for $SUDO, which is always either "sudo", "su_sudo", or "", never having a quote-needing char in it.
It's unlikely that $PYVER would have a space in it, but it doesn't hurt.
2016-02-12 15:08:07 -05:00
Erik Rose
af8e8fa969
Merge elimination of warnings when brew packages are already installed. Close #1988 .
...
Also correct some capitalization and grammar.
2016-02-12 12:16:05 -05:00
Erik Rose
cedcad1373
Use python -V instead of python --version. Fix #2039 .
...
Python 2.4 doesn't support --version, and we want to be able to at least complain that it's too old without crashing.
Also, bring built le-auto up to date.
2016-02-12 11:49:01 -05:00
Erik Rose
28ac61f37e
Merge Gentoo fixes: docs, recording of deps in world set.
2016-02-11 19:10:13 -05:00
Erik Rose
eb4e8bf59e
Add a "success" message after installation. Fix #1621 . Close #2214 .
2016-02-11 18:42:27 -05:00
Erik Rose
6eb2d60166
Let --no-self-upgrade bootstrap OS packages. Fix #2432 .
...
--no-self-upgrade metamorphosed from a private flag to a public one, so add a new private flag, --le-auto-phase2 to take its original role of marking the division between phases. This flag must come first and, consequently, can be stripped off the arg list before calling through to letsencrypt, which means the client doesn't need to know about it.
The downside is that anyone still (deprecatedly) running le-auto out of the root of a (recently updated) master checkout will get a "Hey, the current release version le-auto I just self-upgraded to doesn't understand the --le-auto-phase2 flag" error from when we merge this until the next release is made, but that's better than a documented option not working right.
Also, remove a needless folder creation from the Dockerfile.
2016-02-11 18:03:01 -05:00
Erik Rose
d791697b93
If le-auto's installation fails, delete the venv. Fix #2332 .
...
Leaving broken venvs around can, if it got as far as installing the venv/bin/letsencrypt script, wreck future le-auto runs, since the presence of that script means "a working LE is installed" to it. Waiting until a new version of le-auto comes out and running it would recover, but this lets re-running the same version recover as well.
2016-02-11 17:17:09 -05:00
Peter Eckersley
74063851e3
Release 0.4.0
2016-02-10 18:48:40 -08:00
Gian Carlo Pace
d34c6779e8
added a missing space in letsencrypt-auto.template as well
2016-02-09 23:34:38 +01:00
Gian Carlo Pace
3a9f91a169
added a missing space that was causing an error in letsencrypt-auto script
2016-02-09 22:39:17 +01:00
Erik Rose
505e66b57c
Move the venv setup scripts to the tools folder.
...
They were the last things left in the bootstrap folder, and they were lonely.
2016-02-05 18:31:41 -05:00
Brad Warren
5bca100b25
Merge branch 'master' into real-py26-support
2016-02-02 12:35:28 -08:00