Package: base-files
Version: 9.9+deb9u9
Severity: minor

Dear Maintainer,

I am an Ansible Core maintainer and I would like to request that the
minor verison information, e.g., 9.9, be included in /etc/os-release on
Debian.

> What led up to the situaiton?

In Ansible, We recently switched to using the distro Python library for parsing 
distribution
version information. distro uses /etc/os-release as the main source of truth
for information about a given distribution.

Previously, we were using platform.dist(), but this
is now deprecated. With platform.dist(), we receieved the minor version
information and our users found this information helpful.

With the switch to distro, the minor version of Debian is no longer returned by
default.

I have a workaround[1] to get minor version information using distro,
but would prefer to have the minor version added to /etc/os-release in
Debian if the maintainers of Debian feel the minor version number is valid 
and/or
supported.

We asked the CentOS maintainers[2] and they do not support point
versions, so CentOS, omitting the minor version inforamition from
/etc/os-release is appropirate.

I wanted to make the same request of the Debian maintainers.

Thank you very much for your time.

---

Respectfully,

Sam Doran
Ansible Core


[1]: https://github.com/ansible/ansible/pull/57814
[2]: https://github.com/ansible/ansible/issues/50141#issuecomment-449452781



-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.125-linuxkit (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages base-files depends on:
ii  mawk [awk]  1.3.3-17+b3

base-files recommends no packages.

base-files suggests no packages.

-- no debconf information

Reply via email to