Actions
Issue #1437
closedversion_sort_index incorrectly defined on Distribution unit definitions
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
The Distribution unit defines a field named version_sort_index which has a note[0] indicating it is probably not used by Distributions. This field is also not defined in the docs[1] for the Distribution type which further supports that it is not used.
This task is to investigate if it can be removed, and if so remove it and the comment about it from the model definition. If this was never written into the DB in a <2.8.0 release then no migration needs to be written.
[0]: https://github.com/bmbouter/pulp_rpm/blob/2fbaa0221bc9d585067458dd72194ced15078e50/plugins/pulp_rpm/plugins/db/models.py#L192-L193
[1]: https://pulp-rpm.readthedocs.org/en/latest/tech-reference/yum-plugins.html#distribution
Actions