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

Installation

  1. Download and install the requirements (see above).
  2. 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

[1624] by ttressieres on 12/05/06 02:09:49

PerforceJobScript:

- 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/03/06 07:38:50

PerforceJobScript:

add new config parameter 'p4job_prefix' and clean-up code

[1454] by ttressieres on 10/29/06 08:06:54

PerforceJobScript:

first version of PerforceJobScript with configuration file

[1453] by ttressieres on 10/29/06 08:00:25

New hack PerforceJobScript, created by ttressieres

Author/Contributors

Author: ttressieres
Contributors: