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

seth vidal skvidal at phy.duke.edu
Fri Mar 11 03:18:48 UTC 2005


On Thu, 2005-03-10 at 20:00 -0500, Matthew Miller wrote:
> 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.

hmm. that may just be a bug - probably b/c I'm using the isDep as  an
easier way to check if something is a dep or not anymore.

-sv





More information about the Yum-devel mailing list