Merge lp:~smoser/simplestreams/trunk.fix-bionic-tools into lp:simplestreams
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 458 |
Proposed branch: | lp:~smoser/simplestreams/trunk.fix-bionic-tools |
Merge into: | lp:simplestreams |
Diff against target: |
25 lines (+12/-3) 1 file modified
tools/ubuntu_versions.py (+12/-3) |
To merge this branch: | bzr merge lp:~smoser/simplestreams/trunk.fix-bionic-tools |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Watkins (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
simplestreams-dev | Pending | ||
Review via email: mp+337892@code.launchpad.net |
Commit message
Fix ubuntu_versions.py with distro_info > 0.14.
The 'hack_all' nature of 'hack_all' variable name showed itself.
We had been accessing '_rows'. That is now '_releases' and
the content there is no longer a dictionary but rather a
DistroRelease object.
The reason we have to do this at all is to get at the datetime
object for 'eol'. Without that, all we can do is provide a date
and check if a release is supported as of that date. What we want
is to publish the EOL date (in YYYY-MM-DD format).
This change was present in distro_info at 0.15. Artful had 0.17,
bionic has 0.18. Apparently we just didn't notice until now.
To post a comment you must log in.
PASSED: Continuous integration, rev:457 /jenkins. ubuntu. com/server/ job/simplestrea ms-ci/49/ /jenkins. ubuntu. com/server/ job/simplestrea ms-ci/nodes= metal-amd64/ 49 /jenkins. ubuntu. com/server/ job/simplestrea ms-ci/nodes= metal-arm64/ 49 /jenkins. ubuntu. com/server/ job/simplestrea ms-ci/nodes= metal-ppc64el/ 49 /jenkins. ubuntu. com/server/ job/simplestrea ms-ci/nodes= metal-s390x/ 49
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/simplestrea ms-ci/49/ rebuild
https:/