Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11339, comment 5


Ignore:
Timestamp:
Feb 26, 2015, 12:47:47 AM (9 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11339, comment 5

    initial v1  
    33
    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`.
     5
     6A configuration diff can be prepared using the [https://docs.python.org/2/library/difflib.html#difflib.context_diff context_diff] function in `difflib`.