[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-03-28 Thread gerritbot
gerritbot added a comment. Change 345246 had a related patch set uploaded (by Ottomata): [pywikibot/core@master] Port rcstream to EventStreams recentchange stream https://gerrit.wikimedia.org/r/345246TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-03-28 Thread Xqt
Xqt added a comment. @Ottomata: I already claimed this task.TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Magul, Ottomata, zhuyifei1999, tom29739, valhallasw, Aklapper, Xqt, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-03-29 Thread Xqt
Xqt added a comment. Indeed I have a patch working in progress which works fine. I am still unhappy with some deprecating parts.TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Magul, Ottomat

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-03-30 Thread Ottomata
Ottomata added a comment. Ok, great, Xqt let’s use yours then. I think you’ll have a better sense of what to deprecate and how, and also how to make a better interface with EventStreams in general and its recentchange stream.TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttp

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-04-03 Thread gerritbot
gerritbot added a comment. Change 346164 had a related patch set uploaded (by Xqt): [pywikibot/core@master] [WIP] Implement EventStream https://gerrit.wikimedia.org/r/346164TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpr

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-05-22 Thread gerritbot
gerritbot added a comment. Change 355115 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/bots/xqbot@master] Use new EventStreams https://gerrit.wikimedia.org/r/355115TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/pa

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-05-22 Thread Xqt
Xqt added a comment. There is a simple sample of the usage published in https://gerrit.wikimedia.org/r/355115TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Magul, Ottomata, zhuyifei1999, to

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-05-22 Thread Xqt
Xqt added a comment. Hm, btw the first message after starting EventStreams is always empty.TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Magul, Ottomata, zhuyifei1999, tom29739, valhallasw

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-05-23 Thread Xqt
Xqt added a comment. I got a problem with long time test. The eventstream hangs after two hours or so. No KeyboardInterrupt is possible anymore. @Ottomata: any idea? Are there more events than the client script can serve?TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://p

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-05-24 Thread Ottomata
Ottomata added a comment. Another idea is that the processing time is to long for EventStreams? (to be verified) In that case we should have a method to disconnect and resume with the last offset. Or use a threaded EventStream. If the problem is not being able to process data fast enough, this wo

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-05-28 Thread Xqt
Xqt added a comment. I introduced a timeout to EventStreams and all worked fine for some days wheras it didn't without it. This might be a solution but it isn't clear. Anyway it does not care to have it even it is not needed but it is good to have it if it caused the problem.TASK DETAILhttps://phab

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-06-02 Thread Xqt
Xqt added a comment. I got a lot of empty events last time since one of the last enventstreams updates: >> 09:01:15: New timestamp: 20170602070116 auf VM ist nichts zu tun Ignoring opted out defendant Benqo defendant: Saidmann, accuser: Jensbest, time: 2017 Jun 2 00:51 defendant: Bwag, accuser:

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-06-02 Thread Xqt
Xqt added a comment. I see, the EventSource instance was instantiatet multiple times. I'll fix it.TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Magul, Ottomata, zhuyifei1999, tom29739, val

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-06-02 Thread Xqt
Xqt added a comment. Done.TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Magul, Ottomata, zhuyifei1999, tom29739, valhallasw, Aklapper, Xqt, pywikibot-bugs-list, Adik2382, Th3d3v1ls, Ramale

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-06-11 Thread gerritbot
gerritbot added a comment. Change 346164 merged by jenkins-bot: [pywikibot/core@master] [IMPR] Implement EventStreams https://gerrit.wikimedia.org/r/346164TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T158943: Implement EventStreams client for pywikibot

2017-06-12 Thread Ottomata
Ottomata added a comment. Thanks @Xqt! :)TASK DETAILhttps://phabricator.wikimedia.org/T158943EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, OttomataCc: gerritbot, Magul, Ottomata, zhuyifei1999, tom29739, valhallasw, Aklapper, Xqt, pywikibot-bugs-list, Ad