| [19:38:31] | <dornawcox[m]> | Ah- I hadn't looked closely enough to see if it takes more than administrator privileges. Is David hosting the server himself? |
| [19:40:05] | <mstenta[m]> | Yea I believe so. It might be Bionutrient server? Not sure |
| [22:10:06] | * JustTB has quit (Quit: Leaving.) |
| [22:17:51] | * JustTB has joined #farmos |
| [22:50:09] | * JustTB has quit (Quit: Leaving.) |
| [04:19:16] | * JustTB has joined #farmos |
| [04:58:32] | * JustTB has quit (Quit: Leaving.) |
| [06:52:18] | * JustTB has joined #farmos |
| [08:07:30] | <samrose> | ok I think I see drupal not supporting php 7.2 yet |
| [08:08:29] | <mstenta[m]> | Hi samrose |
| [08:09:07] | <samrose> | I will try php 7.0 greetings matenta |
| [08:09:17] | <mstenta[m]> | Yea that's correct, farmOS is built on Drupal 7, which has limited support for PHP 7 |
| [08:09:46] | <samrose> | matenta[m] is it recommended not use php 7.x at all with farmos? |
| [08:09:55] | <samrose> | maybe I should just be at 5.6? |
| [08:10:03] | <mstenta[m]> | I haven't tested it much myself. Did you run into a specific problem? |
| [08:10:21] | <samrose> | well, so far only 7.2 has been tried and yes of course it is broken there |
| [08:10:39] | <mstenta[m]> | The recommended version is PHP 5.6 |
| [08:10:49] | <mstenta[m]> | Yes that will probably be the best experience |
| [08:10:51] | <samrose> | I was about to try 7.0 but if it's not even been tested then it's probably not a good idea here I am guessing |
| [08:11:01] | <mstenta[m]> | You may experience bugs in PHP 7 |
| [08:11:01] | <samrose> | I can try it out sometime never the less |
| [08:11:08] | <samrose> | just to see what happens |
| [08:11:17] | <mstenta[m]> | If you have time to report any of the bugs you experience we can work towards fixing them |
| [08:11:31] | <samrose> | is there a test suite for farmos? |
| [08:11:31] | <mstenta[m]> | That would be great :-) |
| [08:11:54] | <mstenta[m]> | But if you just want it to work I would recommend 5.6 :-) |
| [08:12:47] | <samrose> | ok 5.6 iy is |
| [08:13:02] | <mstenta[m]> | Drupal 7 uses Simpletest for all of its testing |
| [08:13:39] | <mstenta[m]> | It you're familiar with docker there's a farmOS image available |
| [08:13:52] | <samrose> | yes of course. I just wondered if there is already a set of tests written for farmos distribution? |
| [08:13:55] | <mstenta[m]> | It has all dependencies including PHP 5.6 |
| [08:14:17] | <mstenta[m]> | So you don't have to worry about installing multiple versions of PHP |
| [08:15:00] | <samrose> | I didn't see any tests present anyway |
| [08:15:32] | <samrose> | the reason I asked is that I could throw it into my jenkins set up, run the tests under php7 and see what happens |
| [08:24:11] | <mstenta[m]> | Sorry busy with morning routine here - getting wife and son ready to leave :-) |
| [08:24:25] | <mstenta[m]> | Will be back in a little while |
| [09:27:39] | * JustTB has quit (Ping timeout: 256 seconds) |
| [09:32:28] | <mstenta[m]> | Hi samrose I'm back |
| [09:33:25] | <mstenta[m]> | With regard to PHP 7 support - as far as I know the farmOS-specific code should all work. But some of the Drupal contrib modules may have issues. |
| [09:33:28] | <mstenta[m]> | We just haven't really tested it thoroughly yet |
| [09:34:01] | <mstenta[m]> | If I remember correctly, the GEOS library (which is only used in the Area Generator module) was not available for PHP 7 yet, but that may have changed in the meantime. |
| [09:34:27] | <mstenta[m]> | If you have a jenkins setup that you can use to test the core and contrib modules on PHP 7 that would be great! |
| [09:34:44] | <mstenta[m]> | That may at least tell us if any core or contrib break on PHP 7 |
| [09:35:16] | <mstenta[m]> | I'm very excited to move farmOS onto Drupal 8 + PHP 7 in the near future - that's the plan. |
| [09:42:06] | <samrose> | I was able to get GEOS library working with php 7.2 |
| [09:42:10] | <samrose> | just FYI |
| [09:42:22] | <samrose> | yes probably better to invest in drupal 8 |
| [09:42:23] | * JustTB has joined #farmos |
| [09:42:30] | <mstenta[m]> | Oh really? |
| [09:42:31] | <mstenta[m]> | That's great news! |
| [09:43:13] | <mstenta[m]> | Yes, I'm really itching to start the upgrade... |
| [09:43:24] | <mstenta[m]> | There's been a lot of interest in farmOS recently, though, so I've had to keep my focus on this version |
| [09:44:23] | <samrose> | the GEOS php7 process that worked for me (on debian jessie) https://www.drupal.org/project/geophp/issues/1754138#comment-12225492 |
| [09:44:51] | <samrose> | I have done lots of symfony php work recently but not so much Drupal 8 :) |
| [09:44:59] | <samrose> | been working on symfony 3.3 |
| [09:46:06] | <mstenta[m]> | Cool thanks for the link! |
| [09:47:45] | <mstenta[m]> | I made a quick note of that here: https://github.com/farmOS/farmOS/issues/54 |
| [09:47:55] | <mstenta[m]> | Will organize it better later... |
| [09:53:06] | <mstenta[m]> | Cool that you've been working with Symfony! I've only done a bit myself in my D8 experimentation - from what I see I like it :-) |
| [10:02:08] | * trentf has quit (Remote host closed the connection) |
| [10:11:14] | * cpm has joined #farmos |
| [10:21:44] | * trentf has joined #farmos |
| [10:37:02] | <cpm> | hi farmBOT |
| [10:37:02] | <farmBOT> | ni hao |
| [11:31:56] | <mstenta[m]> | I added a link to the Riot.im channel on farmOS.org |
| [11:32:37] | <mstenta[m]> | I think this Riot.im + IRC integration is going to be really great! |
| [11:33:01] | <mstenta[m]> | I personally still love IRC... but the Riot.im is very low barrier to entry |
| [12:14:57] | <cpm> | Yes, there is that. |
| [12:15:06] | <cpm> | irc sorta puts non-irc folks off |
| [12:15:25] | <cpm> | and yes on putting a link on the page |
| [12:26:24] | * samrose has quit (Quit: Page closed) |
| [12:32:54] | * samrose has joined #farmos |
| [12:36:10] | <samrose> | ok mstenta[m] thanks for you advice php 5.6 working much better! :) |
| [12:51:14] | <mstenta[m]> | samrose: great! |
| [12:51:20] | <samrose> | how does the "plan" feature work? |
| [12:51:27] | <samrose> | maybe there is documentation on that? |
| [12:55:37] | <samrose> | Ok I see "plan" on front page |
| [12:57:07] | <mstenta[m]> | (sorry - on a call... brb) |
| [13:08:00] | <mstenta[m]> | samrose: So the farm_plan module is a new module included in the last release... |
| [13:08:32] | <mstenta[m]> | It isn't used anywhere in farmOS itself yet, but it provides a framework for future developments |
| [13:08:37] | <mstenta[m]> | Check out http://github.com/mstenta/farm_grazing |
| [13:08:40] | <mstenta[m]> | That is a module for developing rotational grazing plans |
| [13:08:55] | <mstenta[m]> | It provides a new "plan type" called "Grazing Plan" |
| [13:09:01] | <mstenta[m]> | The idea is that we can start building more "plan types" moving forward |
| [13:09:02] | <mstenta[m]> | Like "Crop Plan" |
| [13:09:08] | <mstenta[m]> | "Nutrient Management Plan" |
| [13:09:08] | <mstenta[m]> | etc |
| [13:09:19] | <mstenta[m]> | A "Plan" basically provides a higher-level organization of the other record types, for a specific purpose |
| [13:09:29] | <mstenta[m]> | ie: a grazing plan helps to organize paddock areas, animal assets, and movement logs |
| [13:09:41] | <mstenta[m]> | It walks you through the process of developing a plan for your rotations, and automatically creates movement logs for you - all linked back to the plan |
| [13:10:26] | <mstenta[m]> | I'm eager to build a "Crop Plan" next... for planning out spacing requirements, seeding/transplanting/harvest dates, and eventually successions and multi-year rotations |
| [13:10:57] | <samrose> | ah I see it is for livestock at the moment with crop plan in the future understood thanks! |
| [13:12:06] | <samrose> | I am working now also on integrating farmos with https://erpnext.org/ so farmos is for the farmers to use, and erpnext handles the business side (in my current use case) |
| [13:12:19] | <samrose> | I will likely integrate via some http services |
| [13:14:53] | <samrose> | It looks like Farmos may already have some services no? |
| [13:17:53] | <mstenta[m]> | Cool! |
| [13:18:10] | <mstenta[m]> | farmOS does have a REST API - via the restws module |
| [13:21:45] | <samrose> | Yes, I was just digging through that code |
| [13:22:11] | <samrose> | is that documented somewhere? |
| [13:23:05] | <samrose> | Ok I think I see it is a generic api |
| [13:23:17] | <samrose> | like https://www.drupal.org/node/1860564 |
| [13:23:42] | <samrose> | I will have to figure out how to do webhooks with farmos |
| [13:24:19] | <samrose> | something like https://www.drupal.org/project/webhook I suppose |
| [13:25:32] | <mstenta[m]> | Yea restws basically just exposes Drupal's entity types as JSON and XML services |
| [13:25:55] | <samrose> | that makes sense |
| [13:26:05] | <mstenta[m]> | So you can access farm_asset, log, taxonomy_term entities etc |
| [13:26:35] | <mstenta[m]> | Cool never saw the Webhook module |
| [13:26:47] | <mstenta[m]> | I've implemented custom webhook callbacks in the past though |
| [13:26:51] | <mstenta[m]> | That probably just provides a standardized framework for doing so |
| [13:29:38] | <samrose> | Turns out I was actually seeking the opposite: for drupal to update other services when events happen on Drupal |
| [13:34:25] | <samrose> | I guess there is rules and web client module if I am really lazy :) |
| [13:34:47] | <mstenta[m]> | Ah ok! |
| [13:34:56] | <mstenta[m]> | Yes the Rules module would probably work well for that! |
| [13:35:07] | <mstenta[m]> | There is another guy who's been working on setting up Rules in farmOS |
| [13:35:17] | <mstenta[m]> | I'll see if I can invite him to the chat. |
| [13:36:21] | <samrose> | I will try to join the call next month too |
| [13:36:48] | <mstenta[m]> | Cool! |
| [13:37:17] | <mstenta[m]> | Also, putting this out to everyone in this room - we are organizing an open ag tech conference called GOAT (Gathering for Open Ag Tech) in early May this year. |
| [13:37:22] | <mstenta[m]> | All are invited to apply! |
| [13:38:00] | <mstenta[m]> | We're keeping the head count to 50 for this first year, hence the application process - but in the future we hope to grow it to allow more. |
| [13:38:03] | <mstenta[m]> | http://goatech.org |
| [13:38:07] | <mstenta[m]> | There's an application form link on that page. |
| [13:58:03] | <samrose> | ncie |
| [13:58:09] | <samrose> | or nice rather :) |
| [13:58:24] | <samrose> | just a quick test of rules shows it works great with farmos |
| [14:00:40] | <mstenta[m]> | Excellent! |
| [14:01:09] | <mstenta[m]> | Yea I was planning on adding it to the distro eventually :-) |
| [14:01:14] | <mstenta[m]> | I'm really trying to keep the contrib dependencies to a minimum right now - until we get onto Drupal 8 |
| [14:01:15] | <mstenta[m]> | Rules isn't ready for D8, last I checked :-( |
| [14:37:09] | * mikebrunt[m] has joined #farmos |
| [14:38:18] | <mikebrunt[m]> | Thanks for the invite |
| [14:38:41] | <mstenta[m]> | Hi mikebrunt |
| [14:38:43] | <mstenta[m]> | Of course! |
| [14:55:16] | * cpm has quit (Quit: Leaving) |
| [16:32:24] | * samrose has quit (Ping timeout: 260 seconds) |
| [16:42:34] | * samrose has joined #farmos |
| [16:43:34] | <samrose> | If it helps anyone I have shared my local dev set up here. https://gitlab.com/samueltrose/drupal7-farmos-nginx-php-fpm |
| [16:44:16] | <samrose> | I did not yet automate SSL, nor the install of GEOS and geos-php but I will add that soon |
| [16:44:55] | <samrose> | I could never get farmos to install via drush site-install, so I left that out too and just use the UI install.php approach, although sometime I will try to tackle that. |
| [16:45:14] | <samrose> | down the road I will make a drupal 8 branch of it too |
| [16:46:20] | <samrose> | (using debian jessie in my case) |
| [17:05:04] | * trentf has quit (Quit: Leaving.) |
| [17:23:13] | * trentf has joined #farmos |
| [17:58:30] | * Adam[m]4 has joined #farmos |