Commit Graph

4985 Commits

Author SHA1 Message Date
Fabio Erculiani 99747e10ed [entropy.spm] PortagePlugin: make sure to also update vdb pkg dir mtime 2011-06-29 11:08:00 +02:00
Fabio Erculiani 7fff2821c3 [tests] fix tests 2011-06-28 11:58:48 +02:00
Fabio Erculiani 5a9be7b5d4 Release Entropy 1.0_rc19 2011-06-28 11:13:32 +02:00
Fabio Erculiani 4f8bd8c92d [entropy.*] remove tagged conflicting packages support, old and dusty piece of code, we now have packages dep_rewrite feature 2011-06-28 11:12:35 +02:00
Fabio Erculiani 5358a27dfa [entropy.server] close_repositories() is called by __del__, so make sure it's fault tolerant 2011-06-28 11:09:02 +02:00
Fabio Erculiani aa2c842324 [entropy.server] make sure to always close the repository object 2011-06-28 11:08:32 +02:00
Fabio Erculiani 1765fd4bec [entropy.client] close_repositories() is called by __del__, so make it fault tolerant 2011-06-28 11:07:55 +02:00
Fabio Erculiani 51517dcb90 [entropy.qa] move fd close() before remove() 2011-06-28 11:07:13 +02:00
Fabio Erculiani a95270e9be [entropy.server] make possible to disable handling of repository local lock files 2011-06-26 23:05:46 +02:00
Fabio Erculiani 6eaf623c28 [entropy.server] make possible to override remote repository database directory (in order to implement push to different location) 2011-06-26 19:45:04 +02:00
Fabio Erculiani 1166757135 [entropy.client.interfaces.db] no need to return True, _do_fetch runs in a separate thread now 2011-06-26 12:19:43 +02:00
Fabio Erculiani 44fea6871a [entropy.client.interfaces.db] to avoid socket timeouts, make sure to flush all the parallel downloads before starting another chunk 2011-06-26 12:18:58 +02:00
Fabio Erculiani 583316487e [entropy.client.interfaces.db] reduce diff sync threshold from 2000 to 500 package changes 2011-06-26 12:18:18 +02:00
Fabio Erculiani f416f976ac [entropy.const] const_debug_write: improve output (add colors) and provide thread information (as well as timestamp) 2011-06-26 12:14:19 +02:00
Fabio Erculiani e8b5dcf34a [entropy.const] const_kill_threads: no need to wait daemon threads 2011-06-26 12:13:42 +02:00
Fabio Erculiani b1fce54d63 Release Entropy 1.0_rc18 2011-06-26 00:09:32 +02:00
Fabio Erculiani e8eba617eb [entropy.client.interfaces.db] fine tune webservice based sync and timeout default parameters 2011-06-26 00:06:57 +02:00
Fabio Erculiani d200b3724c [entropy.db] EntropyRepositoryBase: directly handle install repository metadata 2011-06-25 23:37:22 +02:00
Fabio Erculiani 3f6bb27ce6 [entropy.output] improve _my_raw_input(), use readline if available 2011-06-25 21:53:30 +02:00
Fabio Erculiani 8c247b94e2 [entropy.db] EntropyRepository: move sqlite's integrity_check() to EntropyRepository.integrity_check() 2011-06-25 19:45:55 +02:00
Fabio Erculiani 5ee8022ddb [entropy.db.skel] EntropyRepositoryBase: introduce integrity_check() method 2011-06-25 19:45:13 +02:00
Fabio Erculiani d84003858c [entropy.fetchers] call update() instead of _push_progress_to_output(), so that 3rdparties don't get stdout spammed 2011-06-25 10:22:36 +02:00
Fabio Erculiani f7dd762dec Release Entropy 1.0_rc17 2011-06-24 22:42:04 +02:00
Fabio Erculiani 51de9547df [entropy.client.interfaces.package] original_repo can be None 2011-06-24 22:41:39 +02:00
Fabio Erculiani 8aa71c564c Release Entropy 1.0_rc16 2011-06-24 22:09:54 +02:00
Fabio Erculiani b2d42f3cac [entropy.client.interfaces.package] fix shadow repository mirrors list generation logic 2011-06-24 22:09:24 +02:00
Fabio Erculiani f9db52db1d Release Entropy 1.0_rc15 2011-06-24 21:58:56 +02:00
Fabio Erculiani 4caf63ab0d [entropy.server.mirrors] actually call thread.join() on all the spawned threads 2011-06-24 21:58:22 +02:00
Fabio Erculiani 130eb60255 Release Entropy 1.0_rc14 2011-06-24 19:56:23 +02:00
Fabio Erculiani 24c58024fd [entropy.client.interfaces.package] cope with unavailable repository mirrors metadata, for shadow repositories 2011-06-24 19:54:54 +02:00
Fabio Erculiani 7b3e6aa376 Release Entropy 1.0_rc13 2011-06-24 19:30:55 +02:00
Fabio Erculiani 3c11b1b465 [entropy.core.settings.base] "repodatabase" can be empty, in this case, do not validate 2011-06-24 19:30:16 +02:00
Fabio Erculiani ce9be61c5d Release Entropy 1.0_rc12 2011-06-24 18:21:22 +02:00
Fabio Erculiani db30a2f666 Release Entropy 1.0_rc11 2011-06-24 15:47:13 +02:00
Fabio Erculiani 95fa18699c [entropy.core.settings.base] filter out invalid package mirrors URLs 2011-06-24 15:46:23 +02:00
Fabio Erculiani a8deb17e8d [entropy.core.settings.base] always validate repository database URL 2011-06-24 15:43:13 +02:00
Fabio Erculiani db11ff3168 [entropy.tools] is_valid_uri: catch ValueError exceptions (caused by malformed URL, for IPv6) 2011-06-24 15:42:39 +02:00
Fabio Erculiani a815c40cb9 [entropy.core.settings.base] remove dead code 2011-06-24 15:01:03 +02:00
Fabio Erculiani c2845c0a85 [entropy.server] ServerPackagesRepositoryUpdater: "database_changelog_file" can be absent from upload_data 2011-06-24 13:55:55 +02:00
Fabio Erculiani e829215bb4 [entropy.server] improve speed of _get_basedir_pkg_listing 2011-06-20 23:39:15 +02:00
Fabio Erculiani 8f7268c272 [entropy.server] drop .md5 files handling support on repos, pretty useless 2011-06-20 20:23:03 +02:00
Fabio Erculiani a0674fc265 Release Entropy 1.0_rc10 2011-06-20 10:52:32 +02:00
Fabio Erculiani 0b699dceb4 [entropy.client.interfaces] always use prefix= with mkstemp() 2011-06-20 10:50:34 +02:00
Fabio Erculiani 2d77ff85d8 [entropy.qa] always use prefix= with mkstemp() 2011-06-20 10:50:24 +02:00
Fabio Erculiani e4592e3902 [entropy.spm] always use prefix= with mkstemp() 2011-06-20 10:47:54 +02:00
Fabio Erculiani 85a0db933f [entropy.tools] always use prefix= with mkstemp() 2011-06-20 10:46:05 +02:00
Fabio Erculiani f1f4895922 [entropy.transceivers] when using mkstemp() always provide a prefix 2011-06-20 10:44:00 +02:00
Fabio Erculiani faf1756c9f [entropy.server] make sure to close and remove the temporary files in _inject_database_into_packages 2011-06-20 10:40:41 +02:00
Fabio Erculiani 1918dc5615 Release Entropy 1.0_rc9 2011-06-20 10:12:37 +02:00
Fabio Erculiani e9642c7309 [entropy.server] restore functionality of repository download
Repository sync was malfunctioning when a download was required.
The return value of _download() was incorrect (False meant error,
while it should have been the other way around, returning a list
of broken mirrors).
Moreover, the download routine now uses packages.db.meta instead
of downloading all the meta files separately.
2011-06-20 10:03:09 +02:00