Commit Graph

3604 Commits

Author SHA1 Message Date
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
Fabio Erculiani c303e3af6d [entropy.spm] SpmPlugin: bump PLUGIN_API_VERSION requirement, implement new argument on extract_package_metadata
:: license_callback is used to determine if a package is free (as in freedom) or not.
2010-01-27 23:40:43 +01:00
Fabio Erculiani 144960531b [entropy.server] fix verify_remote_packages() 2010-01-27 22:14:09 +01:00
Fabio Erculiani 182d556433 [entropy.server] fix another function call (fix tidy_mirrors) 2010-01-27 21:53:34 +01:00
Fabio Erculiani 452c95a39e [entropy.server] another regression fix 2010-01-27 19:47:00 +01:00
Fabio Erculiani 92d8035ff2 [entropy.server] do not consider a mirror "tainted" when pkgs are just downloaded 2010-01-27 19:36:43 +01:00
Fabio Erculiani 05283052cf [entropy.server] fix another undefined reference (blame pylint, it sucks!) 2010-01-27 19:29:18 +01:00
Fabio Erculiani 6afdcd2bb2 [entropy.server] fix a bunch of regressions caused by previously committed huge code move 2010-01-27 19:22:46 +01:00
Fabio Erculiani f1517bd880 [entropy.server] cleanup initialize_server_repository() 2010-01-27 18:54:10 +01:00
Fabio Erculiani 37edb21f50 [entropy.server] fix undefined reference 2010-01-27 18:40:32 +01:00