Commit Graph

809 Commits

Author SHA1 Message Date
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
Fabio Erculiani
b8b958604f [entropy.db.sql] retrieveTreeUpdatesActions, listAllTreeUpdatesActions: order results by date 2013-06-10 10:39:47 +02:00
Fabio Erculiani
3dcbe49281 [entropy.client.interfaces.db] reduce delta threshold for EAPI3 to 100 2013-06-09 20:00:25 +02:00
Fabio Erculiani
536797ee5b [entropy.db] delete inverse actions from treeupdates actions
For instance, if we have moved a to b and then we decided to move
b back to a, Entropy will keep flip flopping from one to another.
This commit makes possible to filter such actions so that only
the last one is considered in the end.
2013-06-09 15:52:05 +02:00
Fabio Erculiani
72bc9ca452 Release Entropy 201 2013-06-08 07:13:49 +02:00
Fabio Erculiani
08bd609d87 Release Entropy 200 2013-06-07 21:59:44 +02:00
Fabio Erculiani
f3828597e5 [entropy.tools] increase read() buffer size to 1M 2013-06-03 19:38:25 +02:00
Fabio Erculiani
6c802a88d6 Release Entropy 199 2013-05-30 10:24:03 +02:00
Fabio Erculiani
f8d5d062ab [entropy.const] const_convert_to_{rawstring,unicode}: add float support 2013-05-30 10:23:31 +02:00
Fabio Erculiani
90f5b6e686 [entropy.spm] convert string to bytes before passing it to hashlib objects 2013-05-27 22:19:03 +02:00
Fabio Erculiani
b71cea2ed5 [entropy.server] _calculate_sync_queues: generate upload_queue by interating over dict_items 2013-05-27 22:01:55 +02:00
Fabio Erculiani
01e7fa7db6 Release Entropy 198 2013-05-27 11:26:44 +02:00
Fabio Erculiani
7c77c6e2df [entropy.client.services] fix typo in method call 2013-05-27 11:26:26 +02:00
Fabio Erculiani
56a7c9fa3a Release Entropy 197 2013-05-27 11:24:45 +02:00