[packagekit] RFC: adding two parameters to the ::Transaction() signal

Richard Hughes hughsient at gmail.com
Tue Nov 18 06:51:20 PST 2008


I'm intending to break API of the ::Transaction() signal. This only
affects the daemon and the client libraries, the backends don't get
touched at all.

The API break is needed to add the UID and command line attributes to a
transaction. This is needed to be able to audit what was done, by who
and with what tool. We _need_ to know this sort of information when
deploying PackageKit to secure workstations.

I've converted everything in tree (I think):

 client/pk-console.c                            |   15 +++++++++++
 lib/packagekit-glib/pk-client.c                |   16 +++++++-----
 lib/packagekit-glib/pk-transaction-obj.c       |   11 +++++++-
 lib/packagekit-glib/pk-transaction-obj.h       |    6 +++-
 lib/packagekit-qt/src/transaction.cpp          |    4 ++-
 lib/packagekit-qt/src/transaction.h            |   16 +++++++++++-
 lib/packagekit-qt/src/transactionprivate.cpp   |    4 +--
 lib/packagekit-qt/src/transactionprivate.h     |    4 ++-
 src/org.freedesktop.PackageKit.Transaction.xml |   19 ++++++++++++++
 src/pk-marshal.list                            |    6 ++--
 src/pk-transaction-db.c                        |   32 ++++++++++++-------------
 src/pk-transaction-db.h                        |    2 -
 src/pk-transaction.c                           |   13 +++++-----
 13 files changed, 107 insertions(+), 41 deletions(-)

Does KPackageKit use the GetTransactions packagekit-qt API? Any other
comments?

Richard.




More information about the PackageKit mailing list