Commit Graph

4725 Commits

Author SHA1 Message Date
Fabio Erculiani 23b11cbc89 [entropy.dump] catch SystemError exceptions on loadobj() 2010-02-01 12:48:13 +01:00
Fabio Erculiani 9acf70bfaa [entropy.spm] PortagePlugin.extract_package_metadata: move download metadatum setup further 2010-02-01 09:35:18 +01:00
Fabio Erculiani 60ce094648 [entropy.server] import EntropyCacher in module scope 2010-01-31 19:20:38 +01:00
Fabio Erculiani d25066a83b [entropy.server] use custom EntropyCacher cache directory, to not overlap Entropy Client metadata 2010-01-31 18:54:23 +01:00
Fabio Erculiani 6a46273246 [entropy.client.services.ugc] fix connect_to_service for pkg repos 2010-01-31 18:14:20 +01:00
Fabio Erculiani f4193ec827 [entropy.const] reduce RSS max entries default to sane value 2010-01-31 18:07:27 +01:00
Fabio Erculiani 16b129f636 [entropy.db] cannot use dep operator comparison for tags, it breaks the tag concept 2010-01-31 18:06:40 +01:00
Fabio Erculiani bf1a582162 [entropy.client] code style update 2010-01-31 17:45:48 +01:00
Fabio Erculiani 7243079ac9 [entropy.db] fix ~ operator handling when filtering tag results passed by atomMatch 2010-01-31 17:44:41 +01:00
Fabio Erculiani 7acc8d65b4 [entropy.client.interfaces.dep] trivial code cleanup 2010-01-31 14:24:59 +01:00
Fabio Erculiani 3fc976718a [entropy.cache] EntropyCacher: deal with EntropyCacher shutdown 2010-01-31 13:14:38 +01:00
Fabio Erculiani 8b6d6d4630 [entropy.output] TextInterface: do not colour question text by default 2010-01-31 13:14:11 +01:00
Fabio Erculiani dd03ff58b4 [entropy.db] EntropyRepository: make insertSignatures() working with older db schema 2010-01-31 10:27:59 +01:00
Fabio Erculiani 3755e24ab8 [entropy.db] EntropyRepository: store structure update execution status in class scope, and use in repr(), str(), unicode() 2010-01-31 10:24:05 +01:00
Fabio Erculiani f987640d5a [entropy.client] remove Client.validRepositories, provide Client.repositories() 2010-01-30 18:49:39 +01:00
Fabio Erculiani 06df34f41d [entropy.client] drop .clientDbconn in favour of installed_repository() 2010-01-30 18:37:39 +01:00
Fabio Erculiani 54859f7ff7 [entropy.client.interfaces.package] add missing os.close() 2010-01-30 17:25:59 +01:00
Fabio Erculiani df6a8ef14b [entropy.services.ugc.commands] report_error: also save "lsof" metadata to file 2010-01-30 17:16:16 +01:00
Fabio Erculiani da36b44ada [entropy.qa] ErrorReportInterface, also collect lsof data 2010-01-30 17:14:22 +01:00
Fabio Erculiani da2f2f6cc0 [entropy.tools] fix print_exception frame data collection 2010-01-30 17:09:12 +01:00
Fabio Erculiani f5b016a146 [entropy.db] make EntropyRepository process-safe and thread-safe at the same time
This is kinda experimental but it seems to work just fine and, at the moment
there are no multithreaded accesses to EntropyRepository.
This patch makes write mutex in EntropyRepository useless because EntropyRepository
will automatically allocate new connections and cursors for every new
thread/pid coming in, avoiding to leak open files around.
SQLite3 is thread-safe when using one connection per thread, so... here it is!
2010-01-29 23:39:42 +01:00
Fabio Erculiani b23b3cd790 [entropy.db] doDatabaseExport: always exclude sqlite tables 2010-01-29 23:12:50 +01:00
Fabio Erculiani 4fc5c3c90d [entropy.client] fix undefined reference 2010-01-29 21:31:48 +01:00
Fabio Erculiani 200a9e6efb [entropy] make use of entropy.db.exceptions classes 2010-01-29 20:46:17 +01:00
Fabio Erculiani 988788cc7a [entropy.db] module imports reordering 2010-01-29 16:26:14 +01:00
Fabio Erculiani fc88cea45d [entropy.db.exceptions] introduce wrapped EntropyRepository exception classes 2010-01-29 16:25:27 +01:00
Fabio Erculiani ac113e6823 [entropy.client.interfaces.dep] disable previously added workaround, we now have full stack frame data 2010-01-29 14:58:18 +01:00
Fabio Erculiani 2fc1c3db17 [tests] fix test_db_insert_compare_match_tag test 2010-01-29 14:30:16 +01:00
Fabio Erculiani 5f18d8fb0f [entropy.const] make use of etpConst['entropyslotprefix'] 2010-01-29 14:05:09 +01:00
Fabio Erculiani 8f6337f297 [entropy.tools] improve print_exception, make possible to print variables in every frame 2010-01-29 13:41:23 +01:00
Fabio Erculiani 944c47dbc8 [entropy.client.interfaces.dep] code style update 2010-01-29 11:55:53 +01:00
Fabio Erculiani c2ad1c8cb5 [entropy.client] also catch OSError exception 2010-01-29 11:52:33 +01:00
Fabio Erculiani 266dbe335f [entropy.db] make reverse dependencies metadata generation a bit more bulletproof 2010-01-29 11:24:12 +01:00
Fabio Erculiani b240848b77 [entropy.client] workaround a caching check bug, will be fixed when error reporter will provide full stack 2010-01-29 10:55:29 +01:00
Fabio Erculiani ddedd2e704 [entropy.const] add package slot prefix string 2010-01-29 09:12:37 +01:00
Fabio Erculiani 41dd399b37 [entropy.client] rename client_repository() to installed_repository() 2010-01-29 09:06:30 +01:00
Fabio Erculiani 503b8f83a0 [entropy.client] unbundle hardcoded strings in add_package_to_repos, do not use etpSys 2010-01-29 08:53:34 +01:00
Fabio Erculiani d328b58933 [entropy.client] update signature of _add_plugin_to_client_repository()
Add repo_id argument, which value will be added to EntropyRepositoryPlugin
metadata under "repo_name" key
2010-01-29 08:52:41 +01:00
Fabio Erculiani 2f3046eaaf [entropy.db] EntropyRepository: use builtin repo id as default 2010-01-29 08:52:00 +01:00
Fabio Erculiani f6ecfe693d [entropy.spm] PortagePlugin: add accessibility package group 2010-01-29 08:51:34 +01:00
Fabio Erculiani cd3ccffb8a [entropy.tools] add dep_getcat function 2010-01-29 08:51:18 +01:00
Fabio Erculiani b5a4d3f697 [entropy.const] update built-in repository identifier strings 2010-01-29 08:50:56 +01:00
Fabio Erculiani c658b5288f [entropy.client] add client_repository() method, will replace .clientDbconn 2010-01-29 06:55:29 +01:00
Fabio Erculiani 7b854118be [entropy.server] fix hopefully last regression in tidy_mirrors() 2010-01-28 21:07:21 +01:00
Fabio Erculiani 08c9332a9f [entropy.server] fix a regression in tidy_mirrors 2010-01-28 21:00:15 +01:00
Fabio Erculiani 0a39d64b0f [entropy.server] several (for real this time) improvements to _expand_queues() and _calculate_sync_queues() 2010-01-28 20:51:33 +01:00
Fabio Erculiani 53a7a3edcb [entropy.server] comment out early download queue files exclusion (causes tidy tool to fail under corner case circumstances) 2010-01-28 20:43:09 +01:00
Fabio Erculiani 21bfafd7ab [entropy.server] revert several dumb changes to _calculate_sync_queues() (sorry) 2010-01-28 20:39:35 +01:00
Fabio Erculiani d0fec851f4 [entropy.server] exclude .md5 files when calculating queues directly in early iterations 2010-01-28 20:33:07 +01:00
Fabio Erculiani efdbce9483 [entropy.server] cleanup _calculate_sync_queues() once again 2010-01-28 20:28:15 +01:00