Bug 633954 - pulp consumer history --help should give an example for event type
Summary: pulp consumer history --help should give an example for event type
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-09-14 18:45 UTC by Preethi Thomas
Modified: 2011-08-16 14:20 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:20:23 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.