Jeff Hammel wrote: > On Tue, Apr 14, 2009 at 01:46:15PM +0200, Christian Boos wrote: > >> Roger O wrote: >> >>> On Apr 1, 8:27 pm, Christian Boos <[email protected]> wrote: >>> >>> >>> >>>> Also do: >>>> >>>> trac-admin <tracenv> upgrade >>>> >>>> as there has been a schema change recently (the repository cache now >>>> supports multiple repositories as well). >>>> However, we also plan to do a schema change very soon on trunk, and this >>>> will actually conflict with the schema change we did on the branch. So >>>> if you don't want to have to mess with the db manually, better wait a >>>> few more days until we merge the upcoming trunk change into the >>>> multirepos branch (I'll follow up here when it's done). >>>> >>>> >>> Just curious how it's going? >>> >>> >> Nearly there. The new schema is in place and the cache is working, >> together with the new hook (contrib/trac-svn-hook). Only a few rough >> edges need to be polished (see http://trac.edgewall.org/ticket/7723 for >> details), but it's already working and an upgrade should be safe at this >> time. >> >> The new documentation page about multiple repository management is still >> to be written, but the trac-svn-hook script should contain enough >> inlined documentation to get you started. >> > > Any interest in making the svn-hook (and potentially other hooks) pluggable > entry points a la http://trac-hacks.org/wiki/RepositoryHookSystemPlugin or > [deprecated] http://trac-hacks.org/wiki/SvnChangeListenerPlugin?
The new trac-svn-hook [1] now only calls some trac-admin commands (changeset added / changeset modified). Within trac-admin, the plugin system is used to dispatch that information, thanks to the new IRepositoryChangeListener [2] interface. The old trac-post-commit-hook has now been migrated to a sample plugin [3] which implements the above interface. -- Christian [1] - http://trac.edgewall.org/browser/sandbox/multirepos/contrib/trac-svn-hook [2] - http://trac.edgewall.org/browser/sandbox/multirepos/trac/versioncontrol/api.py?rev=8105#L77 [3] - http://trac.edgewall.org/browser/sandbox/multirepos/sample-plugins/commit_ticket_update.py --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
