wiki:PerforceJobScript

Version 1 (modified by ttressieres, 10 years ago) (diff)

New hack PerforceJobScript, created by ttressieres

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

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

Source

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

Example

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

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
(more)

Author/Contributors

Author: ttressieres
Contributors: