[Yum-devel] New yum commandline option
Panu Matilainen
pmatilai at laiskiainen.org
Fri Jan 6 13:10:01 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:
> > o option to skip gpg check e.g.:
> >
> > yum --nogpg install foobar
>
> if you want that - write it as a plugin.
I've been missing global --nogpg option as well...
>
>
> > o option to ignore cookies (same as metadata_expire=0 in yum.conf)
> >
> > yum -i update
>
> that's REALLY confusing -but again - if you're so inclined - plugin.
Bad name for the option but that's something I miss occasionally.
'yum clean metadata' is a bit heavy operation for just cleaning (ignoring)
the cookies.
> >
> > o and parsing of yum.conf options on the commandline e.g.
> >
> > yum -o 'recent = 1' list recent
>
> no, absolutely not, never getting in base. But, if you're interested in
> a plugin, more power to you.
I started making a 'cli-extras' plugin some time ago with the ability to
set arbitrary yum config options similarly to above but got stalled for
some reason (lack of need probably :). Anyway I'm still planning to
finnish it some day, the idea being:
- merge tsflags plugin functionality
- global option for disabling gpg-checks
- option to ignore cachecookies (and no it's not going to be -i :)
- allow arbitrary yum.conf settings to be set with -o foo=1 style
What else people are missing as cli options?
- Panu -
More information about the Yum-devel
mailing list