Actions
Issue #3558
closedRepository version filters are confusing
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 35
Quarter:
Description
I was working with kersom who was having trouble with the repo version filters.
First, there's a content
filter of type 'string' but there's no description or indication of what it expects. Recommend adding a description. Also, is there a type we can use like 'href' or something?
Then there's version_min
and version_max
. First off, there's no version field on repo version. It's actually called 'number'. Secondly, there's no indication in the api schema whether version_min=1 will include repo version 1 or not. We could maybe just use 'gt', 'gte', 'lt', 'lte' like django-filters.
edit: The we should remove the "version_min" and "version_max" filters and expose the number field to filter on directly, e.g. "number__lte"
Actions
Fix confusing inconsistencies with RepositoryVersion filters
closes #3558 https://pulp.plan.io/issues/3558