On 10/16/13, Drew Carey Buglione <[email protected]> wrote:
>
[...]
>
>> A couple of other (probably minor) things that can be changed TTW and
>> therefore might reset unexpectedly would be the project name, url, default
>>
>> timezone and language, and logging configuration.
>>
>> The other thing that seems both likely and major (at least from my own
>> usage) would be custom ticket fields or ticket workflow changes, but those
>>
>> are both only editable through the web via plugins (CustomFieldAdminPlugin
>>
>> and TracWorkflowAdminPlugin) so if you don't have those installed you're
>> probably pretty OK.
>>
>> Similarly if you have IniAdminPlugin installed all bets are off.
>>
>> And of course it's hard to pin down exactly what through-the-web edits
>> will result in config changes once you get into plugin-land.
>>
>
> Hmm. It sounds like most of these are settings that won't be changing all
> that often, so I'm fine with just manually editing the *trac.ini* file when
>
> the needs arise.
>
> How feasible do you think it would be to make a plugin that intercepts
> config changes and, instead of saving them, shows a page with an embedded
> diff <https://en.wikipedia.org/wiki/Diff#Context_format>-style list of
> changes that need to be made to *trac.ini*? Maybe call it *
> EphemeralConfigPlugin* ;)
>

I'm guessing that it will be lot easier to write a Configuration
object storing config data in the DB and inject it into instances of
trac.env.Environment in place of standard . If you need a starting
point to get this done , see Bloodhound's [1]_

.. [1] 
http://issues.apache.org/bloodhound/browser/trunk/bloodhound_multiproduct/multiproduct/config.py

-- 
Regards,

Olemis - @olemislc

Apacheā„¢ Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to