> > On my system, this is about 10-20 times faster (when cached).
> 
>  NAK.
>  Not only that but all configuration (like what repos. are enabled,
> excludes/versionlock etc.) are ignored,

Wouldn't consider that strictly a con..  fixes cases as:
# yum --enablerepo=* --disableexcludes=* install foo<tab><tab>

> as is arch information.

This could be implemented, but I don't think it's necessary.
Have primary_db.sqlite with packages for $arch? => offer it.

> It also assumes what the cachedir is.

$(find /var/cache/yum -name primary_db.sqlite)
..should be a safer bet, indeed.

Having to wait 2s to tab-complete a package name (on a decent
hardware!) is a major drawback.  Personally, I'd rather use
this "hack".
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to