Commit Graph

96 Commits

Author SHA1 Message Date
Fabio Erculiani
a700962ff4 [entropy.server] always makedirs() with 0o775 (gid=entropy) 2011-10-30 19:33:38 +01:00
Fabio Erculiani
6aed62012c [entropy.server] fix typo in rename() logic, call shutil.move() only if -EXDEV 2011-10-30 19:31:37 +01:00
Fabio Erculiani
9647d67af2 [entropy.server] unicodify several SystemSettings metadata 2011-10-30 16:58:54 +01:00
Fabio Erculiani
29d8b565b5 [entropy.server.interfaces.db] _update_feeds: understand only unicode 2011-10-30 16:55:52 +01:00
Fabio Erculiani
d4119219cf [entropy.server] space space space 2011-10-30 10:40:45 +01:00
Fabio Erculiani
622c61d275 [entropy.server] skip repository validation during fake Entropy Client repository metadata setup 2011-10-30 10:40:20 +01:00
Fabio Erculiani
6df557d9f4 [entropy.server] make sure to list __system__ repository inside ServerSystemSettingsPlugin.REPOSITORIES 2011-10-30 10:39:47 +01:00
Fabio Erculiani
f1bd775f3b [entropy.core] add _skip_repository_validation argument to _analyze_client_repo_string, for Entropy Server consumption 2011-10-30 10:37:59 +01:00
Fabio Erculiani
1275e1e80e [entropy.server] use codecs.open() with ChangeLog, set saner permissions 2011-10-30 09:05:12 +01:00
Fabio Erculiani
6c02243c6d [entropy.misc] FastRSS: use atomic_write() for writing the xml content back, also setup saner permissions 2011-10-30 09:03:05 +01:00
Fabio Erculiani
c5a80890c5 [entropy.client] use entropy.tools.atomic_write() when needed 2011-10-30 08:38:36 +01:00
Fabio Erculiani
80938280cd [entropy.db] _runConfigurationFilesUpdate: use codecs.open() for opening config files, improve code robustness 2011-10-30 08:37:54 +01:00
Fabio Erculiani
f638b550f7 [entropy.client] make sure to append "\n" to string when using atomic_write() 2011-10-30 08:29:46 +01:00
Fabio Erculiani
b65a27bd59 Release Entropy 1.0_rc70 2011-10-29 13:21:07 +02:00
Fabio Erculiani
deb8292547 [entropy.db] EntropyRepository: do not use * in SQL statement 2011-10-29 13:06:09 +02:00
Fabio Erculiani
f0e033cb61 [entropy.client] fix typo in _clear_package_mask() 2011-10-29 11:28:26 +02:00
Fabio Erculiani
1e080cf223 [entropy.server] try to not raise any exception during Server() initialization 2011-10-28 22:24:35 +02:00
Fabio Erculiani
127c32ceca [entropy.server] setup fake repository (__builtin__) if none is provided in server.conf 2011-10-28 20:33:19 +02:00
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