Modify

Opened 10 years ago

Closed 9 years ago

#200 closed setup (wontfix)

email to trac xmlrpc

Reported by: bradley@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 1.4.0
Keywords: Cc:

Description

Hi,

I understand that you maintain the email-to-trac conversion script.
I'm running a project on cvsdude (codesion) where they don't support
your plugin.  They do support xmlrpc, however.  Have you heard of any
scripts that can convert email to trac xmlrpc to update tickets?  How
much work do you think it would be to adapt your script?

-Bradley

Attachments (0)

Change History (8)

comment:1 Changed 10 years ago by bas

  • Status changed from new to assigned

I have heard about xmlrpc. email2trac is not a plugin. It is a script that converts email to tocikets. Nowdays it also support the Blog and Discussion plugin.

I did not hear about an xmlrpc script. Does the cvsdude machine accepts email or can you install a script on this machine?

See for possible mail configurations:

Some people use fetchmail to get mail from mail account and convert to tickets.

comment:5 Changed 10 years ago by bradley@…

Is there some way we can arrange to run email2trac on the subversion
server?  I'd probably want to run it on a cron job, and it would use a
fetchmail approach.

On Fri, Jun 4, 2010 at 9:02 AM, email2trac <email2trac@sara.nl> wrote:

comment:6 Changed 10 years ago by bas

  • Type changed from defect to setup

Sorry for the late response. But you can set it up as cron job. email2trac is just a script and youy can test everything on the commandline. There is also a dry-run mode.

comment:7 Changed 10 years ago by anonymous

I think I got confused about who I was talking to. I should be asking cvsdude, not you, if I can install the script. I think I won't be able to.

Since cvsdude does support xmlrpc access into trac, I was hoping that you might say "yes, I know how to adapt email2trac to speak xmlrpc instead of directly operating on the trac repository". It would be useful for customers of services like cvsdude to be able to run email2trac on a remote machine instead on the trac server.

I'd be interested in knowing how hard you think it might be to make that work?

comment:8 Changed 10 years ago by bas

Ok you do not have a shell account on this machine. I really do not know how much work it is. I use the trac api to insert tickets/attachments. If xmlrpc also have an api for this then in theory you only have to replace the TRAC-api functions with the XMLrpc functions.

You do not have to parse the emails that is already done and if port it. Just do the ticket section. Email2trac can also support blog and discussion plugin.

comment:9 Changed 10 years ago by bas

If you gonna try to port it. Do not hesitate to ask question and i am always interested in the patch ;-)

comment:10 Changed 10 years ago by bas

Did you port it ot xmlrpc?

comment:11 Changed 9 years ago by bas

  • Resolution changed from fixed to wontfix
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.