[Systems] [Fwd: Re: moving tickets from dev.l.o to dev.s.o]

Bernie Innocenti bernie at laptop.org
Thu Jan 29 11:50:33 EST 2009


Noah,

would you have the time to help us setup the XML-RPC plugin on
dev.sugarlabs.org and transfer one ticket to test the whole mechanism?

-------- Original Message --------
Subject: Re: moving tickets from dev.l.o to dev.s.o
Date: Thu, 29 Jan 2009 10:56:35 -0500
From: Michael Stone <michael.r.stone at gmail.com>
To: Tomeu Vizoso <tomeu at sugarlabs.org>
CC: Sugar-dev <sugar-devel at lists.sugarlabs.org>, OLPC Devel
<devel at laptop.org>
References: <242851610901290725u2282c1e9w7a085e9ca7fde162 at mail.gmail.com>

Tomeu,

In the past, I've approached the problem of trac automation through
trac's XML-RPC plugin. Two example scripts which I wrote which make
use of this plugin include:

http://dev.laptop.org/git?p=users/cscott/mocktools;a=blob;f=mass_update.py;hb=HEAD

and

http://dev.laptop.org/git?p=users/cscott/mocktools;a=blob;f=trac_helper.py;hb=HEAD

Michael

NB: The ticket.query method seems to return at most 100 results at a
time so you may need to be a bit sneaky in order to process all of the
tickets you want. (Maybe someone more experienced with the plugin
knows how to resolve or work around this?)
_______________________________________________
Devel mailing list
Devel at lists.laptop.org
http://lists.laptop.org/listinfo/devel

-- 
   // Bernie Innocenti - http://www.codewiz.org/
 \X/  Sugar Labs       - http://www.sugarlabs.org/


More information about the Systems mailing list