[Yum-devel] clean up sooner

seth vidal skvidal at linux.duke.edu
Mon Feb 20 15:45:54 UTC 2006


> I spent time this weekend reading up on the Python RPM bindings and
> after some experimenting I think I know what it will take to add the
> transaction logging functionality.  

What I had talked about earlier was just:
1. iterate ts/tsInfo and build up the file
2. add items into the rpm transaction callback to remove/mark the items
as complete as they occur

What else were you thinking of doing?

> Unfortunately, it looks like we are
> currently blocked on a bug in the Python bindings that was fixed in RPM
> 4.4.3 (Rawhide is on 4.4.2).  I've filed a bug requesting inclusion of
> the patch: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182063
> 
> David, your reasons for a flat-file approach sound good.  I'll try to
> put together a patch this week.

Why do you need that patch? You should be able to do that without the
Key() functionality - moreover when was Key() added to the ts bindings?
I'd rather us not get too bound up needing rpm > 4.4 if only b/c it
makes it harder to use things on older distros with requirements like
that.

-sv





More information about the Yum-devel mailing list