certbot/certbot-apache/certbot_apache
Joona Hoikkala 2564566e1c Do not call IPlugin.prepare() for updaters when running renew (#6167)
interfaces.GenericUpdater and new enhancement interface updater functions get run on every invocation of Certbot with "renew" verb for every lineage. This causes performance problems for users with large configurations, because of plugin plumbing and preparsing happening in prepare() method of installer plugins. This PR moves the responsibility to call prepare() to the plugin (possibly) implementing a new style enhancement interface.

Fixes: #6153

* Do not call IPlugin.prepare() for updaters when running renew

* Check prepare called in tests

* Refine pydoc and make the function name more informative

* Verify the plugin type
2018-07-06 13:19:29 -07:00
..
augeas_lens Merge Augeas fix for comment line continuations 2016-06-22 10:00:31 +01:00
tests Do not call IPlugin.prepare() for updaters when running renew (#6167) 2018-07-06 13:19:29 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
apache_util.py Gradually increasing HSTS max-age (#5912) 2018-06-21 07:27:19 -07:00
augeas_configurator.py Do not parse disabled configuration files from under sites-available on Debian / Ubuntu (#4104) 2017-09-25 12:03:09 -07:00
centos-options-ssl-apache.conf update Apache ciphersuites (#5383) 2018-01-09 07:46:21 -08:00
configurator.py Do not call IPlugin.prepare() for updaters when running renew (#6167) 2018-07-06 13:19:29 -07:00
constants.py Gradually increasing HSTS max-age (#5912) 2018-06-21 07:27:19 -07:00
display_ops.py Apache plugin wildcard support for ACMEv2 (#5608) 2018-02-28 11:31:47 -08:00
entrypoint.py Add override class for ID="ol" AKA Oracle Linux Server, a clone of CentOS/RHEL. 2018-02-18 15:45:22 -06:00
http_01.py Issue 5951/check untyped defs apache (#5989) 2018-05-15 10:40:32 -07:00
obj.py Issue 5951/check untyped defs apache (#5989) 2018-05-15 10:40:32 -07:00
options-ssl-apache.conf update Apache ciphersuites (#5383) 2018-01-09 07:46:21 -08:00
override_arch.py Distribution specific override functionality based on class inheritance (#5202) 2017-12-04 11:49:18 -08:00
override_centos.py Issue 5951/check untyped defs apache (#5989) 2018-05-15 10:40:32 -07:00
override_darwin.py Distribution specific override functionality based on class inheritance (#5202) 2017-12-04 11:49:18 -08:00
override_debian.py Address minor concerns with Apache HTTP-01 2018-01-11 09:59:25 -08:00
override_gentoo.py If restart fails, try alternative restart command if available (#5500) 2018-04-03 14:05:37 -07:00
override_suse.py Distribution specific override functionality based on class inheritance (#5202) 2017-12-04 11:49:18 -08:00
parser.py Gradually increasing HSTS max-age (#5912) 2018-06-21 07:27:19 -07:00
tls_sni_01.py Issue 5951/check untyped defs apache (#5989) 2018-05-15 10:40:32 -07:00