Fabio Erculiani
5600a3a8a9
[entropy.core] fix regression with SystemSettings metadata replacing CachingList() with list()
2011-10-27 14:47:30 +02:00
Fabio Erculiani
e256c8ab10
[entropy.core] SystemSettings: really exclude "README" and ".keep" files from *.d/ dirs
2011-10-27 14:39:47 +02:00
Fabio Erculiani
6c16f902fd
[entropy.client] use rename_keep_permissions() when moving temp file to destination
2011-10-27 14:26:48 +02:00
Fabio Erculiani
52c271512b
[entropy.client] use codecs.open() for opening config files
2011-10-27 14:26:28 +02:00
Fabio Erculiani
296771826a
Release Entropy 1.0_rc67
2011-10-27 11:50:05 +02:00
Fabio Erculiani
b0e69bc2f6
[entropy.client.interfaces.db] fix typo in with statement
2011-10-27 11:49:44 +02:00
Fabio Erculiani
1206ed762f
Release Entropy 1.0_rc66
2011-10-27 00:43:24 +02:00
Fabio Erculiani
e3536bedea
Release Entropy 1.0_rc65
2011-10-27 00:39:20 +02:00
Fabio Erculiani
2c97897cfd
[tests] ignore outcome of remove_repository() since that is a temp repo
2011-10-27 00:39:08 +02:00
Fabio Erculiani
de47e0de3d
[tests] ignore outcome of remove_repository() since that is a temp repo
2011-10-27 00:36:44 +02:00
Fabio Erculiani
ec05ee3b07
[entropy.misc] TimeScheduled: handle multiple kill() calls, and not started threads (and kill() called)
2011-10-27 00:31:10 +02:00
Fabio Erculiani
85238b8de5
[entropy.*] add support for /etc/entropy/repositories.conf.d/
2011-10-27 00:07:44 +02:00
Fabio Erculiani
99acbbcd89
[entropy.tools] add atomic_write()
2011-10-26 19:59:30 +02:00
Fabio Erculiani
cca36b836a
[entropy.tools] rename_keep_permissions: complete docstring
2011-10-26 19:58:59 +02:00
Fabio Erculiani
ebab310327
[entropy.tools] make rename_keep_permissions() more robust
2011-10-26 19:42:44 +02:00
Fabio Erculiani
0ee9dd7d74
[entropy.core] use codecs.open() in _hw_hash_parser()
2011-10-26 17:37:44 +02:00
Fabio Erculiani
9a012ce2cd
[entropy.const] drop another global variable, etpConst['repositoriesconf']
2011-10-26 17:28:31 +02:00
Fabio Erculiani
b43de50f9b
[entropy.server] use entropy.tools.rename_keep_permissions() when needed
2011-10-26 17:28:07 +02:00
Fabio Erculiani
2a5009204f
[entropy.tools] add rename_keep_permissions() function
2011-10-26 17:27:50 +02:00
Fabio Erculiani
6a257fa3fa
[entropy.qa] ErrorReportInterface: use codecs.open() and be atomic in opening config files
2011-10-26 15:21:09 +02:00
Fabio Erculiani
70c19ade9d
[entropy.const] drop etpConst['clientconf']
2011-10-26 15:14:33 +02:00
Fabio Erculiani
4521efbbe9
[entropy.server] take into account that root ("/") is dynamic, provide server_conf_path() static method
2011-10-26 15:08:21 +02:00
Fabio Erculiani
1574ae75a6
[entropy.const] remove global var etpConst['serverconf']
2011-10-26 13:24:21 +02:00
Fabio Erculiani
752df7b711
[entropy.tools] add new function codecs_fdopen()
2011-10-26 13:24:04 +02:00
Fabio Erculiani
2969105064
[entropy.const] drop etpConst['entropyconf']
2011-10-26 12:42:10 +02:00
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