Commit Graph

55 Commits

Author SHA1 Message Date
Fabio Erculiani 8ec75cdd5d [entropy.client] code style update 2009-11-23 18:22:02 +01:00
Fabio Erculiani 60b4bff014 [entropy.client/entropy.server] remove treeupdates stuff from entropy.const 2009-11-23 18:21:06 +01:00
Fabio Erculiani dc5184c5bc [entropy.client] make possible to disable extra package hash checks by user 2009-11-19 20:11:49 +01:00
Fabio Erculiani a7c30af287 [entropy.client.interfaces.client] fix small typo 2009-11-19 13:34:45 +01:00
Fabio Erculiani e452421c7f [entropy] fix whitespace after comma 2009-10-05 14:05:32 +02:00
Fabio Erculiani 5bc6010d17 [entropy.client] Python 3.x fixes 2009-10-05 09:23:44 +02:00
Fabio Erculiani 85e92ea500 [entropy] start to port to >=Python2.6/3, remove with statement import 2009-09-30 19:35:08 +02:00
Fabio Erculiani ab0719a8b3 [entropy.client.interfaces.client] improve old_branch_path file check 2009-09-11 13:55:55 +02:00
Fabio Erculiani b2149f5660 [entropy] ditch os.F_OK everywhere 2009-09-05 14:35:55 +02:00
Fabio Erculiani 870f748108 [entropy.client] always remove in_branch_upgrade file when world updates returns 0 elements 2009-09-02 02:05:38 +02:00
Fabio Erculiani dba9edcb46 [entropy.client] fix world updates calculation when branch hopping 2009-09-02 01:50:23 +02:00
Fabio Erculiani b4f7ceba89 [entropy.core] introduce SystemSettings external plugins support
:: move SystemSettingPlugin class to entropy.core.settings.plugins.skel
:: add support for external SystemSettings plugins (just like it happened
   with entropy.spm), see documentation attached
2009-08-30 20:29:33 +02:00
Fabio Erculiani c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani f093e4ce59 [entropy.client] add support for noticeboard in entropy.client
This commit adds NoticeBoardMixin class to entropy.client main
interface, containing noticeboard specific methods and noticeboard
userspace metadata support.
2009-08-24 15:59:44 +02:00
Fabio Erculiani 6783853982 [entropy.client] trivial fixes to subfunction 2009-08-23 18:34:10 +02:00
Fabio Erculiani b343abce2e [entropy.client] check if branch migration/upgrade hooks have to be run before calculating updates 2009-08-22 17:43:17 +02:00
Fabio Erculiani b53fdb4648 [entropy.client.interfaces] add proper "**" per-repository keyword support 2009-08-18 14:10:43 +02:00
Fabio Erculiani 0753cd858b [entropy.const/entropy.client] add support for per-repository package keywords unmasking file 2009-08-18 13:16:18 +02:00
Fabio Erculiani c06b708800 [entropy*] introduce new module headers codewide 2009-08-13 14:58:55 +02:00
Fabio Erculiani 385583a03f [entropy.client.interfaces.client] handle RepositoryError to allow clean branch hopping 2009-08-08 15:26:24 +02:00
Fabio Erculiani 262c57489a [entropy.client] fix SystemSettings hooks triggering 2009-08-05 22:39:24 +02:00
Fabio Erculiani e9f47ee6fd [entropy.client.interfaces] add missing import statements 2009-08-03 12:36:58 +02:00
Fabio Erculiani 10b89e9d5b [entropy.db] move client-related package name/slot updates to entropy.client 2009-08-02 18:49:37 +02:00
Fabio Erculiani e0e5ba9f1a [entropy.client.interfaces.dep] handle client db errors on calculate_world_updates()
Raise SystemDatabaseError exception when client database is corrupted
when calling Client.calculate_world_updates()
2009-07-26 16:37:35 +02:00
Fabio Erculiani 3fdeebbcd1 [entropy.client.interfaces.client] never stop EntropyCacher on Client.destroy() 2009-07-26 12:14:29 +02:00
Fabio Erculiani fc4048464e [entropy.client.interfaces.Client] tweak Client constructor init order again 2009-07-15 23:16:38 +02:00
Fabio Erculiani 054db055fa [entropy.client.interfaces.Client] fix Entropy Client plugin init issue
When Client class is instantiated, validate_repositories() is called
before the Entropy SystemSettings Client plugin is effectively added.
This can cause world updates calculation method to raise KeyError
exception when referencing SystemSettings client plugin metadata.
2009-07-15 23:04:58 +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 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 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 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 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 6695f1309d [entropy/sulfur/equo] implement critical updates installation priority 2009-06-20 23:05:18 +02:00
Fabio Erculiani fa5a7b948c add some debugging output using const_debug_write 2009-06-10 12:17:12 +02:00
Fabio Erculiani 8a06d0ab86 fine tune some module imports 2009-05-25 19:10:29 +02:00
Fabio Erculiani 76998f6c30 move Spm metadata extractor to entropy.spm (was in entropy.client) 2009-05-24 17:50:06 +02:00
Fabio Erculiani 1cf75a57dd entropy.transceivers: urlFetcher class becomes UrlFetcher 2009-05-14 18:06:52 +02:00
Fabio Erculiani 615d4cac1b entropy.client.interfaces.Client: properly fill validRepositories
When repo_validation is False, validRepositories list was not filled
properly on __init__. This commit fixes the issue.
2009-04-30 11:21:10 +02:00
Fabio Erculiani 8c37428a52 entropy.client: remove old configuration files protection and masking code.
Since configuration files protection is now gathered per-package, there is
no more need of having the same (and broken) metadata into SystemSettings.
2009-04-25 19:07:49 +02:00
Fabio Erculiani 8c44519a2f entropy.client.interfaces.client: workaround dependency issue in
parsers of ClientSystemSettingsPlugin
2009-04-19 23:23:34 +02:00
Fabio Erculiani 392db878f3 entropy.client: fix typo in ClientSystemSettingsPlugin.misc_parser 2009-04-19 19:52:12 +02:00
Fabio Erculiani 0c5c9879ba entropy.client: move SystemSettings client parser to ClientSystemSettingsPlugin 2009-04-19 19:50:28 +02:00
Fabio Erculiani 46a18b88e4 entropy.server: move server related settings to a separate SystemSettings
plugin. Also migrate all the entropy code to use the new SystemSettings
dict variables path.
2009-04-19 19:29:22 +02:00
Fabio Erculiani 0a901a3de6 entropy.*: move atom matching package masking validation cache to
SystemSettings
2009-04-19 10:23:55 +02:00
Fabio Erculiani c7cd3ca2a8 move etpConst['dbconfigprotect'] and etpConst['dbconfigprotectmask']
to SystemSettings
2009-04-18 20:27:05 +02:00
Fabio Erculiani 23a184780e entropy.core: change SystemSettingsPlugin API, should be finalized now.
entropy.core: change SystemSettings add_plugin method API
entropy.*: update code accordingly
2009-04-18 20:02:59 +02:00
Fabio Erculiani cd3eeba238 ClientSystemSettingsPlugin: keep repository metadata inside SystemSettings
always ready to use.
2009-04-14 23:50:37 +02:00
Fabio Erculiani 283d7c16c4 entropy.client.interfaces: rename all the mixin classes appending "Mixin" 2009-04-08 11:35:38 +02:00
Fabio Erculiani e819160698 entropy.client.interfaces.client.Client: call SystemSettings.remove_plugin
on instance destroy()
2009-04-06 22:10:41 +02:00
Fabio Erculiani 2e715f41a5 entropy.client.interfaces.cache.Cache: move clear_dump_cache and
repository_move_clear_cache to entropy.core.SystemSettings

entropy.client.interfaces.Client: create SystemSettings plugin to
push Entropy Client-only metadata into SystemSettings and keep it
agnostic

entropy.core.SystemSettings: now Entropy-free, it's agnostic!

other minor fixes
2009-04-06 21:33:50 +02:00