| Home | Trees | Indices | Help |
|
|---|
|
|
This is the place where all the Entropy settings are stored if they are not considered instance constants (etpConst). For example, here we store package masking cache information and settings. Also, this class mimics a dictionary (even if not inheriting it due to issues with the Singleton class).
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |
| Properties | |
|
Inherited from |
| Method Details |
Replaces __init__ because SystemSettings is a Singleton. see Singleton API reference for more information. |
Overloaded method from Singleton. "Destroys" the instance. @return None |
This method lets you add custom parsers to SystemSettings.
Mind that you are responsible of handling your plugin instance
and remove it before it is destroyed. You can remove the plugin
instance at any time by issuing remove_plugin.
Every add_plugin or remove_plugin method will also issue clear()
for you. This could be bad and it might be removed in future.
@param plugin_id -- plugin identifier
@type plugin_id basestring
@param system_settings_plugin_instance -- valid SystemSettingsPlugin
instance
@type system_settings_plugin_instance SystemSettingsPlugin instance
|
This method lets you remove previously added custom parsers from SystemSettings through its plugin identifier. If plugin_id is not available, KeyError exception will be raised. Every add_plugin or remove_plugin method will also issue clear() for you. This could be bad and it might be removed in future. @param plugin_id -- plugin identifier @type plugin_id basestring |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference.
|
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. |
dict method. See Python dict API reference. Settings are also re-initialized here. @return None |
Make metadata persistent, the input dict will be merged with the base one at every reset call (clear()). @param persistent_dict -- dictionary to merge @type persistent_dict dict @return None |
Remove dict key from persistent dictionary @param persistent_key -- key to remove @type persistent_dict dict @return None |
Return a copy of the internal *files* dictionary. This dict contains config file paths and their identifiers. @return dict __setting_files |
Return a copy of the internal *mtime* dictionary. This dict contains config file paths and their current mtime. @return dict __mtime_files |
Parser returning package keyword masking metadata read from package.keywords file. This file contains package mask or unmask directives based on package keywords. @return dict data |
Parser returning package unmasking metadata read from package.unmask file. This file contains package unmask directives, allowing to enable experimental or *secret* packages. @return list parsed data |
Parser returning package masking metadata read from package.mask file. This file contains package mask directives, allowing to disable experimental or *secret* packages. @return list parsed data |
Parser returning system packages mask metadata read from package.system_mask file. This file contains packages that should be always kept installed, extending the already defined (in repository database) set of atoms. @return list parsed data |
Parser returning packages masked by license metadata read from license.mask file. Packages shipped with licenses listed there will be masked. @return list parsed data |
Parser returning licenses considered accepted by default (= GPL compatibles) read from package.lic_whitelist. @return dict parsed data |
Parser returning packages masked at repository level read from packages.db.mask inside the repository database directory. @return dict parsed data |
Parser returning system packages mask metadata read from packages.db.system_mask file inside the repository directory. This file contains packages that should be always kept installed, extending the already defined (in repository database) set of atoms. @return dict parsed data |
Parser returning system defined package sets read from /etc/entropy/packages/sets. @return dict parsed data |
Parser returning directories considered part of the base system. @return list parsed data |
Parser returning directories NOT considered part of the base system. Settings here overlay system_dirs_parser. @return list parsed data |
Hardware hash metadata parser and generator. It returns a theorically unique SHA256 hash bound to the computer running this Framework. @return basestring containing SHA256 hexdigest |
Parser returning important system symlinks mapping. For example:
{'/usr/lib': ['/usr/lib64']}
Useful for reverse matching files belonging to packages.
@return dict containing the mapping
|
Parser returning packages that could have been installed because they aren't in the same scope, but ending up creating critical issues. You can see it as a configurable conflict map. @return dict parsed data |
Parses socket service configuration file. This file contains information about Entropy remote service ports and SSL. @return dict data |
Parses Entropy system configuration file. @return dict data |
Setup Entropy Client repository settings reading them from the relative config file specified in etpConst['repositoriesconf'] @return None |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jun 1 10:07:49 2009 | http://epydoc.sourceforge.net |