Version 3 (modified by ttressieres, 7 years ago) (diff)

add tag 0.11 + update pyperforce version

Synchronize Perforce jobs from/to Trac tickets


A script used to synchronize Trac tickets to Perforce jobs. Status, user, description are synchronized.

Bugs/Feature Requests

Existing bugs and feature requests for PerforceJobScript are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:perforcejobscript here].


You can check out PerforceJobScript from here using Subversion, or browse the source with Trac.



  1. Download and install the requirements (see above).
  2. launch the script
       python.exe --file p4trac.conf


you have to configure the script with the p4trac.conf file

sample configuration:

trac_project  : /env/TracDatabase
debug         : 0
p4port        : localhost:1666
p4user        : User
p4passwd      : 0000000000000000000000000000
check_delay   : 60
first_check   : -1
dry_run       : 0
p4_to_trac :
    open      : new
    assigned  : assigned
    working   : assigned
    suspended : assigned
    closed    : closed
trac_to_p4 :
    new      : open
    assigned : assigned
    closed   : closed
    reopened : open
p4job_prefix  : job

Recent Changes

6717 by ttressieres on 2009-10-15 09:58:41
port script to Trac 0.11.5
5996 by ttressieres on 2009-06-09 11:59:15
only notify Trac users if ticket was saved
3012 by ttressieres on 2008-01-09 21:17:33
branch for 0.10, trunk will be used for 0.11


Author: ttressieres