[[PageOutline(2-5,Contents,pullout)]] = Synchronize Perforce jobs from/to Trac tickets == Description This is a script used to synchronize Trac tickets to [https://www.perforce.com/ Perforce] jobs. Status, user, and description are synchronized. Perforce is a commercial, proprietary revision control system developed by Perforce Software. == Bugs/Feature Requests Existing bugs and feature requests for PerforceJobScript are [report:9?COMPONENT=PerforceJobScript here]. If you have any issues, create a [/newticket?component=PerforceJobScript new ticket]. [[TicketQuery(component=PerforceJobScript&group=type,format=progress)]] == Download Download the zipped source from [export:perforcejobscript here]. == Source You can check out PerforceJobScript from [/svn/perforcejobscript here] using Subversion, or [source:perforcejobscript browse the source] with Trac. == Installation 1. Download and install the requirements: * See [wiki:PerforcePlugin#Requirements PerforcePlugin requirements] * [http://pyperforce.sourceforge.net/ PyPerforce] 0.4 1. 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 [[ChangeLog(perforcejobscript, 3)]] == Author/Contributors '''Author:''' [wiki:ttressieres] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''