[Yum-devel] aliases yum plugin, consider for yumutils
James Antill
james.antill at redhat.com
Thu Dec 20 15:18:56 UTC 2007
And now for something a bit more fun, yum aliases. This does what you'd
expect, it allows you to type: "yum lsuT" to get:
yum list updates --enablerepo=updates-testing
...which I do often enough I want to save my fingers :).
I've attached both the .py file and the .conf file. Is this useful
enough to go in yum-utils?
--
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aliases.py
Type: text/x-python
Size: 2376 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071220/15dc33e0/attachment.py
-------------- next part --------------
# These are some example aliases:
DEV --enablerepo=development
UPT --enablerepo=updates-testing
SEC --security
ls list
lsT UPT ls
lsD DEV ls
lsi ls installed
lsu ls updates
lsuT lsT updates
lsuD lsD updates
lss SEC ls
lssT SEC lsT
lssD SEC lsD
lssu lss updates
lssuT lssT updates
lssuD lssD updates
lsec list-sec
lsecT UPT lsec
lsecD DEV lsec
upT UPT update
upD DEV update
inT UPT install
inD DEV install
instT UPT install
instD DEV install
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20071220/15dc33e0/attachment.pgp
More information about the Yum-devel
mailing list