Changes between Initial Version and Version 1 of SvnTracHooks


Ignore:
Timestamp:
Nov 5, 2016, 8:28:13 AM (3 years ago)
Author:
(System)
Comment:

Initial page import

Legend:

Unmodified
Added
Removed
Modified
  • SvnTracHooks

    v1 v1  
     1= SVN Trac Hooks =
     2
     3If the Trac Hooks for SVN has been installed for the svn repository
     4coupled to this Trac instance, the Key Phrases documented below may
     5be used in SVN commit messages to cause automatic updates and annotations
     6of Trac issues.
     7
     8== The trac-post-commit-hook ==
     9
     10This script looks at the commit message associated with an SVN commit,
     11and based on the presence of a number of key phrases will add annotations
     12to tickets and also possibly change ticket status, for instance closing
     13it.
     14
     15=== Key Phrases ===
     16
     17The key phrases available are:
     18{{{
     19  Fix <ticket_spec>
     20  Fixes <ticket_spec>
     21  Fix for <ticket_spec>
     22  Close <ticket_spec>
     23  Closes <ticket_spec>
     24 
     25  Addresses <ticket_spec>
     26  References <ticket_spec>
     27  Relates to <ticket_spec>
     28  Related to <ticket_spec>
     29  See <ticket_spec>
     30}}}
     31
     32=== Ticket specification ===
     33
     34The specification of the ticket to act on may specify one or more
     35tickets, using any of the following forms:
     36{{{
     37  <ticket>
     38  <ticket>, <ticket>{, <ticket>}
     39  <ticket>, <ticket> and <ticket>
     40}}}
     41and variations thereof.
     42
     43=== Ticket identification ===
     44
     45The individual ticket specification
     46can take any of the following forms:
     47{{{
     48  #<number>
     49  ticket <number>
     50  ticket:<number>
     51  issue <number>
     52  issue:<number>
     53  bug <number>
     54  bug:<number>
     55}}}
     56
     57=== Examples ===
     58
     59{{{
     60  Clarify header normalization vs matching request headers (see #147)
     61
     62  Resolve #27: fix definition of idempotent
     63
     64  Note change for issue 157 (related to #157)
     65
     66  Define http and https URI schemes: addresses #58, #128, #159
     67
     68  Define http and https URI schemes: addresses #58, #128, #159;
     69  fixes #157: removed reference to RFC1900 use of IP addresses in URI.
     70
     71  Resolve #140: rephrase note so that it becomes clear that the described ...
     72}}}
     73
     74=== Script ===
     75
     76The default script installed as trac-post-commit-hook is:
     77http://tools.ietf.org/tools/wg-pages/svn-hook-files/trac-post-commit-hook