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
Fabio Erculiani
f6591e1ade
[entropy.client.cache] drop _selective_repositories_hash()
2014-01-30 14:56:37 +01:00
Fabio Erculiani
f5eb6c1803
[entropy.client.cache] drop _all_repositories_hash, duplicate of _repositories_hash()
2014-01-30 14:56:37 +01:00
Fabio Erculiani
3c3a376a3b
[entropy.client] rename _filter_available_repositories() to filter_repositories()
2014-01-30 14:56:37 +01:00
Fabio Erculiani
a83935d33c
[entropy.client.client] move clear_cache() to Client
2014-01-30 14:56:37 +01:00
Fabio Erculiani
34a03796cb
Release Entropy 269
2014-01-28 14:39:33 +01:00
Fabio Erculiani
1841234eb4
Release Entropy 268
2014-01-28 14:17:45 +01:00
Fabio Erculiani
4988c54502
Release Entropy 267
2014-01-28 11:18:50 +01:00
Fabio Erculiani
49b210e6b0
Release Entropy 266
2014-01-24 14:04:11 +01:00
Fabio Erculiani
96b3b7115a
[entropy.locks] call const_setup_directory only, it's enough
...
Also deal with possible directory creation errors. We can safely
ignore them, since we would fail right after anyway.
This will allow the code to deal with the case where the directory
exists but we don't have enough perms to mkdir it.
2014-01-16 07:22:26 +01:00
Fabio Erculiani
5423663751
[entropy.const] fix default makedirs permissions, const_setup_file does it anyway
2014-01-16 07:21:57 +01:00
Fabio Erculiani
0b881e238f
Release Entropy 265
2014-01-14 09:10:34 +01:00
Fabio Erculiani
e76775701e
[entropy.client.package] multifetch: define failed_downloads before use
2014-01-05 15:51:29 +01:00
Fabio Erculiani
64b0e8baa9
[entropy.client] Client: rewrite lazy loading support, improve reliability
2014-01-05 14:53:05 +01:00
Fabio Erculiani
301aa281d5
[entropy.client] avoid races in Entropy Client @property methods
2014-01-05 13:59:14 +01:00
Fabio Erculiani
881f8831cf
[entropy.client] set _real_enabled_repos atomically
...
The race was triggered by the startup code path in Rigo.
2014-01-05 13:55:31 +01:00
Fabio Erculiani
8c4737ef7a
[entropy.core] SystemSettingsPlugin: make parse() return plugin metadata
...
This is needed in order to avoid infinite recursion through
__maybe_lazy_load()
2014-01-05 13:32:36 +01:00
Fabio Erculiani
64fb91dcae
[entropy.core] SystemSettings: enable lazy loading of external plugins as well
2014-01-05 13:00:31 +01:00
Fabio Erculiani
92a5f2fcc1
Release Entropy 264
2014-01-04 11:16:46 +01:00
Fabio Erculiani
3ebba8b14f
[entropy.db.sql] fix typo in SQL query, s/tag/versiontag/
2014-01-04 11:15:27 +01:00
Fabio Erculiani
c48869bb31
[entropy.core] SystemSettings: drop mtime based in-RAM cache
...
It does more harm than good and we have lazy loading now
2014-01-04 11:01:27 +01:00
Fabio Erculiani
c98c39db06
[entropy.core] SystemSettings: drop mtime based cache validation
...
This is no longer necessary and error prone on filesystems with
coarse mtime granularity (like ext3). Individual methods are able
to validate their own caches.
2014-01-04 10:31:09 +01:00
Fabio Erculiani
5da276bfb6
[entropy.core] SystemSettings: __remove_repo_cache() is no longer necessary
2014-01-04 10:10:49 +01:00