and I forgot to mention that gerrit is using RSS as well, so you can
actually create even a feed for your git repository, using this
feature (in case software project you work on has own channel)

On Thu, Oct 11, 2012 at 2:12 PM, Petr Bena <[email protected]> wrote:
> Hi folks,
>
> I implemented a new feature to wm-bot which is still being tested. It
> allows to parse and report RSS feeds into channel with custom format.
> There is going to be special RSS parser optimized for wikimedia
> bugzilla so that you should be able to insert any special "RSS items"
> such as a user, ticket status, ticket dependencies etc. as variables
> in a message template.
>
> That means anyone should be able to create a custom irc feed for
> bugzilla and use it in any wikimedia related irc channel you want (for
> example, right now we have a bugzilla feed in #wikimedia-labs that
> reports only labs related bugs). You can generate RSS feed in
> bugzilla, just by creating a new search, then you can click link
> "Feed" which is on bottom of each search results page.
>
> (Example step by step to create rss bugzilla feed for a channel 
> #wikimedia-labs)
>
> 1. Get a bot to channel (instructions at 
> http://meta.wikimedia.org/wiki/Wm-bot)
> 2. Enable RSS feed by typing
>
> @rss-on
>
> 3. Create a custom search in bugzilla for all bugs which were changed
> in last 4 hours and convert it to RSS feed:
>
> https://bugzilla.wikimedia.org/buglist.cgi?chfieldfrom=-4h&chfieldto=Now&list_id=151044&product=Wikimedia%20Labs&query_format=advanced&title=Bug%20List&ctype=atom
>
> 4. Insert this rss feed to bot by typing
>
> @rss+ bugzilla 
> https://bugzilla.wikimedia.org/buglist.cgi?chfieldfrom=-4h&chfieldto=Now&list_id=151044&product=Wikimedia%20Labs&query_format=advanced&title=Bug%20List&ctype=atom
>
> 5. Change the default template for rss item to something better:
>
> @configure style-rss=[$name] ticket name: $title (ticket created by
> $author) url: $link
>
> please note that there is a variable $description which contains some
> html code generated by bugzilla, which is useless in irc and needs to
> be removed by overriding the default template
>
>
> the special bugzilla items ($bugzilla_id, $bugzilla_createddate,
> $bugzilla_changeddate, $bugzilla_lastuser, $bugzilla_status) are not
> available yet, but should be soon, also there is still lot of stuff to
> improve, but I hope one day we will be able to put bugzilla irc bots
> to every dev channel we need it in and let it report only bugs we are
> interested in.
>
> --Petr

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to