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
Fabio Erculiani
364f1d80f8
[entropy.server] cleanup _calculate_sync_queues()
2010-01-28 20:27:45 +01:00
Fabio Erculiani
67146dd858
[entropy.server] use official EntropyUriHandler temp file extension for validating download queue
2010-01-28 20:18:12 +01:00
Fabio Erculiani
1703d385c5
[entropy.client.interfaces.package] fix regression on unpacking new checksum list object
2010-01-28 19:52:20 +01:00
Fabio Erculiani
da34b397c9
[entropy.client/equo] add build_deps argument to deps calculation functions
...
Also add --bdeps switch to "equo install" to make possible to install
build-time dependencies.
2010-01-28 19:09:21 +01:00
Fabio Erculiani
cccb9239a1
[entropy.server] fix nonfree pkgs dir support across repos (when moving)
...
When moving packages across repos, if nonfree packages dir support is enabled
metadata has to be re-extracted from package file and new 'download' metadatum
has to replace the old one. This because a free package can be considered as
such in repo A but not in repo B.
2010-01-28 14:56:20 +01:00
Fabio Erculiani
b58be877a4
[tests] add tagged packages match test
2010-01-28 13:13:00 +01:00
Fabio Erculiani
df80cdfede
[entropy.db] fix issue causing ~app-foo/foo-1.2.3#tag to not get matched, "~" operator compare check was missing
2010-01-28 12:39:59 +01:00
Fabio Erculiani
ee2814d0c3
[entropy.client] catch closeDB() exceptions and write to stderr
2010-01-28 09:55:50 +01:00
Fabio Erculiani
9ea843d36d
[entropy.server] disable -nonfree directory support by default, via server.conf
2010-01-28 09:51:33 +01:00
Fabio Erculiani
365b520e70
[entropy.db] new method searchRevisionedPackages
2010-01-28 09:38:54 +01:00
Fabio Erculiani
b0216f343e
[entropy.client/entropy.server] cleanup and fixes aimed to make downloads from -nonfree dir working
...
:: removed etpConst['packagesbindir']
:: cleaned up entropy.client.interfaces.fetch, branch argument not
needed anymore, dropped
:: moved some minor functions to entropy.server (not required in
entropy.client anymore)
2010-01-28 09:30:46 +01:00
Fabio Erculiani
beaf624231
[entropy.server] make use of the new SpmPlugin.extract_package_metadata, license_callback
2010-01-27 23:42:02 +01:00