Changes between Version 1 and Version 2 of WinSvnHooksIntegration


Ignore:
Timestamp:
May 10, 2012, 1:08:36 PM (12 years ago)
Author:
Lloyd Fernandes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WinSvnHooksIntegration

    v1 v2  
    55== Description ==
    66
    7 Sample scripts/flow for fast hook performance
     7The scripts attached permit Subversion pre/post tasks to be done in an asynchronous fashion.
     8
     9=== Assumptions ===
     10* Coder is unlikely to put in a commit until after  n (scripts assume 5) minutes after the ticket is created
     11* Update of ticket/repository with change-set can wait for n (script assumes 5) minutes after the commit is completed.
     12
     13=== Flow ===
     14The flow consists of four steps.
     15* 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
     16* 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.
     17  1. Enforces reference to one ticket only
     18  2. Verifies minimum comment length (15)
     19  3. Verifies ticket exists
     20  4. Verifies commit author is ticket owner or is in a group that permits the action.
     21* 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.
     22*Trac Execution {{{(tracSVNInfo.cmd)}}} - During this step the command generated by previous step are executed.
     23
     24The first and last step above are executed in the background using AstuteSvcIntegration. The steps are currently combined into one command file but can be split if you need to run them on different schedules.
    825
    926== Bugs/Feature Requests ==
    1027
    11 Existing bugs and feature requests for WinSvnHooksIntegration are
    12 [report:9?COMPONENT=WinSvnHooksIntegration here].
    13 
    14 If you have any issues, create a
    15 [http://trac-hacks.org/newticket?component=WinSvnHooksIntegration&owner=LloydFernandes new ticket].
    1628
    1729== Download ==
    1830
    19 Download the zipped source from [download:winsvnhooksintegration here].
     31Download the attached zip.
    2032
    2133== Source ==
    2234
    23 You can check out WinSvnHooksIntegration from [http://trac-hacks.org/svn/winsvnhooksintegration here] using Subversion, or [source:winsvnhooksintegration browse the source] with Trac.
     35In Attached Zip
    2436
    2537== Example ==
     
    2941== Recent Changes ==
    3042
    31 [[ChangeLog(winsvnhooksintegration, 3)]]
    32 
    3343== Author/Contributors ==
    3444