Fabio Erculiani
af0acdbaf4
[entropy.server] refactor dependencies_test() and _deps_tester()
2013-07-24 15:30:42 +02:00
Fabio Erculiani
52bb429773
[entropy.server] extended_dependencies_test: add use_cache parameter
2013-07-24 15:11:35 +02:00
Fabio Erculiani
16809d5df8
[entropy.server] injected_library_dependencies_test: add status output back
2013-07-24 15:08:54 +02:00
Fabio Erculiani
c8c07ab833
[entropy.server] drained_dependencies_test: add disk caching
...
The test phase is called frequently in both commit and push phases.
However, between commit and push there are no changes to the repository
database content and caching out this test greatly improves speed.
2013-07-24 14:53:27 +02:00
Fabio Erculiani
41883ea305
[entropy.server] drained_dependencies_test: split method into two
...
This allows for easier caching implementation
2013-07-24 12:09:59 +02:00
Fabio Erculiani
68d41fd6e6
[entropy.server] drop verbose output messages in deptest functions
2013-07-24 12:00:51 +02:00
Fabio Erculiani
2d1761677e
[entropy.server] removed_reverse_dependencies_cache: add disk caching
...
The test phase is called frequently in both commit and push phases.
However, between commit and push there are no changes to the repository
database content and caching out this test greatly improves speed.
2013-07-24 11:54:43 +02:00
Fabio Erculiani
91b9c4ead7
[entropy.server] injected_library_dependencies_test: add disk caching
...
The test phase is called frequently in both commit and push phases.
However, between commit and push there are no changes to the repository
database content and caching out this test greatly improves speed.
2013-07-24 11:09:39 +02:00
Fabio Erculiani
9aeae36585
[entropy.server] add _cache_prefix()
...
_cache_prefix() will be used for computing a fixed and function
dependent cache key prefix that contains the module name, class name
and method name (retrieved via const_get_caller()).
2013-07-24 11:09:03 +02:00
Fabio Erculiani
b355a868b0
[entropy.const] const_get_caller(): make it work inside test modules
2013-07-24 10:54:53 +02:00
Fabio Erculiani
d6802a2703
[entropy.cache] EntropyCacher: promote methods to @classmethod
2013-07-24 10:34:54 +02:00
Fabio Erculiani
fc12c7942f
[entropy.server] do not force disable xcache
...
This hopefully makes possible to use EntropyCacher in entropy.server
as well.
2013-07-24 10:26:40 +02:00
Fabio Erculiani
0df198c976
Release Entropy 211
2013-07-22 10:59:54 +02:00
Fabio Erculiani
e727ec7719
[entropy.server] fix syntax error caused by the last commit
2013-07-17 12:00:56 +02:00
Fabio Erculiani
fa4cee147e
[entropy.server] removed_reverse_dependencies_test: only consider qa_repositories()
2013-07-17 12:00:11 +02:00
Fabio Erculiani
8336ca0f47
[entropy.server,conf] add support for exclude-qa repo config parameter
...
"exclude-qa", if true, makes possible to exclude a repository from
non-disruptive QA tests executed on it while managing another repository.
This is useful for supporting sabayon-weekly cherry-picks
2013-07-17 11:28:11 +02:00
Fabio Erculiani
aefbb2d665
[entropy.server,eit] add support for eit push --force
2013-07-17 10:51:52 +02:00
Fabio Erculiani
4e482dc339
[entropy.transceivers] do not mandate to test the connection on __init__()
...
Besides making context support complex, it doesn't do any good because
connectivity errors are generally transient anyway (apart from misconfigs).
2013-07-17 09:47:28 +02:00
Fabio Erculiani
73bf33161c
[entropy.server.db] ServerRepositoryStatus: add reset() method
2013-07-16 16:06:40 +02:00
Fabio Erculiani
7dbdbb1491
[entropy.client] better name _clear_resources_live_cache
...
The new name is _clear_resources_after_lock. docstring has been
updated as well.
2013-07-16 16:05:56 +02:00
Fabio Erculiani
4883d8f86e
Release Entropy 210
2013-07-16 15:07:02 +02:00
Fabio Erculiani
b4c8f69c3d
[entropy.server] tentatively fix injected/trashed packages in scan_package_changes
...
It turns out that packages were never accounted for being marked as
injected because the trashed vs injected priority was wrong.
This commit is supposed to fix this, but more real-world testing should
be done.
2013-07-16 15:01:34 +02:00
Fabio Erculiani
a37ebf1ae9
Release Entropy 209
2013-07-16 09:47:04 +02:00
Fabio Erculiani
77aadac429
[entropy.server] complete the improvements to removed_reverse_dependencies_test
...
The method will now print 100% broken dependencies only
2013-07-16 09:31:56 +02:00
Fabio Erculiani
5611aa0f17
[entropy.server] improve the report of reverse dependencies for removed packages
2013-07-16 08:26:51 +02:00
Fabio Erculiani
60377dee8d
[entropy.client] handle errno.ENOTDIR when using lstat
2013-07-15 23:25:13 +02:00
Fabio Erculiani
b009b304d5
[entropy.security] simplify the Security advisories and fetch code
2013-07-12 16:24:52 +02:00
Fabio Erculiani
54a56b9234
[entropy.security] System: complete migration to self.SECURITY_DIR
2013-07-12 15:56:38 +02:00
Fabio Erculiani
316c25e10a
[entropy.security] start System class refactoring, clean __init__
...
__init__ was fat and slow, this commit cleans the whole class code
and dramatically improves the initialization speed.
2013-07-12 15:52:34 +02:00
Fabio Erculiani
ffbe47bd91
[entropy.security] make op_mappings protected
2013-07-12 14:32:07 +02:00
Fabio Erculiani
9785c31679
[entropy.security] System: make it a new-style class
2013-07-11 23:07:21 +02:00
Fabio Erculiani
ac718eb14f
[entropy.security] make instance variables protected
2013-07-11 23:06:22 +02:00
Fabio Erculiani
575d5929dc
Release Entropy 208
2013-07-09 11:21:38 +02:00
Fabio Erculiani
233cee986a
Revert "[entropy.spm] PortagePlugin: use returnpid=True with portage.doebuild()"
...
This reverts commit 8bfcfd8e35 .
2013-07-09 11:21:13 +02:00
Fabio Erculiani
4eeb6c7c0f
[entropy.server] fix colors
2013-07-08 11:45:24 +02:00
Fabio Erculiani
5d13779686
[entropy.server] removed_reverse_dependencies_test: return complete information
2013-07-08 11:25:32 +02:00
Fabio Erculiani
10f90b0b64
[entropy.server] scan_package_changes: add new keyword arguments
...
Add repository_ids and removal_repository_ids arguments.
2013-07-08 11:25:32 +02:00
Fabio Erculiani
2e350056bc
Release Entropy 207
2013-07-05 12:18:48 +02:00
Fabio Erculiani
8bfcfd8e35
[entropy.spm] PortagePlugin: use returnpid=True with portage.doebuild()
...
Latest Portage versions have problems with writing to proper stdout/stderr
fds and they don't either respect sys.{stdout,stderr} nor fd_pipes if
returnpid=False.
Workaround the situation by using returnpid=True as mandated by the
portage.doebuild() API specifications.
2013-07-05 12:17:06 +02:00
Fabio Erculiani
26556828b2
Release Entropy 206
2013-07-02 07:25:03 +02:00
Fabio Erculiani
15b3bd63b5
[entropy.server] add removed_reverse_dependencies_test() to repo tests
2013-07-01 19:06:31 +02:00
Fabio Erculiani
bc8b23525d
[entropy.core] expose the coloured output setting to entropy.conf, fix bug #4283
2013-07-01 18:25:39 +02:00
Fabio Erculiani
258b24ead6
Add EntropyRepository.getPackageXmlData() method to output xml package metadata
2013-06-15 20:25:05 +02:00
Fabio Erculiani
60a0548f20
[entropy.db.sqlite] make _setCacheSize() and _setDefaultCacheSize() protected methods
2013-06-11 22:41:48 +02:00
Fabio Erculiani
ee83063ed7
[entropy.db.sqlite] expose default cache size to _CACHE_SIZE
2013-06-11 22:41:48 +02:00
Fabio Erculiani
bddea392f3
Release Entropy 205
2013-06-11 17:18:38 +02:00
Fabio Erculiani
b36c55573c
Release Entropy 203
2013-06-10 19:27:26 +02:00
Fabio Erculiani
37342904d6
Release Entropy 202
2013-06-10 14:32:27 +02:00
Fabio Erculiani
d8f55890fe
[entropy.server.interfaces.db] _rewrite_treeupdates: use list instead of set
...
We want to preserve the order and all_actions_cache is already filtering
out the duplicates.
2013-06-10 10:49:47 +02:00
Fabio Erculiani
40cf8faaeb
[entropy.server] _rewrite_treeupdates: filter out duplicated actions
2013-06-10 10:39:47 +02:00