Modify

Opened 7 years ago

Last modified 5 years ago

#1952 new enhancement

CIA-like irc bot

Reported by: anonymous Owned by: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: irc, bot, cia
Cc: thijs Trac Release: 0.10

Description

A irc bot that echos updates which you would normaly see in the timeline either as plugin that connects itself and reports, or as API so it works together with an existing eggdrop bot..

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by anonymous

what about just using an irc bot with an rss plugin?

comment:2 Changed 7 years ago by JamieWolf

Just use an Eggdrop, get a rss reader for the eggdrop, I recommend rss-synd (can be found here: http://labs.wizzer-it.com/)

Example Configuration

set rss(<name>) {
                "url"                   "<URL to tracs rss feed>"
                "channels"              "<Channel in which rss should be posted>"
                "database"              "./rss/<databasename>.db" //change this
                "output"                "[\002@@item!category@@\002] @@item!title@@ - @@item!link@@"
                "trigger"               "!timeline"
                "update-interval"       5 // Bot checks every 5 minutes
        }

Hope this helps someone!

comment:3 Changed 6 years ago by otaku42

You could also use SuPyBot, which has plugins for fetching RSS feeds and announcing them as you wish. There is also a plugin for better integration with Trac, e.g. to easier get URLs for a specific ticket. Similar setups are used in Freenode channels #trac and #madwifi, for example.

comment:4 Changed 6 years ago by JamesMills

kdb a bot I developer for fun and as a test and development framework for my circuits library also has a whole host of plugins one of which is an RSS plugin that I use to feed live updates of my Trac projects into my channels.

Come see me on FreeNode (prologic) :)

--JamesMills

comment:5 Changed 5 years ago by thijs

  • Cc thijs added; anonymous removed

gozerbot is being used by the trac team itself on freenode's #trac channel, it basically monitors the timeline rss feed and spits any changes into the chat. Works great, and I suggest setting that up instead.

Add Comment

Modify Ticket

Action
as new The owner will remain anybody.
Author


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

 
Note: See TracTickets for help on using tickets.