Hi Itamar

Thanks for that. Will this work with a python script directly or will I 
have to write an extension to add what I want? I can't see how to get at 
the API documentation without installing it.

Thanks
Scott



From:   Itamar O <[email protected]>
To:     [email protected]
Date:   12/12/2011 08:45 p.m.
Subject:        Re: [Trac] Editing Ticket Fields
Sent by:        [email protected]



On Mon, Dec 12, 2011 at 2:21 AM, <[email protected]> wrote:
Hi

I'm looking at writing a python script that will update a custom field
in our Trac tickets using information about our reviews on Review
Board.
I was planning on using a SQL script to edit the database, but I
wanted to know if there was a better way of doing it. I'd prefer to
have it as a script than as a plugin as that means that I can run one
program to get the information of Review Board and then upload it to
Trac.
However, I can't any good examples of scripts used to edit the Trac
database, and tickets in particular, and was hoping that someone would
either have example code or advice on how to achieve my goals.
Also, does anyone know how accurate this database visualisation is
(http://trac.edgewall.org/attachment/wiki/TracDev/DatabaseSchema/
db_trac_eng_final.png), and where our custom field would appear in it?
We are using Trac 0.12.2.

Thanks
Scott



Hi Scott,

It's not recommended to modify the Trac DB directly from "outside".
I think that for your purpose you should take a look at the Trac XML RPC 
Plugin [1].

- Itamar.

[1] http://trac-hacks.org/wiki/XmlRpcPlugin
 

--
You received this message because you are subscribed to the Google Groups 
"Trac Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"Trac Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Scott Bamford

                
tel:

fax:    

        
www.dynamiccontrols.com         
"Improving peoples lives with over 750,000 Shark Wheel Chair Controller Systems 
deployed. Outstanding performance, reliability and safety (ISO 7176-14:2008/ 
ANSI/RESNA WC-2:2009).
http://www.dynamiccontrols.com/dealers/products/shark           

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to