on hosted03 we have a number of older projects using svn as their SCM.
However, when we were having performance issues a while back we set the following option on all trac instances:
repository_sync_per_request =
This setting is still fine and correct for all git using projects (since they simply redirect to cgit which is always in sync). However, it's not for svn using projects, it means that the 'browse source' link on those trac instances will never update correctly.
We need a script that will look at all the svn using trac instances (ones with "repository_type = svn" in /srv/web/trac/projects/*/conf/trac.ini) and see if they have repository_sync_per_request set to nothing. If so, they need to be modified to not include that option at all (to get default behavior).
attachment script.sh
please check the attached file, thanks
Thanks. ;)
That let me find the last 3 projects that needed to be fixed.