Commit Graph

796 Commits

Author SHA1 Message Date
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
Fabio Erculiani
ccca9b2365 [entropy.client.services] eapi value can be None if unset 2013-05-27 11:24:05 +02:00
Fabio Erculiani
4902974b21 Release Entropy 196 2013-05-27 11:20:47 +02:00
Fabio Erculiani
af046cb92d [entropy.services] make possible to block Entropy WebServices support client-side 2013-05-27 11:20:11 +02:00
Fabio Erculiani
b4a6c405aa [entropy.client.interfaces.db] lazily set _repo_eapi
__get_repo_eapi() may be expensive and should only be called if
really needed.
2013-05-27 10:17:53 +02:00
Fabio Erculiani
93728a5774 [entropy.spm] PortagePlugin: add support for the new make.conf location 2013-05-27 06:25:50 +02:00
Fabio Erculiani
942ff7151f Release Entropy 195 2013-05-16 11:37:25 +02:00
Fabio Erculiani
8d095c74cd Release Entropy 194 2013-05-14 06:38:08 +02:00
Fabio Erculiani
eaae9bdfe7 [entropy.tools] add spinner support to acquire_entropy_locks() 2013-05-03 09:10:45 +02:00
Fabio Erculiani
c4ebb40b29 [entropy.client] add spinner support to Client.wait_resources() 2013-05-03 08:09:58 +01:00
Fabio Erculiani
7fa078a0f8 Release Entropy 193 2013-04-29 00:53:34 +02:00
Fabio Erculiani
47dd7c58d9 [entropy.misc] LogFile: add isatty() 2013-04-29 00:53:04 +02:00
Fabio Erculiani
5353746890 [entropy.tools] movefile: catch OSError when unlinking src symlink, no need to fail 2013-04-16 20:03:46 +01:00
Fabio Erculiani
520e9e38fc [entropy.tools] movefile: eventually remove src if it's a symlink 2013-04-16 10:50:00 +02:00