Project

Profile

Help

Story #5076

closed

As a user, I have 'latest' as a boolean query parameter for CollectionVersion

Added by bmbouter over 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 55
Quarter:

Description

In addition to the fields being searchable, a 'latest' parameter should be available that defaults to False. If True, it will only return the latest version when multiple versions of one Collection name are returned in the results.


Related issues

Related to Ansible Plugin - Test #5269: Test - As a user, I have 'latest' as a boolean query parameter for CollectionVersionCLOSED - WONTFIXActions
Actions #1

Updated by daviddavis over 5 years ago

I'm wondering how we determine latest? There are cases like 0.10.0 vs 0.2.0 and weird versions like "0.2.0-beta0.2".

Actions #2

Updated by bmbouter over 5 years ago

We could filter them in memory using the python tools and then rebuild the queryset for the user by it's ids.

Actions #3

Updated by bmbouter over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to bmbouter
  • Sprint set to Sprint 55

Taking as assigned to unblock Galaxy dev.

Actions #4

Updated by bmbouter over 5 years ago

  • Status changed from ASSIGNED to POST

Added by bmbouter over 5 years ago

Revision ca36e63b | View on GitHub

Add 'latest' boolean for Collection filtering

When 'latest' is True, only include a Collection if it is the newest version of <namespace, name>.

https://pulp.plan.io/issues/5076 closes #5076

Actions #5

Updated by bmbouter over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Added by alikins over 5 years ago

Revision d2380d87 | View on GitHub

Fix missing dep on 'packaging' dep in setup.py

Add 'packaging' dep required by changes introduced in ca36e63b033a1371ee02797cd7a854093330b5b0

https://pulp.plan.io/issues/5076 re #5076

Actions #6

Updated by kersom over 5 years ago

  • Related to Test #5269: Test - As a user, I have 'latest' as a boolean query parameter for CollectionVersion added
Actions #7

Updated by bmbouter about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF