IRC logs for #farmOS, 2021-03-25 (GMT)

2021-03-24
2021-03-26
TimeNickMessage
[12:00:05]* stevemwai[m] has quit (Quit: Idle for 30+ days)
[13:18:51]* paul121[m] has quit (*.net *.split)
[13:18:54]* linus0[m] has quit (*.net *.split)
[13:18:54]* calbasi_matrix has quit (*.net *.split)
[13:18:54]* munjoma[m] has quit (*.net *.split)
[13:18:54]* jgaehring[m] has quit (*.net *.split)
[13:28:21]* farmBOT has joined #farmos
[13:45:26]* farmBOT has joined #farmos
[13:54:39]* calbasi_matrix has joined #farmos
[13:54:56]* dazinism has joined #farmos
[13:58:11]* twiclo has quit (*.net *.split)
[13:58:11]* svenn has quit (*.net *.split)
[13:58:31]* twiclo has joined #farmos
[13:58:36]* svenn has joined #farmos
[13:59:46]* Kingdutch has quit (*.net *.split)
[13:59:51]* The_Kingdutch has joined #farmos
[14:03:51]* mmn has quit (*.net *.split)
[14:04:33]* mmn has joined #farmos
[14:09:28]* farmBOT has joined #farmos
[14:12:29]* dazinism has joined #farmos
[14:15:57]* Artea has quit (*.net *.split)
[14:17:08]* Artea has joined #farmos
[14:28:35]* calbasi_matrix has quit (Ping timeout: 248 seconds)
[14:30:25]* dazinism has quit (Ping timeout: 276 seconds)
[14:51:44]* calbasi_matrix has joined #farmos
[15:11:38]* JulianF has joined #farmos
[15:11:38]* kunigunde[m] has joined #farmos
[15:11:38]* linus0[m] has joined #farmos
[15:11:38]* med65[m] has joined #farmos
[15:11:39]* tenore_di_grazia has joined #farmos
[15:11:44]* hra38192639[m] has joined #farmos
[15:11:44]* generalredneck[m has joined #farmos
[15:11:44]* mstenta[m] has joined #farmos
[15:11:44]* frakman1[m] has joined #farmos
[15:11:44]* paul121[m] has joined #farmos
[15:11:44]* jgaehring[m] has joined #farmos
[15:11:45]* julianorman[m] has joined #farmos
[15:11:45]* symbioquine[m] has joined #farmos
[15:11:45]* skipper_is[m] has joined #farmos
[15:12:15]* munjoma[m] has joined #farmos
[15:13:07]* wombat83[m] has joined #farmos
[15:16:13]* farmtech[m] has joined #farmos
[15:17:27]* dazinism has joined #farmos
[17:31:58]<mstenta[m]>symbioquine: are you enabling inventory tracking on any custom asset types?
[17:32:20]<mstenta[m]>we are writing the migration code for inventory -> quantity
[17:34:54]<symbioquine[m]>Yeah, we use the inventory tracking pretty extensively for tracking quantities of seed assets.
[17:36:36]<symbioquine[m]>Every time we plant or distribute seed, it reduces the inventory amount for the relevant accessions.
[17:38:10]<symbioquine[m]>But I don't have a problem with it taking some custom code to migrate those as long as there's a decent pattern to follow...
[17:40:07]<mstenta[m]>Cool - and as you know, there is no "units" in 1.x inventory tracking... there will be in 2.x.
[17:40:19]<mstenta[m]>But the default migration will not set any unit.
[17:40:51]<mstenta[m]>However, we're thinking of giving migrated inventories a "measure" of "count" - would that make sense for you?
[17:41:19]<mstenta[m]>(Because inventories are becoming quantity entities - they can now also include label/unit/measure info)
[17:41:57]<symbioquine[m]>I've faking it with a separate field on the seed asset to indicate the units, but almost all are set to grams.
[17:42:53]<mstenta[m]>ah ok ... so "weight" is actually what you're measuring, not "count"
[17:43:49]<mstenta[m]>paul121: with that in mind, we may want to just leave "measure" blank on migrated inventories as well
[17:44:18]<mstenta[m]>(the primary use-case for it in farmOS core is animal head counts, so we were considering setting it to "count" by default - but that isn't strictly necessary)
[17:45:43]<mstenta[m]>but i suppose... we could just include that as the default in the core `farm_migrate_inventory` migration - and you could just not run that one symbioquine and instead clone/modify it for your specific migration needs
[17:46:17]<mstenta[m]>maybe that's the most sensible approach... because i do think our "animal head count" convention should include "count" as the measure
[17:47:57]<symbioquine[m]>That makes sense to me.