Commit Graph

478 Commits

Author SHA1 Message Date
Fabio Erculiani
b80846a057 [entropy.const] drop other 4 constants from etpConst, woot 2011-10-28 14:37:03 +02:00
Fabio Erculiani
44194b07bf [entropy.const] drop another global variable, etpConst['packagestmpdir'] 2011-10-28 11:37:00 +02:00
Fabio Erculiani
ba1539337d [entropy.const] add const_setup_directory() 2011-10-28 11:36:41 +02:00
Fabio Erculiani
99135b3324 [entropy.fetchers] UrlFetcher: also print current timeout to debug 2011-10-28 10:21:30 +02:00
Fabio Erculiani
57941d5e2c [entropy.client] reorder_mirrors: try at most once (slow connections will benefit) 2011-10-28 10:16:27 +02:00
Fabio Erculiani
f4d2a65704 [entropy.const] drop yet another global variable, this time: etpConst['smartpackagesdir'] 2011-10-27 22:41:48 +02:00
Fabio Erculiani
2384fc13b0 [entropy.*] drop smartapps, goodbye crappy crap 2011-10-27 22:32:25 +02:00
Fabio Erculiani
faaa3d5b2c [entropy.const] drop etpConst['triggersdir'] global variable 2011-10-27 22:05:27 +02:00
Fabio Erculiani
9eb47eaeaa [entropy.const] drop etpConst['cmdline'] global variable 2011-10-27 21:43:47 +02:00
Fabio Erculiani
2ea7e6f088 [entropy.core] also exclude files ending with ".example" from .d/* dirs 2011-10-27 16:08:21 +02:00
Fabio Erculiani
f8a1dd8e20 Release Entropy 1.0_rc69 2011-10-27 15:01:51 +02:00
Fabio Erculiani
c67e371377 Revert "[entropy.client.interfaces.db] fix typo in with statement"
This reverts commit b0e69bc2f6.
2011-10-27 15:01:42 +02:00
Fabio Erculiani
8ccd0de2d2 [entropy.client] code style update 2011-10-27 14:56:27 +02:00
Fabio Erculiani
1f7d40bc5f Release Entropy 1.0_rc68 2011-10-27 14:48:13 +02:00
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