mirror of
https://github.com/certbot/certbot.git
synced 2026-02-27 03:44:47 -05:00
This pull request ensures that we use distro package in all the distribution version detection. It also replaces the custom systemd /etc/os-release parsing and adds a few version fingerprints to Apache override selection.
Fixes: #7405
* Revert "Try to use platform.linux_distribution() before distro equivalent (#7403)"
This reverts commit ca3077d034.
* Use distro for all os detection code
* Address review comments
* Add changelog entry
* Added tests
* Fix tests to return a consistent os name
* Do not crash on non-linux systems
* Minor fixes to distro compatibility checks
* Make the tests OS independent
* Update certbot/util.py
Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>
* Skip linux specific tests on other platforms
* Test fixes
* Better test state handling
* Lower the coverage target for Windows tests
18 lines
482 B
YAML
18 lines
482 B
YAML
coverage:
|
|
status:
|
|
project:
|
|
default: off
|
|
linux:
|
|
flags: linux
|
|
# Fixed target instead of auto set by #7173, can
|
|
# be removed when flags in Codecov are added back.
|
|
target: 97.4
|
|
threshold: 0.1
|
|
base: auto
|
|
windows:
|
|
flags: windows
|
|
# Fixed target instead of auto set by #7173, can
|
|
# be removed when flags in Codecov are added back.
|
|
target: 97.4
|
|
threshold: 0.1
|
|
base: auto
|