[00:10:39] (CR) Paladox: "re" [labs/tools] - https://gerrit.git.wmflabs.org/r/1 (owner: Paladox) [00:10:55] (CR) Paladox: Test [labs/tools] - https://gerrit.git.wmflabs.org/r/1 (owner: Paladox) [00:10:58] (CR) Paladox: [C: 2] Test [labs/tools] - https://gerrit.git.wmflabs.org/r/1 (owner: Paladox) [00:16:32] grrrit-wm: restart [00:16:35] re-connecting to gerrit [00:16:36] reconnected to gerrit [00:16:43] grrrit-wm-test: force-restart [00:16:45] Permission is denied. [00:16:50] heh lol [00:16:52] Permission is denied. [00:17:02] lol [00:17:04] Permission is denied. [00:17:06] [00:17:08] Permission is denied. [00:20:51] grrrit-wm: restart [00:20:53] re-connecting to gerrit [00:20:54] reconnected to gerrit [00:21:02] grrrit-wm: force-restart [00:21:14] grrrit-wm-test: force-restart [15:59:51] grrrit-wm-test: force-restart [16:00:02] grrrit-wm: force-restart [16:01:34] grrrit-wm-test: force-restart [16:01:36] re-connecting to gerrit and irc. [16:01:54] re-connected to gerrit [16:01:54] re-connected to irc [16:02:12] grrrit-wm: force-restart [16:02:25] Yipee it worked [16:08:27] grrrit-wm-test: restart [16:08:37] grrrit-wm-test: restart [16:08:49] grrrit-wm-test: restart [16:08:54] grrrit-wm-test: force-restart [16:08:56] re-connecting to gerrit [16:08:57] reconnected to gerrit [16:08:58] re-connecting to gerrit and irc. [16:09:13] re-connected to gerrit [16:09:13] re-connected to irc [16:09:43] grrrit-wm-test: restart [16:14:22] grrrit-wm-test: restart [16:14:48] grrrit-wm: restart [16:14:59] grrrit-wm-test: force-restart [16:15:00] re-connecting to gerrit [16:15:01] reconnected to gerrit [16:15:02] re-connecting to gerrit and irc. [16:20:01] grrrit-wm-test: restart [16:20:02] re-connecting to gerrit [16:20:03] reconnected to gerrit [16:20:18] grrrit-wm: restart [16:20:19] re-connecting to gerrit [16:20:20] reconnected to gerrit [16:20:30] grrrit-wm-test: force-restart [16:20:32] Permission is denied. [16:20:33] re-connecting to gerrit and irc. [16:22:40] grrrit-wm-test: restart [16:22:42] re-connecting to gerrit [16:22:43] reconnected to gerrit [16:23:03] grrrit-wm: restart [16:23:04] re-connecting to gerrit [16:23:05] reconnected to gerrit [16:23:20] grrrit-wm-test: force-restart [16:23:22] re-connecting to gerrit and irc. [16:23:39] re-connected to gerrit [16:23:39] re-connected to irc [16:23:57] grrrit-wm: force-restart [16:23:58] re-connecting to gerrit and irc. [16:24:14] re-connected to gerrit [16:24:14] re-connected to irc [17:17:21] grrrit-wm: restart [17:17:22] re-connecting to gerrit [17:17:23] reconnected to gerrit [17:17:26] grrrit-wm-test: restart [17:17:28] re-connecting to gerrit [17:19:08] grrrit-wm: restart [17:19:09] Permission is denied. [17:19:15] grrrit-wm-test: restart [17:19:17] Permission is denied. [17:19:23] mutante ^^ :) [17:19:31] grrrit-wm: [17:21:04] grrrit-wm-test: force-restart [17:21:06] Permission is denied. [17:21:07] grrrit-wm: nick [17:21:09] Permission is denied. [21:15:39] hey paladox [21:18:56] su [21:18:57] sup [21:19:04] Hi [21:19:14] nm [21:19:35] i might add a bot here soon :) [21:19:36] Zppix i got your permision denied working [21:19:40] Ok [21:19:41] :) [21:19:47] cool [21:20:22] now that way people know if the command was actually recieved :) [21:20:50] Yep [21:21:06] paladox type tmux in shell and run the command for test bot so its a perm instance [21:21:16] Oh [21:21:30] but wait [21:21:33] before you do [21:21:39] Ok, tmux dosent work [21:21:42] oh [21:21:45] tmux node src/relay.js [21:21:49] no [21:21:54] unknown command: node [21:22:00] forget it i forgot it will pose the same issue as NOM [21:22:02] NPM [21:22:07] oh [21:22:29] i take it you merged the perm denied to prod? [21:22:39] no [21:22:42] want me to? [21:22:44] I was told not to self merge [21:22:53] Um wait, let me upload my other changes [21:23:00] ok tell me what you need merged [21:23:13] Ok, will in a sec [21:23:14] ^ wtf is up with that [21:23:19] I found doing [21:23:22] node src/relay & [21:23:26] lets it run forever [21:23:32] and it shows you the pid too [21:23:41] so you type kill [21:23:55] ok [21:23:59] the new pid is [21:24:00] 28781 [21:28:04] Zppix https://gerrit.wikimedia.org/r/#/c/320457/ [21:28:18] https://gerrit.wikimedia.org/r/#/c/320419/ [21:28:22] am i merging those? [21:28:27] https://gerrit.wikimedia.org/r/#/c/320214/ [21:28:29] Yes please [21:28:43] you may run into merge conflicts, i will fix those if you do [21:29:17] cr +2 those 3 [21:30:33] I may have this https://gerrit.wikimedia.org/r/#/c/320294/ merged too, but need to test a little more [21:30:39] Thanks [21:30:40] let me know [21:30:42] ok [21:30:44] thanks [21:31:00] i may of killed jenkins cr ing all those that quick xD [21:31:20] No you carn't kill jenkins [21:31:30] You can cause jenkins to freeze [21:31:34] but that's unlikly [21:32:20] There was a -2 on https://gerrit.wikimedia.org/r/#/c/320214/ [21:32:59] i saw [21:33:02] 2 other ones merged [21:33:41] !log merged https://gerrit.wikimedia.org/r/#/c/320214/ & https://gerrit.wikimedia.org/r/#/c/320419/ [21:33:43] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [21:35:02] Yep thanks [21:35:29] i would deploy [21:35:32] if i were u [21:36:01] Ok [21:36:03] Deploying now [21:36:03] 5109 [21:59:26] !log deploying https://gerrit.wikimedia.org/r/#/c/320214/ & https://gerrit.wikimedia.org/r/#/c/320419/ and https://gerrit.wikimedia.org/r/320480 [21:59:46] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [22:33:42] 23854 [22:34:21] ? [22:38:58] what do you mean remove hardcoded irc cmds [22:39:20] Well currently i hard code it as grrrit-wm: [22:39:35] but also added support for using the current nick as the irc command [22:39:44] so i am removing the hard coded nick command [22:40:14] paladox what do i add to create new cmds outta curiosity [22:40:42] Zppix text.indexOf('grrrit-wm: nick') === 0 [22:40:46] for example ^^ [22:40:47] that [22:41:11] like what exactly would i put feel free to pastebin what i would add [22:44:37] Zppix this text.indexOf('grrrit-wm: nick') === 0 [22:44:43] ^^ that should add new irc commands [22:44:52] replace grrrit-wm: nick with the command you want [22:45:05] ok [22:51:05] * marktraceur waits [22:51:18] paladox are you starting it up or am i gonna have to? [22:52:53] ah shit its erroring out [22:53:08] Yep [22:53:10] i am [22:53:11] 9793 [22:53:33] there marktraceur [22:53:34] marktraceur ^^ [22:53:44] Zppix: What was the error? [22:53:48] grrrit-wm-test: restart [22:53:49] re-connecting to gerrit [22:53:50] reconnected to gerrit [22:53:59] it must of been me and paladox starting it at the same time or something [22:54:10] cause it appears to be fine [22:54:16] Zppix did you start it from ~/lolrrrit-wm [22:54:19] ? [22:54:27] no i did node gerrit/src/relay.js [22:54:35] Oh ok [22:54:41] what error did you get? [22:55:16] grrrit-wm-test: restart [22:55:18] Permission is denied. [22:55:27] OK, cool [22:55:38] grrrit-wm-test: force-restart [22:55:40] re-connecting to gerrit and irc. [22:55:49] https://gyazo.com/60484cbac10cabdbe352e4ff9a44afd4 [22:55:58] re-connected to gerrit [22:55:58] re-connected to irc [22:56:02] btw perm is denied was my idea :) [22:56:05] :) [22:56:33] do we need both reconnected msgs when force restart was issued>? [22:56:44] Zppix that's because you need to be in the gerrit folder to run it [22:56:50] No, that's pretty similar to the logging issue [22:56:51] doing gerrit/src/relay.js wont work [22:57:28] paladox this is why i perfer UI's i demand a special tools-lab interface just for me that is interfaces similar to windows xD [22:57:40] LOL [22:59:39] okay while im thinking about it paladox mutante and marktraceur what repos should prod grrrit-wm broadcast to this chan (because i think its stupid to have this chan but not even have it setup to have repo changes broadcasted) [22:59:54] Nah [22:59:59] really? [23:00:05] Zppix: This channel, as I understand it, is for testing, not for development chat [23:00:34] yes but after all it would be good to have prod bot in here to kinda be sure its not dying of bot-cancer [23:00:40] ? [23:01:04] * paladox is watching us election https://gyazo.com/60484cbac10cabdbe352e4ff9a44afd4 [23:01:06] woops [23:01:11] http://www.bbc.co.uk/news [23:01:11] Zppix: How would having the bot here be any different from having it in the 30-40 other channels it's already in? [23:01:16] paladox whoose in the lead rn :P [23:01:25] No one yet [23:01:30] Results from IN coming in now/soon as far as I know [23:01:34] marktraceur idk i just think it made more sence :P [23:01:37] one hour now [23:01:43] sense [23:01:47] ffs my brain [23:01:47] 5am uk time the winner will be annouced [23:02:04] Zppix: OK, not really a good reason to add another channel to the bot config IMO [23:02:14] if donald trump wins paladox i give you formal permission to shoot me until i cannot even live in afterlife [23:02:26] ack marktraceur [23:02:27] LOL [23:02:36] everyone in the uk does not want donal trump [23:02:42] im american... [23:02:46] i know some people in the uk that want donal trump [23:02:54] but there are americans [23:03:35] * paladox is american [23:03:45] paladox: Yeah but "everyone" in the UK also didn't want Brexit [23:03:46] donald trump has some valid points but the fact he wants to ban all illegal immigrants is stupid i understand wanting to do that to the ones dealing drugs but what about the ones that came here because of abuse, rape and stuff they dont deserve to be forced back to that [23:03:47] So that went well [23:03:53] LOL [23:03:59] * paladox did not want a brexit [23:04:23] Zppix well the uk wants to do that [23:05:04] Luckly we have scotland who will try and block brexit [23:05:49] According to bbc they say [23:05:51] "First results expected from 19:00 / midnight GMT. " [23:06:16] still i hate to tell you but if i was a immigration officer and was told to deport a woman or man who come here because of rape/abuse and etc i would tell my boss you'd have to shoot me first [23:06:44] But you would be fired [23:07:17] If you go accross the border to scotland you can tell the difference [23:14:17] Zppix also it is illegal here to have a gun [23:14:25] unless you go hunting [23:17:08] and have a permihttps://twitter.com/xor/status/796111731969826816?ref_src=twsrc%5Etfw [23:17:11] https://twitter.com/xor/status/796111731969826816?ref_src=twsrc%5Etfw [23:17:18] marktraceur Zppix ^^ [23:17:19] LOL [23:19:27] Uh k [23:20:59] !log deploying https://gerrit.wikimedia.org/r/320532 [23:21:01] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.lolrrit-wm/SAL [23:21:05] yep [23:22:31] marktraceur you think if i made another clone of antispammeta on tools you think i would get yelled at (i say this because its orginial clone is nowhere to be found and its maintainer dissapeared) [23:22:42] im not actually gonna do it im just curious [23:23:35] There are already too many bots in -helpers IMO [23:23:40] anyway shouldnt we make grrrit-wm announce to all the chans its in that it is restarting if restarted via cmd so people dont freak out and start pinging every dev on the universe [23:24:28] or make like an !addrestartnotification so certain users will get notified when restarted via cmd? [23:25:29] Oh well yes [23:25:34] I need to figure that part out [23:26:12] If the IRC connection is restarted it should just say that in the quit message. [23:28:30] If the SSH connection is restarted, it shouldn't mention it at all except where the command occurred, ideally the restart is seamless [23:28:46] Also, PM restart commands currently do nothing [23:28:55] let me see [23:29:11] works for me [23:29:20] I mean, they don't give you notifications [23:29:34] restart [23:29:51] honestly the commands more meant for chan chat use then pm [23:30:09] But both work [23:30:16] Except not for the notifications. [23:31:03] paladox is it possible to make it where it detecs if pm was sent causing the respectful command trigger and thus replying via pm [23:31:20] Well yes its possible to do a pm [23:33:51] 30 minutes left [23:33:55] until first results in [23:36:02] paladox is this correct [23:36:03] if ( [23:36:03] (text.indexOf('grrrit-wm: help') === 0 [23:36:03] ) [23:36:03] { ircClient.send('to','My current commands are: grrrit-wm: restart, grrrit-wm: force-restart, and grrrit-wm: nick') [23:36:03] } [23:37:05] no [23:37:05] if (text.indexOf(ircClient.nick + ': ' + 'help') === 0) { [23:37:25] Oh wait [23:37:35] yes but doing ^^ [23:37:41] if (text.indexOf(ircClient.nick + ': ' + 'help') === 0) { [23:38:01] so besides the if part its fine [23:38:23] Let me do a paste [23:41:06] https://phabricator.wikimedia.org/P4392 [23:44:20] Zppix ^^