Changes between Version 8 and Version 9 of WinSvnHooksIntegration
- Timestamp:
- Nov 26, 2015, 9:40:11 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WinSvnHooksIntegration
v8 v9 9 9 === Assumptions 10 10 11 * Coder is unlikely to put in a commit until after n (scripts assume 5) minutes after the ticket is created11 * Coder is unlikely to put in a commit until after n minutes after the ticket is created, the scripts assume 5 minutes. 12 12 * Update of ticket/repository with change-set can wait for n (script assumes 5) minutes after the commit is completed. 13 13 … … 15 15 16 16 The flow consists of the following steps: 17 * Trac Prep {{{(tracSVNInfo.cmd)}}} - During this step a file is generated with a list of outstanding tickets along with owner and state. Also generated is a list of members in a specific group 17 * Trac Prep {{{(tracSVNInfo.cmd)}}} - During this step a file is generated with a list of outstanding tickets along with owner and state. Also generated is a list of members in a specific group. 18 18 * Subversion Pre Commit {{{(preCommit.cmd)}}}- This pre commit command check for the following using data generated from the above step. A sample {{{(pre-commit.cmd)}}} hook is provided. 19 1. Enforces reference to 1 ticket only 20 2. Verifies minimum comment length (15) 21 3. Verifies ticket exists 19 1. Enforces reference to 1 ticket only. 20 2. Verifies minimum comment length (15). 21 3. Verifies ticket exists. 22 22 4. Verifies commit author is ticket owner or is in a group that permits the action. 23 23 * Subversion Post Commit {{{(postCommit.cmd,postRevPropChange.cmd}}} - In this step (see sample hooks {{{post-commit.cmd,post-revprop-change.cmd}}}) a file is created with the trac command for executing the change-set. … … 32 32 33 33 If you have any issues, create a 34 [ http://trac-hacks.org/newticket?component=WinSvnHooksIntegration&owner=LloydFernandesnew ticket].34 [/newticket?component=WinSvnHooksIntegration new ticket]. 35 35 36 36 [[TicketQuery(component=WinSvnHooksIntegration&group=type,format=progress)]] … … 38 38 == Download 39 39 40 Download the latest revision from [ download:winsvnhooksintegration here].40 Download the latest revision from [export:winsvnhooksintegration here]. 41 41 42 42 == Source 43 43 44 You can check out WinSvnHooksIntegration from [http://trac-hacks.org/svn/winsvnhooksintegration here] using Subversion, or [source:winsvnhooksintegration browse the source] with Trac. 44 You can check out WinSvnHooksIntegration from [/svn/winsvnhooksintegration here] using Subversion, or [source:winsvnhooksintegration browse the source] with Trac. 45 46 == Installation 47 48 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 45 49 46 50 == Recent Changes