Changes between Version 22 and Version 23 of RepositoryHookSystemPlugin
- Timestamp:
- Nov 11, 2015, 4:24:20 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RepositoryHookSystemPlugin
v22 v23 19 19 * plugins can be enabled on a per-hook basis 20 20 21 * the listeners are invoked via a command-line call from one of the repository hooks. 21 * the listeners are invoked via a command-line call from one of the repository hooks. This is a one-line command that passes whatever details are necessary to identify the changeset. 22 22 23 * a trac changeset object is used to pass around information. This is good, as it avoids unneccessary information to be sought by the !RepositoryChangeListeners. For the SvnChangeListenerPlugin (at least as it stands living only in the post-commit hook), this is sufficient. It is unknown whether this is a good idea for other hooks and repository systems.A changeset object can be faked if it is not available (like it is at SVN post-commit).23 * a trac changeset object is used to pass around information. This is good, as it avoids unneccessary information to be sought by the !RepositoryChangeListeners. For the SvnChangeListenerPlugin (at least as it stands living only in the post-commit hook), this is sufficient. It is unknown whether this is a good idea for other hooks and repository systems. A changeset object can be faked if it is not available (like it is at SVN post-commit). 24 24 25 25 * the logic of the !RepositoryChangeListeners is agnostic to SCM type and hook used. … … 35 35 * arbitrary hooks, not just post-commit 36 36 37 However, while architected to be arbitrary, this plugin has only been implemented for SVN.37 However, while architected to be generic, this plugin has only been implemented for SVN. 38 38 39 39 == Bugs/Feature Requests 40 40 41 If you are getting an error about `PYTHON_EGG_CACHE` not being set, then you may need to set this in your hook. See TracPlugins#Abouthookscripts41 If you are getting an error about `PYTHON_EGG_CACHE` not being set, then you may need to set this in your hook. See TracPlugins#Abouthookscripts. 42 42 43 43 Existing bugs and feature requests for RepositoryHookSystemPlugin are … … 46 46 If you have any issues, create a 47 47 [/newticket?component=RepositoryHookSystemPlugin new ticket]. 48 If you want to submit patches, please read the49 [wiki:olemis#Guidelinestocollaborate patch submission guidelines].50 48 51 49 [[TicketQuery(component=RepositoryHookSystemPlugin&group=type,format=progress)]] … … 53 51 == Download 54 52 55 Download the zipped source from [ download:repositoryhooksystemplugin here].53 Download the zipped source from [export:repositoryhooksystemplugin here]. 56 54 57 55 == Source 58 56 59 57 You can check out RepositoryHookSystemPlugin from [/svn/repositoryhooksystemplugin here] using Subversion, or [source:repositoryhooksystemplugin browse the source] with Trac. 58 59 == Installation 60 61 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 60 62 61 63 == Example