[Bug 2029089] Re: Please backport UbuntuDistroInfo().get_all(result="object") to Xenial
Benjamin Drung
2029089 at bugs.launchpad.net
Mon Jul 31 10:02:04 UTC 2023
Debdiff of xenial attached.
** Patch added: "distro-info_0.14ubuntu0.3.debdiff"
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/2029089/+attachment/5689540/+files/distro-info_0.14ubuntu0.3.debdiff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to distro-info in Ubuntu.
https://bugs.launchpad.net/bugs/2029089
Title:
Please backport UbuntuDistroInfo().get_all(result="object") to Xenial
Status in distro-info package in Ubuntu:
New
Bug description:
I'm working on a update to software-properties in 16.04 to support the
Ubuntu Pro tab. This work has already been released to >=18.04 (e.g.
check Pro commits to https://code.launchpad.net/~ubuntu-core-
dev/software-properties/+git/software-properties/+ref/ubuntu/bionic),
but Xenial didn't receive a backport. Could you please procure that?
The commit in question is "Show extended security maintenance status"
which adds:
```python
def current_distro():
distro = aptsources.distro.get_distro()
di = distro_info.UbuntuDistroInfo()
releases = di.get_all(result="object")
[...]
```
This was added in distro-info 0.15 and 0.16.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/2029089/+subscriptions
More information about the foundations-bugs
mailing list