[07:07:21] I have an error that is blocking all dump runs: [07:07:22] Fatal error: Call to a member function getText() on a non-object in /a/usr/local/apache/common-local/php-1.21wmf8/extensions/MobileFrontend/includes/MobileContext.php on line 273 [07:12:25] it's unclear to me if that's the only MW error but it's certainly the first one reported. [07:41:00] New patchset: Jeroen De Dauw; "Add Ask and ParserHooks" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/48794 [08:17:03] morning [08:38:16] hey hashar [08:38:24] ori-l: howdy ? :-] [08:38:39] ori-l: I need to talk with you while I am in SF :-] [08:38:55] about random projects / interests we might have in common [08:38:56] you'll be jetlagged, so we'll be keeping the same hours [08:39:03] i think it'll work :) [08:39:59] when are you coming? i vaguely remember there being some platform/ops pow-wow in the works [08:40:09] well I usually wake up at 3am, 4:30am, 6:00am 7:30am [08:40:28] then show up at office at like 8:30am . By 3pm I am no more operational :-] [08:40:44] I am coming from Feb 25th till March8th [08:40:47] (2 weeks) [08:41:07] cool! yeah, i'll be around [09:16:49] !zuul-config [09:17:10] !github [09:42:20] ori-l, MaxSem hashar - please vote me for +2 core :) http://www.mediawiki.org/wiki/Git/Gerrit_project_ownership#Yurik_for_Core_.2B2 ... off to bed now [09:44:23] yurik, done [09:46:06] MaxSem: thx! [09:47:01] MaxSem: you wouldn't mind if i change it to the template (+) with your comment? [09:47:16] I hate templates [09:47:24] :P [09:47:55] makes it much more visual though [09:51:54] New patchset: Hashar; "regroup mediawiki-core-jslint jobs definition" [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/48809 [09:53:02] New review: Hashar; "Patch Set 1: Verified+2 Code-Review+2" [integration/zuul-config] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/48809 [09:53:02] Change merged: Hashar; [integration/zuul-config] (master) - https://gerrit.wikimedia.org/r/48809 [11:31:13] aude: can you clarify this? https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Wikibase-error-constraint-violation-aliases/en_%283%29 [11:36:31] Nemo_bis: can take a look later [11:36:39] thanks for poking me [11:40:42] oki [14:37:41] Nikerabbit: I am grateful for http://laxstrom.name/blag/2013/02/11/fosdem-talk-reflections-23-docs-code-and-community-health-stability/ and am looking forward to the next installment [15:10:09] <^demon> qchris: I saw your changes for renaming :) [15:27:21] ^demon: The comments were mostly just nitpicking [15:27:32] So I guess we'll get that in sooner or later :-) [15:27:59] But the search problems are harder :-( The more I read there, the more way I find that search is broken. [15:28:13] Maybe we could define what kind of searches we allow and which we do not? [15:28:49] E.g.: [15:28:52] status:new OR status:draft OR status:submitted [15:28:54] ^works [15:29:01] status:new OR status:draft OR status:submitted OR status:submitted [15:29:04] ^does not work [15:29:18] -status:merged <-- does not work [15:29:38] status:open AND status:open <-- does not work [15:29:42] and so on :-((( [15:31:11] <^demon> Yeah, it's kind of known that it's limited. [15:31:31] <^demon> It's assumed lucene would probably make this all way nicer, but nobody's ever finished that work. [15:31:52] Yeah! Lucene [15:32:07] <^demon> Shawn and I both attempted, but it's a huge project to do right. [15:32:17] Just tell me to try it and I'll go for it :-) [15:32:48] But I guess there are more pressing things at hand. [15:33:01] <^demon> Yeah, let's stick to the other stuff we've committed to. [15:59:59] I am out see you later [16:00:08] tah [16:00:12] meh [16:50:00] sumanah: should be coming out tomorrow [16:50:22] Rock! [17:05:18] hey sumanah [17:14:01] Hi Platonides [17:14:21] Platonides: can you talk with me in about 80 min? [17:18:32] I had planned to be away at that time :s [17:18:36] I depend on someone else but... [17:19:00] what about an hour later? [17:19:05] I could cancel it if needed, though [17:22:05] An hour later is fine [17:22:14] sorry for the mixup Platonides [17:24:44] seems you're very busy, don't worry :) [18:59:24] hey there Platonides [19:02:12] I'll be around :-) see you in approx 30 min [19:09:11] New review: Krinkle; "Patch Set 6:" [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/44836 [19:09:43] ^demon: Hm.. looks like the irc comment thing is confused. It used to show the (shortened version of) the first comment line [19:09:59] for some reason it now thinks the path set prefix is part of it, so it doens't really show anything of the actual comment. [19:14:51] not sure how much of gerrit-wm is our own, filed locally for now: https://bugzilla.wikimedia.org/show_bug.cgi?id=44961 [19:19:47] <^demon> I feel like a broken record. [19:19:53] <^demon> Yes, we need to fix the hooks. [19:20:01] <^demon> The irc bot is all us, unfortunately. [19:40:08] hashar: Hey there [19:40:15] I'm back in the Netherlands. [19:42:35] AaronSchulz: I see 19:21 logmsgbot: aaron synchronized php-1.21wmf9/maintenance/runJobs.php 'deployed b03384f0ebd95e7f79638fb14ccd55da9c186d97' 9 minutes before https://gerrit.wikimedia.org/r/#/c/48853/ is merged. Is there a clock off somewhere? [19:43:05] AaronSchulz: btw, thanks for the quick help. [19:43:23] hashar: So things are piling up, I could self-merge but I really don't like that. 1) jshint-checkstyle 2) doc generation. [19:43:26] code and git log looks fine [19:43:31] Can we get that done this week? [19:43:35] must just be weird timing [19:43:43] Afaik all code is ready and has been tested by both of us. [19:43:50] siebrand: thanks for those extension bugs [19:44:07] AaronSchulz: I didn't check everything there is. Just what I've got checked out locally. [19:44:17] all the core jobs were fine but it looks like extensions were just returning whatever they felt like in many cases [19:44:22] Krinkle: hi :-] well check style could use the upstream patch :D [19:44:24] odd, since the return value isn't really a new thing [19:44:24] AaronSchulz: That should cover all that is deployed on Wikimedia and then some. [19:44:27] I just started using it [19:44:33] sumanah, pong [19:44:34] hashar: Do you work from the Gerrit dashboard or should I notify you else where? I am sort of assuming that adding your name is enough, and expect that you look at the the dashboad (and or mail notifications) regularly [19:44:37] Krinkle: doc generation, it is bugged for now, pending a patch in Zuul [19:44:55] Can someone check the system time on wikitech wiki? [19:44:56] hashar: Right, we don't need the local merge. I'll update to remote instead. [19:45:04] I think it may be off by many minutes. [19:45:12] hey Platonides [19:45:14] will pm [19:45:17] ok [19:45:30] !log test for timestamp. [19:46:12] Hmm, wikitech is on time. [19:46:39] As is gerrit. [19:46:57] AaronSchulz: Did you deploy that TranslationNotification change outside of Gerrit? [19:47:15] no [19:48:02] AaronSchulz: That's weird then. I'll check again... [19:48:28] AaronSchulz: I see https://gerrit.wikimedia.org/r/#/c/48853/ merged at 18:30 UTC. [19:48:54] fenari and the servers have the right code [19:48:57] AaronSchulz: https://wikitech.wikimedia.org/index.php?title=Server_admin_log&oldid=56406 is 18:21 UTC, right? [19:49:03] (well the servers I checked) [19:49:51] I'm in the stupidest time zone there is at the moment, UTC+5:30. [19:50:01] So calculating time is a drag. [20:05:57] siebrand: there are a few timezones with an offset of 45 minutes [20:06:18] hashar: that sounds even worse :( [20:06:34] hashar: really? I'm totally setting up a server there... [20:06:36] such as Nepal which is UTC+05:45 , some part of australia is UTC+08:45 [20:06:47] and the some islands in the Pacific are UTC+14:00 :-] [20:06:52] http://en.wikipedia.org/wiki/UTC%2B14:00 [20:07:20] they could probably be UTC-10, I guess they get UTC+14 to be one day ahead [20:08:06] ahh that is because the country overlap the changing date line [20:08:19] that wikipedia website is awesome [20:08:52] csteipp: there is an argument to use atomic time instead of UTC. [20:09:15] csteipp: since atomic time is not subject to leap seconds. That could prevent servers from hitting a leap second bug in their OS kernel [20:09:33] Yeah, but what would be the fun of that ;) [20:09:49] here is the timezone definition: https://gist.github.com/dolmen/3163703 [20:10:11] I got a nice explanation in french http://www.bortzmeyer.org/leap-second-or-not-leap-second.html [20:10:23] anyway the whole point is to get rid of leap seconds [20:10:32] % TZ=Etc/TAI date && date -u [20:10:33] Fri Jul 6 21:00:16 TAI 2012 [20:10:34] Fri Jul 6 20:59:41 UTC 2012 [20:12:54] hashar, csteipp - there was also some work by google to basically replace leap seconds with a smearing second [20:13:06] i.e. make the other seconds a bit longer on that day or hour or sth [20:13:17] http://googleblog.blogspot.de/2011/09/time-technology-and-leaping-seconds.html [20:14:46] fascinating.. I hadn't heard that one [20:34:05] New patchset: Krinkle; "Implement publisher.checkstyle" [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/44836 [20:34:05] New patchset: Krinkle; "Fixing Inject to not create empty tags" [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/48880 [20:34:05] New patchset: Krinkle; "publishers: added option to define groovy postbuild script" [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/48881 [20:35:40] Anyone around who knows much about database performance? The comment in the middle of this makes me think we can't add this feature with misermode, but maybe it's okay? https://gerrit.wikimedia.org/r/#/c/48661/3/includes/logging/LogPager.php [20:36:18] Change merged: Krinkle; [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/44836 [20:36:18] Change merged: Krinkle; [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/48881 [20:36:18] Change merged: Krinkle; [integration/jenkins-job-builder] (master) - https://gerrit.wikimedia.org/r/48880 [20:37:56] hashar: I've force-pushed gerrit/HEAD to the right hash, so that we have matching sha1 hashes again. We didn't have any overrides that weren't upstream already [20:38:15] Krinkle: of which repo ? :-D [20:38:21] hashar: jjb [20:38:52] * hashar update it [20:39:05] pushing them via git-review would have caused merge conflicts for no reason [20:39:19] hashar: Can you merge/deploy https://gerrit.wikimedia.org/r/#/c/43773/ after you've recompiled jjb? [20:39:23] * Krinkle also updating [20:39:41] Krinkle: nice to see your support for check style landed in [20:39:49] yep [20:40:05] that does not excuse the fact that the Violations plugin is severely bugged ahah [20:40:39] yeah [20:40:49] oh yeah that huge patch [20:40:55] Krinkle: got some minutes ahead to talk about it ? [20:41:10] sure [20:41:25] New review: Krinkle; "Patch Set 16:" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43773 [20:42:15] ahah [20:42:26] infinite recursion is fun [20:42:36] ? [20:43:09] reading your comment in https://gerrit.wikimedia.org/r/#/c/43773/16/macro.yaml,unified [20:44:01] so here is how I review the stuff [20:44:09] I fetch the jjb-config repo under ./config/ [20:44:26] I create an empty directory "output" [20:44:35] then do: [20:45:02] * Krinkle (re)wrote https://www.mediawiki.org/wiki/CI/JJB [20:45:13] jenkins-jobs test ./config/ -o ./output/ && cp -r output output-prev [20:45:15] I've done it once to test the Checkstyle thing in production [20:45:21] then I fetch the patchset under config [20:45:24] rerun jjjb [20:45:33] and do a diff of the two output dirs: diff -u -r output-prev output [20:45:46] I will make that a jenkins job wheneverI find out a way to deploy jjb on gallium [20:45:51] I have the same setup, except that I have jjb and jjb-config both in the same directory and use a symlink instead (so that I have them all in root ~/Development) [20:46:06] Krinkle: ho man, you have put shortcuts on mw.org NICE!!! [20:46:14] :) [20:46:38] Hey, can get an easy +2 https://gerrit.wikimedia.org/r/#/c/48070/ ? [20:47:02] Krinkle: I should probably have initiated a hangout to lead you in JJB arcane [20:47:36] csteipp: Is there consensus? A bug ticket? [20:48:06] Krinkle: I will review the CI/JJB article tomorrow [20:48:18] e.g. that this extension featuer has been throughouly reviewed for production deployment and that we want it deployed beyond test wiki (namely meta.wikimedia and medaiwikilorg) [20:48:42] Krinkle: Reviewed by Tim about 6 months ago [20:49:00] And the stewards have all been talked to about it [20:49:25] Well, the change doesn't mention, refer or proof any of that. [20:49:33] But someone else might feel lucky. [20:50:50] Krinkle: I had to split the lint and jshint tasks in two different jobs :/ https://gerrit.wikimedia.org/r/#/c/48422/ [20:51:13] Krinkle: the reason is jshint does not pass on REL1_19, so whenever the branch is REL1_19 I am not triggering the jshint job [20:54:32] New patchset: Hashar; "JSHint: run from bash and with checkstyle magic." [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43773 [20:55:07] hashar: The blocking bug for doc, is that this one? https://gerrit.wikimedia.org/r/#/c/44384/1/layout.yaml [20:55:10] New review: Hashar; "Patch Set 17:" [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43773 [20:55:16] I'm not sure I follow [20:55:32] are you saying there is no way to run a job after a merge completes? [20:55:36] Krinkle: na it is an issue in Zuul itself. I haven't started poking it at it. [20:55:48] post vs. postmerge, what's that about [20:56:08] Is there a bug report? [20:56:25] Krinkle: I got an issue with 'post' jobs not including a branch which is used by the Git Plugin as a branch specifier. I will either fix zuul or find a workaround :-) [20:56:53] Krinkle: anyway regarding your change https://gerrit.wikimedia.org/r/#/c/43773/17/macro.yaml,unified [20:57:06] Krinkle: any reason to have a jshint-in macro that takes a dir as a parameter ? [20:57:18] Krinkle: could probably be named "jshint" and have the shell part cd "$WORKSPACE" [20:57:30] Krinkle: the change itself is fine though, just wondering [20:57:30] hashar: tell me you didn't rebase and make changes at the same time again [20:57:38] again ? [20:57:39] wtf? [20:57:41] :D [20:57:44] :/ [20:57:54] I just rebased it [20:57:57] But I got a cli trick now, thanks to roan [20:57:58] Hm.. [20:58:08] Wait, it *is* a rebase. [20:58:10] Great [20:58:11] yeah [20:58:16] I usually do the rebase first [20:58:20] sure [20:58:22] then submit another patchset to fix the issue [20:58:26] did it have conflicts? [20:58:27] unless that is a basic conflict [20:58:30] na no conflict [20:58:37] since the rebase is on your name, not Gerrit [20:58:53] that basically rebase it to a point that include https://gerrit.wikimedia.org/r/#/c/48422/ (which separated JSHint to -jslint jobs) [20:59:03] ah I did the rebase manually [20:59:03] l [20:59:11] git rebase master && git-review -R [20:59:20] faster for me than switching to the browser and clicking rebase [20:59:37] (since if there is a conflict I don't have the alert box and can fix it right away) [21:00:38] so hmm [21:00:50] jshint-in with a dir parameter is nice [21:01:19] but jshint and cd "$WORKSPACE" would be simpler [21:01:21] not a big deal though [21:02:37] Krinkle: whenever you are around, I will +2 and get you to deploy the change :-] [21:02:49] ok [21:02:54] which change [21:03:28] we don't need to separate lint/jshint before deploying jshint-checkstyle. It is working fine without the separation. I've been waiting for a month now. [21:03:53] New review: Hashar; "Patch Set 17: Code-Review+1" [integration/jenkins-job-builder-config] (master) C: 1; - https://gerrit.wikimedia.org/r/43773 [21:04:18] Krinkle: then the -lint job running both php lint / jshint will choke when being run on mediawiki/core@REL1_19 [21:04:36] by separating jshint to its own job, I could make it ignore the REL1_19 branch [21:05:27] - name: mediawiki-core-jslint [21:05:27] voting: true [21:05:28] # (bug 44846) JSHint is always wrong in MediaWiki REL1_19 [21:05:29] branch: (?!REL1_19) [21:05:30] hashar: that's been that way for almost a year [21:05:31] (in zuul-config ) [21:05:32] and you self-merged again [21:05:34] I can't work this way [21:05:38] waiting for a month when I need something, and you have something and just push it and move on [21:06:03] you know that CI is my core responsibility and I have to fix the stuff right away ? [21:06:08] that was blocking merges in 1.19 [21:06:17] so I repair right away [21:06:17] Yes [21:06:29] I wish we could talk more often but given our timezone diff that is not really idealy [21:06:29] ideal [21:06:32] But was it happening right now? And couldn't it wawit 10 minutes for a review? [21:07:07] anyway [21:07:15] I watch my gerrit dashboard regularly, if you push something I can review within a day, usually earlier. [21:08:01] anyway it is getting late I would like to get the check style merged in / deployed [21:08:06] k [21:08:15] so the jshint-in builder accept a dir parameter [21:08:37] the macro could be changing to the workspace directly cd "$WORKSPACE" [21:08:40] but that is not a big deal [21:08:44] I was just curious :-] [21:09:08] (note that cd is not even needed since the shell is launched in the workspace already) [21:09:56] hashar: I was following the same pattern as the other macro, iirc you told me to do it this way. I had a plain jshint macro at first and converted to jshint-in due to different directories for extensions [21:10:15] yeah that is what I thought :-] [21:10:40] lets deploy it [21:10:48] do you have a jenkins_jobs.ini file for production? [21:10:50] hashar: anyway, I understand your problem, but you understand my frustration a bit when I have to wait weeks/months to get something deployed? [21:11:00] Krinkle: yeah I know about it [21:11:03] hashar: I think so, yes. [21:11:10] Krinkle: I got the same issue with ops from time to time :-] but lets deploy ! [21:11:14] Got the token from the jenkins profile of jjb bot [21:11:22] mine didn't work [21:11:43] the one at https://integration.mediawiki.org/ci/user/krinkle/configure then [Show API token] [21:12:01] user is either krinkle or Krinkle I guess [21:12:06] should be the labs username [21:12:08] hashar: I know where to get it [21:12:13] hehe [21:12:17] That's how I got the one for the jjb account [21:12:20] making sure I know you know about it [21:12:22] I;m saying it doesn't work under my name [21:12:22] ahh [21:12:34] so just use jobbuilder-bot username [21:12:43] I can get an API token for my account, but using it rejects the api request [21:12:46] yep [21:12:49] that is apparently the user I am using :/ [21:12:55] that's how I deployed jshint-checkstyle last month [21:13:19] which was then undone after I verified by submitting master again [21:13:36] ahh [21:13:43] so what I usually do: [21:13:47] I send the patch in Gerrit [21:13:59] update one of the production job [21:14:01] test it out [21:14:12] if that fail, amend && send to Gerrit && update job && test [21:14:17] rinse until the job works fine [21:14:31] then I self merge the change notifying something like "deployed" [21:14:44] so the git repo is essentially used as a log of the actions [21:15:04] Krinkle: I think what will work the best is that you self merge / deploy yourself [21:15:17] Krinkle: you can alway revert back to a previous working state if there is a trouble [21:15:29] and I can do the same by just looking at the git log :-] [21:16:24] note that your change modify ALL the jslint jobs. So you might want to only update one of the extension [21:16:34] * hashar should setup test/mediawiki  [21:17:12] hashar: well, the way I do it: send to gerrit, run jjb locally for one job to assert that it works, make a test commit etc., the undo the local jjb submission in production and wait for you to merge and then you or I will deploy permanently [21:17:32] Krinkle: yeah [21:17:42] Krinkle: so to make it faster: be bold and merge! [21:17:43] -:] [21:17:53] it is probably useless to wait for me to review [21:17:58] if you know it is working, just merge / deploy [21:18:16] that makes everything faster in this context. [21:18:27] the setup is pretty simple to debug and only us do modifications to it [21:18:41] that will get you out of despair [21:18:52] (and I am sorry to have made you wait for it for so long) [21:20:09] hashar: well, I'm sorry but I can't do that. I'd like your view on it. Even if I would know jjb very well (I'm getting better at it now that I've made a plugin and got it reviewed upstream), I'd still like your view before it goes viral. [21:20:26] New review: Hashar; "Patch Set 17: Verified+2" [integration/jenkins-job-builder-config] (master); V: 2 - https://gerrit.wikimedia.org/r/43773 [21:20:48] Krinkle: I don't mind having it viral [21:21:05] Krinkle: virii are fun, they tend to spread out :-] too many control and we are just slowing done. [21:21:17] hoesntly I have the same level of knowledge regarding jjb as you [21:21:27] the tricky parts I do them in labs, that is the only difference probably [21:21:33] but yeah [21:21:46] I will make sure I respond to your future review requests in a timely manner [21:21:55] FYI, I read all Gerrit notification on a daily basis [21:22:06] and do read the dashboard from time to time [21:22:58] I just have a biit too many incoming and outgoing reviews :( [21:23:21] I know the feeling, there's probably a few commit authors feeling the same way about mine. [21:25:17] so your jslint change, go ahead and deploy it :-] [21:25:32] if that screw up somehow feel free to mail me about it and I will help you find out the issue [21:25:37] meantime that is bed time for me :-D [21:25:52] (you know the story: wife, daughter waking up at 7am …) [21:26:06] again sorry for the review delay :/ [21:52:46] New review: Krinkle; "Patch Set 17: Verified+2 Code-Review+2" [integration/jenkins-job-builder-config] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/43773 [21:52:46] Change merged: Krinkle; [integration/jenkins-job-builder-config] (master) - https://gerrit.wikimedia.org/r/43773 [22:24:10] anomie: it wasn't possible to do "":usub() before my changes, I tested it [22:41:32] marktraceur: you wrote a little blurb on writing an extension that pulls in code from git/sourcerepo (https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#Write_an_extension_for_pulling_files_from_a_git_repository) [22:41:36] did anything ever happen with that? [22:41:48] mwalker: As a matter of fact, someone is working on it right now [22:41:55] Isn't someone working on something like that now? [22:42:19] mwalker: She's hanging out in #mediawiki, if you want to chat with her [22:42:19] cool! where can I get more details? [22:42:26] name? [22:42:29] mwalker: It's called Git2Pages, it's in Gerrit [22:42:32] Git2Pages in our git repo ;) [22:42:39] mwalker: The intern's nick is terrrydactyl [22:42:50] And Dereckson is mentoring her [22:42:53] awesomely possumely [22:52:08] TimStarling- You need parens, (""):usub(). But it works for me locally on both LuaStandalone and LuaSandbox if I check out 2d9e3c74ba0b11fa84e5869af5d80ec89e814b90 [23:02:29] hmm, I wonder what I tested then