| 09:00 | * | skalakm[m] has quit (Quit: Idle for 30+ days) |
| 13:33 | mstenta[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:33 | mstenta[m] | github.com/farmOS/composer-project/commi |
| 13:33 | mstenta[m] | pipelines.actions.githubusercontent.com/ |
| 13:33 | mstenta[m] | github.com/mstenta/farmOS/runs/149279143 |
| 13:54 | mstenta[m] | Ah! Doh. Needs to be `~9.0.0` not `^9.0.0` :-) |
| 15:17 | mstenta[m] | Fyi paul121 and symbioquine I'm testing updating to Drupal 9.1.0, so you may see failing tests today from that |
| 15:18 | mstenta[m] | Looks like we just need to update a few things for PHPUnit 9 |
| 16:00 | symbioquine[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:01 | symbioquine[m] | Seems like it's caused by the how the default Drupal .htaccess configuration interacts with thephpleague/oath2-server's exception handling. |
| 16:46 | symbioquine[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:48 | mstenta[m] | No I haven't tried `drush site-install` on 2.x yet |
| 16:48 | mstenta[m] | Been installing manually |
| 16:48 | mstenta[m] | Hmm |
| 16:49 | mstenta[m] | So... |
| 16:49 | mstenta[m] | the `farm_settings` module uses the `FarmModulesForm`... but `FarmModulesForm` is provided by the distro, not a module |
| 16:49 | mstenta[m] | Must be something to do with the way that's set up? |
| 16:49 | symbioquine[m] | huh |
| 16:50 | mstenta[m] | But a manual install works for you? |
| 16:50 | symbioquine[m] | yeah |
| 16:50 | symbioquine[m] | The module it's talking about does exist. |
| 16:51 | * | aislinnpearson[m has joined |
| 16:52 | mstenta[m] | Hmm |
| 16:52 | paul121[m] | module load include? |
| 16:52 | mstenta[m] | It sounds like `farm_settings` is being installed, but can't autoload the `FarmModuleForm` class? Is that right? |
| 16:53 | symbioquine[m] | I assume that's right. I can't say I'm super clear on what the stack trace is actually saying... |
| 16:53 | mstenta[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:54 | symbioquine[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:54 | symbioquine[m] | <mstenta[m] "symbioquine: You could try comme"> yeah, just a sec |
| 16:55 | paul121[m] | the form in `farm_settings` extends the `FarmModulesForm` from the `farm` profile code, which isn't a module |
| 16:55 | paul121[m] | maybe there is a weird bug there? |
| 16:55 | symbioquine[m] | <symbioquine[m] "yeah, just a sec"> That worked. |
| 16:55 | mstenta[m] | yea that seems like the likely explanation |
| 16:55 | mstenta[m] | ah cool - ok hmm... |
| 16:56 | mstenta[m] | (i have to sign off in ~5 so might want to start an issue for this) |
| 16:56 | mstenta[m] | perhaps we should run `drush site-install` in our `run-tests.yml` to catch stuff like this |
| 16:58 | mstenta[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:59 | symbioquine[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:00 | symbioquine[m] | <mstenta[m] "(i have to sign off in ~5 so mig"> Will do |
| 17:00 | mstenta[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:00 | mstenta[m] | remind me how this works? |
| 17:02 | paul121[m] | oh I'm not sure if that would work here.. I think we would need symbioquine approach to catch all deprecations |
| 17:03 | symbioquine[m] | <paul121[m] "symfony.com/doc/current/"> This is what I was referring to |
| 17:03 | paul121[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:05 | symbioquine[m] | Oh, bummer |
| 17:05 | symbioquine[m] | What about turning off just the indirect deprecation warnings? symfony.com/doc/current/components/phpun |
| 17:08 | paul121[m] | that looks good! |
| 17:14 | mstenta[m] | Oh interesting does |
| 17:14 | mstenta[m] | Indirect mean upstream? |
| 17:16 | paul121[m] | I think so, the difference being `direct` = dependency, `indirect` = dependency of a dependency ? |
| 17:16 | paul121[m] | and `self` = our src? |
| 17:26 | symbioquine[m] | That's what I was assuming too |
| 17:27 | mstenta[m] | Would that just require a tweak to our phpunit.xml? |
| 17:27 | symbioquine[m] | yeah, I think so |
| 17:28 | mstenta[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:56 | paul121[m] | everything is deprecated! #DeprecateDecember |
| 17:56 | paul121[m] | jk. I like December. |
| 17:56 | mstenta[m] | haha |
| 17:56 | mstenta[m] | #Deprecate2020 |
| 18:03 | mstenta[m] | Do you think `max[direct]=0` would make the most sense, based on that documentation? |
| 18:03 | mstenta[m] | > Recommended for projects with dependencies that fail to keep up with new deprecations. |
| 18:04 | mstenta[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:19 | mstenta[m] | > not sure if my `sed` is correct |
| 18:19 | mstenta[m] | narrator: it was not. |
| 18:22 | mstenta[m] | try again... |
| 18:49 | mstenta[m] | `max[direct]=0` does not work. |
| 18:49 | mstenta[m] | i then tested `disabled=1` to confirm that my change was applying, and that DID work. |
| 18:49 | mstenta[m] | so i think we just need to hone in on the right setting here |
| 18:49 | mstenta[m] | i' |
| 19:15 | mstenta[m] | tested with `quiet[]=indirect` and that seems to work |
| 19:15 | mstenta[m] | i'll push a commit up with that for now, and we can test/refine if necessary |