Actions
Issue #7826
closedSync breaks when it is not possible to determine the highest collection version
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
if semver.compare(collection_version.version, last_highest.version) > 0:
https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/app/tasks/collections.py#L223
In [1]: import semantic_version as semver
In [2]: semver.compare("9.1.0-dev.1+40688.git966d0b3", "9.1.0-dev.1+40390.gita455009")
Out[2]: NotImplemented
In [3]: semver.Version("9.1.0-dev.1+40688.git966d0b3") > semver.Version("9.1.0-dev.1+40390.gita455009")
Out[3]: False
In [4]: semver.Version("9.1.0-dev.1+40688.git966d0b3") < semver.Version("9.1.0-dev.1+40390.gita455009")
Out[4]: False
In [5]: semver.Version("9.1.0-dev.1+40688.git966d0b3") == semver.Version("9.1.0-dev.1+40390.gita455009")
Out[5]: False
https://galaxy.ansible.com/api/v2/collections/brightcomputing/bcm/versions/
Updated by fao89 about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar about 4 years ago
Updated by Anonymous about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_ansible|0da490860fb63374f00fde0fd39fd3d4f3087c18.
Updated by pulpbot about 4 years ago
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fix semver comparison
https://pulp.plan.io/issues/7826 closes #7826