[Yum-devel] New yum commandline option
Tim Lauridsen
tim at rasmil.dk
Thu Jan 5 12:42:45 UTC 2006
Hi
I got an idea for a new yum command line option, i have called it
'--enableonly'
It is used to pass a list of the only repositories to be enabled, all
other repositories are disabled.
Ex.
yum --enableonly=development,extras-development update
This will make yum run with only the development repository enabled and
update yum.
If i have to do the same to day i have to type.
yum --enablerepo=development --disablerepo=base --disablerepo=extras
--disablerepo=livna --disablerepo=updates-released update
I have added a patch to yum HEAD, there adds this option, try it out and
let me know
Tim Lauridsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enableonly.patch
Type: text/x-patch
Size: 1746 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060105/962d7061/attachment.bin
More information about the Yum-devel
mailing list