Re: [Yum-devel] RFC: Capturing scriptlet output during transaction

2007-09-13 Thread Tim Lauridsen
Jeremy Katz wrote: With the new transaction handling stuff, we can actually start to get to where grabbing the output of scriptlets is pretty doable so that it can be more easily consumed by tools sitting on top of yum. anaconda has been redirecting the bits to a file roughly forever (and

[Yum-devel] RFC: Capturing scriptlet output during transaction

2007-09-12 Thread Jeremy Katz
With the new transaction handling stuff, we can actually start to get to where grabbing the output of scriptlets is pretty doable so that it can be more easily consumed by tools sitting on top of yum. anaconda has been redirecting the bits to a file roughly forever (and thus, that's the API

Re: [Yum-devel] RFC: Capturing scriptlet output during transaction

2007-09-12 Thread Jeremy Katz
On Wed, 2007-09-12 at 16:38 -0400, Jeremy Katz wrote: +def _shutdownOutputLogging(self): +try: +del self.base.ts +except: +pass And actually, this bit isn't needed when we plumb things into the transaction handler -- it was only needed when I'm