Commit Graph

11004 Commits

Author SHA1 Message Date
Fabio Erculiani 1f2575204e [entropy.locks] make ResourceLock reentrant wrt to individual threads only 2013-12-26 22:52:11 +01:00
Fabio Erculiani 3a448a3b19 [entropy.client.package] use atom as part of the unpack directory
This greatly reduce the size of the path, mitigating the issue at bug #4078
2013-12-24 15:57:40 +01:00
Fabio Erculiani 0cb12a0dae [entropy.misc] RSS: be more tolerant against xml file corruptions 2013-12-20 13:03:32 +01:00
Fabio Erculiani f6dd07cb0d Tagging Entropy version 255 255 2013-12-18 11:00:10 +01:00
Fabio Erculiani 24b5b8c661 Release Entropy 255 2013-12-18 11:00:10 +01:00
Fabio Erculiani 304f57434f [entropy.db.skel] filterTreeUpdatesActions: warn and fix illegal circular slotmoves
See gentoo-dev ML thread called "Doing and then undoing slotmoves"
2013-12-18 10:59:26 +01:00
Fabio Erculiani 5bafa6e755 [entropy.spm] PortagePlugin: make __get_portage_update_actions protected 2013-12-18 09:50:28 +01:00
Fabio Erculiani c9629b9457 [entropy.spm.skel] allocate_protected_file: python2 os is not unicode friendly 2013-12-17 22:09:55 +01:00
Fabio Erculiani ea52b8630b [entropy.client.package] _handle_config_protect: python2 os module is not unicode friendly 2013-12-17 21:56:24 +01:00
Fabio Erculiani 1e16119560 [eit.commands] remove leading ">>" string from ask_question() message. 2013-12-16 19:53:36 +01:00
Fabio Erculiani beff483d19 [solo.commands] remove leading ">>" string from ask_question() message. 2013-12-16 19:53:11 +01:00
Fabio Erculiani 53cbf979c5 [eit.commands.cp] make sure to open the source repository in rw
This will trigger treeupdates and the collected package identifiers
will not become stale.
2013-12-16 16:26:27 +01:00
Fabio Erculiani 9b78a9b6a0 [entropy.db.sqlite] lock_path() should not use id(self) for memory repositories 2013-12-15 10:50:13 +01:00
Fabio Erculiani ae8b91ac0c [entropy.*] s:occured:occurred: 2013-12-13 10:57:19 +01:00
Fabio Erculiani fe80752612 [entropy.output] use nice unicode chars for warning and error messages 2013-12-13 07:25:10 +01:00
Fabio Erculiani e23396625b [entropy.const] set entropy git version to 1 2013-12-13 07:24:49 +01:00
Fabio Erculiani a8e902b0a5 [eit.commands] rename call_unlocked to call_shared, call_locked to call_exclusive 2013-12-12 22:17:36 +01:00
Fabio Erculiani 3e528ae1ae [solo.commands.*] rename call_unlocked to call_shared, call_locked to call_exclusive 2013-12-12 22:15:47 +01:00
Fabio Erculiani bf724d9b39 Tagging Entropy version 254 254 2013-12-12 21:24:25 +01:00
Fabio Erculiani c60cee8082 Release Entropy 254 2013-12-12 21:24:24 +01:00
Fabio Erculiani 7bb3007704 [entropy.services.client] always append the entropy version string to requests 2013-12-12 21:16:16 +01:00
Fabio Erculiani 1f6dd35001 Tagging Entropy version 253 253 2013-12-12 20:11:50 +01:00
Fabio Erculiani da31e2b49d Release Entropy 253 2013-12-12 20:11:50 +01:00
Fabio Erculiani 4d3eef0d19 [entropy.server] Server: initialize Client superclass as soon as possible 2013-12-12 20:11:19 +01:00
Fabio Erculiani 869e8df574 Tagging Entropy version 252 252 2013-12-12 19:38:50 +01:00
Fabio Erculiani 42c66c84b4 Release Entropy 252 2013-12-12 19:38:50 +01:00
Fabio Erculiani e47db9bfd7 [eit.utils] use the public message header variable 2013-12-12 19:27:31 +01:00
Fabio Erculiani 162c08961f [solo.utils] use the public message header variable 2013-12-12 19:27:19 +01:00
Fabio Erculiani c02da8d315 [entropy.output] make the message header variable public 2013-12-12 19:27:05 +01:00
Fabio Erculiani 44c1f66629 [client] update entropy.pot 2013-12-12 19:25:17 +01:00
Fabio Erculiani e6b129ae7e [entropy.client] move ClientSystemSettingsPlugin to a separate module
This will break the circular dependency between loaders and client modules
2013-12-12 19:24:19 +01:00
Fabio Erculiani c78b90563c [entropy.client.package] use ClientSettings() rather than SystemSettings()[id] 2013-12-12 19:23:41 +01:00
Fabio Erculiani 1eed3123c8 [entropy.client.misc] use ClientSettings() rather than SystemSettings()[id] 2013-12-12 19:23:20 +01:00
Fabio Erculiani c22f4121f6 [RigoDaemon] use ClientSettings() rather than SystemSettings()[id] 2013-12-12 19:22:42 +01:00
Fabio Erculiani aa4e2441be [entropy.client] move _enabled_repos to a property, allow lazy loading 2013-12-12 18:35:17 +01:00
Fabio Erculiani 88ca752724 [entropy.client] remove repositories list cache validation code
Dead code, no longer needed.
2013-12-12 18:14:43 +01:00
Fabio Erculiani fdceeaffbd [entropy.client] always use repositories hashes for cache keys 2013-12-12 18:10:59 +01:00
Fabio Erculiani 3574cb029f [entropy.client] do not clear cache if xcache is False
Nowadays, cache in entropy.client uses hashes of repositories
as part of the key, there is no need to clear cache explicitly
2013-12-12 17:26:14 +01:00
Fabio Erculiani 67cccf3e8a [entropy.client] lazy load ClientSystemSettingsPlugin 2013-12-12 17:13:19 +01:00
Fabio Erculiani 8a7afe97e8 [entropy.client] use ClientSettings() whenever needed
This commit also drops the sys_settings_client_plugin_id attribute
2013-12-12 16:49:01 +01:00
Fabio Erculiani 56f0ed4fd5 [entropy.client] Client: move object attributes to @property to enable lazy loading 2013-12-12 15:05:02 +01:00
Fabio Erculiani 3a7269aa5c [entropy.db] EntropyBaseRepository: turn lock methods into no-op if direct mode
Now that the repository lock is reentrant, it's good to have the
methods take into account direct mode as well. In direct mode,
we explicitly don't want to deal with any kind of locking, because
we accept to manipulate stale data. In order to hide locking code
from the outside and have it transparently managed inside entropy.*
methods, we must respect requests made in direct mode.
2013-12-12 14:25:44 +01:00
Fabio Erculiani e55ac6e58f Tagging Entropy version 251 251 2013-12-12 12:38:28 +01:00
Fabio Erculiani 412759e20f Release Entropy 251 2013-12-12 12:38:28 +01:00
Fabio Erculiani db8bd0fb40 [entropy.client.package] multifetch: ensure that path exists before calling _match_checksum 2013-12-12 12:36:45 +01:00
Fabio Erculiani 4b8b3b1af7 [entropy.client.package] multifetch: use the same path for both calls 2013-12-12 12:36:03 +01:00
Fabio Erculiani 864e3ecf21 [entropy.client.package] multifetch: fix exit status in case of download failures 2013-12-12 12:30:25 +01:00
Fabio Erculiani 36b634aea7 [entropy.output] _print_prio: use nice unicode header chars :-) 2013-12-12 11:56:04 +01:00
Fabio Erculiani 89b0c053ff Tagging Entropy version 250 250 2013-12-12 10:50:16 +01:00
Fabio Erculiani e21d564669 Release Entropy 250 2013-12-12 10:50:15 +01:00