certbot/certbot-apache
Joona Hoikkala 9620cc75d4 [Apache v2] Allow initialization of ParserNode instances using metadata dictionary instead of required arguments (#7366)
Add metadata keyword argument to the ParserNode interface, allowing the initialization of the object from contents of the metadata - if the implementation allows it. As an example, Augeas implementation needs nothing more than the Augeas DOM path of a configuration directive to be able to populate the ParserNode instance with all data relevant to the DirectiveNode.

The checks also allow skipping the otherwise required keyword arguments if metadata is provided.

* Allow creating ParserNode instances using information from metadata dictionary

* Update certbot-apache/certbot_apache/interfaces.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Update certbot-apache/certbot_apache/interfaces.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Address review comments

* Fix filepath comment

* Update certbot-apache/certbot_apache/interfaces.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
2019-09-09 12:09:09 -07:00
..
certbot_apache [Apache v2] Allow initialization of ParserNode instances using metadata dictionary instead of required arguments (#7366) 2019-09-09 12:09:09 -07:00
docs [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
LICENSE.txt s/letsencrypt/certbot letsencrypt-apache 2016-04-13 16:30:57 -07:00
local-oldest-requirements.txt Release 0.37.0 2019-08-07 10:35:11 -07:00
MANIFEST.in Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
README.rst s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
readthedocs.org.requirements.txt s/letsencrypt/certbot letsencrypt-apache 2016-04-13 16:30:57 -07:00
setup.cfg Tell the world we're Python 3 compatible (#4568) 2017-04-28 16:06:45 -07:00
setup.py Bump version to 0.38.0 2019-08-07 10:35:13 -07:00

Apache plugin for Certbot