Story #5402
closed
As a developer, Package content allows ORDER_BY in postgres based on EVR comparisons
Status:
CLOSED - CURRENTRELEASE
Description
In order to be able to do things like ORDER BY (EVR) in postgres on the Package
content unit, we need to have a type and a comparison method available. Some examples of this include:
Debian:
Spacewalk:
VMaaS:
We should probably adopt one of the existing methods for the Package model.
- Subject changed from As Pulp3, I need to be able to do ORDER_BY in postgres based on EVR comparisons to As a developer, Package content allows ORDER_BY in postgres based on EVR comparisons
- Description updated (diff)
Is the idea that there will be a field on the model and a DB trigger would populate it?
- Priority changed from Normal to High
- Sprint/Milestone set to Priority items (outside of planned milestones/releases)
Priority is high assuming this is blocking support of "keep N versions of RPMs in a repo"
- Blocked by Story #5950: Add database support for comparing EVRs added
- Blocks Story #5367: As a user, I can have a sync option that retains the latest N packages of the same name added
- Sprint/Milestone changed from Priority items (outside of planned milestones/releases) to Pulp 3.x RPM (Katello 4.1)
- Priority changed from High to Normal
- Blocked by deleted (Story #5950: Add database support for comparing EVRs)
- Status changed from NEW to POST
- Assignee set to dalley
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Sprint/Milestone changed from Pulp 3.x RPM (Katello 4.1) to Pulp RPM 3.5.0
Also available in: Atom
PDF
Add database support for comparing EVR
closes: #5402 https://pulp.plan.io/issues/5402
[nocoverage]