Author xnox
Recipients andymaier, benjamin.peterson, berker.peksag, bgomes, christian.heimes, doko, draghuram, eric.araujo, georg.brandl, lemburg, pavel.vinogradov, petr.viktorin, pola, python-dev, sapetnioc, vajrasky, vstinner, xnox, zooko
Date 2015-05-26.15:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432654494.31.0.152923845658.issue1322@psf.upfronthosting.co.za>
In-reply-to
Content
Why not change them to parse os-release files as defined by 

http://www.freedesktop.org/software/systemd/man/os-release.html

A lot of things use these functions to check what one is running on, despite the problems, and do different things at install time.

This deprecation and eventual removal, will result in a pypi module created with such functionality anyway, that everyone will try to pull in.... or falling that copying in.

Here in https://clearlinux.org team we have patches to switch these to parse /etc/os-release;/usr/lib/os-release files instead. Would you be open to deprecate parsing any other files but os-release going forward? As that is standard across all linux distributions for quite some time now.

Regards,

Dimitri.
Debian Developer, Ubuntu Core Developer, Clear Linux* Project Developer.
History
Date User Action Args
2015-05-26 15:34:54xnoxsetrecipients: + xnox, lemburg, georg.brandl, doko, zooko, vstinner, draghuram, christian.heimes, sapetnioc, benjamin.peterson, pavel.vinogradov, bgomes, eric.araujo, petr.viktorin, python-dev, pola, berker.peksag, vajrasky, andymaier
2015-05-26 15:34:54xnoxsetmessageid: <1432654494.31.0.152923845658.issue1322@psf.upfronthosting.co.za>
2015-05-26 15:34:54xnoxlinkissue1322 messages
2015-05-26 15:34:54xnoxcreate