Commit Graph

4115 Commits

Author SHA1 Message Date
Fabio Erculiani
fe18e38f32 [entropy] several QA improvements and API changes (trivial, but still) 2010-07-31 15:14:54 +02:00
Fabio Erculiani
62b48972d4 [entropy.db] EntropyRepository: listAllFiles() wasn't properly overridden 2010-07-31 10:27:59 +02:00
Fabio Erculiani
07de0b5cc5 [entropy.spm] PortagePlugin: remove linux-info pkg_setup() hack that fixed KV_OUT_DIR, no longer needed 2010-07-31 09:33:18 +02:00
Fabio Erculiani
c288cd80b6 [entropy.db] remove reverse dependencies SQL, generate reverse dependencies metadata dynamically (also using on-disk cache)
This avoids repository database write access requirements and
improves reverse dependencies metadata reliability.
2010-07-29 19:34:04 +02:00
Fabio Erculiani
749a1b8263 [tests] db: add reverse dependencies test 2010-07-29 19:33:45 +02:00
Fabio Erculiani
b95ec5d4f1 [entropy.db] EntropyRepositoryBase: directly use checksum value returned by checksum() 2010-07-29 19:07:14 +02:00
Fabio Erculiani
4e003f81bc [entropy.db] EntropyRepositoryBase.checksum() make "strings" the default 2010-07-29 19:06:49 +02:00
Fabio Erculiani
bba8ab945d [entropy.const] add const_get_int() and use it in const_convert_to_unicode 2010-07-29 11:23:57 +02:00
Fabio Erculiani
09f5c76b91 Tagging Entropy version 0.99.49.6 2010-07-28 08:19:38 +02:00
Fabio Erculiani
9af987aa8c [entropy.client.interfaces.dep] _generate_dependency_tree: catch TypeError when calling retrieveKeySlot with invalid data 2010-07-28 08:18:26 +02:00
Fabio Erculiani
aee668be7b [entropy.tools] fix is_valid_path_string regexp 2010-07-28 07:24:30 +02:00
Fabio Erculiani
bf78609ef1 Tagging Entropy version 0.99.49.5 2010-07-27 18:59:50 +02:00
Fabio Erculiani
57838fabdc [entropy.misc] LogFile: re-add fileno() method 2010-07-27 18:56:21 +02:00
Fabio Erculiani
5be17018bd Tagging Entropy version 0.99.49.4 2010-07-27 16:05:13 +02:00
Fabio Erculiani
92a53212ef [entropy.tools] is_valid_path_string: also allow "_" 2010-07-25 23:04:21 +02:00
Fabio Erculiani
4c6eae07ca [entropy.tools] make unpack_gzip and unpack_bzip2 atomic 2010-07-25 23:03:31 +02:00
Fabio Erculiani
6a37ba8c16 [entropy.services] SocketHost: only print class objects on startup 2010-07-25 14:44:51 +02:00
Fabio Erculiani
bee87b080d [entropy.services.repository] properly enable Repository commands when repository_lock_scanner is available 2010-07-25 14:42:26 +02:00
Fabio Erculiani
1290f34088 [entropy.services] provide more output when loading SocketHost 2010-07-25 14:36:56 +02:00
Fabio Erculiani
d5dcbf0e06 [entropy.services.repository] if "repository_lock_scanner" is False, repository commands should not be available at all 2010-07-25 14:20:52 +02:00
Fabio Erculiani
c7191ae030 Tagging Entropy version 0.99.49.3 2010-07-25 13:39:04 +02:00
Fabio Erculiani
19e4534824 [entropy.services.repository] add "repository_lock_scanner" to disable the feature 2010-07-25 13:35:35 +02:00
Fabio Erculiani
6e82774473 [entropy.services.ugc] fix coding error in os.environ.get() 2010-07-25 13:29:44 +02:00
Fabio Erculiani
843546a5f4 [entropy.misc] LogFile: cache logging handlers and reuse them across threads 2010-07-25 13:24:08 +02:00
Fabio Erculiani
57ee2889a1 [entropy.services] update SocketHost code style 2010-07-25 13:20:43 +02:00
Fabio Erculiani
0cb34df73c [entropy.const] add "wait_seconds" argument to const_kill_threads 2010-07-25 12:32:22 +02:00
Fabio Erculiani
f3ae36daa1 [entropy.services.ugc] do not strictly hardcode Entropy Error Report emails into class
Use the following environment variables:
- ETP_ERROR_REPORT_MAIL: destination email where errors are submitted
- ETP_SENDER_EMAIL_FALLBACK: default source email when user didn't provide one
2010-07-25 09:22:33 +02:00
Fabio Erculiani
4accd7d21d [entropy.services.ugc] move more reported data to file when submitting a bug 2010-07-25 09:14:23 +02:00
Fabio Erculiani
c0edbbe278 [entropy.services.repository] do not keep printing that repository is locked 2010-07-24 22:26:50 +02:00
Fabio Erculiani
efe8e33515 [entropy.services.repository] several fixes to the new interface layout 2010-07-24 22:10:32 +02:00
Fabio Erculiani
0fd4bcb26b Tagging Entropy version 0.99.49.2 2010-07-24 21:31:00 +02:00
Fabio Erculiani
28d19bb55d [entropy.server.interfaces.mirrors] improve efficiency of repository upload when more mirrors are set 2010-07-24 21:21:09 +02:00
Fabio Erculiani
5ebc6d461c [entropy.server] fix typo in if condition 2010-07-24 21:20:50 +02:00
Fabio Erculiani
df10dfd14e [entropy.services.repository] make repository hash more visible in logs 2010-07-24 21:20:26 +02:00
Fabio Erculiani
4c3036ad02 Tagging Entropy version 0.99.49.1 2010-07-24 20:39:37 +02:00
Fabio Erculiani
86d46032b6 [entropy.client.interfaces.dep] fix Client.atom_match() cache tag generation 2010-07-24 20:39:02 +02:00
Fabio Erculiani
f21ca32808 Tagging Entropy version 0.99.49 2010-07-24 20:35:23 +02:00
Fabio Erculiani
fc923dc850 [entropy.server] decouple list of repository mirrors from packages mirrors, keeping backward compatibility 2010-07-24 20:19:39 +02:00
Fabio Erculiani
9273f21b0b [entropy.client.interfaces.commands] rework repository EAPI service, revert to original behaviour (using packages.db.download.lock as lock file) 2010-07-24 18:37:50 +02:00
Fabio Erculiani
f6094eb466 [entropy.db] EntropyRepository: optimize frequent calls to taintReverseDependenciesMetadata() 2010-07-24 17:08:48 +02:00
Fabio Erculiani
41c0a7cadc [entropy.db] EntropyRepository._sanitizeDependsTable: use proper sql table (temp or non-temp) 2010-07-24 17:08:22 +02:00
Fabio Erculiani
5a1e38019f [entropy.spm] PortagePlugin.remove_installed_package: lock vdb and world file before making any change 2010-07-24 16:50:50 +02:00
Fabio Erculiani
f3331b36cd [entropy.client.interfaces.dep] catch RepositoryError and SystemDatabaseError on open_repository() in atom_match() 2010-07-24 16:47:09 +02:00
Fabio Erculiani
17f7dc5c7b Tagging Entropy version 0.99.48.2 2010-07-23 19:57:55 +02:00
Fabio Erculiani
019906e050 [entropy.tools] isjustname: make it working with names like "389-ds-base" 2010-07-23 17:44:07 +02:00
Fabio Erculiani
aefb137326 [entropy.spm] PortagePlugin: remove temp file after usage 2010-07-23 12:55:05 +02:00
Fabio Erculiani
bc8b49046d [entropy.client.interfaces.dep] Client._get_unsatisfied_dependencies: fix data retrieval
When handling tagged packages, make sure to set every variable that
is used for filtering afterwards. repo_digest was not properly
re-bound to the new package match.
2010-07-22 22:45:55 +02:00
Fabio Erculiani
5e01d50cf8 [entropy.db] EntropyRepository.importRepository: resolve input paths to real path 2010-07-22 11:46:46 +02:00
Fabio Erculiani
d3d87de9fa [entropy.tools] is_valid_path_string: update docstring 2010-07-22 11:46:16 +02:00
Fabio Erculiani
5c6451b240 Tagging Entropy version 0.99.48.1 2010-07-22 11:26:23 +02:00