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
Fabio Erculiani
4647541d30
[entropy.spm] PortagePlugin.installed_mtime: consider parent dir mtime
2013-07-30 12:32:40 +02:00
Fabio Erculiani
e38e529076
Tagging Entropy version 213
213
2013-07-30 10:42:02 +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
6dec4df08c
Tagging Entropy version 212
212
2013-07-29 18:40:17 +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
Fabio Erculiani
b00259a1dc
[entropy.server] extended_dependencies_test: use checksum(include_dependencies=True)
2013-07-24 16:22:17 +02:00
Fabio Erculiani
db8cc4abfb
[entropy.db] EntropyRepository.checksum: add "include_dependencies" argument
...
include_dependencies can be used to include dependencies information
into the computed checksum.
2013-07-24 16:21:25 +02:00