Bug 664557

Summary: pulp-admin repo delete_errata --help typo
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: unspecified   
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: 2011-08-16 14:00:53 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-12-20 19:04:18 UTC
Description of problem:


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

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  -e ERRATAID, --errata=ERRATAID
                        Errata Id to delete to this repository




see -e  Errata Id to delete to this repository it should be 

 Errata Id to delete from this repository

Comment 1 Preethi Thomas 2010-12-20 19:11:33 UTC
also see the successful message


Successfully removed Errata ['FEDORA-2010-17825', 'FEDORA-2010-16730'] to repo [f14-update-clone].

Comment 2 Preethi Thomas 2010-12-20 21:33:47 UTC
also see


[root@preethi ~]# pulp-admin repo --help


	delete_package Remove specific package(s) from the source repository.
	
	delete_errata  Remove specific errata from the source repository


those needs to be changed to

Remove x from the  repo

Comment 3 Preethi Thomas 2010-12-20 22:07:17 UTC
also see the following

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

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  -p PKGNAME, --package=PKGNAME
                        Package filename to remove to this repository

Comment 4 Pradeep Kilambi 2010-12-22 18:33:41 UTC
commit a38bbc7a07ff6c16c25f20bcb606301597f67233
Author: Pradeep Kilambi <pkilambi>
Date:   Wed Dec 22 13:33:28 2010 -0500

Comment 5 Jay Dobies 2010-12-22 20:56:34 UTC
Fixed in 0.119.

Comment 6 Preethi Thomas 2010-12-23 14:34:06 UTC
[root@pulp ~]# pulp-admin repo delete_errata --help
Usage: pulp-admin <options> repo delete_errata <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  -e ERRATAID, --errata=ERRATAID
                        Errata Id to delete from this repository

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

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  -p PKGNAME, --package=PKGNAME
                        Package filename to remove from this repository

Comment 7 Preethi Thomas 2010-12-23 21:23:07 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.119-1.fc14.noarch

[root@preethi ~]# pulp-admin repo delete_errata --id=f14-updates -e FEDORA-2010-18765
Successfully removed Errata ['FEDORA-2010-18765'] from repo [f14-updates].

Comment 8 Preethi Thomas 2011-08-16 14:00:53 UTC
Closing with Community Release 15

pulp-0.0.223-4.