Changes between Version 51 and Version 52 of GitPlugin


Ignore:
Timestamp:
Aug 24, 2010 8:19:22 PM (4 years ago)
Author:
Andre Miras
Comment:

commit hook

Legend:

Unmodified
Added
Removed
Modified
  • GitPlugin

    v51 v52  
    161161}}} 
    162162You will also need to change your trac.ini file accordingly. 
     163Thus repository_sync_per_request under the trac section is to be unset, and tracopt.ticket.commit_updater.* under component are to be set to enabled. 
     164e.g. : 
     165{{{ 
     166... 
     167... 
     168 
     169[trac] 
     170repository_dir = /path/to/git/repos.git/ 
     171... 
     172repository_sync_per_request = 
     173 
     174... 
     175... 
     176 
     177[components] 
     178tracext.git.* = enabled 
     179tracopt.ticket.commit_updater.committicketreferencemacro = enabled 
     180tracopt.ticket.commit_updater.committicketupdater = enabled 
     181... 
     182... 
     183}}} 
     184 
     185Also make sure that the user executing the trac-admin command has read access to your TRAC_ENV and write access to your trac.log as well as to your trac database. 
     186 
    163187 
    164188== Help ==