El Wed, Dec 13, 2006 at 10:16:47PM -0800, Matt Good va escriure:
> 
> mb wrote:
> > is it possible to create tickets via script (if possible without
> > python).
> >
> > Like so: wget http://TRACINSTALLATION/newticket?summary=Blah.... or
> > similar
> 
> In keeping with good HTTP and REST principles Trac doesn't modify data
> on GET requests, only on POSTs.  So, you can't use wget like that to
> create a ticket.  You can use the XmlRpc plugin mentioned, or write a
> script in some other language to do a POST.
> 
> You may also be able to use Twill, which is a mini scripting language
> for doing web requests: http://twill.idyll.org/

You can also use cURL <http://curl.haxx.se/> to build a shell script that
generates POST requests. It's a very useful tool for this kind of things.

-- 
Sergio Talens-Oliag <[EMAIL PROTECTED]>            <http://www.uv.es/~sto/>
Key fingerprint = 29DF 544F 1BD9 548C 8F15 86EF 6770 052B B8C1 FA69

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Trac Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to