Synchronize Perforce jobs from/to Trac tickets
Description
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/Installation
Download the zipped source from here.
Source
You can check out PerforceJobScript from here using Subversion, or browse the source with Trac.
Requirements
- See PerforcePlugin requirements
- PyPerforce 0.3a1 with a patch for jobs
Installation
- Download and install the requirements (see above).
- launch the script
python.exe p4_trac_jobs.py --file p4trac.conf
Configuration
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
[5996] by ttressieres on 06/09/09 11:59:15
only notify Trac users if ticket was saved
[3012] by ttressieres on 01/09/08 21:17:33
branch for 0.10, trunk will be used for 0.11
[1624] by ttressieres on 12/04/06 16:09:49
- update searchFixes in TracTicket?, so only new Perforce fixes are stored in Trac - small bug correction when "rpDate? > rtDate?" in populate method
[1481] by ttressieres on 11/02/06 21:38:50
add new config parameter 'p4job_prefix' and clean-up code
Author/Contributors
Author: ttressieres
Contributors:

