< 072023-03-08⋎09 >

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:42symbioquine[m]I'm still curious about this;
14:42*uploaded an image: (102KiB) < libera.ems.host/_matrix/media/v3/downloa >
14:42mstenta[m]Yea - we don't have a way to alter that list currently
14:42mstenta[m]We could build that - might be a good idea!
14:42mstenta[m]But that would be a separate PR
14:43mstenta[m](that's what I meant, if that helps clarify my comment)
14:43symbioquine[m]Yeah, that makes sense
14:44symbioquine[m]So a derived installation profile would basically need to replace the whole form?
14:45mstenta[m]If you wanted to alter that form, yes, you would need to fork farmOS and depend on your fork
14:46mstenta[m]It's also tricky because I don't think a module can alter forms at that stage in the installation
14:46symbioquine[m]I wondered about that
14:46mstenta[m]But we'd have to test that, maybe they could... assuming this happens after that module is installed
14:46mstenta[m]So it's a bit of a chicken or egg problem too
14:47mstenta[m]Note: we DO have some logic in `/farm/settings/modules` that will search for modules that are in the "farmOS Contrib" group and automatically display them as options
14:47mstenta[m]I don't think that same logic is used in the farmOS installation form though
15:47paul121[m]That's interesting. A similar question would be if there is away to enable contrib modules during a standard drupal installation?
15:48symbioquine[m]is it core.extension.yml?
15:49symbioquine[m]Never tried it, just ran into that doing some googling on the topic earlier this morning.
15:51mstenta[m]Yea... so if you are "installing from existing config" you can specify in `core.extension.yml` which modules get installed
15:51paul121[m]Interestinggg... that is the simple config object that keeps track of what has been installed!
15:51mstenta[m]Yep!
15:51paul121[m]Don't modify it after you install :-)
15:52mstenta[m]And for someone who is maintaining a site via composer, it makes a lot of sense to commit the config/sync dir with that in it!
15:52mstenta[m]For example, "PODS" in the USDA (built on farmOS) uses a similar repo structure to what I described in the new documentation
15:53mstenta[m]and they have config/sync in the root of the repo
15:53mstenta[m]in settings.php you can specify where the sync directory is
15:53mstenta[m]then, after installing and configuring a site you just run drush cex (config export) and it dumps ALL config YML files into that dir
15:54mstenta[m]then, you run drush site-install --existing-config and it will reinstall WITH that config
15:54mstenta[m](ps the new page is live! farmos.org/hosting/composer/)
15:56mstenta[m]> And for someone who is maintaining a site via composer, it makes a lot of sense to commit the `config/sync` dir with that in it!
15:56mstenta[m]here's another example of this in practice: github.com/National-Forestry-Authority/f
15:56mstenta[m]github.com/National-Forestry-Authority/f
15:57mstenta[m]so... the difference between config/sync in the project repo and config/install (or config/optional) in the modules themselves is: config/install defines the config that should be installed when a module is... and config/sync represents all the config that WAS installed for this particular site
15:57mstenta[m]a key difference is: the YML files in config/sync all have uuids
15:58mstenta[m]because they are a specific instance of the configuration for a specific site
15:58mstenta[m]but after initial install of the modules, all that config becomes the responsibility of the site admin to maintain
15:59mstenta[m]we provide a workaround in our farm_update module for the 99% of users who don't care about that (we auto-revert config to match the module's config/install if it changes upstream with a new version)
16:00mstenta[m]we don't really cover any of this stuff in the "Building farmOS with Composer" guide right now... but it might be helpful to include that in the future... or make another new page for it
16:43*farmBOT has quit (Ping timeout: 268 seconds)
16:43*farmBOT has joined
16:52jgaehring[m]Think I need to skip monthly call today, too behind on a million things, including Field Kit, but hopefully more updates in April!
16:53mstenta[m]That's OK jgaehring - you will be missed!
18:59symbioquine[m]Monthly call in a minute or so: meet.jit.si/farmos-community
18:59symbioquine[m]farmos.org/community/monthly-call/

< 072023-03-08⋏09 >