Task #5223
closed
Add highest version mark to CollectionVersion model
Status:
CLOSED - CURRENTRELEASE
- Tracker changed from Issue to Task
- % Done set to 0
- Status changed from NEW to POST
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Sprint/Milestone set to 0.2.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Add is_highest field to CollectionVersion model
is_highest
is a boolean field that indicates if a specific collection version has the highest version in a set of available collection versions. This patch adds the field, migration and data migration for it.NOTE: Since the semver comparison is implemented in Python, data migration fetches all required data into memory. Even considering limited number of fields that queries fetch, the operation may have impact on performance or even fail if out of memory.
https://pulp.plan.io/issues/5223 closes #5223