Changes between Version 20 and Version 21 of RepositoryHookSystemPlugin
- Timestamp:
- Apr 1, 2015, 9:38:50 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RepositoryHookSystemPlugin
v20 v21 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Repository hooks as pluggable extension points =3 2 4 = = Description ==3 = Repository hooks as pluggable extension points 5 4 6 The RepositoryHookSystemPlugin is designed to turn repository hooks, such as SVN's post-commit hook, into extension points so that arbitrary trac plugins may be built that have full access to the trac framework to act on repository commits. 5 == Description 6 7 The RepositoryHookSystemPlugin is designed to turn repository hooks, such as SVN's post-commit hook, into extension points so that arbitrary Trac plugins may be built that have full access to the trac framework to act on repository commits. 8 9 Key features: 7 10 8 11 * the RepositoryHookSystemPlugin provides an extension point ([source:repositoryhooksystemplugin/0.11/repository_hook_system/interface.py IRepositoryHookSubscriber]) which may be populated with configurable hooks that have access to their trac environment … … 32 35 * arbitrary hooks, not just post-commit 33 36 34 ''However, while architected to be arbitrary, this plugin has only been implemented for SVN''. 37 However, while architected to be arbitrary, this plugin has only been implemented for SVN. 35 38 36 37 == Bugs/Feature Requests == 39 == Bugs/Feature Requests 38 40 39 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 http://trac.edgewall.org/wiki/TracPlugins#Abouthookscripts … … 47 49 [wiki:olemis#Guidelinestocollaborate patch submission guidelines]. 48 50 51 [[TicketQuery(component=RepositoryHookSystemPlugin&group=type,format=progress)]] 49 52 50 == Download ==53 == Download 51 54 52 55 Download the zipped source from [download:repositoryhooksystemplugin here]. 53 56 54 == Source ==57 == Source 55 58 56 59 You can check out RepositoryHookSystemPlugin from [/svn/repositoryhooksystemplugin here] using Subversion, or [source:repositoryhooksystemplugin browse the source] with Trac. 57 60 58 == Example ==61 == Example 59 62 60 63 Screenshot of the RepositoryHookSystemPlugin webadmin interface for configuration of an SVN post-commit hook: … … 64 67 Example of an SVN post-commit hook file generated by the RepositoryHookSystem that invokes the listener: 65 68 66 {{{ 69 {{{#!sh 67 70 #!/bin/bash 68 71 … … 71 74 }}} 72 75 73 == Recent Changes ==76 == Recent Changes 74 77 75 78 [[ChangeLog(repositoryhooksystemplugin, 3)]] 76 79 77 == Author/Contributors ==80 == Author/Contributors 78 81 79 82 ''Originally developed at [http://topp.openplans.org The Open Planning Project]''