[Yum-devel] clean up sooner
Dennis Gregorovic
dgregor at redhat.com
Sat Feb 25 19:48:13 UTC 2006
On Fri, 2006-02-24 at 14:25 -0500, seth vidal wrote:
[snip]
> quite frankly where it's written to is more or less one method attached
> to TsInfo and the rpm callback most likely.
>
> so no matter how it's written it shouldn't be a huge headache to change
> or play with.
>
> -sv
Attached is a first stab at a transaction logger that writes to an XML
file. So far, I've only implemented the writing portion. I tried to
set it up so that using a sqlite backend is just a simple matter of
extending the TransactionLogger base class. Does the API look
reasonable? Is this approach pretty much on target?
I'll probably work on the reading/replay portions later today or
tomorrow.
Cheers
-- Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transaction_logger.patch
Type: text/x-patch
Size: 5259 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060225/f00186a6/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transactionlogger.py
Type: text/x-python
Size: 7160 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060225/f00186a6/attachment.py
More information about the Yum-devel
mailing list