Bug 919852 - Tab Completion Slower in Fedora than Ubuntu using CLI Package Manager
Summary: Tab Completion Slower in Fedora than Ubuntu using CLI Package Manager
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-10 13:11 UTC by Andrej Kartashov
Modified: 2019-12-11 10:12 UTC (History)
11 users (show)

Fixed In Version:
Clone Of: 811285
Environment:
Last Closed: 2014-02-05 19:49:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
faster bash completion of available packages. (1.19 KB, patch)
2013-03-14 10:55 UTC, Zdeněk Pavlas
no flags Details | Diff

Description Andrej Kartashov 2013-03-10 13:11:18 UTC
+++ This bug was initially created as a clone of Bug #811285 +++

I see the same behaviour in Fedora 18. Yum autocompletion is very slow. Still I consider this as a feature request, not bug.

bash-completion-2.0-2.fc18.noarch
yum-3.4.3-51.fc18.noarch

In bash, when you hit tab after typing 'yum install gnome', bash invokes helper script to get possible completion. It takes few seconds to finish:

$ time /usr/share/yum-cli/completion-helper.py -d 0 -C list available gnome >/dev/null

real    0m4.368s
user    0m2.876s
sys     0m0.640s

It would be good to speed it up to run at least 10 times faster to improve user experience.

Comment 1 Zdeněk Pavlas 2013-03-14 10:54:36 UTC
Andrej, could you apply the proposed patch to /etc/bash_completion.d/yum.bash, then set YUM_CACHEDIR to your /var/cache/yum/ and test?  On my box the completion-helper.py example above runs ~300ms, so speedup is not noticeable.

Comment 2 Zdeněk Pavlas 2013-03-14 10:55:48 UTC
Created attachment 709974 [details]
faster bash completion of available packages.

Comment 3 Fedora End Of Life 2013-12-21 12:01:57 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2014-02-05 19:49:30 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Andrej Kartashov 2019-12-11 10:12:03 UTC
close (comment to clear needinfo rq)


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