< 302025-12-31⋎01 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
14:12*waterleat[m] has joined
14:12waterleat[m]Happy New Year to all
14:12waterleat[m]I have been experimenting with v4.x.
14:12waterleat[m]- added the following modules which seem to work as expected, although no phpunit tests run
14:25waterleat[m]* Happy New Year to all... (full message at <matrix.org/oftc/media/v1/media/download/>)
14:28mstenta[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. :-)
14:29mstenta[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.
14:30mstenta[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).`
14:30mstenta[m]This looks like an upstream issue with the `csv_serialization` module: www.drupal.org/project/csv_serialization
14:30mstenta[m]Ah yep... here is the open issue for it: www.drupal.org/project/csv_serialization
14:31mstenta[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.
14:34mstenta[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
14:34mstenta[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
14:34mstenta[m]it isn't free.
14:35mstenta[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.
14:36mstenta[m]> We can help them with that by providing an upstream merge request in that issue... or wait for someone else to fix it.
14:36mstenta[m]Oh looks like someone is already working on a MR for that...
14:36mstenta[m]git.drupalcode.org/project/csv_serializa
14:44waterleat[m]yes I just bumped to Drupal to 11 and farmos to 4 in info.yml and composer.json files
14:44waterleat[m]I like the CSV import facility so I can pre load my data
14:44waterleat[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
14:44mstenta[m]Great! Yea I think you can just ignore that deprecation notice. Shouldn't break imports.
14:45mstenta[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.
14:46mstenta[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.

< 302025-12-31⋏01 >