certbot/certbot-apache/certbot_apache
Adrien Ferrand d5de24d9fc [Windows] Security model for files permissions - STEP 2 (#6895)
This PR is the second part of #6497 to ease the integration, following the new plan propose by @bmw here: #6497 (comment)

This PR creates the module certbot.compat.os, that delegates everything to os, and that will be the safeguard against problematic methods of the standard module. On top of that, a quality check wrapper is called in the lint tox environment. This wrapper calls pylint and ensures that standard os module is no used directly in the certbot codebase.

Finally local oldest requirements are updated to ensure that tests will take the new logic when running.

* Add executable permissions

* Add the delegate certbot.compat.os module, add check coding style to enforce usage of certbot.compat.os instead of standard os

* Load certbot.compat.os instead of os

* Move existing compat test

* Update local oldest requirements

* Import sys

* Update account_test.py

* Update os.py

* Update os.py

* Update local oldest requirements

* Implement the new linter_plugin

* Fix local oldest for nginx

* Remove check coding style

* Update linter_plugin.py

* Add several comments

* Update the setup.py

* Add documentation

* Update acme dependencies

* Update certbot/compat/os.py

* Update docs/contributing.rst

* Update linter_plugin.py

* Handle os.path. Simplify checker.

* Add a comment to a reference implementation

* Update changelog

* Fix module registering

* Update docs/contributing.rst

* Update config and changelog
2019-04-12 13:32:51 -07:00
..
augeas_lens Update Augeas lens to fix some Apache configuration parsing issues (#6438) 2018-10-31 09:34:14 -07:00
tests [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
apache_util.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -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 [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
constants.py Gradually increasing HSTS max-age (#5912) 2018-06-21 07:27:19 -07:00
display_ops.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07: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 [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
obj.py Fix Pylint upgrade issues 2018-05-16 20:37:39 +00:00
options-ssl-apache.conf update Apache ciphersuites (#5383) 2018-01-09 07:46:21 -08:00
override_arch.py Make Apache control script and binary paths configurable on command line (#6238) 2018-08-02 08:17:38 -07:00
override_centos.py Try to restart httpd on Fedora if config check fails (#6941) 2019-04-12 09:40:51 -07:00
override_darwin.py Make Apache control script and binary paths configurable on command line (#6238) 2018-08-02 08:17:38 -07:00
override_debian.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
override_gentoo.py Merge branch 'master' into pylint 2019-04-02 22:32:01 +02:00
override_suse.py fix(apache): s/handle_mods/handle_modules (#6347) 2018-09-06 15:00:20 -07:00
parser.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00