Commit Graph

1075 Commits

Author SHA1 Message Date
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
Fabio Erculiani 032bb9a96d Release Entropy 192 2013-04-05 14:38:43 +01:00
Fabio Erculiani 677b5c734f [entropy.server] Server: add support for treeupdates inhibition 2013-04-05 14:28:42 +01:00
Fabio Erculiani e7e02ec050 Release Entropy 191 2013-04-05 08:58:20 +01:00
Fabio Erculiani 9b69dfba4b [entropy.spm] PortagePlugin: update_ents() expects Atom objects 2013-04-05 08:56:32 +01:00
Fabio Erculiani cda889539a Release Entropy 190 2013-04-05 00:41:22 +01:00
Fabio Erculiani d84738cb8b [entropy.client.dep] fix library based reverse deps calculation
Before adding a reverse dependency to the list, through library
metadata in _generate_reverse_dependency_tree(), take into consideration
all the available library providers.
2013-04-05 00:37:32 +01:00
Fabio Erculiani 3f862615e1 [entropy.client.interfaces.package] add auto-conflict support
The generation of the list of conflicting packages must also take
auto-conflicts into consideration, as the dependency calculation
code does. (This solves systemd vs openrc-settingsd when the former
doesn't say anything about the latter).
2013-04-04 14:13:42 +01:00
Fabio Erculiani fe76a9a28c [entropy.client.interfaces.dep] move auto-conflict support to its own method
entropy.client.interfaces.package must use it during the install process as well
2013-04-04 14:13:02 +01:00
Fabio Erculiani b6e028cf24 [tests] misc: fix FastRSS tests 2013-04-02 23:35:34 +01:00
Fabio Erculiani 5881bab5a2 [entropy.misc] FastRSS: fix tests 2013-04-02 23:35:23 +01:00
Fabio Erculiani 4183fe9b6c [tests] db: fix some tests to accomodate Python 3.3 2013-04-02 23:23:42 +01:00
Fabio Erculiani 4996488f9d [entropy.spm] PortagePlugin: fix deprecation warning in portage.portagetree() usage 2013-04-02 22:58:56 +01:00
Fabio Erculiani ad3a191b9d [entropy.i18n] execute a lowecase comparison for the encoding
Python 3.3 is returning a lowercase string in sys.getfilesystemencoding()
2013-04-01 12:40:20 +01:00
Fabio Erculiani 086d440f41 Release Entropy 189 2013-03-30 12:56:19 +00:00
Fabio Erculiani 92c870e570 [entropy.server] RepositoryConfigParser: make possible to leave the base= parameter unset 2013-03-30 12:48:35 +00:00
Fabio Erculiani b35bf09994 [entropy.server.interfaces] export RepositoryConfigParser 2013-03-30 12:48:13 +00:00
Fabio Erculiani 510605a687 [entropy.server] RepositoryConfigParser: add repository add, remove methods 2013-03-30 08:42:48 +00:00
Fabio Erculiani dd4fc47774 [entropy.core.settings.base] add support for disabled repository ini files
Together with the "enabled=" repository configuration option inside repository
configuration files, the same ones can be in a disabled state if they are prefixed
with "_<file prefix>" (where <file prefix> is entropy_ at this time).
2013-03-30 08:30:35 +00:00
Fabio Erculiani 2ec410de69 [entropy.client] RepositoryConfigParser: add enable, disable, add, remove methods 2013-03-30 00:21:58 +00:00
Fabio Erculiani e80f4fc40a [entropy.client] move the repository config file prefix string to RepositoryConfigParser 2013-03-29 23:18:54 +00:00
Fabio Erculiani a2b73f7741 [entropy.server] RepositoryConfigParser: add write() method 2013-03-29 22:51:46 +00:00