Edgewall Software

Changes between Version 2 and Version 3 of Ticket #11339, comment 5


Ignore:
Timestamp:
Feb 26, 2015, 12:49:28 AM (5 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11339, comment 5

    v2 v3  
    44Sending 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`.
    55
    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 ...
     6Once 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.