Changes between Version 2 and Version 3 of Ticket #11339, comment 5
- Timestamp:
- Feb 26, 2015, 12:49:28 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11339, comment 5
v2 v3 4 4 Sending a notification on configuration change is another use-case that I'm interested in. We'll need an `IConfigurationChangeListener` `ExtensionPoint`. [browser:/tags/trac-1.0.3/trac/config.py@:54#L54 Configuration] is not a `Component` though. At a minimum we will need to pass the `Environment` object to `Configuration`. 5 5 6 Once the extension point is implemented, an `IConfigurationChangeListener` can prepare a diff using the [https://docs.python.org/2/library/difflib.html#difflib.context_diff context_diff] function in `difflib` and send a notification , post the diff to a ticket, etc ...6 Once the extension point is implemented, an `IConfigurationChangeListener` can prepare a diff using the [https://docs.python.org/2/library/difflib.html#difflib.context_diff context_diff] function in `difflib` and send a notification.