Commit Graph

7365 Commits

Author SHA1 Message Date
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
Fabio Erculiani f04d3a3cd1 client updates daemon: phase 2.
Make the client update daemon a dbus system service, provide policy,
update Makefile. More to come (phase 3).
2009-04-30 10:39:17 +02:00
Fabio Erculiani e47d1c4f3d entropy.misc: LogFile, fix write to non-existent files (crate them) 2009-04-30 10:20:33 +02:00
Fabio Erculiani 58d92bf271 entropy client updates daemon: misc code cleanup and improvements. 2009-04-30 01:42:12 +02:00
Fabio Erculiani dd4d378f76 entropy.spm: fix PortagePlugin.use_reduce to work with unicode too 2009-04-29 15:47:33 +02:00
Fabio Erculiani ab237ea0d4 entropy.db: regenerateCountersTable, open counter file safely 2009-04-29 15:44:52 +02:00
Fabio Erculiani e894e9254f unit testing, db: add another package metadata handling test 2009-04-29 15:42:15 +02:00
Fabio Erculiani d1f1ff1c00 entropy.client.interfaces.metadata: when extracting license, make sure
that it is read correctly.

It can happen that licenses are written in UTF-8 directly, as previous
commit states.
Moreover, make sure that there's a perfect match between what is returned
by get_pkg_metadata and entropy.db.getPackageData
2009-04-29 15:40:25 +02:00
Fabio Erculiani 86347bf7da entropy.db: improve retrieveChangelog and retrieveLicensedata methods
There are certain changelogs and licenses which are written in UTF-8
directly, so, we should consider this case too
2009-04-29 15:39:18 +02:00
Fabio Erculiani 823882278a fix issue that caused the client repository to not being loaded
because of db errors in LocalRepository.__init__()
2009-04-29 15:09:07 +02:00
Fabio Erculiani 8649b444b8 entropy.client.interfaces.dep: remove deprecated methods 2009-04-29 15:00:54 +02:00
Fabio Erculiani 0a24291320 entropy.client.interfaces.methods: remove deprecated methods 2009-04-29 14:59:48 +02:00
Fabio Erculiani 472366c966 unit testing, db: add 2 new tests 2009-04-29 14:52:17 +02:00
Fabio Erculiani dc18e0f36b entropy.client/server/db: improve non-ASCII metadata handling.
extract_pkg_metadata now returns data in UTF-8 format and does it
correctly. This avoids failures on 'equo database generate' and
weird conversion conditions. Moreover, this commit should not break
backward compatibility since this is properly handled in entropy.db
methods.
2009-04-29 14:50:21 +02:00
Michele Tameni f20a8226be First draft uo update daemon 2009-04-28 17:43:23 +00:00
Fabio Erculiani 67181d308e 'equo help' support, thanks Ian Whyman for the suggestion 2009-04-27 17:28:19 +02:00
Fabio Erculiani fb5bf099e2 update TODO 0.88 2009-04-26 01:26:22 +02:00
Fabio Erculiani ee96eadb6f update translations 2009-04-26 01:26:14 +02:00
Fabio Erculiani a37c9f2198 entropy.server: improve support for expiration based packages removal 2009-04-26 01:01:25 +02:00
Fabio Erculiani 2deebc2ab6 Community Repositories: make it back working.
Community Repositories support was broken due to codebase changes
and introduction of SystemSettings, which now overwrites any
overridden setting. This commit fixes all the issues and also
improves the current support.
2009-04-25 23:21:30 +02:00
Fabio Erculiani 6cf7bd9ed1 update TODO 2009-04-25 22:36:29 +02:00