Commit Graph

7365 Commits

Author SHA1 Message Date
Fabio Erculiani 98d9f51020 entropy.core: new SystemSettingsPlugin class and support on SystemSettings 2009-04-06 21:03:02 +02:00
Fabio Erculiani b14ff89074 entropy.libraries.*: move from etpRepositories to SystemSettings['repositories']['available'] 2009-04-06 20:35:50 +02:00
Fabio Erculiani bf9ac1a287 entropy.*: move from etpRepositories to SystemSettings['repositories']['available'] 2009-04-06 20:35:02 +02:00
Fabio Erculiani fced248252 entropy.*: move from using etpRepositoriesExcluded to SystemSettings['repositories']['excluded'] 2009-04-06 19:43:24 +02:00
Fabio Erculiani b16f3386b7 update APICHANGES 2009-04-06 19:39:26 +02:00
Fabio Erculiani c69f4b3a9a entropy.tools: move get_repository_settings to entropy.client.interfaces.methods.Methods 2009-04-06 19:38:59 +02:00
Fabio Erculiani a29421f4d7 entropy.core.SystemSettings: there are some parsers that MUST be run
before anything else. So, split the parsing order into two.

entropy.*: move code from etpRepositoriesOrder to SystemSettings['repositories']['order']
2009-04-06 19:20:56 +02:00
Fabio Erculiani 3a571d23b7 entropy.const: fix module loading 2009-04-06 19:03:36 +02:00
Fabio Erculiani 897886f7fe entropy.const: moved all the repositories configuration settings to
SystemSettings, kept etpRepositories, etpRepositoriesOrder, etpRepositoriesExcluded
for backward compability. Did several hopefully last API changes
2009-04-06 19:00:46 +02:00
Fabio Erculiani df0c346beb entropy.server.interfaces.main.Server: use new method set_persistent_setting
to backup the current default repository on backup_entropy_settings
2009-04-06 16:30:14 +02:00
Fabio Erculiani 7707315128 entropy.core.SystemSettings: add two new methods set_persistent_setting,
unset_persistent_setting
2009-04-06 16:27:21 +02:00
Fabio Erculiani f87d691d7b entropy.client.interfaces.methods: backup_setting => backup_constant
API change
2009-04-06 16:17:12 +02:00
Fabio Erculiani 2bace76f40 entropy.core.SystemSettings: restore backed-up settings too 2009-04-06 16:16:49 +02:00
Fabio Erculiani 0f6c704266 entropy.server.interfaces.Server: fix typo 2009-04-06 14:34:17 +02:00
Fabio Erculiani 9e79027d83 entropy.db: add missing module imports 2009-04-06 14:30:21 +02:00
Fabio Erculiani 00396f4bb2 entropy.core: import with_statement from __future__ 2009-04-06 14:29:04 +02:00
Fabio Erculiani 6d6db85d42 update TODO 2009-04-06 14:21:30 +02:00
Fabio Erculiani 21ff742aed entropy.core.SystemSettings and the rest of the code, use SystemSettings'
rss metadata instead of etpConst['rss*']
2009-04-06 14:20:56 +02:00
Fabio Erculiani d063b87428 entropy.core.SystemSettings and the rest of the code, use SystemSettings'
database format metadatum instead of etpConst['etpdatabasefileformat']
2009-04-06 14:05:57 +02:00
Fabio Erculiani 72cbbe7cbc entropy.core.SystemSettings and the rest of the code, use SystemSettings'
packages expiration days metadatum instead of etpConst['packagesexpirationdays']
2009-04-06 14:03:29 +02:00
Fabio Erculiani 2117b3a36b entropy.core.SystemSettings and the rest of the code, use SystemSettings'
official repository id metadatum instead of etpConst['officialserverrepositoryid']
2009-04-06 14:02:01 +02:00
Fabio Erculiani 597ceabb73 entropy.const: move server-side environment variables override to
SystemSettings' server_parser(), remove const_setup_environment
2009-04-06 13:47:53 +02:00
Fabio Erculiani 0453fb370b entropy.core.SystemSettings and the rest of the code, use SystemSettings'
server branches instead of etpConst['branches']
2009-04-06 13:44:21 +02:00
Fabio Erculiani 8e4111f492 entropy.core.SystemSettings and the rest of the code, use SystemSettings'
server repositories metadata instead of etpConst['server_repositories']
2009-04-06 13:41:38 +02:00
Fabio Erculiani fa08b99ba1 entropy.client.interfaces.client.Client: on destroy() call SystemSettings'
disconnect_entropy method instead of destroy
2009-04-06 13:37:09 +02:00
Fabio Erculiani cdfa67f85a entropy.core.SystemSettings: new method "disconnect_entropy", removes
the Entropy instance from database
2009-04-06 13:35:56 +02:00
Fabio Erculiani 4ad7aa7556 entropy.core.SystemSettings: add support for Entropy Client method
backup_setting
2009-04-06 13:35:21 +02:00
Fabio Erculiani b35ad4587f entropy.const, entropy.core, entropy.server.interfaces.main: move
server-side settings to SystemSettings. Server interface is not
making use of it yet.
2009-04-06 13:34:12 +02:00
Fabio Erculiani d43d3b89eb entropy.client.interfaces.methods.Misc: backup_setting, add FIXME 2009-04-06 13:17:49 +02:00
Fabio Erculiani d61ba8bae2 entropy.client.interfaces.methods.Misc: update backup_setting to work
with SystemSettings too
2009-04-06 13:11:48 +02:00
Fabio Erculiani 5f78e63ba8 reagent: fix spm categories and use subprocess.call instead of os.system 2009-04-06 10:52:19 +02:00
Fabio Erculiani d807bad859 move Entropy client settings storage and parsing to SystemSettings 2009-04-05 16:32:20 +02:00
Fabio Erculiani b935582f6d entropy.const: const_read_equo_settings removed, parser is being moved
to SystemSettings
2009-04-05 13:51:17 +02:00
Fabio Erculiani 138e41bcf1 entropy.const: initconfig_client_constants does not exist anymore,
there is no need for it since client config is going to be moved to
SystemSettings
2009-04-05 13:48:45 +02:00
Fabio Erculiani 2dd77a30a8 etpConst['equoconf'] => etpConst['clientconf'] 2009-04-05 13:45:05 +02:00
Fabio Erculiani 6bfd50eece equo.conf => client.conf in code comments 2009-04-05 09:47:31 +02:00
Fabio Erculiani a3c2fbc285 rename equo.conf to client.conf 2009-04-05 09:34:02 +02:00
Fabio Erculiani be2bb748d3 entropy.core.SystemSettings: optimize system_parser and socket_parser
methods
2009-04-05 09:31:37 +02:00
Fabio Erculiani 58484cb135 update TODO 2009-04-04 22:05:46 +02:00
Fabio Erculiani b35bc947e4 entropy.tools: API change, rename create_hash_file to create_md5_file 2009-04-04 18:22:11 +02:00
Fabio Erculiani e4b001d8b8 etpConst['packageshashfileext'] => etpConst['packagesmd5fileext'] 2009-04-04 18:19:42 +02:00
Fabio Erculiani a02e522eb8 entropy.tools: new SHA512 functions
In the aim of adding preliminary support to SHA512, three functions
have been created:

- sha512: returns a SHA512 file checksum
- create_sha512_file: it creates a .sha512 hash file
- compare_sha512: compare sha512 checksum of filepath with the one
provided
2009-04-04 18:10:16 +02:00
Fabio Erculiani 4737ee4882 entropy.const: add sha512 hash file extension constant 2009-04-04 18:00:46 +02:00
Fabio Erculiani 791d916beb update TODO 2009-04-04 16:10:12 +02:00
Fabio Erculiani d40f3c7acb entropy-notification-applet: import os module and fix right click crash 2009-04-04 16:09:14 +02:00
Fabio Erculiani 50641f8041 entropy.client.interfaces.trigger.Trigger: fix last typo 2009-04-04 16:04:09 +02:00
Fabio Erculiani 4850ee589e entropy.services.interfaces: import used output modules 2009-04-04 16:02:41 +02:00
Fabio Erculiani 7797e5d52c entropy.client.interfaces.trigger.Trigger: fix variable name typos 2009-04-04 16:01:56 +02:00
Fabio Erculiani 268e362a35 entropy.output: remove color function auto-generation through setattr
and declare them *statically* instead
2009-04-04 15:55:25 +02:00
Fabio Erculiani f09e65ccff entropy.tools: drop support for legacy imports in module
(TimeScheduled, lifobuffer, etc)
2009-04-03 20:07:48 +02:00