Fabio Erculiani
76dd2fb9a0
Release Entropy 284
2014-05-18 09:13:55 +01:00
Fabio Erculiani
6faaad1d0b
Release Entropy 283
2014-05-05 18:36:22 +01:00
Fabio Erculiani
38b08e5429
Release Entropy 282
2014-04-21 22:03:46 +01:00
Fabio Erculiani
bc06fe30c2
[entropy.server] catch KeyError during init in _enabled_repos()
2014-04-21 22:02:34 +01:00
Fabio Erculiani
984158659d
[entropy.server] provide an overridden _enabled_repos attribute
2014-04-21 22:00:09 +01:00
Fabio Erculiani
796db961f9
Release Entropy 281
2014-04-20 13:41:40 +01:00
Fabio Erculiani
61ba6ea268
[entropy.client] fix deadlock when running "equo rescue generate"
...
_real_logger_lock must be a reentrant lock.
This fixes bug 4624.
2014-04-20 13:37:51 +01:00
Fabio Erculiani
f1e7432bef
[entropy.fetchers] fix undefined reference, std_err (it is actually std_r)
2014-04-14 09:08:46 +02:00
Fabio Erculiani
7c6b27437c
Release Entropy 280
2014-04-08 13:55:56 +02:00
Fabio Erculiani
050a790445
Release Entropy 279
2014-04-08 12:06:21 +02:00
Fabio Erculiani
6c5626f638
Release Entropy 278
2014-04-08 11:23:56 +02:00
Fabio Erculiani
1f064736a3
[entropy.server] do not warn about missing dependencies
...
The code is slow and doesn't give any useful and reliable information
to the user.
2014-04-08 09:37:29 +02:00
Fabio Erculiani
62e1b9e63b
Release Entropy 277
2014-04-04 11:35:46 +02:00
Fabio Erculiani
06ba8833df
[entropy.qa] catch FileNotFound on read_elf_real_dynamic_libraries
2014-04-03 12:58:28 +02:00
Fabio Erculiani
de1baee2cc
[entropy.tools] read_elf_real_dynamic_libraries: do not block if stdout buffer is full
2014-04-03 12:58:08 +02:00
Fabio Erculiani
1ead98fb6e
[entropy.tools] open os.devnull and pass a file handle to Popen()
2014-04-03 12:45:41 +02:00
Fabio Erculiani
97a5b45e27
[entropy.tools] open stdout and redirect it to os.devnull
2014-04-03 12:42:47 +02:00
Fabio Erculiani
f2ddad2e0c
[entropy.tools] do not read stdout at all
2014-04-03 12:40:15 +02:00
Fabio Erculiani
bb47a20fc9
[entropy.tools] avoid blocking on stdout when stderr buffer was full
2014-04-03 12:37:13 +02:00
Fabio Erculiani
85c262ff90
[entropy.tools] read_elf_broken_symbols: do not block when stdio buffers are full
2014-04-03 12:20:09 +02:00
Fabio Erculiani
b8ee50d514
[entropy.client.package] install: correctly deal with mkdir, makedirs errors
2014-03-24 12:19:15 +01:00
Fabio Erculiani
6c10619d21
Release Entropy 276
2014-03-22 08:13:05 +01:00
Fabio Erculiani
09505b7ead
[entropy.qa] do not account for broken executables if there are no missing sonames
2014-03-18 15:27:46 +01:00
Fabio Erculiani
5c246d10ba
[entropy.qa] filter out missing sonames if they belong to system packages
...
When warning user for potentially broken ELF objects, it is better
to filter out sonames pointing to system packages.
2014-03-18 15:21:29 +01:00
Fabio Erculiani
d0fce0b375
[entropy.qa] move is_system_pkg to instance method
2014-03-18 15:20:26 +01:00
Fabio Erculiani
8e64909155
Release Entropy 275
2014-03-16 17:04:10 +01:00
Fabio Erculiani
b8d3b84f4c
[entropy.qa] catch FileNotFound when calling read_elf_broken_symbols
...
This fixes bug #4632
2014-03-15 09:42:00 +01:00
Fabio Erculiani
200d0ce137
Release Entropy 274
2014-03-05 12:44:44 +01:00
Fabio Erculiani
704b9a161a
[entropy.server.interfaces.mirrors] fix _calculate_remote_package_files wrt separate package dirs
2014-03-05 12:43:16 +01:00
Fabio Erculiani
285b5558af
[entropy.server.interfaces.mirrors] speed up _calculate_local_{upload,package}_files
2014-03-05 11:20:50 +01:00
Fabio Erculiani
880aba81cb
[entropy.server.interfaces.mirrors] simplify local packages calculation methods
2014-03-05 11:18:26 +01:00
Fabio Erculiani
846e9b16d8
Release Entropy 273
2014-02-26 16:02:41 +01:00
Fabio Erculiani
9c505b4f58
[entropy.server] correctly generate extra_download URLs
2014-02-26 16:02:13 +01:00
Fabio Erculiani
2e82d22768
Release Entropy 272
2014-02-21 11:08:44 +01:00
Fabio Erculiani
82f2d2e1de
Release Entropy 271
2014-02-21 11:08:27 +01:00
Fabio Erculiani
855afdff1d
[entropy.client.package] Do not alter repository package file directory permissions
...
It was observed that the new locking mechanism introduced a problem
with the management of repository package files (.tbz2 files passed
to "equo install", for instance). Try to avoid that by symlinking
the package file to a safe location and using this one as pkgpath.
This fixes bug 4604.
2014-02-16 13:20:50 +01:00
Fabio Erculiani
4c8d1801ea
[entropy.tools] dump_entropy_metadata: follow symlinks when determining file size
...
The package file passed as input might be pointing to a symlink.
If we use lstat().st_size we will get the symlink file size back
rather than the source file size, which is of course unwanted.
This is part of the fixes for bug 4604.
2014-02-16 13:18:15 +01:00
Fabio Erculiani
1f6bd34749
[entropy] prefix package download URLs with the category directory
...
This makes possible to avoid directory hot spots on repository mirrors.
This commit requires some mileage and real-world testing, but it
seems to be running good on a relatively small repository.
No backward compatibility issues have been reported.
2014-02-15 19:10:16 +01:00
Fabio Erculiani
9724a16689
Release Entropy 270
2014-02-14 16:28:36 +01:00
Fabio Erculiani
d759bdd74b
[entropy.client] move LoadersMixin back into the Client class
2014-02-14 16:13:34 +01:00
Fabio Erculiani
03ef3991bd
[entropy.client] refactor NoticeBoard Entropy Client API
2014-02-14 13:10:16 +01:00
Fabio Erculiani
10d8c6b6d5
[entropy.tools] generate_entropy_delta: make sure not to leak any fds
2014-02-14 11:31:11 +01:00
Fabio Erculiani
f44eb72b81
[entropy.tools] pass prefix= to every const_mkstemp call
2014-02-14 11:18:03 +01:00
Fabio Erculiani
92146a8c17
[entropy.tools] apply_entropy_delta: avoid potential fd leaks
2014-02-13 16:12:35 +01:00
Fabio Erculiani
4a9980d37c
[entropy.qa] rename ErrorReportInterface to ErrorReport, it's cleaner
2014-01-30 14:56:37 +01:00
Fabio Erculiani
715e628c84
[entropy.client] drop CacheMixin class
2014-01-30 14:56:37 +01:00
Fabio Erculiani
b4196026d8
[entropy.client] drop _get_available_packages_hash()
2014-01-30 14:56:37 +01:00
Fabio Erculiani
d0cf15ffc6
[entropy.client] add missing imports
2014-01-30 14:56:37 +01:00
Fabio Erculiani
cc3d69c8b2
[entropy.client] rename _repositories_hash() to repositories_checksum()
2014-01-30 14:56:37 +01:00
Fabio Erculiani
2b6a4e8d9a
[entropy.client.cache] improve _repositories_hash() robustness against collisions
2014-01-30 14:56:37 +01:00