certbot/certbot
Adrien Ferrand 3d0e16ece3 [Windows|Unix] Rewrite bash scripts for tests into python (#6435)
Certbot relies heavily on bash scripts to deploy a development environment and to execute tests. This is fine for Linux systems, including Travis, but problematic for Windows machines.

This PR converts all theses scripts into Python, to make them platform independant.

As a consequence, tox-win.ini is not needed anymore, and tox can be run indifferently on Windows or on Linux using a common tox.ini. AppVeyor is updated accordingly to execute tests for acme, certbot and all dns plugins. Other tests are not executed as they are for Docker, unsupported Apache/Nginx/Postfix plugins (for now) or not relevant for Windows (explicit Linux distribution tests or pylint).

Another PR will be done on certbot website to update how a dev environment can be set up.

* Replace several shell scripts by python equivalent.

* Correction on tox coverage

* Extend usage of new python scripts

* Various corrections

* Replace venv construction bash scripts by python equivalents

* Update tox.ini

* Unicode lines to compare files

* Put modifications on letsencrypt-auto-source instead of generated scripts

* Add executable permissions for Linux.

* Merge tox win tests into main tox

* Skip lock_test on Windows

* Correct appveyor config

* Update appveyor.yml

* Explicit coverage py27 or py37

* Avoid to cover non supported certbot plugins on Windows

* Update tox.ini

* Remove specific warnings during CI

* No cover on a debug code for tests only.

* Update documentation and help script on venv/venv3.py

* Customize help message for Windows

* Quote correctly executable path with potential spaces in it.

* Copy pipstrap from upstream
2018-11-07 17:16:16 -08:00
..
display [Windows] Create the CI logic (#6374) 2018-10-19 14:53:15 -07:00
plugins Lexicon v3 compatibility (#6474) 2018-11-05 14:07:09 -08:00
tests [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00
.gitignore s/letsencrypt/certbot 2016-04-13 16:03:59 -07:00
__init__.py Bump version to 0.29.0 2018-11-07 13:22:59 -08:00
account.py Make Certbot runnable on Windows (#6296) 2018-09-08 07:34:27 -07:00
achallenges.py Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
auth_handler.py Log warning about TLS-SNI deprecation in Certbot (#6468) 2018-11-05 15:01:16 -08:00
cert_manager.py Make Certbot runnable on Windows (#6296) 2018-09-08 07:34:27 -07:00
cli.py Make it clear that we don't need both --cert-path and --cert-name 2018-09-20 19:51:27 -07:00
client.py Make Certbot runnable on Windows (#6296) 2018-09-08 07:34:27 -07:00
compat.py [Windows] Handle file renaming when the destination path already exists (#6415) 2018-11-06 15:35:09 -08:00
configuration.py Reuse ACMEv1 accounts for ACMEv2 (#5902) 2018-06-04 16:04:47 -07:00
constants.py Update default to ACMEv2 server (#6152) 2018-07-11 11:20:36 -07:00
crypto_util.py [Windows] Create the CI logic (#6374) 2018-10-19 14:53:15 -07:00
eff.py Changing opt-in ask for emails (#6035) 2018-05-23 20:40:34 -07:00
error_handler.py Prepare certbot module for mypy check untyped defs (#6005) 2018-05-18 06:28:17 -07:00
errors.py PluginStorage to store variables between invocations. (#5468) 2018-04-11 08:54:55 -07:00
hooks.py Prepare certbot module for mypy check untyped defs (#6005) 2018-05-18 06:28:17 -07:00
interfaces.py Do not call IPlugin.prepare() for updaters when running renew (#6167) 2018-07-06 13:19:29 -07:00
lock.py Make Certbot runnable on Windows (#6296) 2018-09-08 07:34:27 -07:00
log.py Make Certbot runnable on Windows (#6296) 2018-09-08 07:34:27 -07:00
main.py [Windows] Create the CI logic (#6374) 2018-10-19 14:53:15 -07:00
notify.py s/Let's Encrypt/Certbot 2016-04-13 16:13:50 -07:00
ocsp.py Fix direct usages of the root logger (#4236) 2017-02-27 18:13:06 -08:00
renewal.py [Windows] Create the CI logic (#6374) 2018-10-19 14:53:15 -07:00
reporter.py Refactoring for better logging (#4444) 2017-03-30 16:17:57 -07:00
reverter.py [Windows] Handle file renaming when the destination path already exists (#6415) 2018-11-06 15:35:09 -08:00
ssl-dhparams.pem Use ffdhe2048 Nginx DH params to fix Weak-DH bug (#4973) 2017-09-01 07:57:30 -07:00
storage.py [Windows] Handle file renaming when the destination path already exists (#6415) 2018-11-06 15:35:09 -08:00
updater.py Do not call IPlugin.prepare() for updaters when running renew (#6167) 2018-07-06 13:19:29 -07:00
util.py [Windows] Create the CI logic (#6374) 2018-10-19 14:53:15 -07:00