Tim Lauridsen
9caaf3c130
use the LANG environment var to set language of group names & decriptions
2008-09-24 13:46:30 +02:00
Tim Lauridsen
29a230fecc
yum: added set-locale support and return translated collection name & decription
2008-09-23 10:42:20 +02:00
Richard Hughes
cd21028dc5
trivial: fix the enum converter now we are static const
2008-09-22 10:54:04 +01:00
Tim Lauridsen
c9b9aa86f1
python API: changed license to GPLv2+ for client.py so all python stuff has the same license
2008-09-21 19:14:56 +02:00
Tim Lauridsen
cdc235ed26
python API: added license text to source file and added an api version
2008-09-21 12:08:54 +02:00
Tim Lauridsen
cc6f7c3c34
python API: return objects instead of dict
2008-09-21 11:53:10 +02:00
Tim Lauridsen
07a6dda4a7
python api: implemented the last methods and make the wrapper-test.py a lot better
2008-09-18 12:25:08 +02:00
Tim Lauridsen
734d7c2b52
python: removed packagekitwrapper.py, it is replaced by packagekit/client.py
2008-09-18 10:09:11 +02:00
Tim Lauridsen
2a20b3c414
python api: Implemented some extra methods and did some code cleanups
2008-09-17 16:08:19 +02:00
Richard Hughes
a30fc59bed
trivial: move the common python dispatcher bits into backend.py
2008-09-17 10:49:13 +01:00
Richard Hughes
51b020dca5
yum: hook up get-distro-upgrades in the dispatcher, and make sure we send a proper error in this case
2008-09-16 19:07:39 +01:00
Tim Lauridsen
de0a6a4e80
python: make the PolicyKit auth work right
2008-09-16 15:32:12 +02:00
Tim Lauridsen
4cf637c06c
python: minor fixes to python client API
2008-09-16 14:56:02 +02:00
Tim Lauridsen
61de8e0e7c
python client API:
...
* ImplemtedGetUpdateDetails
* Fixed some syntax errors
* auto convert str -> list in package_ids.
* make wrapper-test take cmd line argument for better testing
2008-09-16 13:54:55 +02:00
Tim Lauridsen
2f3ff1e00a
Added client Python API based on the packagekitwrapper.py
...
* Added missing PK API methods (Not all is implemented yet, just stubs)
* Make it handle Unicode
* Added wrapper-test.py to test the API
2008-09-16 13:02:25 +02:00
Richard Hughes
bf6003860b
bugfix: spawned backends are allowed to call finished manually
2008-09-05 17:15:02 +01:00
Tim Lauridsen
8d084786b6
remove trailing whitespaces
2008-09-05 14:39:10 +02:00
Tim Lauridsen
76017de5ef
make the dispatcher a little more sane
2008-09-05 13:53:24 +02:00
Tim Lauridsen
098d4ab887
add a dispatcher method to PackageKitBaseBackend to make the launcher script more simple
2008-09-05 13:53:24 +02:00
Tim Lauridsen
6799692fdb
specify class to inport, insted of using *
2008-09-04 15:51:23 +02:00
Richard Hughes
0c5d43883c
trivial: add the get-distro-upgrades and distro-upgrades functionality to the python backends
2008-09-02 12:03:18 +01:00
Sebastian Heinlein
e443efdc98
Add support for distro upgrades to the dbus backend.
2008-08-30 16:15:14 +02:00
Sebastian Heinlein
024e1dcbd5
Fix the python enum converter to allow underscores in the value names (before it missed the DISTRO_UPGRADE enums)
2008-08-30 16:13:13 +02:00
Richard Hughes
dce415d899
Make PkMessages into proper enumerated types with localised descriptions
2008-08-19 16:59:24 +01:00
Sebastian Heinlein
e1f083865d
Raise the default log level of the python dbus backend to warnings.
2008-08-17 22:01:18 +02:00
Sebastian Heinlein
36131076b7
Add the EulaRequired signal to the dbus python backend
2008-08-16 12:22:45 +02:00
Sebastian Heinlein
dc4b7c8daf
Implement SetLocale in the python dbus backend
2008-08-14 08:49:30 +02:00
Sebastian Heinlein
6175d61bec
Fix an api an incompete api dapation in GetReuires of python dbus backend
2008-08-13 22:02:15 +02:00
Sebastian Heinlein
86e4bb6a5d
Set the default logging level to INFO in the dbus python backend.
2008-08-11 09:41:54 +02:00
Sebastian Heinlein
7e1cc0101d
Fix: Submit the filters to the doGetDepends method in the python dbus backend.
2008-08-11 01:29:46 +02:00
Sebastian Heinlein
7447312993
Merge branch 'master' of git+ssh://glatzor@git.packagekit.org/srv/git/PackageKit
2008-08-10 23:46:56 +02:00
Aidan Skinner
b6caccefbf
Wrap dbus calls so that they attempt to obtain the right privilages with they fail to auth.
2008-08-09 16:05:06 +01:00
Aidan Skinner
6943e0b1f7
Format python synchronous API for 80 columns
2008-08-09 15:51:54 +01:00
Sebastian Heinlein
5b1a42f5bb
Python DBus backend: trivial fix a typo in the last commit. Rename the variable package ot package_ids in another place too.
2008-08-08 22:38:30 +02:00
Sebastian Heinlein
719eeb884a
Fix new API which allow several package ids in the dbus python backend.
2008-08-08 13:13:48 +02:00
Sebastian Heinlein
a40c4541d5
Merge branch 'master' of git+ssh://glatzor@git.packagekit.org/srv/git/PackageKit
...
Conflicts:
python/packagekit/daemonBackend.py
2008-08-07 22:49:32 +02:00
Richard Hughes
ef4a0a5bce
API CHANGE: add 4 new fields to the UpdateDetail struct
2008-08-07 14:05:50 +01:00
Sebastian Heinlein
e3803462b1
Fix broken DownloadPackages() and doDownloadPackages() in the DBus backend and replace tabs by white spaces
2008-08-07 05:51:59 +02:00
Aidan Skinner
2930a858e0
Fix GetUpdates, remove bogus filter argument from UpdateSystem, add a few more 'tests'. Really needs something better...
2008-08-02 10:44:28 +01:00
Aidan Skinner
023f5faf62
Add generic wrapper call that takes a dict of callbacks to connect,
...
and generic wrappers that connect Package, Details and RepoDetail
signals as well as one that just makes the call.
Convert all the methods to use those generic ones to reduce copypasta.
2008-07-27 13:13:58 +01:00
Aidan Skinner
bb50c5fccf
Bind UpdateSystem. Just about time to make this async though...
2008-07-20 18:32:40 +01:00
Aidan Skinner
e9b86a65fd
Make Resolve and GetDetails return easy-to-use dicts, not tuples.
2008-07-20 18:12:32 +01:00
Aidan Skinner
26be7c7a84
Add GetUpdates
2008-07-20 16:56:03 +01:00
Aidan Skinner
1ca91f9341
Change SearchName to return a dict
...
add SearchDetails
2008-07-20 16:37:09 +01:00
Aidan Skinner
0cac22c1c8
Use glib mainloop for running
2008-07-20 11:24:29 +01:00
Aidan Skinner
9afec115a9
Add GetPackages
2008-07-17 01:29:41 +01:00
Aidan Skinner
fc50093e76
Fix RepoEnable
2008-07-16 23:52:28 +01:00
Aidan Skinner
c21117316b
Import python wrapper.
...
Origionally by Martin Pitt <martin.pitt@ubuntu.com>,
additions by Aidan Skinner <aidan@skinner.me.uk>
2008-07-16 23:13:45 +01:00
Richard Hughes
38711d9adb
trivial: fix make distcheck
2008-07-08 01:55:24 +01:00
Richard Hughes
743c5ea0b3
python: split out PackagekitProgress and PackagekitPackage as these are nothing to do with the backend
...
You might need to add:
from packagekit.progress import *
from packagekit.package import *
to your backend if it uses either of these
2008-07-07 15:52:39 +01:00