[packagekit] Method naming in the Python client

Tim Lauridsen tim.lauridsen at googlemail.com
Thu Nov 13 22:07:14 PST 2008


Sebastian Heinlein wrote:
> 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
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
+1 for me :)

Tim



More information about the PackageKit mailing list