Bug 633954

Summary: pulp consumer history --help should give an example for event type
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 14:20:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 647488    

Description Preethi Thomas 2010-09-14 18:45:54 UTC
Description of problem:

consumer history --help has only the following information for event_type. It would help to have an example for the event type .

 --event_type=EVENT_TYPE
                        Limits displayed history entries to the given type

Comment 1 Pradeep Kilambi 2011-01-06 18:06:52 UTC
commit 3223636617b05be6834c024d773d163a1b5805ff
Author: Pradeep Kilambi <pkilambi>
Date:   Thu Jan 6 13:05:39 2011 -0500


$ sudo pulp-admin consumer history  --help
Usage: pulp-admin <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               consumer identifier eg: foo.example.com
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled")
  --limit=LIMIT         limits displayed history entries to the given amount
                        (must be greater than zero)
  --sort=SORT           indicates the sort direction ("ascending" or
                        "descending") based on the entry's timestamp
  --start_date=START_DATE
                        only return entries that occur on or after the given
                        date (format: yyyy-mm-dd)
  --end_date=END_DATE   only return entries that occur on or before the given
                        date (format: yyyy-mm-dd)

Comment 2 Jay Dobies 2011-01-07 19:21:56 UTC
Fixed in build 0.122.

Comment 3 Preethi Thomas 2011-01-10 14:26:02 UTC
verified


[root@preethi ~]# rpm -q pulp
pulp-0.0.122-1.fc14.noarch
[root@preethi ~]# pulp-admin consumer history  --help
Usage: pulp-admin <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               consumer identifier eg: foo.example.com
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled")
  --limit=LIMIT         limits displayed history entries to the given amount
                        (must be greater than zero)
  --sort=SORT           indicates the sort direction ("ascending" or
                        "descending") based on the entry's timestamp
  --start_date=START_DATE
                        only return entries that occur on or after the given
                        date (format: yyyy-mm-dd)
  --end_date=END_DATE   only return entries that occur on or before the given
                        date (format: yyyy-mm-dd)

Comment 4 Preethi Thomas 2011-08-16 14:20:23 UTC
Closing with Community Release 15

pulp-0.0.223-4.