< 072019-01-08⋎09 >

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
00:43*Fosten has quit (Quit: Leaving.)
00:44*Fosten has joined
00:44*Fosten has quit (Client Quit)
05:43*Fosten has joined
06:07*Fosten has quit (Quit: Leaving.)
09:38*JustTB has joined
14:43*JustTB has quit (Quit: Leaving.)
14:56mstenta[m]Opportunity for anyone based in the UK: forum.goatech.org/t/funding-3k-for-softw
14:56mstenta[m]Could be a great opportunity to grow the farmOS community in the UK!
15:19*Fosten has joined
15:19*Fosten has quit (Client Quit)
16:16*JustTB has joined
17:59*Fosten has joined
18:14paul121[m]Submitted a pull request, adds the ability to override planting quick form asset names
18:16mstenta[m]paul121: Awesome!!! I'll check it out soon! Thanks!
18:17paul121[m]Ran into a few issues. The forms API doesn't allow you to reset the #default_value of a form on an ajax callback. I would update this when a crop/season are added. Updating the #value of the form doesn't allow the user to make changes. There is a workaround I used, just seems like a limitation of the forms API.. ran into this @mste
18:18paul121[m]Have you ran into that mstenta ?
18:22mstenta[m]Ah yea - I've run into that too. I actually use the same solution in a few other places, if I remember correctly.
18:41mstenta[m]Great job paul121 - looks and works great!
18:42mstenta[m]I merged it in. :-)
19:13paul121[m]mstenta: great! Adding the locations while I'm here, too..
19:15paul121[m]I wanted to ask, how would you manage your development for this? I'm working on the repository inside docker at profiles/farm. I added my remote fork to the local repo, and managed that way. Is this the easiest way?
19:16paul121[m]Would you have a different approach if you were working on a module not included in farmOS?
19:19mstenta[m]paul121: Great! You're on a roll!
19:20mstenta[m]Yea, for farmOS core development, I work inside .data/www/profiles/farm (where the Git repository gets checked out during Docker setup)
19:20mstenta[m]The Drupal convention for non-core modules and themes is to put them under the sites/ directory
19:20mstenta[m]So I generally put farm_* module in .data/www/sites/all/modules/farm
19:21mstenta[m]The reason you're encouraged to put everything under sites/ is to make Drupal/farmOS core updates easier
19:21mstenta[m]You can basically download the new version's zip or tar.gz and replace everything except sites/
19:22mstenta[m](Hence why you wouldn't want to put anything non-core inside profiles/farm/ - because it would be replaced during an update.)
19:25mstenta[m]PS: If you're curious about why farmOS gets checked out again inside .data/www, these two issues might be of interest:
19:25mstenta[m]github.com/farmOS/farmOS/issues/36
19:25mstenta[m]github.com/farmOS/farmOS/issues/114
19:28paul121[m]Hmmm okay. Lots of pieces there!
19:31paul121[m]It took me awhile to figure out how that git repository was being checked out. Just took a while going through the Development/Docker documentation at farmos.org. All the information is there, but I think it could be simplified
19:32paul121[m]Maybe not simplified, but explicit-fied... add a section that more explicitly says 'It is recommended to do development --here--'
19:33paul121[m]I'm starting to see the benefits of multiple repos for things, but also the value of just one... It makes coming onto the project easier, I think...
19:33paul121[m]Thanks!!
19:45mstenta[m]Yea I agree - the Docker documentation page could be reorganized, especially with regard to how to use it for development vs actual hosting
19:45mstenta[m]I think I made some todos for that...
19:46mstenta[m]Eh maybe not... this is semi-related: github.com/farmOS/farmOS.org/issues/20
19:46mstenta[m]If you want to take a stab at some edits, please feel free!
19:55paul121[m]Is docker a good candidate for production now? Or nearly?
20:05mstenta[m]paul121: Yes I would say so.
20:05mstenta[m]I use it for Farmier hosting.
20:06mstenta[m]Although I do not put the database in Docker in production.
20:06mstenta[m]It works great for the www container.
20:07mstenta[m]But if you are doing production hosting of farmOS, don't use the docker-compose.yml that comes with farmOS - that is intended only for development.
20:08paul121[m]Yeah, makes sense. Oh - that's where DEV is set to true, etc, right?
20:08mstenta[m]Yea
20:08mstenta[m]And where the database root password gets set to "farmos" ;-)
20:08mstenta[m]Wouldn't want that in production...
20:09mstenta[m]So the Dockerfile can be considered ready for production... but it's up to you to decide how you want to run that. If you want to use Docker Compose, then you'll need to write your own docker-compose.yml (or adapt the dev one)
20:11paul121[m]Ah yes, important things!
20:14mstenta[m]paul121: PS this pull request looks great too!
20:14mstenta[m]Will merge in a moment...
20:15mstenta[m]I'm just going to change the transplanting vs seeding description a bit to try to make it more clear how that works.
20:15mstenta[m]What do you think about this?
20:15mstenta[m]> The planting asset name will default to "[Season] [Location] [Crop(s)]" but can be modified here. If both a seeding and a transplanting log are created, the transplanting location will be used.
20:16paul121[m]That's great!
20:17paul121[m]Tried a few things in my head, didn't know what was best
20:18mstenta[m]Yea that's a tricky one to summarize easily :-)
20:18mstenta[m]Alright! Committed and pushed!
20:18mstenta[m]Thanks again!
20:24paul121[m]Awesome. I'll keep an eye out for other little tasks that come up!
20:26mstenta[m]Great! Thanks Paul! There's a long list over here if you want to poke around: www.drupal.org/project/issues/farm?categ
20:28mstenta[m]paul121: PS can I add your name to farmos.org/community/supporters/ ?
20:31paul121[m]Sure, please do!
21:38*Fosten has quit (Quit: Leaving.)
22:33*Fosten has joined
22:46*Fosten has quit (Quit: Leaving.)

< 072019-01-08⋏09 >