Bug 674904

Summary: Repo update is missing --key option
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jortel
Target Milestone: ---   
Target Release: Sprint 20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:07:59 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 Jay Dobies 2011-02-03 17:26:31 UTC
It is an option for repo create, but not repo update:


$ sudo pulp-admin repo create --help
Usage: pulp-admin <options> repo create <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  --name=NAME           common repository name
  --arch=ARCH           package arch the repository should support
  --feed=FEED           url feed to populate the repository; feed format is
                        type:url, where supported types include yum,rhn or
                        local
  --cacert=CACERT       path location to ca certificate
  --cert=CERT           path location to entitlement certificate
  --key=KEY             path location to entitlement certificate key
  --schedule=SCHEDULE   cron entry date and time syntax for scheduling
                        automatic repository synchronizations


$ sudo pulp-admin repo update --help
Usage: pulp-admin <options> repo update <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  --name=NAME           common repository name
  --arch=ARCH           package arch the repository should support
  --feed=FEED           url feed to populate the repository
  --cacert=CACERT       path location to ca certificate
  --cert=CERT           path location to entitlement certificate key
  --schedule=SYNC_SCHEDULE
                        cron entry date and time syntax for scheduling
                        automatic repository synchronizations

Comment 1 Jeff Ortel 2011-02-04 14:40:13 UTC
Added.

Comment 2 Jay Dobies 2011-02-04 19:24:05 UTC
Fixed in 0.135.

Comment 3 Preethi Thomas 2011-02-07 19:38:25 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.135-1.fc14.noarch

[root@preethi ~]# pulp-admin repo create --help
Usage: pulp-admin <options> repo create <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  --name=NAME           common repository name
  --arch=ARCH           package arch the repository should support
  --feed=FEED           url feed to populate the repository; feed format is
                        type:url, where supported types include yum,rhn or
                        local
  --cacert=CACERT       path location to ca certificate
  --cert=CERT           path location to entitlement certificate
  --key=KEY             path location to entitlement certificate key
  --schedule=SCHEDULE   cron entry date and time syntax for scheduling
                        automatic repository synchronizations
  --symlinks            use symlinks instead of copying bits locally;
                        applicable for local syncs
  --relativepath=RELATIVEPATH
                        relative path where the repository is stored and
                        exposed to clients; this defaults to feed path if not
                        specified
  --groupid=GROUPID     a group to which the repository belongs; this is just
                        a string identifier
  --gpgkeys=KEYS        a ',' separated list of directories and/or files
                        containing GPG keys
[root@preethi ~]# pulp-admin repo update --help
Usage: pulp-admin <options> repo update <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  --name=NAME           common repository name
  --arch=ARCH           package arch the repository should support
  --feed=FEED           url feed to populate the repository (repository must
                        be empty to change path component of the url)
  --cacert=CA           path location to ca certificate
  --cert=CERT           path location to an entitlement certificate
  --key=KEY             path location to an entitlement certificate's private
                        key
  --schedule=SYNC_SCHEDULE
                        cron entry date and time syntax for scheduling
                        automatic repository synchronizations
  --symlinks=USE_SYMLINKS
                        use symlinks instead of copying bits locally;
                        applicable for local syncs (repository must be empty)
  --relativepath=RELATIVE_PATH
                        relative path where the repository is stored and
                        exposed to clients; this defaults to feed path if not
                        specified (repository must be empty)
  --groupid=GROUPID     a group to which the repository belongs; this is just
                        a string identifier
  --addkeys=ADDKEYS     a ',' separated list of directories and/or files
                        containing GPG keys
  --rmkeys=RMKEYS       a ',' separated list of GPG key names

Comment 4 Preethi Thomas 2011-08-16 12:07:59 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:21:19 UTC
Closing with Community Release 15

pulp-0.0.223-4.