Commit Graph

2846 Commits

Author SHA1 Message Date
Fabio Erculiani
d4d191f03e [entropy.client] properly handle nested resources lock calls 2009-08-28 10:29:52 +02:00
Fabio Erculiani
94c95950c9 [entropy.client] fix create_pid_file_lock method 2009-08-28 10:20:14 +02:00
Fabio Erculiani
7ab37ffe42 [entropy.client] noticeboard methods stabilisation + sulfur feature
:: complete noticeboard entropy.client API and methods names
:: add "stfu" feature to Sulfur noticeboard viewer as per Ian Whyman
   request
2009-08-25 20:03:48 +02:00
Fabio Erculiani
f093e4ce59 [entropy.client] add support for noticeboard in entropy.client
This commit adds NoticeBoardMixin class to entropy.client main
interface, containing noticeboard specific methods and noticeboard
userspace metadata support.
2009-08-24 15:59:44 +02:00
Fabio Erculiani
9fca54466c [entropy.db] always return dict on retrieveBranchMigration 2009-08-23 22:12:08 +02:00
Fabio Erculiani
f1d67c2e37 [entropy.client] when calculating critical updates in the middle of a branch migration, return empty set 2009-08-23 18:34:32 +02:00
Fabio Erculiani
6783853982 [entropy.client] trivial fixes to subfunction 2009-08-23 18:34:10 +02:00
Fabio Erculiani
50093899d4 [entropy.const] improve const_setup_entropy_pid, return lock acquire status 2009-08-23 11:21:25 +02:00
Fabio Erculiani
e666520205 [entropy.const] add const_remove_entropy_pid method 2009-08-23 11:15:36 +02:00
Fabio Erculiani
144be55371 [entropy.client*] make Entropy resources pid lock handling atomic 2009-08-23 10:50:42 +02:00
Fabio Erculiani
4b0d7e0fa4 [entropy.client] handle fooked up repos in atom_match 2009-08-23 10:07:45 +02:00
Fabio Erculiani
483af8ffd2 [entropy.client] check if file descriptor is valid in resources_remove_lock 2009-08-22 17:44:02 +02:00
Fabio Erculiani
b343abce2e [entropy.client] check if branch migration/upgrade hooks have to be run before calculating updates 2009-08-22 17:43:17 +02:00
Fabio Erculiani
fa5e51099f [entropy.client] add pretend argument to run_repository_post_branch_upgrade_hooks 2009-08-22 17:42:51 +02:00
Fabio Erculiani
bdbc918615 [entropy.security/entropy.client] remove unwanted resources lock removal 2009-08-21 00:03:08 +02:00
Fabio Erculiani
7b12c257f6 [entropy.const] don't use immediate int in os.kill in const_pid_exists 2009-08-20 23:56:23 +02:00
Fabio Erculiani
e792256e00 [entropy.client] make entropy resources lock file really atomic 2009-08-20 23:54:38 +02:00
Fabio Erculiani
d75655771e [entropy.const] improve pid checking techniques, add const_pid_exists function 2009-08-20 23:54:04 +02:00
Fabio Erculiani
d4fe3fea14 [entropy.client] improve entropy lock handling 2009-08-20 23:06:00 +02:00
Fabio Erculiani
1e4edd4e2f [entropy.client.interfaces.repository] slightly adjust socket timeout 2009-08-20 23:06:00 +02:00
Fabio Erculiani
70903f7b6c [entropy.tools] change default get_remote_data timeout to 5 seconds 2009-08-20 23:06:00 +02:00
Fabio Erculiani
0432a4e15a [entropy.tools] add timeout argument to get_remote_data and add support for Python 2.6 urllib2 urlopen method 2009-08-20 23:06:00 +02:00
Fabio Erculiani
fed229a9a3 [entropy.db] some code style improvements to atomMatch 2009-08-20 14:08:07 +02:00
Fabio Erculiani
cc5ca9798a [entropy.db] when running treeupdates, skip matches not found in repo 2009-08-20 09:00:32 +02:00
Fabio Erculiani
3b234dd82b [entropy.db] make sure to commit after having tainted reverse deps 2009-08-19 18:09:27 +02:00
Fabio Erculiani
58a3bf2d48 [entropy.client.interfaces.methods] export get_package_groups method 2009-08-19 18:03:16 +02:00
Fabio Erculiani
e281620880 [entropy.spm.plugins] add Package Groups support to PortagePlugin 2009-08-19 18:02:47 +02:00
Fabio Erculiani
36c6978f55 [entropy.spm.plugins.factory] complete API docstrings 2009-08-19 13:14:17 +02:00
Fabio Erculiani
82d3e01bd4 [entropy.spm] make SPM backend user configurable 2009-08-19 13:11:15 +02:00
Fabio Erculiani
c77c004cbe [entropy.spm] initial SPM support refactoring work
Entropy Source Package Manager support is moving to a pluggable
interface to make possible to implement different "spm" backends.
This is just an initial commit and more work needs to be done.
2009-08-19 12:59:25 +02:00
Fabio Erculiani
48759eb0b2 [entropy.client] fix issue causing buggy Portage eutils.eclass check_license to make Entropy Client hang 2009-08-18 23:02:46 +02:00
Fabio Erculiani
43ef6238c6 [entropy.spm] do not use referenced objects in function arguments 2009-08-18 23:01:53 +02:00
Fabio Erculiani
63065f46cf [entropy.services.auth_interfaces] handle IntegrityError exceptions on phpBB3 __register() 2009-08-18 22:17:51 +02:00
Fabio Erculiani
d3d0183c5e [entropy.db] add per-repository package keywords EntropyRepository support 2009-08-18 14:11:33 +02:00
Fabio Erculiani
ef5ecaa0a1 [entropy.const] add new package masking/unmasking reason consts 2009-08-18 14:11:11 +02:00
Fabio Erculiani
b53fdb4648 [entropy.client.interfaces] add proper "**" per-repository keyword support 2009-08-18 14:10:43 +02:00
Fabio Erculiani
11f3a8a39e [entropy.client.interfaces.repository] add support for per-repository provided package keywords 2009-08-18 13:22:16 +02:00
Fabio Erculiani
e6e277502d [entropy.server] add server-side support for per-repository package keywords file 2009-08-18 13:19:27 +02:00
Fabio Erculiani
d54ab4b231 [entropy.const] provide better reason to user when package is fully masked 2009-08-18 13:18:23 +02:00
Fabio Erculiani
0753cd858b [entropy.const/entropy.client] add support for per-repository package keywords unmasking file 2009-08-18 13:16:18 +02:00
Fabio Erculiani
96803de970 [entropy.const/entropy.core] move package masking constants to etpConst 2009-08-18 12:47:35 +02:00
Fabio Erculiani
330ae76c02 [entropy.client.interfaces.trigger] make Trigger SPM phases output a bit nicer 2009-08-18 09:19:01 +02:00
Fabio Erculiani
702791c03d [entropy.client.interfaces.package] improve output when printing collision info 2009-08-18 05:50:51 +02:00
Fabio Erculiani
73cf948d69 [entropy.db] introduce _cur2list function and replace _fetchall2list 2009-08-18 05:41:55 +02:00
Fabio Erculiani
3f4e7d6607 [entropy.db] optimize fetchall2list 2009-08-18 05:39:55 +02:00
Fabio Erculiani
7021e45e58 [entropy.db] migrate _fetchall2set calls to _cur2set 2009-08-18 05:37:51 +02:00
Fabio Erculiani
d7d1464dc2 [entropy.db] make every db write of addPackage run under mutex 2009-08-18 05:34:24 +02:00
Fabio Erculiani
ce1d9c303b [entropy.core] use identity comparison instead of __cmp__ on Singleton instance __new__ 2009-08-18 03:46:34 +02:00
Fabio Erculiani
54ef503149 [entropy.client] append repository critical updates file for download 2009-08-17 15:15:25 +02:00
Fabio Erculiani
56af1807cd [entropy.server] append repository critical updates file for upload/download too (forgotten) 2009-08-17 15:10:19 +02:00