< 112022-05-12⋎13 >

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
00:38*symbioquine[m] has quit (Ping timeout: 240 seconds)
00:38*toino[m] has quit (Ping timeout: 240 seconds)
00:38*TheSlurpee[m] has quit (Ping timeout: 240 seconds)
00:38*spitz234[m] has quit (Ping timeout: 240 seconds)
00:39*mstenta[m] has quit (Ping timeout: 248 seconds)
00:39*ChinchillaWashin has quit (Ping timeout: 240 seconds)
00:39*scrdcow[m] has quit (Ping timeout: 240 seconds)
00:39*dazinism[m] has quit (Ping timeout: 240 seconds)
00:39*ludwa6[m] has quit (Ping timeout: 256 seconds)
00:39*FarmerEd[m] has quit (Ping timeout: 256 seconds)
00:39*GuilhermePerotta has quit (Ping timeout: 248 seconds)
00:39*nickhudson[m] has quit (Ping timeout: 248 seconds)
00:39*petednz[m] has quit (Ping timeout: 248 seconds)
00:39*jgaehring[m] has quit (Ping timeout: 248 seconds)
00:39*calbasi[m] has quit (Ping timeout: 240 seconds)
00:39*tool172[m] has quit (Ping timeout: 248 seconds)
00:39*Noaht[m] has quit (Ping timeout: 248 seconds)
00:39*AnasHaddad[m] has quit (Ping timeout: 260 seconds)
00:39*monkeyflowerfarm has quit (Ping timeout: 260 seconds)
00:39*paul121[m] has quit (Ping timeout: 260 seconds)
00:39*MarcosCarballal[ has quit (Ping timeout: 260 seconds)
01:09*mstenta[m] has joined
01:09*ChinchillaWashin has joined
01:11*symbioquine[m] has joined
01:14*scrdcow[m] has joined
01:17*FarmerEd[m] has joined
01:18*nickhudson[m] has joined
01:20*jgaehring[m] has joined
01:20*petednz[m] has joined
01:22*botlfarm[m] has joined
01:22botlfarm[m]Thanks mstenta This is great!
01:25*dazinism[m] has joined
01:29*MarcosCarballal[ has joined
01:31*toino[m] has joined
01:34*spitz234[m] has joined
01:35*tool172[m] has joined
01:38*TheSlurpee[m] has joined
01:40*ludwa6[m] has joined
01:42*calbasi[m] has joined
01:47*jgaehring[m] has quit (Ping timeout: 240 seconds)
01:47*ludwa6[m] has quit (Ping timeout: 240 seconds)
01:47*nickhudson[m] has quit (Ping timeout: 240 seconds)
01:47*ChinchillaWashin has quit (Ping timeout: 240 seconds)
01:47*toino[m] has quit (Ping timeout: 250 seconds)
01:47*FarmerEd[m] has quit (Ping timeout: 250 seconds)
01:48*dazinism[m] has quit (Ping timeout: 240 seconds)
01:48*TheSlurpee[m] has quit (Ping timeout: 250 seconds)
01:48*botlfarm[m] has quit (Ping timeout: 250 seconds)
01:48*mstenta[m] has quit (Ping timeout: 250 seconds)
01:51*paul121[m] has joined
01:59*Noaht[m] has joined
02:02*GuilhermePerotta has joined
02:06*AnasHaddad[m] has joined
02:08*monkeyflowerfarm has joined
02:09*TheSlurpee[m] has joined
02:10*botlfarm[m] has joined
02:10*mstenta[m] has joined
02:11*jgaehring[m] has joined
02:11*ludwa6[m] has joined
02:12*nickhudson[m] has joined
02:13*toino[m] has joined
02:15*ChinchillaWashin has joined
02:16*FarmerEd[m] has joined
02:17*dazinism[m] has joined
09:54FarmerEd[m]mstenta: If you get a chance, have a quick look at www.drupal.org/project/entity_reference_
09:54FarmerEd[m]it looks to me like the patch file uploaded but my comment may be blocked as I'm an unconfirmed user on Drupal.org
09:54FarmerEd[m]I assume you can confirm my account as a community member?
10:41mstenta[m]Ah great Farmer Ed!!
10:41mstenta[m]I just opened the link on my phone and I see your comment and patch, so it looks like it worked!
10:43mstenta[m]Oh but... Looks like the patch has more in it than the merge request... Oops. The git diff command I gave you might have been wrong... :-(
10:43mstenta[m]Sorry!
10:43FarmerEd[m]😁
10:44mstenta[m]I can take a closer look in a few hours... Gotta get the kids off to school etc
10:44mstenta[m]My bad
10:47mstenta[m]The git diff basically needs to compare the MR branch and the most recent commit on the main branch. Maybe what I wrote missed something... trying to think... 🤔
11:21FarmerEd[m]Out on the farm at the moment myself, talk to you in a few hours so.
15:14FarmerEd[m]Should it be more like this? git diff from-commit to-commit > output-file
15:18mstenta[m]yes that would work too!
15:18mstenta[m]i just sat down to take a look too :-)
15:19mstenta[m]ultimately we want to end up with something that looks similar to this diff: git.drupalcode.org/project/entity_refere
15:21paul121[m]Can you copy/paste this? Or does it not include latest changes? git.drupalcode.org/project/entity_refere
15:21mstenta[m]oh nice!
15:21mstenta[m]that looks right
15:21mstenta[m]forgot GitLab could generate that!
15:22FarmerEd[m]Cool
15:23mstenta[m](I do like to avoid using the GitLab generated patches *directly* in our `composer.json`, and prefer a patch that is explicitly attached to a d.o comment, just because if the MR changes then that patch changes...)
15:23FarmerEd[m]But I'm still interested for education purposes
15:23mstenta[m]huzzah! well now you've got something to compare against!
15:23mstenta[m]thanks paul121 !
15:28*uploaded an image: (50KiB) < libera.ems.host/_matrix/media/r0/downloa >
15:29MarcosCarballal[Hi guys, looking to change the display format for php asset definition
15:29MarcosCarballal[I have field definitions like this... (full message at libera.ems.host/_matrix/media/r0/downloa)
15:30MarcosCarballal[That get passed into farmFieldFactory->bundleFieldDefinitions()
15:30MarcosCarballal[I am hoping to change the display type to a select list
15:32mstenta[m]Marcos Carballal: I think you can do that after you use the field factory to generate the initial definition...
15:32mstenta[m]Not sure the exact code, but I can probably find a rough example...
15:33mstenta[m]github.com/farmOS/farmOS/blob/83188d52ff
15:34mstenta[m]hmm actually that's not the best example maybe... it's not for an entity reference field
15:34mstenta[m]but you can at least see what it might look like
15:34mstenta[m]this bit specifically:
15:34mstenta[m] ->setDisplayOptions('form', [
15:34mstenta[m] 'type' => 'entity_reference_autocomplete',
15:34mstenta[m] 'weight' => 10,
15:34mstenta[m] ])
15:35mstenta[m]`setDisplayOptions()` is a method on the base/bundle field definition classes
15:35mstenta[m]the field factory basically uses that itself, and for entity reference fields it defaults to `entity_reference_autocomplete`
15:35mstenta[m]you basically just want to override those settings to make it a select list
15:35mstenta[m]although I'm not sure off the top of my head what that needs to look like in code
15:37mstenta[m]oh wait sorry... maybe your field isn't an entity reference... i may have misread
15:37mstenta[m]either way, same basic idea
15:37MarcosCarballal[It is a taxonomy reference
15:37mstenta[m]oh ok then yes. it's an entity reference. :-)
15:41mstenta[m]on a more general note: it looks like you're adding fields for soil test values? i'm not sure if Brandon has talked to y'all yet but we're working on a scope of work with USDA right now to work on this exact kind of thing! with the hope that PODS could adopt it in the future. might be worth all getting on a call sometime soon to sync up and think ahead to that... everything's been a bit shuffled and shifting with things happening in parallel.
15:41mstenta[m]and of course we could always migrate from whatever you build to the future solution, so probably not a make-or-break decision right now... just worth mentioning!
15:55mstenta[m]@room FYI the weekly dev call starts in 5 minutes - all are welcome :-)
15:55mstenta[m]meet.jit.si/farmos-dev
17:22MarcosCarballal[When would we like to schedule a time to go over Form API with PODS developers?
17:22MarcosCarballal[It seems like most of the team is free 12-1 time block and 3-4 time block tomorrow, otherwise we can schedule for next week :).
17:22MarcosCarballal[Thanks a lot for offering to do that, I think it will get us heading down the right path.
17:23mstenta[m]If that's Eastern time then I won't be able tomorrow.
17:24mstenta[m]Basically only available 11-12
17:24MarcosCarballal[Yes, sorry. EST. No problem at all, what's your availability like Mon/Tues?
17:25mstenta[m]Tuesday 1-3 is open
17:31MarcosCarballal[I just sent out an invite for 2pm on Tuesday.
17:41FarmerEd[m]Had to run off before the end of the conversation on asset owners. I was going to say the idea of using the scopes could allow for additional types of owners.
17:41FarmerEd[m]In the EU and probably UK, on livestock farms there is a legal owner and a separate legal herd/flock keeper as well as potential separate assignees for the assets.
17:41FarmerEd[m]A herd keeper and owner may or may not be the same person.

< 112022-05-12⋏13 >