< 242024-03-25⋎26 >

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:15mstenta[m]<symbioquine[m]> "This is what I do......" <- Yes. For development it helps to have the whole codebase
00:15mstenta[m]mstenta[m]: But sites is the minimum for persistence in production
12:53symbioquine[m]<mstenta[m]> "But sites is the minimum for..." <- Yeah, it's a little wasteful, but can be helpful for reproducing a given state at the time of the backup.
12:55symbioquine[m]symbioquine[m]: I could probably stop doing that in favor of just saving the some sort of pointer to my repository revision or docker image now that I'm doing farmos.org/hosting/composer/
12:57mstenta[m]symbioquine[m]: The other downside of mounting `/opt/drupal` is that you won't get the new version of farmOS simply by updating the Docker image.
12:57mstenta[m]mstenta[m]: Oh sorry this is about backups specifically... I misinterpreted it originally to be about volume mounts. So take comments with that in mind.
12:59symbioquine[m]mstenta[m]: Yeah, in production I'm mounting to `/opt/drupal/web/sites` but backing up `/opt/drupal/*`
13:00symbioquine[m]symbioquine[m]: (plus db)
13:01symbioquine[m]symbioquine[m]: It was necessary for reproducibility when I was doing everything via the docker-compose.yml file and versions of stuff weren't necessarily pinned fully.
13:08mstenta[m]symbioquine (and paul121) as a sidenote to that thread... I'm thinking more and more about making Composer one of the primary "recommended" installation methods
13:09symbioquine[m]Is it not already?
13:10symbioquine[m]Ah! Under here: farmos.org/hosting/install/#farmos-codeb
13:10mstenta[m]Maybe something like:... (full message at <matrix.org/_matrix/media/v3/download/mat>)
13:10symbioquine[m]Would be nice to have a little flowchart about which strategy to use 🤓
13:10mstenta[m]Yea exactly
13:11mstenta[m]I think the first step of the flowchart is: do you just want default farmOS? Or also other modules? If the latter, we need to recommend Composer.
13:11symbioquine[m]Sounds right to me
13:11mstenta[m]After that, it's more about Docker vs non-Docker.
13:12mstenta[m]We could continue to say "it may be possible to install other modules without Composer, but it is not recommended"
13:12mstenta[m]Not using Composer is just asking for trouble, the longer time goes on...
13:12mstenta[m](due to dependency version issues)
13:14symbioquine[m]Same lesson learned by all the popular language package managers - "you actually need a package version lock file"
13:14symbioquine[m]* the popular programming language package
13:15mstenta[m]Maaaaaaybe we can start providing a "farmOS Plus" Docker image/tarball that includes some contrib modules
13:15symbioquine[m]Hmmm, sounds like a can of worms 🪱
13:15mstenta[m]For folks who really just want a click and go option (like all these new-fangled NAS app stores)
13:15mstenta[m]Yup. Agreed.
13:16mstenta[m]There is an audience for non-Docker-non-Composer installations I think
13:16mstenta[m](Although automatically detecting version changes and taking a backup + running update.php might be necessary)
13:17mstenta[m]It's a question of how much hand-holding do we want to support long term
13:17symbioquine[m]Along similar lines there might be a way to have a "curated module repository" built-in without necessarily shipping/endorsing specific contrib modules
13:19mstenta[m]Nextcloud has barebones Docker images (like ours) but they also provide "All-in-One" options IIRC
14:01paul121[m]<mstenta[m]> "Not using Composer is just..." <- Yeah this needs to be highly recommended IMO
14:02paul121[m]It would be nice to have an example repo making a custom docker image based on a composer workflow. But agree it would be hard to maintain that as a suggested install method
14:11shplorf[m]<symbioquine[m]> "It was necessary for reproducibi..." <- Makes sense, thanks for the explanation!
20:43*tool172[m] has quit (Quit: Client limit exceeded: 20000)

< 242024-03-25⋏26 >