Fabio Erculiani
89062bf8f3
[entropy.db] complete API docstring and refactoring work
2009-08-15 22:27:41 +02:00
Fabio Erculiani
07ea2a6b5b
[services] make client-updates-daemon smart enough to autodetect system db changes
2009-08-14 10:48:17 +02:00
Fabio Erculiani
14d801ad77
[services] Entropy Client Updates Daemon updates
...
:: add new method is_system_changed to be able to determine if
new packages have been installed
2009-08-14 09:46:41 +02:00
Fabio Erculiani
6b998c3883
[services] listen on all the available interfaces when running service-test-daemon
2009-08-01 18:06:51 +02:00
Fabio Erculiani
389a10e999
[entropy.services.test] add test commands module and update service script stub
2009-07-16 18:21:39 +02:00
Fabio Erculiani
3de4690fc3
[entropy.services.test] add Entropy Services test module (for tutorial and testing)
2009-07-16 17:58:18 +02:00
Fabio Erculiani
b42b4e1dfc
add entropy client init script
2009-06-12 14:48:43 +02:00
Fabio Erculiani
b34e057fbd
notification applet: send a dbus signal even when there are no updates
2009-06-10 22:18:06 +02:00
Fabio Erculiani
43a9bf159c
fix client updates daemon
2009-06-07 00:13:15 +02:00
Fabio Erculiani
4bbca983c3
revert interpreter to /usr/bin/python instead of python2 due to issues with Gentoo's python2 symlink not being updated properly
2009-05-25 21:17:40 +02:00
Fabio Erculiani
dd79947faa
equo, smart apps generate: general code update
2009-05-15 20:00:20 +02:00
Fabio Erculiani
1cf75a57dd
entropy.transceivers: urlFetcher class becomes UrlFetcher
2009-05-14 18:06:52 +02:00
Fabio Erculiani
5ec9677460
entropy.Client: rework calculate_world_updates when using ignore-spm-downgrades
...
So we have several nasty issues when using ignore-spm-downgrades here.
First of all, calculate_world_updates should get the setting directly from
SystemSettings instead of bugging developer asking for it.
Secondly, calculate_world_updates should return a 4D tuple, also containing
the matches ignored when ignore-spm-downgrades is enabled.
Moreover, Spritz packages.py getPackageItem featured an unused argument,
which has been dropped.
I know this commit is a bitch because we are talking about changing API
and affecting several files at once.
2009-05-12 14:44:52 +02:00
Fabio Erculiani
632bb073bf
client updates daemon: various fixes
...
Repository sync are now run in parallel to avoid locking the daemon itself.
Output messages have now a timestamp header.
2009-05-09 21:18:58 +02:00
Fabio Erculiani
8f79c28ee6
Client updates daemon: improve updates status support.
...
This commit fixes the issues with updates being reported after having
already installed them.
Moreover, to improve the communication to user, a new signal "updating_signal"
is spawned before the repositories sync.
2009-05-09 20:49:37 +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
7b32fdfa62
client updates daemon: code style updates
2009-05-02 17:28:20 +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
6ce414da33
client updates daemon: connect dbus to glib mainloop and catch dbus
...
exceptions properly
2009-05-01 17:47:34 +02:00
Fabio Erculiani
9f5e58336b
client updates daemon: update dbus service object path
2009-05-01 16:41:55 +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
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
58d92bf271
entropy client updates daemon: misc code cleanup and improvements.
2009-04-30 01:42:12 +02:00
Michele Tameni
f20a8226be
First draft uo update daemon
2009-04-28 17:43:23 +00:00
Fabio Erculiani
9fbeca2d3e
new init service repository_services, rename repository-services-daemon
...
to repository-services-daemon.example and update Makefile.
2009-04-24 00:41:26 +02:00
Fabio Erculiani
0cfce3ab79
move service scripts to services dir, add repository admin init service
2009-04-23 22:12:41 +02:00