Commit Graph

84 Commits

Author SHA1 Message Date
Richard Hughes
542f4519a5 remove the stderr path as the two streams sometimes get unsynronised 2008-03-25 18:54:12 +00:00
Richard Hughes
524faf7594 Turn UpdatePackage() into UpdatePackages() - this lets us do some cool things
like only update security updates and also select the updates individually in
pk-update-viewer.
2008-03-18 23:48:15 +00:00
Richard Hughes
21baf402cb fix up the backends for WhatProvides 2008-03-17 20:26:35 +00:00
Richard Hughes
b2def8a22c fix the ServicePack type 2008-03-17 12:40:22 +00:00
Robin Norwood
2b308c00ea Merge branch 'forked-dbus-backend' of git+ssh://rnorwood@git.packagekit.org/srv/git/PackageKit
Conflicts:

	backends/apt2/pk-backend-apt2.c
	backends/yum2/helpers/yumDBUSBackend.py
	docs/html/pk-faq.html
	python/packagekit/daemonBackend.py
2008-03-16 19:25:52 -04:00
Richard Hughes
0d905da7b3 add a filter parameter to GetRequires and GetDepends so we can fix http://bugs.freedesktop.org/show_bug.cgi?id=14838 2008-03-11 18:38:06 +00:00
Sebastian Heinlein
8f0ca63ff0 Test backend: add threading and cancel support. Remove obsolete methods doLock and doUnlock. 2008-03-07 19:58:20 +01:00
Richard Hughes
8c489d86af a better DBUS test 2008-03-05 00:49:38 +00:00
Richard Hughes
e734398bc4 link in local packagekit python bits for the test scripts 2008-03-05 00:14:26 +00:00
Richard Hughes
7a05e61af7 add Cancel() into the dummy dbus backend 2008-03-04 18:17:33 +00:00
Richard Hughes
43fcdb86d4 fix conflict 2008-03-04 15:26:12 +00:00
Richard Hughes
dd59875115 add a type parameter to the package signal so we can understand different types in the client tools 2008-03-03 19:26:43 +00:00
Robin Norwood
417d7a9f8a Forgot import. 2008-02-29 20:14:41 -05:00
Robin Norwood
1155364116 Add signal handler back to PackageKitDbusTest. 2008-02-29 20:10:03 -05:00
Robin Norwood
1ccc6a2826 Work in progress. Change the daemonBackend to fork to perform actions. 2008-02-29 18:16:12 -05:00
Richard Hughes
3dcd1d59b0 make the test backend use the common interface and path 2008-02-28 23:36:16 +01:00
Richard Hughes
48ba0378ca Added a new filter 'basename' to the list of allowed filter types and use with GetUpdate.
The basename filter will only return results according to the package basename.
This is useful if you are searching for 'pm-utils' and you only want to show the
main pm-utils package, not any of the -devel or -debuginfo or -common suffixes
in the UI. The basename is normally the original name of the srpm or source deb.

This parameter is valid when searching, but it will be most useful when it is
used with GetUpdates, which I've added it to.
2008-02-28 18:35:46 +01:00
Thomas Wood
9e53868498 Add autoremove boolean to the package_remove method 2008-02-27 13:05:15 +00:00
Richard Hughes
61c59e15a5 test the spawned backend stderr and stdout functionality better 2008-02-27 01:05:34 +01:00
Stepan Kasal
71eac8cb23 Use syntax in makefiles, not @VAR@ 2008-02-20 18:16:48 +00:00
Richard Hughes
361bec7f7c add the ServicePack functionality 2008-02-19 00:14:01 +00:00
Richard Hughes
8c861abd79 correct the spelling of initialize (from initalize) 2008-02-17 22:53:39 +00:00
Richard Hughes
cbee677eae more representative test output 2008-02-17 21:19:41 +00:00
Richard Hughes
7082fa2edb move changes from 'licence' to 'license' 2008-02-13 21:57:48 +00:00
Richard Hughes
354692622c update my copyright in the files i've touched recently 2008-02-13 21:50:39 +00:00
Richard Hughes
b8c6d255c2 pointed out by owen, the dbus interface and path should be common between backends 2008-02-13 21:01:10 +00:00
Richard Hughes
f1a8e9081c make the dbus backend work by converting the enumerated types to string types.
the extra amount of time spent in the daemon is trivial.
Also send an error of the dbus method failed
2008-02-12 20:28:00 +00:00
Richard Hughes
304beed186 Revert "uint64 is not supported by dbus-glib, bodge to use a uint32 for now"
This reverts commit d31edde792.
2008-02-11 19:58:29 +00:00
Richard Hughes
d31edde792 uint64 is not supported by dbus-glib, bodge to use a uint32 for now 2008-02-11 19:51:29 +00:00
Richard Hughes
f002187f0e fix some problems with the dbus backend 2008-02-11 19:24:56 +00:00
Richard Hughes
9b3a431481 correct a python dbus signature 2008-02-11 18:34:57 +00:00
Richard Hughes
960447bdfc add the other sigals to the dbus test backend 2008-02-07 22:59:02 +00:00
Richard Hughes
2d0cd80bb2 merge in a yum2 backend that uses the dbus service activation 2008-01-29 20:41:30 +00:00
Richard Hughes
3022c879ea rationalise the AllowCancel nomenclature and make it standard throughout 2008-01-24 23:02:40 +00:00
Richard Hughes
6748b02d3c move the test backend activation stuff to data 2008-01-21 18:52:49 +00:00
Richard Hughes
0f0f9508d2 connect to the private dbus instance for signals 2008-01-21 17:42:35 +00:00
Richard Hughes
73da4ec356 add the backend-dbus lock and unlock calls 2008-01-21 14:21:09 +00:00
Richard Hughes
de8efee47e allow the dbus backends to be manually init'd 2008-01-21 14:07:16 +00:00
Richard Hughes
f91ac575da emit a signal from the bus tester 2008-01-21 14:04:36 +00:00
Richard Hughes
7154c917c1 comment 2008-01-20 20:40:46 +00:00
Richard Hughes
45a83e3844 we don't need pk_backend_thread_set_backend 2008-01-20 20:13:08 +00:00
Richard Hughes
87e5a73402 thread test fixes 2008-01-20 20:04:44 +00:00
Richard Hughes
d678bc8c00 add the exit call 2008-01-20 19:49:26 +00:00
Richard Hughes
607d522d73 dist the dbus service 2008-01-20 19:43:39 +00:00
Richard Hughes
5b8b8dd633 install the script in libexec 2008-01-20 19:32:48 +00:00
Richard Hughes
6423956c27 add some more dbus backend stuff 2008-01-20 19:24:33 +00:00
Richard Hughes
ed84e30b9f add a missing file to fix the build 2008-01-19 00:47:41 +00:00
Richard Hughes
8200e1cc77 add the yum helper example -- Robin take note! :-) 2008-01-19 00:39:53 +00:00
Richard Hughes
6cc7d3bf26 add the test spawn and dbus backends 2008-01-19 00:30:30 +00:00
Richard Hughes
a0ceb6332e make some names more sane 2008-01-19 00:07:20 +00:00