Here is the simplistic way we track changes to trac.ini. Place the
trac.ini files under Subversion control, and schedule a recurring task
to commit the files (below). If no changes are made, it is a NOP. We
use subversionnotify to get emails on commits so this ends up in our
mailbox with a nice diff. Doesn't help tell you who changed it but
maybe you could do some parsing of the Trac log and deduce who the
most recent changer was.

It has been a big help having all our config files (including Apache
and PostgreSQL) under revision control.

REM global trac.ini
pushd "C:\Program Files\BitNami Trac Stack\apps\trac"
svn commit trac.ini -m "auto-commit of trac.ini"

REM Now each repo
pushd "C:\Trac\FirstRepo\conf"
svn commit trac.ini -m "auto-commit of trac.ini"

pushd "C:\Trac\SecondRepo\conf"
svn commit trac.ini -m "auto-commit of trac.ini"

pushd "C:\Trac\ThirdRepo\conf"
svn commit trac.ini -m "auto-commit of trac.ini"



-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to