[05:28:15] is there some sort of global whitelist, that'd allow me to do stuff to wm-bot even if I don't have a WMF project cloak? [05:28:40] I'm eligible for one (https://meta.wikimedia.org/w/index.php?title=Special:CentralAuth&target=Dargasea) but I didn't request one. [16:21:15] Attempting to join ##chrissymad using wm-bot2 [16:21:15] @add ##chrissymad [19:22:11] Hello [19:22:22] What license is the source code under? [19:22:39] petan: ^' [19:23:26] I see no license in the repository: https://github.com/benapetr/wikimedia-bot [19:23:36] Or on the wikimedia page. [20:23:49] I am running http://meta.wikimedia.org/wiki/WM-Bot version wikimedia bot v. 2.8.0.0 [libirc v. 1.0.3] my source code is licensed under GPL and located at https://github.com/benapetr/wikimedia-bot I will be very happy if you fix my bugs or implement new features [20:23:49] @help [20:24:03] @maffblaster: ^^^ GPL [20:44:32] ShoeMaker: Thank you. [20:44:45] That should be placed in the repository. [20:44:59] I'll create a PR I guess. [20:45:03] Sooooo... submit a pull request? [20:45:43] I lagged xD [20:47:00] Matthew_: no you cant make me xD [20:47:23] o.O [20:48:26] I will. [20:49:25] maffblaster: that wont go very well but ok [20:50:24] Hm? [20:50:31] Why won't it go very well? [20:51:57] Matthew_: Im a very stubborn person [20:52:14] I'm very confused, sorry. [20:52:23] Matthew_: so am i [20:52:34] maffblaster: Go for your pull request if you'd like. If not, I'll do one later. :) [20:59:48] Matthew_: My name is Matthew as well. [20:59:59] Is GPL-2 okay? [21:00:02] NIce to meet you :) [21:00:20] I do a lot of maintaining on the Gentoo wiki. [21:00:26] I'm actually not sure, this is petan's territory. He's not often online though... [21:00:38] Write/edit lots and lots of linux related documenation. [21:00:48] let me look [21:00:49] We had a wikibot that would help us out [21:00:53] Very cool :) [21:01:13] However, the maintainer of this bot has disappeared, and just today the bot went off line. [21:01:23] So I'm looking for a helpful replacement for it. [21:01:24] That's disappointing. [21:01:31] Someone pointed me to this bot [21:01:41] But before using it I needed to confirm it was open source. [21:01:41] You are welcome to use wm-bot - let me double-check but I'm not sure if you even need to fork it. [21:01:42] :) [21:01:52] Fork it? [21:01:54] For the PR you mean? [21:01:59] No. [21:02:14] My brain was going down a rabit hole. [21:02:16] Hold on one sec. [21:02:32] idk [21:03:04] https://meta.wikimedia.org/wiki/Wm-bot - maffblaster This is our docs if you'd like. It includes most of the functionality of the bot. [21:06:31] Thanks. [21:07:15] Feel free to poke me if you need more help as well :) [21:10:45] https://github.com/benapetr/wikimedia-bot/pull/61 [21:11:11] Matthew_: PR created. [21:11:40] Thank you! Petan will be able to merge it, I'll poke him if it doesn't get merged in a timely fashion [21:13:23] * Zppix hands a metal fire poker to poke petan with [21:13:27] * Zppix to Matthew_ [21:13:38] Heh [21:14:33] Matthew_: if that doesnt work just accidently cause wm-bot to go haywire if that doesnt get his attention then idk [21:14:56] Also, he should create some tags for this project in git to reflect the version number. [21:15:16] Linux distribution package maintainers very much are fans of tags. [21:15:35] I am running http://meta.wikimedia.org/wiki/WM-Bot version wikimedia bot v. 2.8.0.0 [libirc v. 1.0.3] my source code is licensed under GPL and located at https://github.com/benapetr/wikimedia-bot I will be very happy if you fix my bugs or implement new features [21:15:35] @help [21:16:12] maffblaster: Yeah, I know. I honestly don't think the bot version has ticked in a while though. [21:16:51] Matthew_: Perhaps after merging the license PR he can also create a tag. [21:16:55] If everythign is working. [21:17:02] Maybe. [21:17:24] Right now I have rely upon an extra download module to fetch a git commit. [21:18:02] btw, is there progress on https://phabricator.wikimedia.org/T141088? [21:18:06] I'm trying to package it up for installation on on Gentoo. [21:18:07] maffblaster: Are you considering running a fork of the bot? [21:20:18] Matthew_: Well...not really. [21:20:30] Matthew_: I would try to hook it into the Gentoo wiki... [21:20:34] Then why are you packaging it? [21:20:39] I'm curious. [21:20:57] Because that's what needs to happen for best availablity for package managers? [21:21:23] Why are you submitting it to a package manager? [21:21:37] I dont' want to have to run a git clone everytime on a random git commit in order to get stable code... [21:21:50] Because, I would like to install it [21:21:55] So you are running a fork of the bot. Ok. [21:22:09] That's not what I would call 'forking' in the traditional sense of the word. [21:22:09] Because you are welcome to use our wm-bot instances on your channel. [21:22:33] I see. [21:23:00] Would you consider me running my own instance a "fork"? [21:23:17] I would concider managing the bot package within a package manager a fork. [21:23:28] Especially since you appear to be modifying it. [21:23:41] It doesn't get modified. [21:23:58] At least, we try to not modify any of the original source code. [21:24:16] do you use Linux? [21:24:26] I do. [21:24:30] Ok. [21:24:46] I'm just very confused as to what you're trying to do. [21:25:02] You can have the bot join your channels right now. @add is the command. [21:25:03] So most projects create release tarballs (or other compresed 'snapshots' of their source code). [21:25:10] This is necessary for several reasons. [21:25:26] For example [21:25:57] I am aware of how Linux does package management. Thank you. [21:26:03] I'm confused as to what you're trying to do. [21:26:42] What benefit are you trying to achieve by running your own clone of the bot? [21:27:39] It would (eventually) run on servers that we maintain. [21:27:52] And what benefit would that serve? [21:28:05] Independence. [21:28:10] Over using our own hosted bot? [21:28:17] well, yes. [21:28:26] Okay. [21:28:46] In general, it's kind of policy that we know what's going on with the backend. [21:28:58] Because the development of the bot is wmf-labs centric, we don't do "versions" in the traditional sense of the word. As such, we don't do tags. [21:29:03] Maybe I don't understand what the this bot is for [21:29:03] The bot itself relies on mono. [21:29:13] I thought it was for monitoring changes to mediawiki [21:29:21] It is for WMF projects. [21:29:29] And perhaps printing changes to chatrooms such as this one. [21:29:39] This is what our old bot did (I think the old one was written in ruby) [21:29:52] Yes. Hold on let me pull docs for that. [21:29:59] Sure [21:30:05] I am just considering options and found this one. [21:30:35] Because your mediawiki requires a specific module to read the recent changes feed. [21:30:42] So, another reason for creating tag/releases is to tell people what features/bugfixes are present in the package [21:30:52] It seems like the software itself is already versioned [21:30:57] 2.8.0.0 [21:31:04] But the versions are not associated to git. [21:31:07] I haven't seen that version change in a year and a half. [21:31:11] Okay [21:31:14] That is fine. [21:31:40] I can actually use a git hash in order to manually 'tag' a working version of the bot. [21:32:17] So you and I are syaing the same thing, just from a different angle. [21:32:21] it's just better more humans to associate real software versions to specific git commits [21:32:55] Again, this bot was never really designed to run in a package management system. [21:33:00] I coubt revisions are going to get tagged. [21:34:26] I'm getting mono right now on my server. [21:34:32] Okay. [21:34:37] I'm already parsing the source to see what other deps are required. [21:34:40] Probably not many more. [21:34:56] besides make and a posix compliant shell. [21:35:16] Looks like he hooked the Makefile to a few .sh scripts. [21:36:04] If you're doing recent changes, you need https://wikitech.wikimedia.org/wiki/RCStream. But that's all I know. [21:36:34] Ah, okay [21:36:53] So our old ruby powered bot would watch the recentchanges and then display them in our irc channel [21:37:04] Also would display things like new accounts created [21:37:12] It was a nice little notifier [21:37:24] So if this bot can do this, then that would be great. [21:37:42] Yep. I understand. It is nice. I'm not sure actually, petan knows. I don't, that's not an area I've dug into the code for (yet) [21:38:20] Matthew_: I really appreciate your assistance. [21:38:34] Sure. Sorry I can't help more... [21:47:57] Looks like there is also a git submoule present in this repository. [21:48:01] Not sure what it's for yet. [21:48:27] https://github.com/benapetr/psf [21:55:57] Ok [21:56:02] so, reading the docs now. [21:56:12] Permission denied [21:56:12] @add #gentoo-wiki [21:56:16] Hm. [21:57:22] You are unknown to me :) [21:57:22] @whoami [22:03:26] Matthew_: So...doesn't seem like it can be added to the channel that I want to add it to. [22:04:08] I don't know about this channel, you need to specify some I am in [22:04:08] @part #gentoo-wiki [22:04:29] Permission denied [22:04:29] @add #gentoo-wiki [22:05:02] Matthew_: Are you an operator? [22:05:04] You need permissions to add this bot to the channel. Hold on. [22:05:14] Attempting to join #gentoo-wiki using wm-bot2 [22:05:14] @add #gentoo-wiki [22:05:32] maffblaster: Now I need to give you permissions in that channel. [22:05:38] Okay. [22:05:52] Did someone else have permissions before me? [22:07:25] Nope. It just makes the person who ran @add admin by default. [22:07:57] I see. [22:08:03] But... [22:08:06] Now you have control in that channel. [22:08:09] it wasn't making me admin tho [22:08:19] Because I ran add :) [22:08:22] Oooooh [22:09:18] At first it was saying "permission denied" [22:09:25] Before you ran @add, I think. [22:09:33] I trust: .*@.*[Ww]iki.*\/.* (2operator), .*@freenode/.* (2admin), .*@wikipedia/fsf.member.Lixxx235 (2admin), .*@wikimedia-commons/JurgenNL (2admin), .*@countervandalism/.* (2operator), .*@miraheze/Reception123 (2operator), .*@tnb/staff/Luke081515 (2operator), [22:09:33] @trusted [22:10:02] Each channel runs its own acl. You weren't on this one, so you couldn't run @add. [22:10:28] Oh, I see. [22:10:49] Successfully parted channel: #gentoo-wiki [22:10:49] @part #gentoo-wiki [22:10:54] Permission denied [22:10:54] @add #gentoo-wiki [22:10:59] Hm. [22:11:08] Hold on. [22:11:32] I'd like to be able to add/remove the bot in the future [22:11:39] Successfully added .*!.*@gentoo/developer/maffblaster [22:11:39] @trustadd .*!.*@gentoo/developer/maffblaster trusted [22:11:43] Try now [22:11:44] In the event that I end up going with another bot at some point. [22:11:54] Permission denied [22:11:54] @add #gentoo-wiki [22:12:13] Nope. [22:12:15] I trust: .*@.*[Ww]iki.*\/.* (2operator), .*@freenode/.* (2admin), .*@wikipedia/fsf.member.Lixxx235 (2admin), .*@wikimedia-commons/JurgenNL (2admin), .*@countervandalism/.* (2operator), .*@miraheze/Reception123 (2operator), .*@tnb/staff/Luke081515 (2operator), .*!.*@gentoo/developer/maffblaster (2trusted), [22:12:15] @trusted [22:12:29] User was deleted from access list [22:12:29] @trustdel .*!.*@gentoo/developer/maffblaster [22:12:35] Successfully added .*!.*@gentoo/developer/maffblaster [22:12:35] @trustadd .*!.*@gentoo/developer/maffblaster operator [22:12:39] And now [22:12:41] ? [22:12:48] Attempting to join #gentoo-wiki using wm-bot2 [22:12:48] @add #gentoo-wiki [22:12:53] There we go. [22:13:05] Forgot my permissions, apologies xD [22:13:12] Taht's okay [22:17:07] Matthew_: now... [22:17:30] I need to set it up to watch the recentchanges from https://wiki.gentoo.org [22:20:03] And that's the part I'm not sure aobut. We use the RCStream for any wmf wiki. [22:39:02] Matthew_: it would need a backend change [22:39:11] it would need to be able to access gentoo's api [22:39:33] If so say so. I'm not farmiliar with the recent changes stream.