[03:19:32] hmmm [03:19:41] * johnduhart pokes wm-blah [03:21:15] seems it is not wm-bots series [03:21:17] :p [03:21:28] they're not in the labs! ;p [03:30:33] !hello is hello world [03:30:33] Key was added [03:30:37] !hello del [03:30:38] Successfully removed hello [03:31:28] 12:02:55 !largeuploads is https://commons.wikimedia.org/wiki/Help:Server-side_upload 12:02:55 Unable to modify db, access denied, link to database isn't valid [03:31:41] #wikimedia-tech [03:31:49] petan: ^ any idea? :p [06:50:37] DEBUG Exception in module Labs: Error getting response stream (ReadDone2): ReceiveFailure last input was wmtbot-7 chan: #wmt-newpages 13hu.wiktionary.org : 中文 created 10Vita:化粧品14 - 14japán 6(+318) - 2http://hu.wiktionary.org/w/index.php?oldid=1645744&rcid=1652493 [06:50:37] DEBUG Exception in module Labs: Error getting response stream (ReadDone2): ReceiveFailure last input was Revi chan: #wm-bot they're not in the labs! ;p [19:53:04] [02wikimedia-bot] 07benapetr pushed 0317 commits to 03master [+295/-402/±60] 13http://git.io/o_nO0Q [19:53:05] [02wikimedia-bot] 07johnduhart 03c12cac8 - Adding a much more complete gitignore [19:53:06] [02wikimedia-bot] 07johnduhart 03d072c0b - Removing logs directory as there is no useful code here. [19:53:07] [02wikimedia-bot] 07johnduhart 0360b7ecc - Moving WMIB project to a subfolder [19:53:08] [02wikimedia-bot] ... and 14 more commits. [19:55:21] [02wikimedia-bot] 07benapetr pushed 031 commit to 03master [+1/-1/±0] 13http://git.io/FZTq6w [19:55:22] [02wikimedia-bot] 07benapetr 03916305a - moved readme of bouncer to new folder [19:59:20] johnduhart: I need plugins to be split into many separate dll files so that I can choose these that I want to load, is that possible within 1 project? [20:20:51] johnduhart: I will create a solution that contains each module as a separate project [20:21:02] so that it will still need just 1 xbuild [20:53:15] petan: No don't do that [20:53:24] :o [20:53:25] why? [20:53:26] That's just a huge headache to managed [20:53:52] but I really need to have multiple dll files, it makes it more simple to operate [20:54:03] Can't you add a configuration file for the modules? [20:54:04] because when I patch 1 module I need to replace just 1 binary [20:54:19] But you still have to reboot everything anyway? [20:54:24] this way I would need to restart all modules or whole bot [20:54:25] no [20:54:29] I just reload 1 module [20:54:54] there are these system-rm system-lm commands [20:55:05] Hold on. [20:55:08] remove-module load-module [20:55:16] but I already made that solution :o [20:55:44] I don't really think it's going to be hard to manage it seems fine so far [20:55:55] I will push so that you can see [20:56:13] Push it in a branch for now [20:56:17] [02wikimedia-bot] 07benapetr pushed 031 commit to 03multiple [+53/-18/±4] 13http://git.io/sJRwVg [20:56:18] [02wikimedia-bot] 07benapetr 03e76a3b6 - moved all plugins to separate projects [20:56:22] ^ [20:56:53] it doesn't work so far because this "modules" solution is not a part of "wmbot" solution in root folder [20:57:01] but I was going to fix that [20:57:09] I also need to update ./easydeploy script [20:57:14] You can't add a solution to a solution [20:57:35] hmm... that isn't really a problem, I am using that shell script for deployments [20:57:43] that can just switch folder and run xbuild again [20:57:50] Again how are you hot-reloading modules? [20:58:05] @seen test [20:58:05] petan: Last time I saw test they were changing the nickname to , but is no longer in channel #wikipedia-zh at 3/29/2014 1:10:42 PM (15d7h47m23s ago) [20:58:14] @system-rm Seen [20:58:19] meh [20:58:21] hold on [20:58:54] this is meant to work :o [20:59:00] anyway, it's in Commands/Admin.cs [20:59:25] @whoami [20:59:25] You are unknown to me :) [20:59:30] aha that's why [20:59:47] @system-rm Seen [20:59:48] This module is not currently loaded in core [21:00:00] @system-rm SEEN [21:00:00] Unloaded module SEEN [21:00:03] @seen test [21:00:07] you see? it's gone [21:00:32] @system-lm seen.bin [21:00:32] Loaded module modules/seen.bin [21:00:36] @seen test [21:00:36] petan: Last time I saw test they were changing the nickname to , but is no longer in channel #wikipedia-zh at 3/29/2014 1:10:42 PM (15d7h49m54s ago) [21:00:48] Yes. petan. That unloads it from an array. [21:00:55] It's doesn't unload it from the CLR. [21:01:05] yes I know, I would need app domain for that [21:01:11] which complicates things... [21:01:23] So multiple DLLs solve nothing. [21:01:33] anyway, sometimes I need some modules to be loaded and some other not, like this bota [21:01:40] it's used just for @replag (rl module) [21:01:42] @replag [21:01:42] Replication lag is approximately 00:00:00.2363530 [21:01:49] it doesn't use any other modules [21:02:01] That's fine! So we need to make it so module loading is configurable. [21:02:04] and wm-bot can't have rl module loaded because it wouldn't work on that server where it is anyway [21:02:10] mhm [21:02:17] Which means you can have one exe and plugin and several plugins. [21:02:35] I don't really have a problem with that... but I still think that having .dll per module is better design, I think everybody does it or not? [21:03:24] petan: Having 17 projects with one class in them is a administrative pain. [21:03:47] well, it's not like they were changed frequently :P [21:04:09] maybe some modules could be in a bundle... [21:06:18] petan: Again this is just the tip of the iceberg for what I'm planning on doing refactoring wise. Having 17 separate projects hurts my ability to refactor for not much gain. If we add a configuration ability for module loading this problem would be solved. [21:06:56] hmm, anyway it needs to be either way, right now it's not deployable because RL module can't be loaded in regular wm-bot and there is no "configuration" implemented [21:07:27] so either split to projects or implement configuration, one of that needs to be done :P [21:08:21] there is a lot of stuff that should be done [21:08:39] petan: Why did you merge the PR if there was an issue? I could of taken this feedback before merge [21:09:35] I don't need to deploy anything anyway, so it's not much of a problem... I considered this to be a minor issue that can be easily fixed by splitting it [21:09:43] I'm going to work on some sort of configuration for startup modules [21:11:32] ok, I think there could be just a list of module names in configuration file and LoadMod would just check if module name is contained in that list before load, and if it's not, it would just skip it [21:12:02] Okay, I can do that. [21:12:24] you have access to wm-bot instance on labs? [21:12:33] there is beta instance running that is used to test stuff to [21:12:34] Nope. [21:14:11] ok you have now [21:14:16] you can just ssh to wm-bot [21:14:21] there is folder /mnt/share/beta [21:14:33] in configuration/wmib.conf you can see the configuration file [21:15:15] there could be maybe something like modules_enabled=a,b,c; but I don't really care [21:15:21] there is this ./easydeploy.sh script [21:15:40] it is meant to automatically rebuild the bot from master branch, stop the current instance (not bouncer just core) [21:15:50] update all binaries and lists and restart the bot [21:16:19] typically you just run sudo ./easydeploy and that will just deploy latest HEAD [21:16:36] ./easydepl.sh [21:17:46] so once you update everything it's needed to replace all current .bin files in easydepl.sh with that one big .dll file and place it somewhere bot find it and load it [21:19:23] also there is this nice telnet tool :) [21:19:32] you can just run telnet localhost 2020 [21:19:43] you will find password in configuration/admins [21:40:02] Alright, cool I'm finally in after configuring labs with my keys [21:40:53] DEBUG Exception: Read failure last input was wmtbot-5 chan: #wmt-fr-copyvio 4 => http://www.google.com/search?hl=fr&q=%22+%7C+image+++++++%22 [21:44:16] johnduhart: you can run "sudo botstats" [21:44:24] that display some interesting stuff [21:44:31] DEBUG Exception: Write failure last input was RyuBot-sw5 chan: #cvn-sw 03IP14 [[gl:User:95.123.63.22]] 03edited14 [[gl:Marc Martínez Aranda]] (+1)14 10Diff:12 https://gl.wikipedia.org/w/index.php?diff=3239556&oldid=323645514 "" [21:44:37] DEBUG Exception: Write failure last input was wmtbot-7 chan: #wmt-newpages 13ru.wiktionary.org : Al Silonov created 10okcent14 - 14Новая страница: «{{subst:NEW|lang=eo|cat=Числа|сущ=|гл=|прил=|этим=|син=|ант=|гипер=|trans=|тип=числ|индекс=|слоги={{по-слога…» 6(+1122) - 2http://ru.wiktionary.org/w/index.php?oldid=4010638&rcid=4022293 [21:44:44] DEBUG Exception: Write failure last input was CVNBot14 chan: #cvn-commons 03IP14 [[commons:User:84.122.197.221]] 03edited14 [[commons:Image:Bos javanicus.png]] (+39)14 10Diff:12 http://commons.wikimedia.org/?diff=121317865&oldid=68144428&rcid=12283447314 "" [21:44:53] DEBUG Exception: Write failure last input was wmtbot-7 chan: #wmt-newpages 13ckb.wikipedia.org : Calak created 10ویکیپیدیا:پەلامار14 - 14ڕەوانە کرا بۆ [[ویکیپیدیا:پەلاماری کەسی قەدەغەیە]] 6(+75) - 2http://ckb.wikipedia.org/w/index.php?oldid=403694&rcid=797678 [21:45:09] DEBUG Exception: Write failure last input was wmtbot-7 chan: #wmt-newpages 13hu.wiktionary.org : 中文 created 10颐和园14 - 14kínai 6(+175) - 2http://hu.wiktionary.org/w/index.php?oldid=1650784&rcid=1657534 [21:45:12] DEBUG Exception: Write failure last input was Aldnonymous chan: #wmt they use even more advanced cracking than this [21:45:19] DEBUG Exception: Write failure last input was wmtbot-7 chan: #wmt-newpages 13hu.wiktionary.org : 中文 created 10Vita:颐和园14 - 14kínai 6(+327) - 2http://hu.wiktionary.org/w/index.php?oldid=1650785&rcid=1657535 [21:45:22] DEBUG Exception: Write failure last input was wmtbot-11 chan: #wmt-ru 13ru.wiktionary.org : Al Silonov edited 10һәштса - 15Новая страница: «{{subst:NEW|lang=tly|cat=Числа|сущ=|гл=|прил=|этим=|син=|ант=|гипер=|trans=|тип=числ|индекс=|слоги={{по-слог…» - 2http://ru.wiktionary.org/w/index.php?oldid=4010646&rcid=4022301 [21:45:50] meh dammit [21:45:54] that was probably me :o [21:47:09] @channellist [21:47:10] I am in 201 channels in this moment [21:47:24] ok I go sleep, have fun [21:47:31] thanks [21:47:34] /mnt/share/beta can be safely broken [21:47:40] that's wm-beta [21:47:44] understood! [21:47:56] :) [21:57:40] %channellist [21:57:40] I am in 1 channels in this moment [22:46:29] ah, crap. I just realized the loader expects one plugin per DLL. gotta fix that too