Commit Graph

64 Commits

Author SHA1 Message Date
Fabio Erculiani
38c8f33f61 [entropy.client] more refactoring work in entropy.client.interfaces.methods 2010-03-13 22:19:44 +01:00
Fabio Erculiani
e10132b387 [entropy.const] use /var/run/entropy for storing pid/lock file data
In this way, files get cleaned up every boot. No need for entropy_client
init script anymore
2010-03-03 16:56:22 +01:00
Fabio Erculiani
f510cca108 [entropy.client.interfaces.dep] complete module refactoring 2010-03-03 15:26:52 +01:00
Fabio Erculiani
2513d0fb59 [services] fix client-updates-daemon dbus methods signatures 2010-03-02 08:04:34 +01:00
Fabio Erculiani
b0e96e2b25 [services] tweak client-updates-daemon timers 2010-03-01 11:56:14 +01:00
Fabio Erculiani
ac406f8d4a [services] fix Entropy Updates Notification Daemon, add exception handler 2010-02-25 17:20:17 +01:00
Fabio Erculiani
438a4968de [magneto] implement keepalive ping/pong between dbus service and client to improve service reliability 2010-02-11 15:05:07 +01:00
Fabio Erculiani
2c28389358 [services] client updates daemon, disable debug by default 2010-02-08 13:47:14 +01:00
Fabio Erculiani
e382178925 [services] add Tracker installed packages metadata miner (first chunk) 2010-02-08 13:46:39 +01:00
Fabio Erculiani
06df34f41d [entropy.client] drop .clientDbconn in favour of installed_repository() 2010-01-30 18:37:39 +01:00
Fabio Erculiani
0453fd8bcd [entropy] when subclassing Entropy Client interface, properly set singleton class 2010-01-25 02:09:54 +01:00
Fabio Erculiani
477e135134 [entropy/equo] implement bash completion (yay!), move CLI related functions to text_tools module 2010-01-12 15:52:12 +01:00
Fabio Erculiani
8f94c4a8b4 [entropy.output] TextInterface: rename updateProgress into output 2010-01-11 17:38:55 +01:00
Fabio Erculiani
d8cc786858 [entropy.client.interfaces.repository] small & initial refactoring of Repository class 2009-12-31 18:27:11 +01:00
Fabio Erculiani
8046b29491 [entropy*] several updates, etpCache removal, code cleanup, API changes 2009-12-29 19:36:32 +01:00
Fabio Erculiani
de911ac5b6 [client-updates-daemon] do not load without xcache to not taint cache 2009-12-25 18:50:08 +01:00
Fabio Erculiani
559dd5d5eb [entropy.client] rename calculate_world_updates into calculate_updates 2009-12-25 12:13:47 +01:00
Fabio Erculiani
7309d1446d [entropy*] move sabayonlinux.org domain info to sabayon.org, move more distro specific info to entropy.const 2009-12-21 23:50:31 +01:00
Fabio Erculiani
d36b5c21e2 [services] do not require netmount, actually 2009-12-21 20:30:24 +01:00
Fabio Erculiani
298a6bbea1 [client-updates-daemon] improve reliability when reporting info regarding updates 2009-12-21 10:18:45 +01:00
Fabio Erculiani
65a789f02d [services] fix UrlFetcher import 2009-11-30 19:55:03 +01:00
Fabio Erculiani
85e92ea500 [entropy] start to port to >=Python2.6/3, remove with statement import 2009-09-30 19:35:08 +02:00
Fabio Erculiani
2a43f44ab8 [entropy] update file HEADER and interpreter 2009-09-20 14:44:41 +02:00
Fabio Erculiani
64b30fdf39 [magneto] determine whether system is running on batteries and skip repo sync in case 2009-09-18 06:33:21 +02:00
Fabio Erculiani
123931f8b9 [client-updates-daemon] do not lock entropy resources when checking if system repo db mtime is changed 2009-08-31 14:18:32 +02:00
Fabio Erculiani
c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani
2ff7430f38 [client-updates-daemon] handle application lock file correctly 2009-08-23 11:22:16 +02:00
Fabio Erculiani
a501b9a7ea [client-updates-daemon] 1/2 improve lock files handling 2009-08-23 10:54:37 +02:00
Fabio Erculiani
91b4f16ba6 [client-updates-daemon] improve daemon reliability by properly handling Entropy lock files 2009-08-20 23:06:00 +02:00
Fabio Erculiani
18e82cfedb [client-updates-daemon] code style update 2009-08-20 23:06:00 +02:00
Fabio Erculiani
013abc9288 [client-updates-daemon] always destroy running Entropy Client instance 2009-08-20 23:06:00 +02:00
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