< 022020-12-03⋎04 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
09:00*skalakm[m] has quit (Quit: Idle for 30+ days)
13:33mstenta[m]Hmm so I updated `composer-project/composer.json` to use `"drupal/core-dev": "^9.0.0",` - but it still seems to be installing 9.1...
13:33mstenta[m]github.com/farmOS/composer-project/commi
13:33mstenta[m]pipelines.actions.githubusercontent.com/
13:33mstenta[m]github.com/mstenta/farmOS/runs/149279143
13:54mstenta[m]Ah! Doh. Needs to be `~9.0.0` not `^9.0.0` :-)
15:17mstenta[m]Fyi paul121 and symbioquine I'm testing updating to Drupal 9.1.0, so you may see failing tests today from that
15:18mstenta[m]Looks like we just need to update a few things for PHPUnit 9
16:00symbioquine[m]I've been finding some interesting details on that basic auth prompt that was occurring for invalid oauth client ids; github.com/thephpleague/oauth2-server/is
16:01symbioquine[m]Seems like it's caused by the how the default Drupal .htaccess configuration interacts with thephpleague/oath2-server's exception handling.
16:46symbioquine[m]paul121: mstenta Are you guys using `drush site-install` for your 2.x development setup?
16:47*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
16:48mstenta[m]No I haven't tried `drush site-install` on 2.x yet
16:48mstenta[m]Been installing manually
16:48mstenta[m]Hmm
16:49mstenta[m]So...
16:49mstenta[m]the `farm_settings` module uses the `FarmModulesForm`... but `FarmModulesForm` is provided by the distro, not a module
16:49mstenta[m]Must be something to do with the way that's set up?
16:49symbioquine[m]huh
16:50mstenta[m]But a manual install works for you?
16:50symbioquine[m]yeah
16:50symbioquine[m]The module it's talking about does exist.
16:51*aislinnpearson[m has joined
16:52mstenta[m]Hmm
16:52paul121[m]module load include?
16:52mstenta[m]It sounds like `farm_settings` is being installed, but can't autoload the `FarmModuleForm` class? Is that right?
16:53symbioquine[m]I assume that's right. I can't say I'm super clear on what the stack trace is actually saying...
16:53mstenta[m]symbioquine: You could try commenting out the `farm_settings` line in `farm.info.yml` and just see if that allows `drush site-install` to proceed
16:54symbioquine[m]naively, I would have read it as saying that the module didn't exist, but it might be saying something more complicated about why it couldn't load it.
16:54symbioquine[m]<mstenta[m] "symbioquine: You could try comme"> yeah, just a sec
16:55paul121[m]the form in `farm_settings` extends the `FarmModulesForm` from the `farm` profile code, which isn't a module
16:55paul121[m]maybe there is a weird bug there?
16:55symbioquine[m]<symbioquine[m] "yeah, just a sec"> That worked.
16:55mstenta[m]yea that seems like the likely explanation
16:55mstenta[m]ah cool - ok hmm...
16:56mstenta[m](i have to sign off in ~5 so might want to start an issue for this)
16:56mstenta[m]perhaps we should run `drush site-install` in our `run-tests.yml` to catch stuff like this
16:58mstenta[m]On another topic... I think we will need to turn off PHPUnit deprecation warnings... I tried updating us to Drupal 9.1.0 and there's one set of warnings in upstream contrib modules that we can't fix ourselves (unless we patch all of them).
16:59symbioquine[m]<mstenta[m] "On another topic... I think we w"> Maybe that expected deprecations approach paul121 mentioned could be put in the test base class as a work-around which would still allow in-src deprecations to be caught?
17:00symbioquine[m]<mstenta[m] "(i have to sign off in ~5 so mig"> Will do
17:00mstenta[m]> Maybe that expected deprecations approach paul121 mentioned could be put in the test base class as a work-around which would still allow in-src deprecations to be caught?
17:00mstenta[m]remind me how this works?
17:02paul121[m]oh I'm not sure if that would work here.. I think we would need symbioquine approach to catch all deprecations
17:03symbioquine[m]<paul121[m] "symfony.com/doc/current/"> This is what I was referring to
17:03paul121[m]what I mentioned is that there is a PHPUnit assertion method, something like `$this->expectDeprecation()`, but that only works in the individual test case method
17:05symbioquine[m]Oh, bummer
17:05symbioquine[m]What about turning off just the indirect deprecation warnings? symfony.com/doc/current/components/phpun
17:08paul121[m]that looks good!
17:14mstenta[m]Oh interesting does
17:14mstenta[m]Indirect mean upstream?
17:16paul121[m]I think so, the difference being `direct` = dependency, `indirect` = dependency of a dependency ?
17:16paul121[m]and `self` = our src?
17:26symbioquine[m]That's what I was assuming too
17:27mstenta[m]Would that just require a tweak to our phpunit.xml?
17:27symbioquine[m]yeah, I think so
17:28mstenta[m]Speaking of... also seeing this now (not causing a failure, but maybe we can do this too)
17:28*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
17:56paul121[m]everything is deprecated! #DeprecateDecember
17:56paul121[m]jk. I like December.
17:56mstenta[m]haha
17:56mstenta[m]#Deprecate2020
18:03mstenta[m]Do you think `max[direct]=0` would make the most sense, based on that documentation?
18:03mstenta[m]> Recommended for projects with dependencies that fail to keep up with new deprecations.
18:04mstenta[m](I just submitted a test commit to my fork to see if it works... but I'm not sure if my `sed` is correct... we'll see...)
18:19mstenta[m]> not sure if my `sed` is correct
18:19mstenta[m]narrator: it was not.
18:22mstenta[m]try again...
18:49mstenta[m]`max[direct]=0` does not work.
18:49mstenta[m]i then tested `disabled=1` to confirm that my change was applying, and that DID work.
18:49mstenta[m]so i think we just need to hone in on the right setting here
18:49mstenta[m]i'
19:15mstenta[m]tested with `quiet[]=indirect` and that seems to work
19:15mstenta[m]i'll push a commit up with that for now, and we can test/refine if necessary

< 022020-12-03⋏04 >