Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: eb894eff72b054d5657f593c5be4ac53269347c5
https://github.com/openSUSE/osc/commit/eb894eff72b054d5657f593c5be4ac5326934...
Author: Tomas Krizek
Date: 2019-12-05 (Thu, 05 Dec 2019)
Changed paths:
M osc/core.py
Log Message:
-----------
core: support distro module for platform detection
Python 3.8 no longer supports platform.linux_distribution().
Compatibility with Python 2.6+ is kept. The
platform.linux_distribution() function is available since 2.6:
https://docs.python.org/2.6/library/platform.html?platform.linux_distributio...
Commit: 7621e79ddfa7f11a232aac73f380f3aae76ee827
https://github.com/openSUSE/osc/commit/7621e79ddfa7f11a232aac73f380f3aae76ee...
Author: Marcus Huewe
Date: 2019-12-05 (Thu, 05 Dec 2019)
Changed paths:
M osc/core.py
Log Message:
-----------
Merge branch 'linux-platform-detection' of https://github.com/tomaskrizek/osc
Use the distro module (if available) for guessing the linux distribution.
In case of python < 3.8, use the platform.linux_distribution() fallback if
no distro module is available.
Rationale: platform.linux_distribution() was dropped in python3.8
Compare: https://github.com/openSUSE/osc/compare/7391b70d1468...7621e79ddfa7