Commit Graph

10451 Commits

Author SHA1 Message Date
Fabio Erculiani fb9fe3a8d0 [entropy.tools] istextfile: catch OSError and IOError exceptions 2013-09-13 15:28:22 +02:00
Fabio Erculiani 8e70eb0c17 [entropy.client] _remove_content_from_system_loop: drop access() usage 2013-09-13 15:11:47 +02:00
Fabio Erculiani c62d3a7c47 [entropy.client] _match_checksum: drop access() usage 2013-09-13 15:05:55 +02:00
Fabio Erculiani 827ddc779c [entropy.client] __approve_edelta: drop access() usage 2013-09-13 14:59:23 +02:00
Fabio Erculiani 5d7d951e04 [entropy.client] _setup_differential_download: drop access() usage 2013-09-13 14:55:57 +02:00
Fabio Erculiani f5950d10c1 [entropy.const] drop access() usage 2013-09-09 16:38:43 +02:00
Fabio Erculiani 18d7de08a8 [entropy.dump] drop access() usage 2013-09-09 16:37:11 +02:00
Fabio Erculiani 7eda14685d [entropy.security] drop access() usage 2013-09-09 16:36:48 +02:00
Fabio Erculiani 33bb10ceb2 [entropy.tools] drop access() usage 2013-09-09 16:29:36 +02:00
Fabio Erculiani 50798c04b1 [entropy.server] drop access() usage 2013-09-09 16:16:23 +02:00
Fabio Erculiani ae456f9c3f [entropy.spm] drop access() usage 2013-09-08 20:15:18 +02:00
Fabio Erculiani 504ab3dd15 [entropy.server.interfaces.mirrors] drop access() usage 2013-09-08 19:45:31 +02:00
Fabio Erculiani 58d68118d4 [entropy.const] introduce const_dir_readable() 2013-09-08 19:45:14 +02:00
Fabio Erculiani 4cc4908a11 [entropy.server.interfaces.db] use const_file_readable(), drop access() usage 2013-09-08 19:39:14 +02:00
Fabio Erculiani 8da31ad7a8 [entropy.const] const_file_readable: fix typo in docstring 2013-09-08 19:33:39 +02:00
Fabio Erculiani 1dccf0e6ef [entropy.fetchers] use const_file_readable(), drop access() usage 2013-09-08 19:32:53 +02:00
Fabio Erculiani 5faf14885b [entropy.core] use const_file_readable() 2013-09-08 19:13:35 +02:00
Fabio Erculiani c6b6a29ca0 [entropy.const] introduce const_file_readable() 2013-09-08 19:08:16 +02:00
Fabio Erculiani 36528e0906 [entropy.misc] EmailSender: drop access() usage 2013-09-07 14:16:00 +02:00
Fabio Erculiani d1b2fc91b4 [entropy.core] _repositories_parser: drop access() usage 2013-09-07 14:11:43 +02:00
Fabio Erculiani a2315b1c92 [entropy.core] _system_parser: drop access() usage 2013-09-07 14:01:32 +02:00
Fabio Erculiani 95fd912684 [entropy.core] _hw_hash_parser: drop access() usage 2013-09-07 13:47:42 +02:00
Fabio Erculiani d58550306f [entropy.core] __setup_package_sets_vars: drop access() usage 2013-09-07 13:36:47 +02:00
Fabio Erculiani 61f12d5599 [entropy.core] __setup_const: drop access() usage 2013-09-07 13:30:40 +02:00
Fabio Erculiani 7e4bc4d98d [entropy.server] fix drained_dependencies_test() output when data is cached 2013-09-07 07:55:04 +02:00
Fabio Erculiani 5793020aad [eit.main] use _exit() rather than SystemExit() exception.
The former is reentrant and safe to be used in signal handlers.
2013-09-05 19:22:40 +02:00
Fabio Erculiani 577fcf32c6 [solo.main] use _exit() rather than SystemExit() exception.
The former is reentrant and safe to be used in signal handlers.
2013-09-05 19:21:51 +02:00
Fabio Erculiani 1ded3747d4 [todo] update TODO 2013-09-05 14:41:14 +02:00
Fabio Erculiani 51ea669c02 [server] deal with Python bug #16308 2013-08-23 10:58:04 +02:00
Fabio Erculiani 385c2934c5 [client] deal with Python bug #16308 2013-08-23 10:57:36 +02:00
Fabio Erculiani a0cd08d1de [solo.commands.query] use quiet=True with calculate_updates()
This avoids tainting stdout with unwanted output
2013-08-23 10:41:48 +02:00
Fabio Erculiani 390f0778d0 Tagging Entropy version 216 216 2013-08-12 15:38:09 +02:00
Fabio Erculiani e929e6f440 Release Entropy 216 2013-08-12 15:38:07 +02:00
Fabio Erculiani e9c9b0e7de [entropy.client] fix _generate_reverse_dependency_tree cache generation
matched_atoms is a list of tuples.
2013-08-12 15:36:26 +02:00
Fabio Erculiani 4b73dc7b94 Tagging Entropy version 215 215 2013-08-10 11:48:20 +02:00
Fabio Erculiani 7a02df16a1 Release Entropy 215 2013-08-10 11:48:19 +02:00
Fabio Erculiani 98b5afaf2b [entropy.*] call EntropyRepository.checksum() without strings= 2013-08-10 11:47:56 +02:00
Fabio Erculiani 70dfc59b78 Tagging Entropy version 214 214 2013-08-10 11:45:29 +02:00
Fabio Erculiani 8604b84280 Release Entropy 214 2013-08-10 11:45:29 +02:00
Fabio Erculiani e4d5eba18e [entropy.security] drop hash() usage through the module
Replace hash() usage with SHA1 for improved reliability.
2013-08-10 11:40:40 +02:00
Fabio Erculiani b5d7dfeb90 [entropy.db] drop strings= keyword arg from checksum()
This is no longer in use.
2013-08-10 11:33:02 +02:00
Fabio Erculiani 2f4884a4ad [entropy.client] check_package_update: rewrite cache key generation code
We now rely on SHA1 rather than hash() and string magic, which is
likely to give us a lot more collisions.
2013-08-10 11:23:03 +02:00
Fabio Erculiani 74993fa2e1 [entropy.client] _generate_reverse_dependency_tree: rewrite cache key generation code
We now rely on SHA1 rather than hash() and string magic, which is
likely to give us a lot more collisions.
2013-08-10 11:19:22 +02:00
Fabio Erculiani d73cbeb75d [entropy.client] tentatively remove __validate_atom_match_cache()
Now that we rely on a better hashing algorithm, with bigger hash
values, it might be interesting to see if __validate_atom_match_cache()
is still needed.
2013-08-10 11:11:39 +02:00
Fabio Erculiani eeb079b2e9 [entropy.client] atom_search: rewrite cache key generation code
We now rely on SHA1 rather than hash() and string magic, which is
likely to give us a lot more collisions.
2013-08-10 11:10:44 +02:00
Fabio Erculiani cd55a7a043 [solo.commands.command] call shutdown() before releasing locks
shutdown() calls EntropyCacher.sync() and stop()...
2013-08-10 11:03:24 +02:00
Fabio Erculiani 6a249d4f11 [eit.commands.command] call shutdown() before releasing locks
shutdown() calls EntropyCacher.sync() and stop()...
2013-08-10 11:02:17 +02:00
Fabio Erculiani a324556358 [entropy.client] atom_match: rewrite cache key generation code
We now rely on SHA1 rather than hash() and string magic, which is
likely to give us a lot more collisions.
2013-08-10 11:00:30 +02:00
Fabio Erculiani cfaece4095 [entropy.server] do not use const_get_caller(), which is buggy 2013-08-10 07:55:46 +02:00
Fabio Erculiani e96b1643b5 [entropy.server] removed_reverse_dependencies_test: highlight removed pkgs 2013-08-08 21:38:37 +02:00