[packagekit] Method naming in the Python client

Sebastian Heinlein glatzor at ubuntu.com
Wed Nov 12 12:31:03 PST 2008


Hello,

currently all the methods of the PackageKitClient follow the CamelNaming
of the DBus methods. I would like to use normal python naming instead: install_packages,
resolve or update_system.

Sometimes it makes more sense to use the already collected data instead
of calling the DBus iface again. Secondly the pyhton transaction and client has
got additional methods. Furthmore the python methods accept an additional parameter for
the async handling and I would also make them accept PackageKitPackage instances next
to ids. So there is clearly a difference between the DBus methods and the ones of
python, which I would like to communicate by using a different naming style.

Any objections against using the normal python naming?

We are still in an early state and I would like to make these kind of
decisions now and forever :)

Cheers,

Sebastian




More information about the PackageKit mailing list