[packagekit] Wishlist for API breaks

Richard Hughes hughsient at gmail.com
Sun Oct 26 10:13:57 PDT 2008


On Fri, 2008-10-24 at 12:29 -0400, James Antill wrote:
> On Fri, 2008-10-24 at 11:28 -0400, James Antill wrote:
> > On Fri, 2008-10-24 at 15:16 +0100, Richard Hughes wrote:
> > > * The uid of the user who did the action in the ::Transaction() signal
> > > (and store this data in the database)
> > 
> >  Um, which database? What does this do for automatic updates etc?
> 
>  So I found:
> 
> % rpm -ql PackageKit | fgrep .db
> /var/lib/PackageKit/transactions.db
> 
> ...which is an sqlite DB, which wants to be something like yum.log
> and/or /var/lib/yum/transaction* ... why is this at the PK layer? How
> can this provide anything other than utter confusion for everyone?

Well, it's a more high level thing than "package x was installed on day
y" -- it's explains _why_ the package was modified, who it was modified
by, and what else was changed to make it happen.

The why is the important bit, as we can't infer this from the yum log or
rpmdb.

Richard.





More information about the PackageKit mailing list