Project

Profile

Help

Issue #524

--fields=pkglist can only be used with --erratum-id and not with --match or --filters

Added by rbarlow over 5 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.4.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

This command will not print anything:

$ pulp-admin rpm repo content errata --repo-id rhel-6-server --match Type=security --fields pkglist

Neither will this command:

pulp-admin rpm repo content errata --repo-id=rhel-6-server --fields=pkglist --filters='{"issued": {"$gte": "2014-01-01"},"type": "security"}'

However, this command will print the pkglist:

pulp-admin rpm repo content errata --repo-id rhel-6-server --erratum-id RHSA-2014:1075 --fields pkglist

Both commands should print the pkglist.

Version-Release number of selected component (if applicable):
2.4.0-1

How reproducible:
Every time.

Steps to Reproduce:
1. Sync the rhel-6-server repository.
2. Run pulp-admin rpm repo content errata --repo-id rhel-6-server --match Type=security --fields pkglist
3. Also run pulp-admin rpm repo content errata --repo-id=rhel-6-server --fields=pkglist --filters='{"issued": {"$gte": "2014-01-01"},"type": "security"}'

Actual results:
Observe that these commands do not print the pkglist.

Expected results:
The pkglists should be printed for each errata that match a query.

+ This bug was cloned from Bugzilla Bug #1141297 +

History

#1 Updated by bmbouter over 5 years ago

  • Severity changed from Medium to 2. Medium

#2 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF