Bug 600954

Summary: yum bash completion for localupdate does not work
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: ffesti, james.antill, maxamillion, pmatilai, robatino, tim.lauridsen
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: 2010-06-07 14:33:20 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:
Attachments:
Description Flags
properly add localupdate to bash completion none

Description Till Maas 2010-06-06 19:45:43 UTC
Created attachment 421646 [details]
properly add localupdate to bash completion

Description of problem:
yum local<TAB> completes to localinstall instead of suggesting localupdate and localinstall. Also yum localupdate <TAB> does not show possible rpm files.

Version-Release number of selected component (if applicable):
yum-3.2.27-3.fc12

How reproducible:
always

Steps to Reproduce:
1. yum localu<TAB>
  
Actual results:
nothing happens

Expected results:
commandline should expand to "yum localupdate"

Additional info:
localupdate is missing in the cmds variable (see patch)

Comment 1 seth vidal 2010-06-07 14:31:18 UTC
the yum commands local* are unnecessary anyway - the normal commands handle lists of local pkgs just fine.

so:

yum install myfile.rpm /some/path/to/somepkg.rpm 

works the same as

yum localinstall myfile.rpm /some/path/to/somepkg.rpm

ditto with update and localupdate.

so - I don't see anything wrong with fixing the bash completion script - but it is not strictly necessary.

Comment 2 seth vidal 2010-06-07 14:33:20 UTC
and I've added localupdate, now.