[Yum-devel] New yum commandline option
David Lutterkort
dlutter at redhat.com
Thu Jan 5 21:33:35 UTC 2006
On Thu, 2006-01-05 at 14:17 -0500, seth vidal wrote:
> On Thu, 2006-01-05 at 20:12 +0100, Terje Rosten wrote:
> > More about commandline options:
> >
> > I would like to see these:
> >
> > o rename {en,dis}ablerepo to {en,disable}:
> >
> > yum --disable=<some-repo> --enable=<another-repo>
>
> eh, that's just going to promote confusion, really.
Inspired by lazyness: how about doing the repo enable/disable business
with a --repos argument like
yum --repos='-*,+*dev*,-crazy-stuff-development'
i.e., the repos option defines a list of filters to apply to the
configured repos from left to right, with enabled repos prefixed by a
'+' and disabled repos prefixed by a '-'; the above basically says
'disable all repos, then enable the ones that match '*dev*', then
disable crazy-stuff-development.
A little whacky, but saves at least 10 characters ;)
David
-------------- 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/cc53d315/attachment.pgp
More information about the Yum-devel
mailing list