diff options
| author | J08nY | 2017-05-31 02:09:09 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-07 17:39:07 +0200 |
| commit | 38a86adcdb78c1944c26a5ab8deddff619b33bcf (patch) | |
| tree | c9b6f8810e33657161535bb887829305306ce0f2 /src/mailman/commands | |
| parent | 324226f1f859f6be5e932dc9abe638aba268d154 (diff) | |
| download | mailman-38a86adcdb78c1944c26a5ab8deddff619b33bcf.tar.gz mailman-38a86adcdb78c1944c26a5ab8deddff619b33bcf.tar.zst mailman-38a86adcdb78c1944c26a5ab8deddff619b33bcf.zip | |
Add pluggable components.
- Adds the notion of a 'plugin'.
- A plugin has a package path and a flag specifying whether
it's enabled or not.
- Adds a find_pluggable_components function similar to the
find_components one. This one dynamically searches not only
the mailman package but all of plugins.
- e.g. find_pluggable_components('rules', IRule) finds
all IRule components in mailman.rules but also in
example_plugin.rules for plugin names example_plugin.
- Uses the find_pluggable_components function in place of
find_components when searching for Rules, Handlers, Chains,
EmailCommands, and Styles.
Diffstat (limited to 'src/mailman/commands')
| -rw-r--r-- | src/mailman/commands/docs/conf.rst | 1 | ||||
| -rw-r--r-- | src/mailman/commands/docs/info.rst | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/commands/docs/conf.rst b/src/mailman/commands/docs/conf.rst index 1a6a4679d..6c7309773 100644 --- a/src/mailman/commands/docs/conf.rst +++ b/src/mailman/commands/docs/conf.rst @@ -50,6 +50,7 @@ key, along with the names of the corresponding sections. [logging.smtp] path: smtp.log [logging.subscribe] path: mailman.log [logging.vette] path: mailman.log + [plugin.master] path: If you specify both a section and a key, you will get the corresponding value. diff --git a/src/mailman/commands/docs/info.rst b/src/mailman/commands/docs/info.rst index 219143cab..40784a98b 100644 --- a/src/mailman/commands/docs/info.rst +++ b/src/mailman/commands/docs/info.rst @@ -59,7 +59,6 @@ definition. CFG_FILE = .../test.cfg DATA_DIR = /var/lib/mailman/data ETC_DIR = /etc - EXT_DIR = /etc/mailman.d LIST_DATA_DIR = /var/lib/mailman/lists LOCK_DIR = /var/lock/mailman LOCK_FILE = /var/lock/mailman/master.lck |
