Commit Graph

1075 Commits

Author SHA1 Message Date
Fabio Erculiani 2845a6fc62 [entropy.core] fix _repositories_parser() repo_conf readability check
Commit c3bba9a10d introduced a regression
in configuration files parsing. This commit fixes the regression and
properly handle the reading of repo_conf.
2013-09-15 17:48:28 +02:00
Fabio Erculiani 260f8aa439 [entropy.client] __generate_fetch_metadata: drop access() usage 2013-09-13 15:35:24 +02:00
Fabio Erculiani 29c0f4cb9f [entropy.client] _handle_config_protect: drop access() usage 2013-09-13 15:29:23 +02:00
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 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 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 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 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
Fabio Erculiani 4647541d30 [entropy.spm] PortagePlugin.installed_mtime: consider parent dir mtime 2013-07-30 12:32:40 +02:00
Fabio Erculiani 0f9a34133a Release Entropy 213 2013-07-30 10:42:02 +02:00
Fabio Erculiani f3d8d34233 [entropy.server] extended_dependencies_test: use SpmPlugin.installed_mtime()
Cache validation must use SpmPlugin.installed_mtime() as part of the
cache key when Spm() installed packages repository is used.
2013-07-30 10:39:46 +02:00
Fabio Erculiani bb59c1b010 [entropy.spm] SpmPlugin: add installed_mtime() public method, bump API 2013-07-30 10:33:37 +02:00
Fabio Erculiani 5e722e62a7 [entropy.server] nit: drop useless empty line 2013-07-30 10:33:13 +02:00
Fabio Erculiani ca4a27f8f9 Release Entropy 212 2013-07-29 18:40:17 +02:00
Fabio Erculiani 718a474a76 [entropy.spm] PortagePlugin: pass fd_pipes to doebuild()
This will redirect portage.doebuild() output to our log file
2013-07-29 18:39:18 +02:00
Fabio Erculiani 3eb52ffda9 [entropy.client] shutdown: make sure to sync() caches before destroy() 2013-07-24 16:42:07 +02:00