mozilla / testdaybot

Mozilla QA Test Day IRC Bot
9 stars 12 forks source link

Setup a new testday #24

Closed whimboo closed 9 years ago

whimboo commented 9 years ago

An admin needs to be able to setup a new testday via the bot. We need:

whimboo commented 9 years ago

The person who sets up the testday needs to be verified.

galgeek commented 9 years ago

hi @whimboo !

here's an example of what nodeirc's whois returns. I believe the line, towards the bottom, "accountinfo: 'is logged in as'" indicates someone is logged into a registered nick, and we can check for that before adding an admin. Is that close enough?

{ nick: 'AutomatedTester', user: 'David', host: 'moz-dkjr1g.scl3.mozilla.com', realname: 'Burns" "David Burns" David Burns', channels: [ '#awayteam', '#servo', '#mobile', '#qa', '#automation', '#rust', '#jsapi', '#devtools', '#webdev', '#gaia', '#releng', '#ateam', '#mozreview', '#b2g', '#moc', '#identity', '#vcs', '@#mozwebqa', '#london', '#fxos-automation', '#remo', '#taskcluster' ], server: 'belew.mozilla.org', serverinfo: 'US West (N. California)', away: 'Auto Away at Thu Dec 18 15:18:25 2014', account: 'AutomatedTester', accountinfo: 'is logged in as', idle: '3516' }

whimboo commented 9 years ago

You may want to check that with your own nick. I think your one is not registered. So you may see the difference.

Beside that most of the requested feature of this issue is already part of your other PR. So once that landed lets see what's remaining to do here.

whimboo commented 9 years ago

This has been fixed with PR #26.