diff options
| author | J08nY | 2017-05-29 00:40:54 +0200 |
|---|---|---|
| committer | J08nY | 2017-05-29 00:41:55 +0200 |
| commit | c5b40f42095a6f4cc758cbd6b1a3dcd402235001 (patch) | |
| tree | bfaea00e6d79272404c05e32d07627f439d57dfa /core_changes.md | |
| parent | e50d1060150b829285ea5678df2ba70622ef4267 (diff) | |
| download | pgpmailman-proposal-c5b40f42095a6f4cc758cbd6b1a3dcd402235001.tar.gz pgpmailman-proposal-c5b40f42095a6f4cc758cbd6b1a3dcd402235001.tar.zst pgpmailman-proposal-c5b40f42095a6f4cc758cbd6b1a3dcd402235001.zip | |
Diffstat (limited to 'core_changes.md')
| -rw-r--r-- | core_changes.md | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/core_changes.md b/core_changes.md index f9196be..60d22cb 100644 --- a/core_changes.md +++ b/core_changes.md @@ -25,15 +25,13 @@ 6. Drop `ext_dir`. 7. Let plugins add routes to the REST API. Under `/plugins/<plugin_name>/...`. - - - Create a new `IRESTSink` interface, that is callable `func(request, response)` and knows it's prefix relative to it's root. - - Use `falcon.API.add_sink(callable, prefix)` to add all `IRESTSink`s from both `mailman.rest` package(unused, no sinks necessary for core) and plugin's `.rest` package. - - [falcon.API.add_sink](https://falcon.readthedocs.io/en/stable/api/api.html#falcon.API.add_sink) - - Or use the current `ObjectRouter` with plugins providing a `Plugin` object with routing working as currently. + - Create a new `IRESTSink` interface, that is callable `func(request, response)` and knows it's prefix relative to it's root. + - Use `falcon.API.add_sink(callable, prefix)` to add all `IRESTSink`s from both `mailman.rest` package(unused, no sinks necessary for core) and plugin's `.rest` package. + - [falcon.API.add_sink](https://falcon.readthedocs.io/en/stable/api/api.html#falcon.API.add_sink) + - Or use the current `ObjectRouter` with plugins providing a `Plugin` object with routing working as currently. 8. ? Make all commands be able to require confirmation and make this a configurable option. - - - How? + - How? 9. Add possibility of config inclusion to `mailman.cfg`, or of per-plugin config. @@ -41,5 +39,4 @@ ## Proposed changes to MailmanClient 1. Add bindings for `/plugins/<plugin_name>/...`. - - - Pretty low-level, since each plugin can handle requests as it wants.
\ No newline at end of file + - Pretty low-level, since each plugin can handle requests as it wants.
\ No newline at end of file |
