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...
4. Insert this rss feed to bot by typing
@rss+ bugzilla https://bugzilla.wikimedia.org/buglist.cgi?chfieldfrom=-4h&chfieldto=Now...
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
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 benapetr@gmail.com 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)
- Get a bot to channel (instructions at http://meta.wikimedia.org/wiki/Wm-bot)
- Enable RSS feed by typing
@rss-on
- 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...
- Insert this rss feed to bot by typing
@rss+ bugzilla https://bugzilla.wikimedia.org/buglist.cgi?chfieldfrom=-4h&chfieldto=Now...
- 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
Petr Bena wrote:
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.
This sounds neat. :-)
I didn't realize Bugzilla had RSS feed support. Currently wikibugs (the Bugzilla --> IRC bot in #mediawiki) parses mailing list messages (sent to wikibugs -l). If there's a machine-readable format that can be used, that would be awfully nice.
MZMcBride
This sounds pretty cool and very handy. How often does the bot poll the RSS feeds? Is this configurable? I tried to answer my own questions by looking at the code, but all I could find was a link to the SVN repo on the bot's wiki page (http://meta.wikimedia.org/wiki/Wm-bot), but there have been no commits there since June - is the code being maintained somewhere else now?
Thanks! Arthur
On Thu, Oct 11, 2012 at 7:04 PM, MZMcBride z@mzmcbride.com wrote:
Petr Bena wrote:
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.
This sounds neat. :-)
I didn't realize Bugzilla had RSS feed support. Currently wikibugs (the Bugzilla --> IRC bot in #mediawiki) parses mailing list messages (sent to wikibugs -l). If there's a machine-readable format that can be used, that would be awfully nice.
MZMcBride
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
This would be great to get into the mobile channel.
--tomasz
On Fri, Oct 12, 2012 at 11:35 AM, Arthur Richards arichards@wikimedia.org wrote:
This sounds pretty cool and very handy. How often does the bot poll the RSS feeds? Is this configurable? I tried to answer my own questions by looking at the code, but all I could find was a link to the SVN repo on the bot's wiki page (http://meta.wikimedia.org/wiki/Wm-bot), but there have been no commits there since June - is the code being maintained somewhere else now?
Thanks! Arthur
On Thu, Oct 11, 2012 at 7:04 PM, MZMcBride z@mzmcbride.com wrote:
Petr Bena wrote:
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.
This sounds neat. :-)
I didn't realize Bugzilla had RSS feed support. Currently wikibugs (the Bugzilla --> IRC bot in #mediawiki) parses mailing list messages (sent to wikibugs -l). If there's a machine-readable format that can be used, that would be awfully nice.
MZMcBride
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
The bot is polling rss every 20 seconds (likely a bit more, all RSS feeds are parsed in one thread which is getting them synchronously - so 20 sec + download time of all feeds)
The code is now on github https://github.com/benapetr/wikimedia-bot/
should be moved to wikimedia git some day
I can put it to #wikimedia-mobile, or you can do that :) I suppose you want all mobile related bugs there
On Mon, Oct 15, 2012 at 12:06 AM, Tomasz Finc tfinc@wikimedia.org wrote:
This would be great to get into the mobile channel.
--tomasz
On Fri, Oct 12, 2012 at 11:35 AM, Arthur Richards arichards@wikimedia.org wrote:
This sounds pretty cool and very handy. How often does the bot poll the RSS feeds? Is this configurable? I tried to answer my own questions by looking at the code, but all I could find was a link to the SVN repo on the bot's wiki page (http://meta.wikimedia.org/wiki/Wm-bot), but there have been no commits there since June - is the code being maintained somewhere else now?
Thanks! Arthur
On Thu, Oct 11, 2012 at 7:04 PM, MZMcBride z@mzmcbride.com wrote:
Petr Bena wrote:
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.
This sounds neat. :-)
I didn't realize Bugzilla had RSS feed support. Currently wikibugs (the Bugzilla --> IRC bot in #mediawiki) parses mailing list messages (sent to wikibugs -l). If there's a machine-readable format that can be used, that would be awfully nice.
MZMcBride
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- Arthur Richards Software Engineer, Mobile [[User:Awjrichards]] IRC: awjr +1-415-839-6885 x6687 _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Sun, Oct 14, 2012 at 11:30 PM, Petr Bena benapetr@gmail.com wrote:
I can put it to #wikimedia-mobile, or you can do that :) I suppose you want all mobile related bugs there
This would be awesome if you could add it. Lets start off with these two
MF: https://bugzilla.wikimedia.org/buglist.cgi?list_id=152256&resolution=---...
WP App:
https://bugzilla.wikimedia.org/buglist.cgi?list_id=152257&resolution=---...
Ok I added both, but given that both aren't very active you probably won't see much activity from it :)
On Mon, Oct 15, 2012 at 9:28 AM, Tomasz Finc tfinc@wikimedia.org wrote:
On Sun, Oct 14, 2012 at 11:30 PM, Petr Bena benapetr@gmail.com wrote:
I can put it to #wikimedia-mobile, or you can do that :) I suppose you want all mobile related bugs there
This would be awesome if you could add it. Lets start off with these two
MF: https://bugzilla.wikimedia.org/buglist.cgi?list_id=152256&resolution=---...
WP App:
https://bugzilla.wikimedia.org/buglist.cgi?list_id=152257&resolution=---...
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org