| Summary: | repo units search with rpm --fields different from what the help says | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.6 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-25 14:16:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
commit 9c40a5f5d63ecb01e16ccbab7e826e96cdb8e3be
Author: Jay Dobies <jason.dobies>
Date: Thu Apr 5 09:31:04 2012 -0400
807002 - Fixed incorrect help on RPM unit search
extensions/rpm_units_search/pulp_cli.py
build: 0.282 verified
[root@preethi-el6-pulp ~]# rpm -q pulp
pulp-0.0.283-1.el6.noarch
[root@preethi-el6-pulp ~]#
[root@preethi-el6-pulp ~]# pulp-v2-admin repo units rpm --repo_id=pulp --fields
Usage: pulp-v2-admin [options]
Command: rpm
Description: search for RPMs in a repository
Available Arguments:
Required
--repo_id - identifies the repository to search within
Display
--fields, -f - comma-separated list of fields to include for each unit; if
unspecified all of the following will be displayed; valid
fields: arch, buildhost, checksum, checksumtype,
description, epoch, filename, license, name, provides,
release, requires, vendor, version
[root@preethi-el6-pulp ~]# pulp-v2-admin repo units errata --repo_id=pulp --fields
Usage: pulp-v2-admin [options]
Command: errata
Description: search errata in a repository
Available Arguments:
Required
--repo_id - identifies the repository to search within
Erratum
--erratum_id - if specified, the full details of an individual erratum are
displayed
Display
--fields, -f - comma-separated list of fields to include for each unit; if
unspecified all of the following will be displayed; valid
fields: id, title, summary, severity, type, description
Pulp v1.1 Release |
Description of problem: repo units search --fields errors with title, summary etc, but help list them as example. Version-Release number of selected component (if applicable): [root@preethi-el6-pulp ~]# rpm -q pulp pulp-0.0.278-1.el6.noarch How reproducible: Steps to Reproduce: 1. run pulp-v2-admin repo units rpm --repo_id=pulp --fields title 2. 3. Actual results: [root@preethi-el6-pulp ~]# pulp-v2-admin repo units rpm --repo_id=pulp --fields title Fields must be chosen from the following list: arch, buildhost, checksum, checksumtype, description, epoch, filename, license, name, provides, release, requires, vendor, version see the help [root@preethi-el6-pulp ~]# pulp-v2-admin repo units rpm --repo_id=pulp --fields Usage: pulp-v2-admin [options] Command: rpm Description: search for RPMs in a repository Available Arguments: Required --repo_id - identifies the repository to search within Display --fields, -f - comma-separated list of fields to include for each erratum; if unspecified all of the following will be displayed; valid fields: id, title, summary, severity, type, description