[Yum-devel] "doastold" option, or, putting code where my mouth is

Matthew Miller mattdm at mattdm.org
Fri Mar 11 01:00:50 UTC 2005


On Thu, Mar 10, 2005 at 05:13:35PM -0500, seth vidal wrote:
> > One question for you, though -- is TransactionMember.reason used for
> > something I don't understand? Seems like it'd be nice to use that here
> > instead of the "txmbr.name not in self.extcmds" check, but it seems to
> > always be set to 'user'.
> it's set to user when the package is being installed as a result of a
> user request and not being pulled in via dependencies.

That's what I'd assumed. But if I tell yum to install install, say,
foo-devel (which requires foo), it seems to set it to user for *both*
packages -- even though foo itself is getting pulled in via the dep.


> /me considers replacing that config variable with
> 'idonotlikemyykey'
> or
> 'myykeyhasboogersandidontwannatouchit'

Heh. I like the second one.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>



More information about the Yum-devel mailing list