wiki:PerforceJobScript

Version 4 (modified by anonymous, 15 years ago) (diff)

--

Synchronize Perforce jobs from/to Trac tickets

Description

A script used to synchronize Trac tickets to Perforce jobs. Status, user, and 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 [download:perforcejobscript 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

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

Author/Contributors

Author: ttressieres
Contributors: