Page MenuHomePhabricator

SULWatcher: only parse data from loginwiki
Closed, ResolvedPublic


SULWatcher should only parse data from #central or EventStreams about account creation on login.wikimedia to avoid flooding the DB with n^x equal entries.

Event Timeline

MarcoAurelio renamed this task from Only parse data from loginwiki to SULWatcher: only parse data from loginwiki.Aug 27 2017, 4:16 PM

Apparently there's no #login.wikimedia channel. Is that right?

We should also need to teach the bot to discriminate against non user creation logs, because it's parsing data from #central where only account creations are reported.


Continue using #central but listen only to account creations from login.wikimedia and discard the rest.

I think it seems easy to implement.
Modify $814-815 to

if (sulwiki == 'loginwiki'):

for avoid DB INSERT only: $843 to

if (sulwiki == 'loginwiki'):
    for m in matches:

@Rxy Want to try patching this? Thanks.

Change 423713 had a related patch set uploaded (by Rxy; owner: Rxy):
[labs/tools/stewardbots@master] SULWatcher: Target to only loginwiki

Change 423713 merged by jenkins-bot:
[labs/tools/stewardbots@master] SULWatcher: Target to only loginwiki