[Bug 2029089] Re: Please backport UbuntuDistroInfo().get_all(result="object") to Xenial
Robie Basak
2029089 at bugs.launchpad.net
Tue Aug 1 20:06:56 UTC 2023
We have an exception for ubuntu-advantage-tools because it provides the
"gateway" to Pro for users - without that we'd end up with a circular
problem that would just make it difficult for users to initially enable
Pro.
I think probably that also should apply to other packages involved in
providing that gateway. It sounds like this should qualify. I'll ask to
see if there's SRU team consensus on this.
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2029089
Title:
Please backport UbuntuDistroInfo().get_all(result="object") to Xenial
Status in distro-info package in Ubuntu:
Incomplete
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 Ubuntu-sponsors
mailing list