Project

Profile

Help

Issue #524

closed

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

Added by rbarlow about 9 years ago. Updated about 5 years 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 +

Also available in: Atom PDF