Yum: faster bash completion of available packages

Stephen Gallagher sgallagh at redhat.com
Fri Apr 5 12:21:34 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/05/2013 08:13 AM, Zdenek Pavlas wrote:
> Hi,
> 
> People were complaining that yum autocompletion of package names is
> very slow (Bug 919852).  Now there's a shortcut that (if enabled) 
> makes it much faster.  However, the behavior changes slightly:
> 
> - disabled but cached repositories are used - configured package
> excludes are not honored - all arches that are available are
> suggested - there's no installed/available package split
> 
> It's now in F19 and rawhide, but DISABLED, due to the above. To
> enable it, just set YUM_CACHEDIR env variable to the path where
> repository metadata are stored- usually /var/cache/yum.
> 
> Feedback is very welcome, so we can decide whether to scrap this or
> enable by default.
> 
> Thanks!
> 

Can we tweak PackageKit's auto-refresh to purge the cache for disabled
repositories? This would be beneficial both for this feature and
filesystem space. Then we would eliminate the first problem on your
list (which is likely to be the biggest issue).

The next should probably be possible to filter in future versions of
the plugin and are probably not nearly as severe.

The lack of installed/available I doubt is even an issue, honestly.
The worst-case is that yum reports 'foo is already installed and the
latest version'.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFewc4ACgkQeiVVYja6o6PdRwCfZ3SXTe/qB0BdNa3kBN0FjrXM
jMIAoJr8repdj2NNVZ8Xi9sGSfS8Qtz6
=TK+n
-----END PGP SIGNATURE-----


More information about the devel mailing list