sdslabs / bot

Our personal chat-bot
22 stars 8 forks source link

Redmine Integration #2

Closed captn3m0 closed 11 years ago

captn3m0 commented 12 years ago

Redmine provides a well-formatted json activity feed at /activity.json. Since redmine is behind the firewall as well, we would need to send over the complete json file every x minutes to hubot. Hubot would then send over the new feed items to the chat.

There is a similar rssfeed hubot script for hacker news, except that it queries hacker-news itself.

captn3m0 commented 12 years ago

I had posted about a webhook possibility in redmine long time back: http://www.redmine.org/boards/2/topics/26463

captn3m0 commented 12 years ago

Also related: http://www.redmine.org/projects/redmine/wiki/Rest_api

It would seem that /activity.json does not work with the REST Api at all. We could use activity.atom with the rss access key, though. It would have the overhead of harder parsing.

captn3m0 commented 12 years ago

Someone has already made redmine script for hubot. https://github.com/github/hubot-scripts/blob/master/src/scripts/redmine.coffee

I am thinking of proxying requests over our VPS for this. It would also help our outside members easily access redmine.

captn3m0 commented 12 years ago

Related: http://www.apachetutor.org/admin/reverseproxies

captn3m0 commented 11 years ago

Now that we have a reverse proxy working for redmine, I'd like to use the default redmine integration module available.