[Yum-devel] New yum commandline option

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Thu Jan 5 12:56:27 UTC 2006


On Thu, 2006-01-05 at 13:42 +0100, Tim Lauridsen wrote:
> 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

Not true. --disablerepo and --enablerepo take wildcards.

yum --disablerepo=\* --enablerepo=development
--enablerepo=extras-development update

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- 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/20060105/17f6e49f/attachment.pgp 


More information about the Yum-devel mailing list