Commit Graph

4725 Commits

Author SHA1 Message Date
Fabio Erculiani 0644d31d63 [entropy.services.repository.interfaces] fix typo in lock_scan 2009-06-29 18:10:01 +02:00
Fabio Erculiani 6b0581a1c3 [entropy.services.repository.interfaces] make error output more verbose 2009-06-29 18:08:22 +02:00
Fabio Erculiani 568096fb2a [entropy.services.repository.interfaces] uncompress compressed database path rather than requiring an uncompressed one 2009-06-29 18:00:11 +02:00
Fabio Erculiani 1dd8792f56 [entropy.server.interfaces.mirrors] do not upload uncompressed repository database 2009-06-29 17:53:31 +02:00
Fabio Erculiani 839666c314 [entropy.server.interfaces.mirrors] remove deprecated repository db formats 2009-06-29 17:24:20 +02:00
Fabio Erculiani 61004dcbe4 [entropy.client.services.ugc.commands/entropy.services.repository.commands] remove deprecated EAPI3 commands 2009-06-29 17:14:55 +02:00
Fabio Erculiani 78bdd4389e [entropy.const] remove unused repository metadata (related to old branch scripts implementation) 2009-06-29 10:36:15 +02:00
Fabio Erculiani e85f72d309 [entropy.client.interfaces.methods] implement branch upgrade/migration script hooks via client database 2009-06-29 10:35:37 +02:00
Fabio Erculiani b1a1bf10e2 [entropy.client.interfaces.client] do not run branch upgrade/migration scripts at first SystemSettings Entropy Client Plugin iteration 2009-06-29 10:34:10 +02:00
Fabio Erculiani 882eb3cb12 [entropy.client.interfaces.cache/entropy.client.interfaces.dep] improve updates calculation cache item storage 2009-06-29 10:32:55 +02:00
Fabio Erculiani 576438323e [entropy.db] implement branch migration support script handling metadata in client db 2009-06-29 10:31:43 +02:00
Fabio Erculiani c9a8736ba1 [entropy.*] 'branches' metadatum is dead, eventually.
This commit removes the quirk used mainly server-side to make
tidy working on branches sharing package files.
Since tidy function now uses a more intelligent technique, this
is not needed anymore.
2009-06-28 00:19:34 +02:00
Fabio Erculiani dc61985276 [entropy.server.interfaces.mirrors] finalize tidy_mirrors method 2009-06-28 00:14:45 +02:00
Fabio Erculiani f9ce68b223 [entropy.client.interfaces.client] ignore exceptions in __run_post_branch_upgrade_hooks() when calculating world updates 2009-06-27 23:54:56 +02:00
Fabio Erculiani f81d46889e [entropy.server.mirrors] add two new methods + new tidy mechanism
Added methods:
- get_remote_branches()
- read_remote_file_in_branches()
Please read their docstrings.

Moreover, a new experimental technique to tidy expired packages
has been introduced. It uses the new metafile 'packages.db.pkglist'
to detect if specific package is used by other branches before
validating the removal.
2009-06-27 23:47:38 +02:00
Fabio Erculiani 35e133987f [entropy.transceivers] FtpInterface: tweak list_dir method 2009-06-27 23:09:31 +02:00
Fabio Erculiani 1a00709f4e [entropy.client.interfaces.client] SystemSettingsPlugin init changes
Initialization of Entropy Client SystemSettings plugin has been moved
at the bottom of the Entropy Client constructor and branch migration
support "triggers" have been moved to the new post_setup SystemSettingsPlugin
hook.
2009-06-27 19:02:45 +02:00
Fabio Erculiani 3e81791d5d [entropy.client.interfaces.methods] Entropy Client SystemSettings plugin is not mandatory 2009-06-27 19:01:56 +02:00
Fabio Erculiani d37437a006 [entropy.client.interfaces.dep] add argument to calculate_world_updates to ignore critical updates check inside it 2009-06-27 19:00:49 +02:00
Fabio Erculiani 4e8d08f221 [entropy.core] improve plugins support, add post_setup method
It is now possible to run post SystemSettings setup stuff in
SystemSettingsPlugin instances. This could be handy to hook
code that needs SystemSettings complete metadata itself.
2009-06-27 18:58:42 +02:00
Fabio Erculiani 74dceaece1 [entropy.client.interfaces.client] add post-branch migration hooks execution into Entropy Client SystemSettings plugin 2009-06-27 17:42:26 +02:00
Fabio Erculiani 7313b19d24 [entropy.client.interfaces.methods] tweak run_repositories_post_branch_switch_hooks to return more information 2009-06-27 17:41:57 +02:00
Fabio Erculiani cdc05dbf0c [entropy.const] create const file for storing previous branch value 2009-06-27 17:38:00 +02:00
Fabio Erculiani 3e48c695f8 [entropy.const] fix trigger_sh_interpreter, add ${ROOT} prefix 2009-06-27 17:20:39 +02:00
Fabio Erculiani bcd8d97843 [entropy.client.interfaces.repository] run_sync should not re-generate cache but just drop 2009-06-27 16:57:44 +02:00
Fabio Erculiani 1c53cdaca8 [entropy.client.interfaces.cache] stop EntropyCacher on purge_cache rather than on generate_cache 2009-06-27 16:56:02 +02:00
Fabio Erculiani 3ce1f4cf5a [entropy.client.interfaces.cache] fix generate_cache, cache was trashed 2009-06-27 16:54:15 +02:00
Fabio Erculiani 35c96d1257 [entropy.client.interfaces.dep] always consider branch setting in dep cache retrieval 2009-06-27 16:44:19 +02:00
Fabio Erculiani 5e645819fb [entropy.client.interfaces.cache] always consider branch setting in dep cache retrieval 2009-06-27 16:44:10 +02:00
Fabio Erculiani b8bde39d09 [entropy.client.interfaces.methods] run_repositories_post_branch_switch_hooks: loop on all the repositories, "excluded" included 2009-06-27 16:24:51 +02:00
Fabio Erculiani 083bfa609e [entropy.client.interfaces.methods] add branch migration support methods
- run_repositories_post_branch_switch_hooks
- run_repository_post_branch_upgrade_hooks
- get_post_branch_migration_status_file
- get_post_branch_upgrade_status_file

docstrings included.
2009-06-27 16:16:48 +02:00
Fabio Erculiani ca01e3ea0d [entropy.const] complete const implementation of branch migration scripts support 2009-06-27 16:16:25 +02:00
Fabio Erculiani 955a0d64cc [entropy.tests] add missing test package 2009-06-27 12:01:16 +02:00
Fabio Erculiani bbe8a1ce02 [entropy.tests] add entropy.tools.uncompress_tar_bz2 test 2009-06-27 10:14:49 +02:00
Fabio Erculiani d7c79ca008 [entropy.tests] move tbz2 packages to packages/ 2009-06-27 09:57:57 +02:00
Fabio Erculiani 56545b5588 [entropy.tools] uncompress_tar_bz2: do not try to chmod symlinks 2009-06-26 10:41:53 +02:00
Fabio Erculiani 7aa3844b78 [entropy.client.interfaces.package] always raise real exception on package extraction 2009-06-26 10:41:08 +02:00
Fabio Erculiani dec2dbe464 [entropy.client.interfaces.methods] on quickpkg_handler copy file modes 1:1
It happened that setgid and setuid bits were not copied by default.
This commit fixes it.
2009-06-26 09:38:03 +02:00
Fabio Erculiani 2f3db91df5 [entropy.spm] on quickpkg copy file modes 1:1
It happened that setgid and setuid bits were not copied by default.
This commit fixes it.
2009-06-26 09:36:54 +02:00
Fabio Erculiani 19c36f4ac4 [entropy.const] add const support for pre/post upgrade scripts 2009-06-24 13:57:21 +02:00
Fabio Erculiani e8226c8fa2 [entropy.client.interfaces.trigger] remove unused methods 2009-06-23 08:39:53 +02:00
Fabio Erculiani b10d550fa4 [entropy.client.interfaces.trigger] remove kernelmod trigger, hopefully not needed anymore 2009-06-23 08:07:36 +02:00
Fabio Erculiani e4ff57357b [entropy.client.interfaces.trigger] fix conftouch trigger 2009-06-23 08:05:53 +02:00
Fabio Erculiani d8a2938d7e [entropy.client.interfaces.trigger] fix syntax error 2009-06-23 06:07:39 +02:00
Fabio Erculiani ecde88d899 [entropy.client.interfaces] tweak postremove trigger 2009-06-22 06:25:25 +02:00
Fabio Erculiani f1d778a1f4 [entropy.client.interfaces.trigger] remove nvidia/ati trigger hacks, not needed anymore 2009-06-22 06:15:06 +02:00
Fabio Erculiani 2d2a967ef8 [entropy.core/entropy.db/entropy.spm/entropy.client] move SystemSettings client metadata to entropy.client SystemSettings plugin 2009-06-22 06:04:23 +02:00
Fabio Erculiani db2559956a [entropy.core] make SystemSettings Entropy validation cache function public (validate_entropy_cache) 2009-06-22 04:32:25 +02:00
Fabio Erculiani 4fb776e56c [entropy.core] remove deprecated code from SystemSettings 2009-06-22 04:18:11 +02:00
Fabio Erculiani bbdde60809 [entropy.const/entropy.qa/equo/sulfur] make ErrorReportInterface post_url arg. mandatory
In the aim of removing all the sabayon-centric settings from the "entropy"
library, error report via http post url has been moved outside it.
2009-06-22 04:09:55 +02:00