| [09:12:57] | * waterleat[m] has joined #farmos |
| [09:12:57] | <waterleat[m]> | Happy New Year to all |
| [09:12:57] | <waterleat[m]> | I have been experimenting with v4.x. |
| [09:12:57] | <waterleat[m]> | - added the following modules which seem to work as expected, although no phpunit tests run |
| [09:25:13] | <waterleat[m]> | * Happy New Year to all... (full message at <https://matrix.org/oftc/media/v1/media/download/AZlZTwrq79REuPJk0dtMjU_a...) |
| [09:28:59] | <mstenta[m]> | Hi waterleat - thanks for testing this stuff! Just a heads up I'm generally offline until next week, so probably won't be very responsive/helpful until then. :-) |
| [09:29:33] | <mstenta[m]> | Curious though: did you override the core_version_requirement in the organic, ledger, and crop plan modules to be able to install them in 4.x? None of them have been updated for 4.x support yet. |
| [09:30:56] | <mstenta[m]> | > `User deprecated function: Method League\Csv\AbstractCsv::createFromFileObject() is deprecated since league/csv:9.27.0, use League\Csv\AbstractCsv::from() instead in Drupal\csv_serialization\Encoder\CsvEncoder->encode() (line 112 of modules/csv_serialization/src/Encoder/CsvEncoder.php).` |
| [09:30:56] | <mstenta[m]> | This looks like an upstream issue with the `csv_serialization` module: https://www.drupal.org/project/csv_serialization |
| [09:30:56] | <mstenta[m]> | Ah yep... here is the open issue for it: https://www.drupal.org/project/csv_serialization/issues/3562555 |
| [09:31:57] | <mstenta[m]> | Worth noting: "deprecations" are just warnings and shouldn't break anything. They will go away once csv_serialization updates their code. We can help them with that by providing an upstream merge request in that issue... or wait for someone else to fix it. |
| [09:34:07] | <mstenta[m]> | > that seems to be a thing with Drupal, does anyone have any suggestions of youtube channels etc. that explain functioning of Drupal and is in English |
| [09:34:07] | <mstenta[m]> | Drupal and its module ecosystem builds heavily on the Symfony framework, and uses standard object oriented PHP concepts. I would highly recommend using an IDE to make it easier to follow the stack trace w/ XDebug breakpoints as you are starting to dig in and understand how everything works (especially if you want to dig deeper into the upstream dependencies like `csv_serialization`). I personally use PHPStorm. It's great, but unfortunately |
| [09:34:07] | <mstenta[m]> | it isn't free. |
| [09:35:33] | <mstenta[m]> | I'm not sure if I can make suggestions for tutorials generally... it will really depend on what you are trying to do specifically, and what your experience/comfort level is with OO PHP. |
| [09:36:28] | <mstenta[m]> | > We can help them with that by providing an upstream merge request in that issue... or wait for someone else to fix it. |
| [09:36:28] | <mstenta[m]> | Oh looks like someone is already working on a MR for that... |
| [09:36:41] | <mstenta[m]> | https://git.drupalcode.org/project/csv_serialization/-/merge_requests/44... |
| [09:44:02] | <waterleat[m]> | yes I just bumped to Drupal to 11 and farmos to 4 in info.yml and composer.json files |
| [09:44:02] | <waterleat[m]> | I like the CSV import facility so I can pre load my data |
| [09:44:02] | <waterleat[m]> | Thanks for looking into the csv_serialization issue. I am not familiar with pull requests etc.. I am quite basic with git as I am self taught with help from a few select youtube channels |
| [09:44:57] | <mstenta[m]> | Great! Yea I think you can just ignore that deprecation notice. Shouldn't break imports. |
| [09:45:37] | <mstenta[m]> | Once we have farmOS v4.0.0 tagged I will go through all the contrib modules and tag new releases of those as well. |
| [09:46:42] | <mstenta[m]> | We're pretty much "done" with 4.0.0 development... it's just a matter of reviewing/approving/merging all the open pull requests. That just takes volunteer time so hard to estimate when it will be released. |