| 00:15 | mstenta[m] | <symbioquine[m]> "This is what I do......" <- Yes. For development it helps to have the whole codebase |
| 00:15 | mstenta[m] | mstenta[m]: But sites is the minimum for persistence in production |
| 12:53 | symbioquine[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:55 | symbioquine[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:57 | mstenta[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:57 | mstenta[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:59 | symbioquine[m] | mstenta[m]: Yeah, in production I'm mounting to `/opt/drupal/web/sites` but backing up `/opt/drupal/*` |
| 13:00 | symbioquine[m] | symbioquine[m]: (plus db) |
| 13:01 | symbioquine[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:08 | mstenta[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:09 | symbioquine[m] | Is it not already? |
| 13:10 | symbioquine[m] | Ah! Under here: farmos.org/hosting/install/#farmos-codeb |
| 13:10 | mstenta[m] | Maybe something like:... (full message at <matrix.org/_matrix/media/v3/download/mat>) |
| 13:10 | symbioquine[m] | Would be nice to have a little flowchart about which strategy to use 🤓 |
| 13:10 | mstenta[m] | Yea exactly |
| 13:11 | mstenta[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:11 | symbioquine[m] | Sounds right to me |
| 13:11 | mstenta[m] | After that, it's more about Docker vs non-Docker. |
| 13:12 | mstenta[m] | We could continue to say "it may be possible to install other modules without Composer, but it is not recommended" |
| 13:12 | mstenta[m] | Not using Composer is just asking for trouble, the longer time goes on... |
| 13:12 | mstenta[m] | (due to dependency version issues) |
| 13:14 | symbioquine[m] | Same lesson learned by all the popular language package managers - "you actually need a package version lock file" |
| 13:14 | symbioquine[m] | * the popular programming language package |
| 13:15 | mstenta[m] | Maaaaaaybe we can start providing a "farmOS Plus" Docker image/tarball that includes some contrib modules |
| 13:15 | symbioquine[m] | Hmmm, sounds like a can of worms 🪱 |
| 13:15 | mstenta[m] | For folks who really just want a click and go option (like all these new-fangled NAS app stores) |
| 13:15 | mstenta[m] | Yup. Agreed. |
| 13:16 | mstenta[m] | There is an audience for non-Docker-non-Composer installations I think |
| 13:16 | mstenta[m] | (Although automatically detecting version changes and taking a backup + running update.php might be necessary) |
| 13:17 | mstenta[m] | It's a question of how much hand-holding do we want to support long term |
| 13:17 | symbioquine[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:19 | mstenta[m] | Nextcloud has barebones Docker images (like ours) but they also provide "All-in-One" options IIRC |
| 14:01 | paul121[m] | <mstenta[m]> "Not using Composer is just..." <- Yeah this needs to be highly recommended IMO |
| 14:02 | paul121[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:11 | shplorf[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) |