[SRU] Please backport UbuntuDistroInfo().get_all(result="object") to Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
distro-info (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Xenial |
Fix Committed
|
High
|
Nathan Teodosio |
Bug Description
I'm working on a update to software-properties in 16.04 to support the Ubuntu Pro tab. That work was already released to >=18.04, containing, for example, in commit "Show extended security maintenance status"[1]:
```python
def current_distro():
distro = aptsources.
di = distro_
releases = di.get_
[...]
```
That is functionality introduced in versions 0.15 and 0.16 of distro-info, for which Xenial didn't receive a backport yet.
Test Plan
---------
1. Install the update.
2. Verify that running this in a shell prints a list of a correct list of EOL date (in YY-MM-DDDD format) and distribution name to the standard output:
--->
python3 <<EOF | sort -n
import distro_info
for d in distro_
print("%s %s" % (d.eol, d.codename))
EOF
<---
Regression potential
-------
If something were wrong with this update, reverse dependencies could misidentify a given release, e.g. by incorrectly assessing a user release as supported or no longer supported, LTS or non-LTS etc..
description: | updated |
summary: |
- Please backport changes to Xenial + Please backport UbuntuDistroInfo().get_all(result="object") to Xenial |
tags: | added: patch |
Changed in distro-info (Ubuntu): | |
status: | Incomplete → Triaged |
description: | updated |
Changed in distro-info (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → High |
summary: |
- Please backport UbuntuDistroInfo().get_all(result="object") to Xenial + [SRU] Please backport UbuntuDistroInfo().get_all(result="object") to + Xenial |
description: | updated |
Debdiff of xenial attached.