[00:03:16] (PS1) AndyRussG: Clean cruft in CNBannerChoiceDataResourceLoaderModule::getChoices() [extensions/CentralNotice] - https://gerrit.wikimedia.org/r/212834 [01:51:46] (CR) AndyRussG: "This is already done... Thanks and apologies for leaving this and not seeing it at a timely time!!" [extensions/CentralNotice] - https://gerrit.wikimedia.org/r/181237 (owner: Awight) [05:44:12] (CR) Awight: CentralNotice uses content rather than interface language (1 comment) [extensions/CentralNotice] - https://gerrit.wikimedia.org/r/197741 (https://phabricator.wikimedia.org/T53475) (owner: Awight) [09:49:28] K4-713: It's so wrong that I can say this. but "hi" [09:49:40] Can I help with brave new world? [09:49:48] omg... your timing is amazing. [09:49:58] <_< [09:50:09] By that I mean I just spent an hour grumbling at comoser. [09:50:10] Hopefully you're at the beginning of your rope and not the end [09:50:11] er. Composer. [09:50:18] oh [09:50:23] confuser [09:50:26] sorry [09:50:31] yeah we need some serious release notes [09:50:31] Ah... so, finally I got the thing to stop complaining about monolog, and... funny story. [09:50:36] SRSLY. [09:50:40] Funny other story. [09:51:08] I just commented out all my localsettings about donationinterface aside from the include statement... [09:51:13] yep [09:51:15] ...and the GC form still loads. [09:51:19] totally [09:51:26] Is that not incredibly bad? [09:51:32] nah it's fine? [09:51:35] Default for everything in DI should be fail closed. [09:51:51] It hasn't been that way.... as long as I know [09:51:52] I can set it to being disabled, and that works... [09:52:00] Ah, it should have been that way forever. [09:52:03] yes--I did that two weeks ago! [09:52:11] okay. [09:52:12] it used to be impossible to disable... [09:52:17] uh [09:52:22] No, because pfp... [09:52:34] Used to be a ghost with us for a long time. [09:52:41] but lemme see, sorry if I'm repeating things you already figured out by brute force [09:52:56] Hang on. [09:52:58] * move all DI localsettings config to after the require statement [09:53:00] Let me explain my reasoning. [09:53:09] * run "composer update" from DI directory [09:53:13] (i'm listening :) [09:53:47] We want to make it necessary to enable things (instead of explicitly disable) because Other People. [09:53:47] * get a new fundraising/REL1_23 core branch, to deal with formsettings thing. no longer require that explicitly. [09:54:26] that's fine, just tweak the defaults in DonationInterface.php and don't forget to add the config on the payments cluster [09:54:40] If we genuinely want Other People to use this ever, we don't want to auto-enable all the gateways we support. Also, with any luck, we'd be Other People soon ourselves and not have accounts with things that Other Other People want. [09:54:48] /names <-- um where is the crowd? :p [09:54:58] yes! I totally agree [09:55:06] BUT! [09:55:21] If we're running in dev mode, the fakeness that doesn't exist yet should come alive. [09:56:02] Also: Composer question. [09:56:11] Are you running composer stuff on boron? [09:56:14] Or... [09:56:18] . [09:57:13] I think I agree with the dev mode thing, everything is off to start with. when you enable a gateway with no creds, it works but in test mode. adding the creds transparently makes things work for real. Something about test vs prod accounts, here. [09:57:32] no, ejegg|away and I decided to do the composer thing pretty much the same way as in WMF deployment [09:57:55] I guess I don't know how that works either. [09:58:01] the dev branch of DI has no vendor/ dir and you have to update manually. But it has composer.json and composer.lock, so we all have the same versions. [09:58:02] * K4-713 thumbs up [09:58:11] ... [09:58:16] * K4-713 frowns, drops thumbs [09:58:22] however, the DI deployment branch includes a fully stocked vendor/ submodule [09:58:40] OH. [09:58:45] THAT MAKES MORE SENSE. [09:58:55] I'm not thrilled, but we wanted to be consistent with other jankiness [09:59:03] blurf. [09:59:03] okay [09:59:29] buh, plans. [09:59:29] It's already come home to roost, today I realized that the 1.25 core upgrade is suddenly annoying, cos our fundraising branch is both dev and deployment. [09:59:38] * K4-713 squints [09:59:42] okay [09:59:45] so the vendor/ strategy doesn't really work for us [09:59:48] Ah, we're like one minute from lunch. [10:00:11] And the wifi keeps freaking bouncing. [10:00:23] on the flip side, we no longer require any core hacks, so fundraising/* is really just a deployment branch now [10:00:31] guh [10:00:42] Did you get my statement about the AWFUL WIFI, or did it get eated? [10:00:53] I think I'm getting all yr statements [10:00:59] okay [10:01:03] well... eats time. [10:01:05] just |fud or whatever and I'll get the hint [10:01:06] ok! [10:01:20] Are you going to be doing things? [10:01:23] hell no. [10:01:28] bahaha, okay. [10:01:38] After lunch, I'm going to work on refactoring config settings. [10:01:42] I'm embarrassed to explain why I'm up at this hour, but... learning how to publish a Debian package. [10:01:48] awesome. [10:02:01] And... coming up with some obnoxious indicator that you're running a gateway in local dev mode, that explains exactly how to change it to work for realz. [10:02:06] all I can add there is, remember they all go after the require_once DI.php [10:02:11] yep [10:02:13] cool [10:02:16] very cool [10:02:19] I have nuked all DI localsettings locally. [10:02:23] Well... commented. [10:02:39] Functionally equivalent to nuke. [10:02:44] good luck getting a veg sandwich [10:02:50] Heh. Thanks. [10:02:53] noon, I see [10:03:03] aye [10:03:03] ...kbye. [11:12:15] Any other exciting discoveries in the fossil sediment? [11:12:43] K4-713: ^ [11:21:21] huh [11:21:27] I was going to say things. [12:12:58] (PS2) Siebrand: email -> email address [extensions/ContributionTracking] - https://gerrit.wikimedia.org/r/212779 (owner: Purodha) [12:13:13] (CR) Siebrand: [C: 2] "i18n/L10n reviewed." [extensions/ContributionTracking] - https://gerrit.wikimedia.org/r/212779 (owner: Purodha) [12:13:24] (Merged) jenkins-bot: email -> email address [extensions/ContributionTracking] - https://gerrit.wikimedia.org/r/212779 (owner: Purodha) [13:31:33] (PS1) Katie Horn: Odd untranslated label issue in zipcode title [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/212915 [13:35:34] (CR) Katie Horn: "...argh. I believe I have just demonstrated how the changes managed to pass. It burns. Also there are more issues of this nature; I was ho" [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/212915 (owner: Katie Horn) [15:28:00] (CR) Ejegg: "PS8: updated make_safe, used $ for appeal placeholders, added tests for appeal override. PS9: rebase" [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/212457 (owner: Ejegg) [16:40:05] That's weird indeed. [16:40:11] ohai [16:40:15] I have another problem. [16:40:48] I got to a point where I started disabling things in DI by default, and predictably, all the tests broke. [16:41:04] The thing I wasn't expecting (but maybe I should have been) is that I can only unbreak half of them. [16:41:21] In other words, it looks like the disabling of pieces is not working the way we think it is. [16:41:34] It certainly isn't in the tests. [16:41:55] (CR) Awight: [C: 2] Odd untranslated label issue in zipcode title [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/212915 (owner: Katie Horn) [16:42:22] (Merged) jenkins-bot: Odd untranslated label issue in zipcode title [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/212915 (owner: Katie Horn) [16:42:37] awight: So, I'm trying to think of a good way to write a test in which we assert that nothing is there when we initialize mediawiki with nothing good enabled in DI. [16:42:39] On the first thing ^, did you ever figure out why the tests pass? [16:42:42] ...without breaking all the mess. [16:42:43] And, no. [16:43:00] Same state as when I sent the email. [16:43:17] For the nothing test, in theory it's just $this->setMwGlobals and set everything to disabled... [16:43:25] gack [16:43:31] okay [16:43:37] I'll... see what I can do with that. [16:43:41] Thanks. :) [16:43:45] Oh wait. [16:43:56] The problem is, those globals control things being mapped to other things. [16:44:01] So, if they've already been defined... [16:44:06] ...how to undefine? [16:44:09] Can't unload classes. [16:44:22] You shouldn't have to go as low-level as the autoloader [16:44:30] orly? [16:44:43] How else to make sure it's not there, though? [16:44:46] Nothing switches on class_exists [16:44:58] hmmm [16:45:05] I think it's just the form whitelists [16:45:10] Urgh. [16:45:19] But, not for things like minfraud. [16:45:25] Things that are not gateways. [16:45:26] and those happen in a hook now, in response to the globals. That's how I undid the pre/post configuration mess [16:45:37] hurm [16:45:41] for minfraud, it's whether a wgHook is defined [16:45:45] see... [16:45:47] Defined. [16:46:01] $wgExtensionFunctions[] = function() { [16:46:03] etc [16:46:05] So, if a test runs that uses it... and then the "nothing" test runs, wouldn't that always fail? [16:46:29] btw, I have a kid and no parental backup for maybe 15 min [16:46:42] That's okay. Supposedly there's dinner or something before we all die. [16:47:05] I donno how that extensionfunctions thing interacts with tests [16:47:11] sounds like a serious screwup, though [16:47:16] I'm gonna find out. [16:47:16] still a snowflake [16:47:35] And then I'm probably going to run up a tree and throw rocks at people. [16:48:43] That sounds like a good nitetime activity [16:49:05] Totally. [16:49:15] qrqbbbnbbbbnbnewqq42342q3434ee333344 [16:49:16] -mari [16:49:42] :D [16:50:17] Okay, I'm out for a while. Thanks for the merge. [16:50:21] So... odd. [16:50:22] k then [16:50:35] I'll peek at the remaining snowflakiness if I can [16:50:42] Rad, thanks. [18:16:19] Fundraising Sprint Kraftwerk, Fundraising Tech Backlog, MediaWiki-extensions-DonationInterface, Wikimedia-Hackathon-2015, Epic: Hackathon idea: Make the DonationInterface extension as friendly as possible - https://phabricator.wikimedia.org/T89188#1305575 (awight) [18:16:20] Fundraising Sprint James Brown, Fundraising Sprint Kraftwerk, Fundraising Tech Backlog, MediaWiki-extensions-DonationInterface, and 2 others: DonationInterface config should be less of a snowflake - https://phabricator.wikimedia.org/T94477#1305573 (awight) Resolved>Open [18:17:27] Fundraising Sprint James Brown, Fundraising Sprint Kraftwerk, Fundraising Tech Backlog, MediaWiki-extensions-DonationInterface, and 2 others: DonationInterface config should be less of a snowflake - https://phabricator.wikimedia.org/T94477#1164463 (awight) Solving a different way--@K4-713 points... [20:58:34] (PS1) Awight: WIP Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) [20:58:58] (CR) jenkins-bot: [V: -1] WIP Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) (owner: Awight) [21:54:26] (PS2) Awight: WIP Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) [21:55:04] (CR) jenkins-bot: [V: -1] WIP Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) (owner: Awight) [22:03:31] (PS3) Awight: WIP Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) [22:03:57] (CR) jenkins-bot: [V: -1] WIP Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) (owner: Awight) [22:18:08] (PS4) Awight: Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) [22:18:21] (PS5) Awight: Make configuration testable [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/213003 (https://phabricator.wikimedia.org/T94477) [22:19:35] Fundraising Sprint James Brown, Fundraising Sprint Kraftwerk, Fundraising Tech Backlog, MediaWiki-extensions-DonationInterface, and 2 others: DonationInterface config should be less of a snowflake - https://phabricator.wikimedia.org/T94477#1305816 (awight) a:awight>K4-713 [22:22:23] Fundraising Sprint James Brown, Fundraising Sprint Kraftwerk, Fundraising Tech Backlog, MediaWiki-extensions-DonationInterface, and 3 others: DonationInterface config should be less of a snowflake - https://phabricator.wikimedia.org/T94477#1305818 (awight) [22:35:20] (PS2) Awight: WIP / DO NOT MERGE - GC WX audit module [wikimedia/fundraising/crm] - https://gerrit.wikimedia.org/r/199653 (owner: Katie Horn)