Commit Graph

3285 Commits

Author SHA1 Message Date
Fabio Erculiani fb5eb017be Spritz: code style updates 2009-05-05 06:06:44 +02:00
Fabio Erculiani c7a0d62879 entropy.db: improve utf8 and str input support of insertLicenses 2009-05-05 05:59:13 +02:00
Fabio Erculiani 318e90692c Merge branch 'master' of git+ssh://fabio@sabayonlinux.org/home/git/projects/entropy 2009-05-04 22:48:28 +02:00
Fabio Erculiani 2a88737b28 Spritz: packages view, handle Queued view cache correctly 2009-05-04 22:47:36 +02:00
Fabio Erculiani db18714603 Spritz: entropyapi.py, add missing module import 2009-05-04 22:47:08 +02:00
Fabio Erculiani e7ca06ce96 unit testing, db: add test for insertLicenses with str input 2009-05-04 17:41:55 +02:00
Fabio Erculiani 8669bec923 entropy.db: insertLicenses, add support for both unicode and str input 2009-05-04 17:41:26 +02:00
Fabio Erculiani 7f759bd939 update TODO 2009-05-04 00:58:44 +02:00
Fabio Erculiani 0f50e161fb Spritz: make Spritz window maximized by default 2009-05-04 00:57:43 +02:00
Fabio Erculiani 908a50f1f1 entropy.client.interfaces.package: fix __update_available_cache
__update_available_cache wasn't working correctly: available cache
was not updated correctly, causing get_available_packages returning
wrong information when cached.
2009-05-04 00:24:00 +02:00
Fabio Erculiani 3dce30fb63 Spritz: spritz.py trivial code style updates 2009-05-04 00:23:29 +02:00
Fabio Erculiani 0c0ccd8a82 Spritz: when skipping a mirror, also consider it dead in the water 2009-05-03 23:57:12 +02:00
Fabio Erculiani 1a90a00f25 entropy.client.interfaces.fetch: set/unset default mirror to MirrorStatus 2009-05-03 23:55:36 +02:00
Fabio Erculiani b04cbc6d9a entropy.client.mirrors.StatusInterface: add two new methods.
Add set_working_mirror and add_failing_working_mirror methods with
the aim of increasing the usefulness of the class.
2009-05-03 23:40:28 +02:00
Fabio Erculiani ebae3d29f6 Spritz: on Queued tab, reload the view every time a package is unselected 2009-05-03 22:29:35 +02:00
Fabio Erculiani 3b77e8625e Spritz: fix queued tab after one load 2009-05-03 22:16:52 +02:00
Fabio Erculiani e0291f9d63 Makefile: fix entropy-server-install 2009-05-03 22:02:54 +02:00
Fabio Erculiani dbd9fef2ed update TODO 2009-05-03 18:58:20 +02:00
Fabio Erculiani 1599a3ae30 transceivers: avoid showing negative data transfers 2009-05-03 18:57:21 +02:00
Fabio Erculiani e4f4d3b561 entropy notification applet: fix typo in message string 2009-05-03 18:31:19 +02:00
Fabio Erculiani ef6d2dd5b2 client updates daemon: workaround for possible race condition, at least
it seems to help
2009-05-03 18:30:50 +02:00
Fabio Erculiani 24639fc71d Spritz: use gobject.timeout_add instead of a custom LIFO buffer in dialogs module 2009-05-03 17:43:43 +02:00
Fabio Erculiani 201da8a9fd Spritz: fix UGC tab in package properties' window 2009-05-03 17:25:22 +02:00
Fabio Erculiani cdda987d38 Spritz: remove TaskQueue LIFO in favour of gobject.timeout_add 2009-05-03 17:17:15 +02:00
Fabio Erculiani 8485c00d84 Spritz: fix threading issues when asking to accept licenses on package install 2009-05-03 17:11:35 +02:00
Fabio Erculiani 7c1c69df13 entropy.client.interfaces.trigger: fix ebuild postinstall and preinstall trigger when merge_from mode is used 2009-05-03 15:29:23 +02:00
Fabio Erculiani 7dae8b0bde entropy.client.interfaces.dep: fix generate_dependency_tree
On some circumstances, post dependencies got a deplevel of 0, which
was overwritten by conflicts data. This patch fix the issue by
making deplevels >= 0 to always start from 1, leaving deplevel = 0
to conflicting packages.

Moreover, this patch improve generate_dependency_tree performance.
0.90.1
2009-05-03 14:57:20 +02:00
Fabio Erculiani 2c3f9fe24a entropy.db: skip tables that cannot be dropped on initializeDatabase 2009-05-02 18:12:14 +02:00
Fabio Erculiani 6f9720c002 update TODO 0.90 2009-05-02 17:28:37 +02:00
Fabio Erculiani 7b32fdfa62 client updates daemon: code style updates 2009-05-02 17:28:20 +02:00
Fabio Erculiani 9741821770 update TODO 2009-05-02 17:06:58 +02:00
Fabio Erculiani c79298d28b update translations 2009-05-02 17:06:49 +02:00
Fabio Erculiani c01b9bc996 entropy notification applet: port to the new dbus-based service. 2009-05-02 17:05:42 +02:00
Fabio Erculiani ad0572679e client updates daemon: finalize first version.
With this commit the work on the client (system) updates daemon is
complete. The *thing* works over dbus, exporting a bunch of methods
and sending signals whenever new updates are downloaded.
For more information look at the file itself, for now.
2009-05-02 17:02:53 +02:00
Fabio Erculiani 55d42aaddf client-updates-daemon: improve efficiency.
Load Entropy Client interface on-demand.
2009-05-01 19:53:15 +02:00
Fabio Erculiani 55234b893b client updates daemon dbus infrastructure in place, service works.
Using dbus to launch the Entropy Client Updates daemon gives several
obvious advantages. This commit makes it happen!
2009-05-01 19:30:44 +02:00
Fabio Erculiani 6e7f8d45ff client updates daemon: add dbus .service and fix Makefile 2009-05-01 18:56:09 +02:00
Fabio Erculiani a20c36400f update translations 2009-05-01 18:53:21 +02:00
Fabio Erculiani 6ce414da33 client updates daemon: connect dbus to glib mainloop and catch dbus
exceptions properly
2009-05-01 17:47:34 +02:00
Fabio Erculiani e1c3b1d595 updates notification dademon: update dbus policy file 2009-05-01 17:24:53 +02:00
Fabio Erculiani 9f5e58336b client updates daemon: update dbus service object path 2009-05-01 16:41:55 +02:00
Fabio Erculiani dd13d3e015 Makefile: fix updates daemon installation 2009-05-01 16:16:24 +02:00
Fabio Erculiani 000054dc4f update TODO 2009-05-01 16:16:18 +02:00
Fabio Erculiani 70324920bb entropy updates daemon: fine tune polling interval 2009-04-30 16:48:03 +02:00
Fabio Erculiani 824be37347 client updates daemon: entropy resources lock handling
When the daemon is loaded, it should not take over the pid file.
Also, before trying to update the repositories, it should check
if the same resources are locked by something else.
2009-04-30 16:42:10 +02:00
Fabio Erculiani 5ff56771de client updates method: add dbus method to trigger updates check 2009-04-30 12:06:49 +02:00
Fabio Erculiani 2145d9e909 client updates daemon, phase 3
- init script added
- fine tuned polling interval
2009-04-30 11:33:18 +02:00
Fabio Erculiani cb66bf460a client updates daemon: new updates signal works as expected 2009-04-30 11:24:47 +02:00
Fabio Erculiani 615d4cac1b entropy.client.interfaces.Client: properly fill validRepositories
When repo_validation is False, validRepositories list was not filled
properly on __init__. This commit fixes the issue.
2009-04-30 11:21:10 +02:00
Fabio Erculiani 623e6769a7 client updates daemon: fix dbus signature of compare_repositories_status 2009-04-30 10:58:56 +02:00