dannf / ubuntu-server-netboot

Other
43 stars 9 forks source link

Extend UbuntuDistroInfo class to support version() method #6

Closed dannf closed 3 years ago

dannf commented 3 years ago

The version() method wasn't supported by distro_info until version 0.23, which is newer than some supported OS releases ship (Ubuntu 18.04 currently has 0.18). Extend the class to provide our own copy for backwards compatibility. Fixes: #5.

Use of distro-info is one of the things that prevents us from being distro-agnostic, so it would be better if we could replace it entirely.

dannf commented 3 years ago

Mind reviewing @tai271828 ?