[03:23:34] TimStarling: ping [03:30:06] TimStarling: http://scribunto.wmflabs.org/v8.php [11:15:25] * werdna waves [11:15:29] who's around? [11:22:19] werdna: we are [11:24:31] ohi [11:31:01] me [11:46:22] hey apergos [11:46:25] long time no speak [11:46:38] how are you doing? [11:54:42] not too bad [11:54:43] busy [11:54:46] working on notification things [11:54:52] which is a fun way to spend a friday night [12:04:06] hmm [12:04:11] it is your friday night now? [12:04:18] get off the keyboard!! [12:04:39] unless you're spending the days away from it in which case you're excused [12:22:44] apergos: you know how to set up udp2log [12:23:01] I have the binary but I have no idea how to configure it [12:23:13] I can make it listen on some port but how I specify output [12:23:25] Tim-away: if you were around you could help I guess [12:25:54] apergos: well, most days [12:26:02] petan|wk: it's friday night in australia [12:26:04] he probably has a life [12:26:33] werdna: what [12:26:37] he's in australia [12:26:43] I thought he's in greece [12:26:54] udp2log? I'd be looking at it from scratch just like you, sad to sa [12:26:54] y [12:27:09] tim is in australia [12:27:24] apergos: someone from operation who knows how does it work [12:27:37] I mean if it was broken, who would you ask [12:27:43] I wonder who's been working wiht it recently [12:27:51] khorn and Tim [12:27:56] maybe hashar [12:28:04] but I have no idea where is he [12:28:21] and Roan [12:29:17] you've looked at this: http://wikitech.wikimedia.org/view/Udp2log ? [12:29:21] no [12:29:29] here it says udp2log logs to an arbitrary number of destination files or pipes, specified in /etc/udp2log [12:29:41] yeah I would trry following the docs first [12:30:47] reading that I think I should not use it at all [12:30:53] :-D [12:31:01] it's probably designed to filter most of stuff away [12:31:20] you're not expected to capture everything [12:31:33] I was wondering why you keep all logs from every php run on production, now I see you probably drop most of it [12:32:07] on labs it would be more usefull if we catched all, since the traffic is not so creepy as on prod [12:32:20] we keep sampled logs = every 1000th request [12:32:24] I see [12:32:29] plus a variety of other things people want [12:34:08] apergos: can you have a look in /etc/udp2log to see what is in config files [12:34:13] source code is missing example [12:34:25] I have no idea how config file should look [12:34:59] if it's possible to change it to catch all logs maybe I could try it [12:35:36] if it doesn't contain secret bank accounts number like config of squid [12:36:57] which is for some reason kept hidden still, althought Roan personally removed all private stuff from it and approved weirdos like me to have a look in that, but Ryan still doesn't want to give it out :/ [12:37:48] check in the file [12:37:48] suppose squid config itself is nothing really secret, this udplog thing shouldn't be either [12:37:50] ./templates/udp2log/filters.locke.erb [12:37:58] in the puppet repo [12:37:58] ok [12:38:51] which branch [12:38:51] for stuff like this, it's nice to have alocal checkout of the production puppet repo you can grep -r on and see if anything looks suspicious [12:38:57] production [12:39:50] petanb@server:~/prod/blah/puppet$ ls templates/udp2log/ [12:39:50] emery-etc-locke-filters.erb locke-etc-squid.erb [12:40:15] is this the file? [12:40:27] I don't see that one you told me [12:40:33] that's production? that's not my copy of production [12:40:39] yes it's production branch [12:40:41] which was up to date as of yasterday [12:40:44] yesterday [12:40:46] hm let me check it [12:41:06] not test or labs or any of those. I don't even have those checked out so I know it can't be those [12:41:12] I only have production :-P [12:41:26] right it must have changed [12:41:35] I updated it now and it's different a bit [12:41:54] ok [12:42:14] anyways something in the templates udp2log folder that has locke and filters in the name [12:42:30] one template a day keeps the doctor away [12:42:45] because he is too busy trying to figure out parser functions [12:43:02] it looks like it send the logs to some python script [12:43:24] hm [12:43:28] too complicated [12:43:34] I will do it much simpler I guess [12:43:38] the ones that say "file" go to a file [12:43:45] the ones that say "pipe" go to some other process [12:43:52] ok [12:44:03] how is it defined if it's 1/100 etc [12:44:42] file 1000 /var/log/squid/sampled-1000.log [12:44:56] hm... [12:45:03] let me try it [12:45:08] seems pretty obvious eh? :-P :-D [12:45:20] I hope you have only a little bit of trafic [12:45:22] traffic [12:55:20] apergos: yes but it doesn't log anything, when I was sending random traffic to port it's listening on, it never writes to file [12:55:36] :/ [12:55:48] ^demon: did you add more debugging? [12:56:21] <^demon> I'll do that now. [12:56:33] what kind of traffic? [12:58:43] apergos: random strings [12:59:16] yes but how are you sending them? [12:59:24] nc -u [12:59:45] echo "this is a log" |netcat localhost -u 2000 [13:00:01] and I suppose you have udp2log listening on 2000? [13:00:07] * werdna hides from iro [13:00:13] oh he's not here [13:01:07] yes it is [13:01:30] if you put an nc receiver on 2000 does it see the traffic? [13:01:38] udp2log -p 2000 -f udp2log/udp2log.conf [13:03:39] yes [13:03:40] it works [13:03:48] when I use listener mode [13:03:53] but udp2log doesn't write it [13:04:03] maybe I could just use netcat instead XD [13:04:08] :-D :-D [13:04:11] it does pretty same job [13:04:48] what's the contents of udp2log/udp2log.conf ? [13:05:22] file 1 /data/project/sampled.log [13:05:37] there is a /data/project and it's writeable by you? [13:05:41] yes [13:05:44] it create a file [13:05:46] but it's empty [13:06:00] wonder if the writes are buffered [13:06:54] try sending it a HUP [13:07:04] this forces it to close and re-open everything [13:07:05] hm... [13:07:07] ok [13:07:30] I dunno if it will reopen with truncation and you will want to have moved the file to some other name first [13:07:31] maybe so [13:07:37] (like log rotation) [13:09:26] the open looks like it's open with append [13:09:40] http://svn.wikimedia.org/svnroot/mediawiki/trunk/udplog/udp2log/udp2log.cpp this is not going to be the latest I guess but close enugh [13:25:25] ^demon: about? [13:34:15] * werdna nudges ^demon  [13:41:45] <^demon> werdna: Heya, just stepped out to grab some breakfast. [13:46:28] ^demon: thank you for creating & importing the repos for the blog stuff; is it normal that I can't see them on https://gerrit.wikimedia.org/r/#admin,projects ? [13:46:43] <^demon> They're at the very bottom. [13:47:53] <^demon> Do you see them now? [13:48:44] ^demon: I can't see them. The last one I see is "test/mediawiki/extensions/examples", and I can't see any "next page" link. Am I missing something? [13:49:04] ^demon: I'm looking again [13:49:06] first things first [13:49:08] WASSUP [13:49:11] how's it going? [13:49:16] <^demon> guillom: Weirrddd. [13:49:31] <^demon> werdna: BUSY. Last day of classes for the semester is tuesday :) [13:49:37] last semester? [13:49:45] <^demon> One summer class, but yeah pretty much :D [13:50:01] sweeet [13:50:04] I have a while to go still [13:50:24] <^demon> Oh, do you see guillom's missing git repos on https://gerrit.wikimedia.org/r/#admin,projects ? [13:50:31] <^demon> They should be at the bottom. wikimedia/* [13:50:34] this semester, a full year overseas (Mostly cruisy gen-eds), and another year after that [13:50:55] which repos? [13:51:07] wikimedia/communications/* [13:51:09] ^demon: do you have exams coming up? [13:51:15] <^demon> Yeah, in a week and a half. [13:51:19] <^demon> Shouldn't be a big deal. [13:51:19] I don't see wikimedia/anything [13:51:25] <^demon> Hrmmmm. [13:51:29] <^demon> Does https://gerrit.wikimedia.org/r/gitweb?p=wikimedia/communications/WP-Victor.git;a=summary work for anyone? [13:51:37] HTTP ERROR: 404 [13:51:38] Problem accessing /r/gitweb. Reason: [13:51:38] Not Found [13:51:49] <^demon> Hmmmm. [13:52:17] <^demon> Ah, got it [13:52:20] andrew-macbook:Echo andrew$ ssh wmgerrit gerrit ls-projects | grep 'wikimedia/' [13:52:23] andrew-macbook:Echo andrew$ [13:52:40] which leads me nicely into my next point, can you set me up a repo for Echo? [13:52:47] <^demon> Try again :D [13:52:47] I'm going to make it an extension for the time being [13:53:10] yay [13:53:12] Thanks ^demon [13:53:24] <^demon> No problem. Turns out I need to give people permission to Read the repo :p [13:53:36] hah [13:53:41] <^demon> werdna: Do you have existing history you're wanting to import, or just start from commit 1? [13:54:20] ^demon: um, I have half a commit [13:54:26] that is the history so far of the project :p [13:54:32] <^demon> git half-commit? [13:54:33] <^demon> :p [13:54:42] I was thinking I could set up gerrit as a remote and push over that commit when I'm ready [13:54:53] but maybe GIT DOES NOT WORK THAT WAY [13:54:54] I dunno [13:54:58] <^demon> We'd have to allow direct pushing :) [13:55:05] <^demon> Cuz gerrit doesn't allow it by default. [13:55:10] well, I'm sort of in the right place [13:55:14] so I can just commit and send it to you? [13:55:28] <^demon> Orrrr, before you make that first commit, you could just clone the repo and then make the commit. [13:56:00] oh yeah [13:56:01] <^demon> That'd be easier since there's no real history here yet. [13:56:02] that also works [13:56:08] ^demon: I have a commit to make and have deployed by Ops "soon". Can I still push to github, and somehow then propagate the change to our git repo? (because the production server is configured to 'svn up' from there and isn't configured for git yet) [13:56:09] I just committed [13:56:10] grr [13:56:12] <^demon> Less work for me at least ;-) [13:56:16] is there a git uncommit? [13:56:35] <^demon> guillom: No, you'd have to push it to github and then push to gerrit. [13:56:47] ^demon: ok, works too; thanks. [13:56:48] <^demon> `git reset --hard HEAD~1` [13:58:02] <^demon> Extension is called "Echo?" [13:58:52] yep [13:59:15] ^demon: it's the root commit, I can't reset to HEAD^ [13:59:45] <^demon> Grrr :( [14:00:00] I can just mv it away [14:00:03] and cp the files in [14:00:32] <^demon> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fextensions%2FEcho.git;a=shortlog;h=HEAD [14:00:37] <^demon> You can clone now. [14:01:23] <^demon> Ok, I'm going to eat my breakfast before it gets cold :) [14:01:25] <^demon> Back in a bit [14:02:12] have fun [15:56:07] werdna: ping [15:56:36] werdna: do you have any architectural docs that you could share regarding https://gerrit.wikimedia.org/r/#change,5972 [15:58:42] http://www.mediawiki.org/wiki/Echo_%28Notifications%29 [15:59:16] werdna: thanks [15:59:55] * werdna is going to bed now though [16:00:05] werdna: have a nice night [17:40:04] ^demon: do we have a labs instance of Gerrit 2.3 [17:40:17] <^demon> Yes, gerrit-dev.wmflabs.org is running 2.3 [17:40:58] <^demon> Ignore the funny colors. I was testing something :) [17:42:22] Ryan_Lane: would you have time to work on a Gerrit 2.3 upgrade sometime next week? [17:45:27] <^demon> I could go ahead and write up something on wikitech for how to do it. [18:00:22] Are there any ArticleFeedbackv5 developers around? [18:02:17] kaldari: I may be able to answer some questions [18:04:53] I just installed ArticleFeedbackv5 and when I try to go to a feedback page, I just get the error "Article Feedback page not enabled for this article. " [18:05:45] Oh, right, there's a category setting somewhere [18:05:54] The feedback page is only enabled for articles in certain categories [18:06:01] See the config variables section in ArticleFeedbackv5.php [18:06:05] I have the article added to the category, and articlefeedback works on the article page [18:06:21] I know [18:06:22] but loading the feedback page doesn't work [18:06:34] But there's a separate config variable for what the feedback page is allowed to be loaded for [18:06:46] ok, I'll look through the config vars [18:07:47] !git [18:07:47] MediaWiki development is using git, a distributed source control manager, starting on March 21st, 2012; details: https://www.mediawiki.org/wiki/Git_happens Instructions for using it: https://www.mediawiki.org/wiki/Git/Workflow To get an account: https://www.mediawiki.org/wiki/Project:Labsconsole_accounts [18:07:50] csteipp: --^^ [18:08:35] cool, found it [18:08:38] works now! [18:08:57] I'll add it to the configuration documentation on MediaWiki [18:30:23] <^demon> !unreviewedcode [18:30:24] All commits in Gerrit that haven't had a human review yet: https://gerrit.wikimedia.org/r/#q,is:open+project:mediawiki/core+-CodeReview%252B2+-CodeReview%252B1+-CodeReview-1+-CodeReview-2,n,z [19:58:06] Will Sumana be online today? [19:59:10] <^demon> She was on earlier. [20:13:08] ^demon: where is the request page for new extensions in Git? [20:13:26] <^demon> http://www.mediawiki.org/wiki/Git/New_repositories [20:14:21] <^demon> I need to come up with a special page to automate this request process. This wikipage isn't scaling :( [20:14:45] ^demon: when is the next "new repo" creation date? [20:15:15] <^demon> For things that have existing history or brand new repos? [20:15:20] brand new [20:15:35] <^demon> Let me do all the "brand new" ones right now. It won't take more than a few minutes. [20:15:41] :-D [20:15:44] <^demon> I'm just tired of copying history from A -> B :) [20:17:06] By the way, if I have a local repo, would it be possible to gerritize it later? [20:17:35] <^demon> If it's got existing history, we need to start by pushing that in. [20:17:39] <^demon> Trying to do it later is a PITA. [20:25:54] Does anyone know what the purpose of SpecialPage::msg() is? It's a wrapper around wfMessage that sets the current context. Why would that be necessary? [20:28:53] I guess it's if your message needs to change based on the page, like if it includes the page title or something [20:29:43] <^demon> The context also contains the current user. [20:29:48] <^demon> So you can get proper l10n. [20:35:43] <^demon> pgehres: Created your DebianISO thingie. `git clone ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DebianISOCodes.git` [20:35:54] sweet, thanks [20:36:03] i shall push the code for review [20:42:38] ^demon: in what situation would you not get proper l10n from just using wfMessage? [20:43:13] <^demon> I don't know, really. I was just guessing. [20:43:30] hmm [20:43:37] <^demon> I never paid attention to the wfMessage rewrite or most of the context stuff. [20:46:57] ^demon: what do I need to do to set it up ? [20:47:11] <^demon> To set what up? [20:47:22] sorry, the repo in gerrit [20:47:52] I see $this->msg() all over the place in extensions, but I've never used it. And if I change any of them to just wfMessage they seem to work just as well. There must be some reason behind it though. [20:47:53] seems like it needs some remote branches, maybe? [20:49:48] <^demon> pgehres: What branches? There's a master already with a single empty commit. [20:50:40] ^demon: orly? i do not see that branch in gerrit and git is telling me that it doesn't know about master [20:51:13] <^demon> Ugh, lemme double check [20:51:16] kaldari: Oh that's requestcontext stuff [20:51:47] kaldari: You know how instead of $wgOut you can now use $this->getOutput() etc. ? Reduced reliance on the global namespace [20:51:56] yeah [20:52:20] Well that, but for the message function [20:52:25] ah, OK [20:52:40] RoanKattouw: do you know anything about RequestContext? [20:52:52] A few things but not very much [20:52:53] <^demon> pgehres: http://p.defau.lt/?X5_LcWsI4F3p4a4Kdk_dwA worksforme. [20:53:15] i will rm -rf and try again [20:54:03] sumanah, about? [20:54:10] i'm guessing no. [20:54:15] so in theory we should be using $this->msg() in all special pages rather than wfMessage and eventually one day wfMessage will no longer be global [20:54:26] wtfMessage [20:54:34] kaldari: Yes [20:54:49] <^demon> jorm: She left for lunch ~4 hours ago, I haven't seen her since. [20:55:07] Weird feeling I have every half a year [20:55:18] Thanks for explaining that. I'll add some notes to http://www.mediawiki.org/wiki/WfMessage [20:55:20] I know that I should not update Ubuntu on the first day of release [20:55:36] And every year I cannot resist to do that [20:55:59] ^demon: strange, I get "warning: remote HEAD refers to nonexistent ref, unable to checkout." with the same command [20:56:11] I think this is the first time in years that I was not at a conference when the new Ubuntu release came out [20:56:38] <^demon> RoanKattouw: Check my p.defau.lt above, can you clone that repo? [20:57:29] Trying [20:57:42] ^demon: Do we not need :29418 any more? [20:58:17] <^demon> You do if you haven't added it to your .ssh/config :p [20:58:20] When we have nothing left in the global space are we going to throw a party? [20:58:30] Right [20:58:33] sweet [20:58:42] pgehres: Did you have :29418 (the port) in your clone URL? [20:58:52] i.e. git clone ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DebianISOCodes.git [20:58:55] That command worked for me [20:58:59] I have it in my .ssh/config, but will try that as well [20:59:28] same issue [20:59:52] wtf [20:59:54] It works for me [21:00:14] i must be special in that not so good way somehow [21:00:32] csteipp: http://www.mediawiki.org/wiki/OAuth/User_stories <- started...this is the format I'm envisioning [21:01:58] * robla will disappear into a meeting soon [21:10:43] RoanKattouw, ^demon: K4-713 gets the same error I do [21:11:12] <^demon> Ahhhh, found it. [21:11:16] <^demon> I set the wrong parent. [21:11:22] <^demon> You don't have READ permissions as a result. [21:11:28] lol [21:11:34] That seems like it would do it. ;) [21:11:52] Oh of course [21:11:57] And ^demon and I are both administrators [21:12:16] yeah, I thougt it might eb something like that [21:12:19] :-p [21:12:29] <^demon> Fixed. [21:12:48] Hey, that looks better. [21:13:40] me too, thanks ^demon [21:13:54] <^demon> Thanks for noticing :) [21:14:01] <^demon> I had to fix it on 2 other new repos too ;-) [21:14:35] say... ^demon, RoanKattouw: While you're both here... [21:14:59] * pgehres is not part of this [21:15:04] * ^demon tries to hide, it's after 5 on a friday :p [21:15:35] Can somebody set me up with... some project or branch somewhere I can keep track of the version of MW core we use on payments? [21:15:36] ^demon: start a tab, fundraising owes you a couple next time you are in SF [21:15:54] *coupld of drinks, that is [21:15:58] Or, just think vaguely about it for a second and... go have a weekend. :) [21:16:15] K4-713: Maybe a submodule is what you need? [21:16:28] Or maybe you want a branch in the core repo? [21:16:32] <^demon> No, prolly a branch of core. [21:18:47] Branch of core totally works for me, if it works for you guys. [21:19:13] I may have to do some... strange things to it in the name of PCI compliance. [21:19:29] <^demon> Well, Roan knows how branching works so I think I'm going to sneak away before something else explodes. [21:19:35] <^demon> Have a good weekend everyone :) [21:19:38] you too [21:19:49] 'bye! And thanks, ^demon. Have a good one.