Merge ~smoser/curtin:fix/1786795-get_package_version into curtin:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 3814cacbd756549fa139cf0eae3ae3e8542a884e |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~smoser/curtin:fix/1786795-get_package_version |
Merge into: | curtin:master |
Diff against target: |
137 lines (+93/-6) 2 files modified
curtin/util.py (+31/-6) tests/unittests/test_util.py (+62/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper (community) | Approve | ||
Review via email: mp+353010@code.launchpad.net |
Commit message
parse_dpkg_version: support non-numeric in version string.
This fixes parse_dpkg_version for packages with non-numeric (0-9.)
in their versions. It also improves it to work for native packages.
Native packages do not have '-'. Also adds tests of parse_dpkg_version.
LP: #1786795
Description of the change
see commit message
To post a comment you must log in.
Really nice clean up. Thanks!