Commit Graph

39 Commits

Author SHA1 Message Date
Fabio Erculiani 84965b3682 Release Entropy 1.0_rc64 2011-10-26 12:02:42 +02:00
Fabio Erculiani 34c4ecf57c [entropy.server] rework _init_generic_memory_server_repository(), make it more robust 2011-10-26 12:01:57 +02:00
Fabio Erculiani 9af42c0b43 [entropy.server.mirrors] import socket in global scope 2011-10-26 11:23:42 +02:00
Fabio Erculiani 4771ab49eb [entropy.const] drop global constant from etpConst 2011-10-25 22:52:51 +02:00
Fabio Erculiani a16ef24829 [tests] server: remove repository in tearDown() 2011-10-25 22:52:28 +02:00
Fabio Erculiani 2f68edebcb [entropy.server] rework repositories metadata handling, fix server.conf parser (cannot cache everything) 2011-10-25 22:51:35 +02:00
Fabio Erculiani 8d03c868f5 [entropy.core] trivial code style update 2011-10-25 22:50:23 +02:00
Fabio Erculiani 48dacf3e5f [entropy.client] avoid to touch other repositories in remove_repository() 2011-10-25 22:49:47 +02:00
Fabio Erculiani 9d95bef987 [entropy.misc] TimeScheduled: stupid python Semaphore() defaults 2011-10-25 19:07:20 +02:00
Fabio Erculiani 6079f7a3c5 [entropy.misc] TimeScheduled: rework locking mechanism that avoids kill() being called before run() 2011-10-25 18:53:35 +02:00
Fabio Erculiani 50ac881f8b [entropy.misc] TimeScheduled: handle race condition between kill() and run()
kill() might get called before run() can actually set self.__alive = 1.
This would cause run() to reset self.__alive to 1 after kill() has set
it to 0. Use a simple Lock() to make possible to communicate this to run()
2011-10-25 17:16:20 +02:00
Fabio Erculiani 5a800c47d7 [entropy.client] add mtime-based in-RAM caching to entropy.client SystemSettings plugins 2011-10-25 09:06:31 +02:00
Fabio Erculiani 8a335b09d1 [entropy.server] add in-RAM mtime-based caching for config files parsing 2011-10-25 00:38:19 +02:00
Fabio Erculiani f8088df4e4 [entropy.server] fix non-keyword arg after keyword arg issue 2011-10-25 00:37:59 +02:00
Fabio Erculiani 37452fc93e [entropy.{client,server}] always use codecs.open() with encoding= 2011-10-24 17:55:48 +02:00
Fabio Erculiani 873bf07046 [entropy.core] fix variables unpack while scanning self.__setting_dirs 2011-10-24 16:22:12 +02:00
Fabio Erculiani 9c479bd565 [entropy.{core,const}] use hardcoded filesystem encoding value for entropy config files
User could have screwed her glibc/locale settings, so it's better
to be fault-tolerant and hardcode UTF-8 as default encoding for
entropy config files.
2011-10-24 14:22:10 +02:00
Fabio Erculiani f241778e82 [entropy.misc] EmailSender.send_mime_email: always encode utf-8 data before calling MIMEText 2011-10-24 11:24:21 +02:00
Fabio Erculiani 892db3ad9d [entropy.core] always use codecs.open() with encoding= when reading config files from disk 2011-10-24 10:55:10 +02:00
Fabio Erculiani 160f430dd3 [entropy.tools] generic_file_content_parser: add encoding= support 2011-10-24 10:54:44 +02:00
Fabio Erculiani e2985c5262 [entropy.core] complete in-RAM parsers caching for SystemSettings 2011-10-24 10:37:01 +02:00
Fabio Erculiani 8692c4d213 [entropy.core] SystemSettings: only cache parsed file data, not the whole CachingList object
CachingList contains data that cannot survive a clear() cycle.
2011-10-24 10:09:57 +02:00
Fabio Erculiani 0288f5b28a [entropy.core] cache parser outcome whenever it's possible 2011-10-23 23:22:54 +02:00
Fabio Erculiani a87d34069e [entropy.client.interfaces.db] use CachingList for storing package.mask, package.unmask repo matches 2011-10-21 23:32:55 +02:00
Fabio Erculiani 5c66b81011 [entropy.client] make possible to enable splitdebug per-package, close bug 2712 2011-10-21 23:01:37 +02:00
Fabio Erculiani 7fd6fe8032 Release Entropy 1.0_rc63 2011-10-21 20:05:53 +02:00
Fabio Erculiani c575040a95 Release Entropy 1.0_rc62 2011-10-21 19:01:44 +02:00
Fabio Erculiani 4328ca9878 [magneto] update packages website URL, close bug 2795 2011-10-21 17:39:32 +02:00
Fabio Erculiani dbeef16563 [entropy.core] use os.path.sep 2011-10-21 14:00:59 +02:00
Fabio Erculiani 5c0f255f5d [entropy.core] add *.d/* directories support for mask, unmask, license.{mask,accept}, system 2011-10-21 13:51:54 +02:00
Fabio Erculiani 2a3391b2d4 [entropy.client.interfaces.db] add support for "::repo" syntax in package.mask and package.unmask 2011-10-21 10:56:42 +02:00
Fabio Erculiani 163b3f0987 Release Entropy 1.0_rc61 2011-10-20 19:44:08 +02:00
Fabio Erculiani edd4fc1c52 [entropy.const] rename libraries -> lib 2011-10-20 19:43:46 +02:00
Fabio Erculiani b05da104b3 [entropy.spm] PortagePlugin: fix minor typos 2011-10-18 22:55:05 +02:00
Fabio Erculiani d9ebffa786 [text_query] move graph, revgraph drawing functions to entropy.cli 2011-10-18 22:24:33 +02:00
Fabio Erculiani 57a25ff512 [entropy.cli] move print_package_info to entropy.cli module 2011-10-18 17:26:45 +02:00
Fabio Erculiani fc4452ff0a [entropy] move text_tools module from client/ to entropy package (entropy.cli) 2011-10-18 17:09:48 +02:00
Fabio Erculiani 156fcab74d [entropy.tools] fix typo 2011-10-18 17:05:37 +02:00
Fabio Erculiani 69a0bb87e0 [entropy] move libraries/ to lib/ 2011-10-17 14:27:58 +02:00