Commit Graph

4741 Commits

Author SHA1 Message Date
Fabio Erculiani cffa1e600d [entropy.db.skel] use etpConst['entropyslotprefix'] instead of hardcoded ":" 2011-03-27 19:42:15 +02:00
Fabio Erculiani 4c57a839b1 [entropy.services.client] automatically cast to string base types when generating multi-part encoded POST data 2011-03-27 15:48:16 +02:00
Fabio Erculiani d232be6afc [entropy.services.client] pack up the service method name called in exceptions when possible 2011-03-27 11:10:36 +02:00
Fabio Erculiani 55d31ca75f [entropy.services.client] add all the currently declared server-side response codes 2011-03-27 11:09:36 +02:00
Fabio Erculiani 377776aa63 [entropy.client.services] minor fixes to package vote range management 2011-03-26 16:54:59 +01:00
Fabio Erculiani 884bf31e6d [entropy.services] introduce the new Entropy Web Services Client library. 2011-03-26 16:21:27 +01:00
Fabio Erculiani 7f5cc1972b [entropy.client.interfaces.loaders] add ClientSettings loader 2011-03-26 16:20:33 +01:00
Fabio Erculiani d8c3e4529a [entropy.server] add Entropy Web Services file upload/download handling 2011-03-25 22:43:22 +01:00
Fabio Erculiani 5430f85012 [entropy.core] SystemSettings: add base Entropy Web Services repository metadata 2011-03-25 22:42:50 +01:00
Fabio Erculiani 16d7d37580 [entropy.const] add Entropy Web Services constants 2011-03-25 22:42:34 +01:00
Fabio Erculiani c68596c9ec Release Entropy 1.0_alpha36 2011-03-25 17:30:29 +01:00
Fabio Erculiani bff346fa06 [entropy.server] in _shrink_and_close(), also drop all content_safety metadata from repo, not needed 2011-03-25 17:29:22 +01:00
Fabio Erculiani 6c805b8e5e [entropy.db] EntropyRepositoryBase: add new method "dropContentSafety" 2011-03-25 17:29:20 +01:00
Fabio Erculiani 070427f9d8 [tests] db: fix test_db_metadata_handling, trigger metadata now contains slot 2011-03-25 17:29:20 +01:00
Fabio Erculiani e8d88d6814 Release Entropy 1.0_alpha35 2011-03-25 14:30:25 +01:00
Fabio Erculiani d82a8d5ed0 [entropy.core.settings.base] drop unwanted merged code 2011-03-25 14:30:00 +01:00
Fabio Erculiani 5c5fb7a604 Release Entropy 1.0_alpha34 2011-03-25 10:18:48 +01:00
Fabio Erculiani f0128cee35 [entropy.db.skel] minor docstring update 2011-03-25 09:50:56 +01:00
Fabio Erculiani 9b34009226 [entropy.core.settings.base] fix cache validation logic after configuration files changes, see bug #2280 2011-03-25 09:50:20 +01:00
Fabio Erculiani ab1e5b5644 [tests] add another python-based package trigger test 2011-03-23 07:08:26 +01:00
Fabio Erculiani c62dd54531 [tests] add python-based package trigger test 2011-03-23 06:44:46 +01:00
Fabio Erculiani e07dada3cc [entropy.client.interfaces.trigger] rework shell-based trigger support 2011-03-23 06:39:16 +01:00
Fabio Erculiani e9e4161ae7 [tests] add shell trigger test to client 2011-03-23 06:38:25 +01:00
Fabio Erculiani fa20010d80 [entropy.db] EntropyRepositoryBase.getTriggerData: also return slot metadatum 2011-03-23 06:38:24 +01:00
Fabio Erculiani f425c505a9 [entropy.spm] PortagePlugin: when printing generic exception, always use repr() 2011-03-21 20:28:08 +01:00
Fabio Erculiani 29eb581288 [entropy.db] when calling EntropyCacher.save() handle IOError exception (race condition on fs write) 2011-03-21 20:10:50 +01:00
Fabio Erculiani 311d249086 [entropy.dep] add "::" repository prefix as alternative way to match dependencies in repository 2011-03-21 16:25:58 +01:00
Fabio Erculiani c54caa33f2 [entropy.dep] in dep_get_match_in_repos, use repository prefix constant stored in etpConst 2011-03-21 16:23:00 +01:00
Fabio Erculiani c8f35f1843 Release Entropy 1.0_alpha33 2011-03-21 16:17:23 +01:00
Fabio Erculiani 5421de7b74 [entropy.spm,entropy.db] add default use dependencies support 2011-03-21 16:12:51 +01:00
Fabio Erculiani 0bcd6e0f86 Release Entropy 1.0_alpha32 2011-03-20 12:34:26 +01:00
Fabio Erculiani d00750f79b [entropy.spm] PortagePlugin: drop old portage bug workaround 2011-03-20 12:18:16 +01:00
Fabio Erculiani b1e75b7e0d Release Entropy 1.0_alpha31 2011-03-18 07:20:53 +01:00
Fabio Erculiani 02713f8dd9 [entropy.server] ServerEntropyRepositoryPlugin: always sync package sets at least once per run 2011-03-14 18:33:52 +01:00
Fabio Erculiani 4e4c290b0e [entropy.server] ServerRepositoryStatus: add package sets sync status handling 2011-03-14 18:33:51 +01:00
Fabio Erculiani c749d22379 [entropy.client.interfaces.client] catch entropy.db.exceptions.Error in _get_package_categories 2011-03-14 15:37:39 +01:00
Fabio Erculiani a8b85641d9 [entropy.core] SystemSettings: simplify repositories.conf parsing code 2011-03-13 19:33:45 +01:00
Fabio Erculiani 1b80a2d13e [entropy.spm] PortagePlugin: do not use internal Portage _global_updates() function but rather emaint frontend 2011-03-13 19:20:40 +01:00
Fabio Erculiani 4066e41781 [entropy.server] before giving up with repository sync due to missing sets, try to resync them and check again 2011-03-13 17:49:09 +01:00
Fabio Erculiani 9f5588740f [entropy.spm] PortagePlugin: do not run _global_updates() for ROOT != "/", Portage limitation. 2011-03-12 14:44:39 +01:00
Fabio Erculiani 067b31315d [entropy.dump] make possible to enforce custom permission bits to dumpobj() 2011-03-11 20:16:37 +01:00
Fabio Erculiani 0f5df2aadb [entropy.cache] EntropyCacher: use atexit to register the stop() function when start() is called 2011-03-10 18:34:20 +01:00
Fabio Erculiani 5ca9768494 [entropy.client.interfaces.package] fix typo 2011-03-10 17:24:29 +01:00
Fabio Erculiani c90b5b1655 [entropy.client.interfaces.package] improve speed of package unpacking
Originally, a fork was needed (through spawn_function()) because
there was a memory leak inside tarfile python module.
As of today, the issue doesn't seem to exist anymore and so,
the cost of fork() should be avoided completely.
2011-03-09 17:40:21 +01:00
Fabio Erculiani 8ae1290b9d Release Entropy 1.0_alpha30 2011-03-08 10:17:14 +01:00
Fabio Erculiani 12897bc143 [entropy.spm] from SpmPlugin, drop Portage-centric unused methods 2011-03-08 09:47:53 +01:00
Fabio Erculiani 5261e3715c [entropy.server] when using Spm.server/interfaces/main.py() always handle KeyError exception 2011-03-08 09:45:37 +01:00
Fabio Erculiani d3ba6f6886 [entropy.db.skel] _runTreeUpdatesMoveAction: enforce destination package name to key
Even if Gentoo specs only allow package keys to be used in
move statements inside profiles/updates. We can easily support
full versioned dependencies (like: app-foo/foo:0 or app-foo/foo-1.2.3).
In this case however, key_to has to be filtered out using dep_getkey()
2011-03-08 07:38:56 +01:00
Fabio Erculiani db39f49bcd [entropy.dep] add handy function that strips out category part from dependency string 2011-03-07 21:27:28 +01:00
Fabio Erculiani c0bfbb9775 Release Entropy 1.0_alpha29 2011-03-07 19:52:37 +01:00