New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make letsencrypt-auto release-suitable, self-upgrading, and self-contained. #1665
Changes from 31 commits
8ba831a
ec415b2
1a8f40e
a75c743
602e977
7fb9295
2c36f59
86203c8
fe77da2
e3ace6f
4abe7ab
ec9a498
cdd855c
66436c5
f9d1de6
9d6cbea
3f0bcb5
a1b2626
346ec58
4a69584
fc52608
5bae8e0
be6c34d
02255fa
46779da
5cc69d9
55a52d1
4bcd594
4a44c46
6db54e2
1da5e47
8b2c5cb
0c4a7bb
d9cde2b
7e04f52
e6cece5
cad4e98
fa30625
5f694e3
7d182c2
726376f
14d3d4a
d0bbe44
b2a0142
9181271
0f78753
1ad21f9
56bda20
f4011cc
8bb0631
88c4260
b008770
0a122cb
404de84
484b032
d83dda8
275d3b4
5aa9fe9
8a3bbf9
4940ee2
ba6bf45
4fd9d39
762709a
4b075df
98b3c41
e5e5c2d
134b7ab
bb31d71
1d719bd
cd43e90
f2586fb
5512838
2eb3e09
7cfb10b
7a8507d
bbd53d6
0c09eaf
d915f63
e17bb27
2f3425a
be653e8
916f891
1b3c8e8
66ca744
6c05197
ed56264
7ee23b7
a3288a9
cb5beb8
3abf028
a7ae436
2d4c21a
435dfc0
e192cce
7945db7
ab07620
86266f5
d813097
587e2e7
a1f6678
a287b50
bccb212
c3ea4bd
25e428c
2771249
ecbe2a5
1706619
e1bd164
e923901
aefd5b2
b20eab6
3c1ba61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ once: | |
|
||
git clone https://github.com/letsencrypt/letsencrypt | ||
cd letsencrypt | ||
./bootstrap/install-deps.sh | ||
./letsencrypt-auto/letsencrypt-auto --os-packages-only | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incorrect path. |
||
./bootstrap/dev/venv.sh | ||
|
||
Then in each shell where you're working on the client, do: | ||
|
@@ -359,75 +359,37 @@ Now run tests inside the Docker image: | |
Notes on OS dependencies | ||
======================== | ||
|
||
OS level dependencies are managed by scripts in ``bootstrap``. Some notes | ||
are provided here mainly for the :ref:`developers <hacking>` reference. | ||
OS-level dependencies can be installed like so: | ||
|
||
In general: | ||
.. code-block:: shell | ||
|
||
letsencrypt-auto/letsencrypt-auto --os-packages-only | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, I think we should just make it simpler and revert all changes to this file for now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can be confident in the le-auto-based bootstrapping at this point. It's textually almost identical to the old scripts, and we've vetted it on the test farm and in the community. Furthermore, we're talking to devs here, and they should be using the latest, not least because they know how to file bugs at us if it doesn't work. :-) |
||
|
||
In general... | ||
|
||
* ``sudo`` is required as a suggested way of running privileged process | ||
* `Augeas`_ is required for the Python bindings | ||
* ``virtualenv`` and ``pip`` are used for managing other python library | ||
dependencies | ||
|
||
What follow are OS-specific notes for the :ref:`developers <hacking>` reference. | ||
|
||
.. _Augeas: http://augeas.net/ | ||
.. _Virtualenv: https://virtualenv.pypa.io | ||
|
||
Ubuntu | ||
------ | ||
|
||
.. code-block:: shell | ||
|
||
sudo ./bootstrap/ubuntu.sh | ||
|
||
|
||
Debian | ||
------ | ||
|
||
.. code-block:: shell | ||
|
||
sudo ./bootstrap/debian.sh | ||
|
||
For squeeze you will need to: | ||
|
||
- Use ``virtualenv --no-site-packages -p python`` instead of ``-p python2``. | ||
|
||
|
||
.. _`#280`: https://github.com/letsencrypt/letsencrypt/issues/280 | ||
|
||
|
||
Mac OSX | ||
------- | ||
|
||
.. code-block:: shell | ||
|
||
./bootstrap/mac.sh | ||
|
||
|
||
Fedora | ||
------ | ||
|
||
.. code-block:: shell | ||
|
||
sudo ./bootstrap/fedora.sh | ||
|
||
|
||
Centos 7 | ||
-------- | ||
|
||
.. code-block:: shell | ||
|
||
sudo ./bootstrap/centos.sh | ||
|
||
|
||
FreeBSD | ||
------- | ||
|
||
.. code-block:: shell | ||
|
||
sudo ./bootstrap/freebsd.sh | ||
|
||
Bootstrap script for FreeBSD uses ``pkg`` for package installation, | ||
i.e. it does not use ports. | ||
Package installation for FreeBSD uses ``pkg``, not ports. | ||
|
||
FreeBSD by default uses ``tcsh``. In order to activate virtualenv (see | ||
below), you will need a compatible shell, e.g. ``pkg install bash && | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad path