Programmatic queries

1 view
Skip to first unread message

Jason Dunham

unread,
Jun 8, 2007, 1:16:50 AM6/8/07
to trac-...@googlegroups.com
I would like to make a programmatic query of Trac. For example, during
my build process, I would like to get all of the tickets for some
component which were closed between the last build (or a user-supplied
date) and now, and pipe the results into a text file for further
processing.

I think I can write the SQL for that without too much problem, but I
don't know how to get the results in a useful output format.

Thanks for any tips,
Jason Dunham

Noah Kantrowitz

unread,
Jun 8, 2007, 1:33:25 AM6/8/07
to trac-...@googlegroups.com

I would recommend using the Trac API (trac.ticket.query.Query) or using
XML-RPC (via the XmlRpcPlugin).

--Noah

signature.asc
Reply all
Reply to author
Forward
0 new messages