< 102021-03-11⋎12 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
13:05*Kingdutch has joined
13:07*The_Kingdutch has quit (Ping timeout: 256 seconds)
16:26mstenta[m]symbioquine: we're updating to Composer 2, but it appears that `nathandentzau/composer-patches-dev` doesn't support it yet
16:27mstenta[m]iirc, the only reason we have that is to patch drupal core for paratest, and only in the dev environment
16:27mstenta[m]so i think i may just move it from `patches-dev` to `patches` and remove that dependency
16:27mstenta[m]what do you think?
16:27symbioquine[m]Hmmm, weren't there other patches...
16:28mstenta[m]We do already include `cweagans/composer-patches`
16:28symbioquine[m]github.com/farmOS/farmOS/blob/2cd058167f
16:28symbioquine[m]ah, so just the patches-dev part doesn't work?
16:28mstenta[m]We only added `nathandentzau/composer-patches-dev` for `patches-dev`
16:28mstenta[m]yea
16:28symbioquine[m]yeah, I see
16:28symbioquine[m]Cool, I think that makes sense then
16:29mstenta[m]I'll push a test to my fork and see how it goes
16:32symbioquine[m]It would be nice if they'd get back to me with a review on www.drupal.org/project/drupal/issues/319 sometime soon...
16:33symbioquine[m]I don't have a sense for how long changes like that normally take though.
16:33mstenta[m]maybe i'll set it to "Reviewed and Tested by the Community" ... see if that nudges them :-)
16:34symbioquine[m]Thanks!
16:35mstenta[m]but yea in general molasses moves faster than core issues
16:42mstenta[m]wow @longwave responded pretty quickly after that :-)
16:43mstenta[m]he's a long time drupal contributor
16:46symbioquine[m]Yeah, that's a good question he raises... I definitely haven't tested it under windows.
16:51mstenta[m]blarg - hitting some other issues with composer 2 now
16:51mstenta[m](should have known this would be a rabbit hole)
16:51symbioquine[m]:)
17:37mstenta[m]symbioquine paul121 fyi i'm doing a bit of force-pushing on `composer-project` to try to figure out the composer 2 issue... (poor form i know.. sorry)
17:38mstenta[m](maybe i'll try to right it up so i can test without doing that...)
17:38mstenta[m] * (maybe i'll try to rig it up so i can test without doing that...)
17:39symbioquine[m]Wouldn't that mean that folks building their own images at the same time might get unpredictable results?
17:39mstenta[m]yes. (poor form)
17:39mstenta[m]i'll undo and find a better way.
17:41symbioquine[m]Can't you just set `PROJECT_REPO` for the docker build?
17:41mstenta[m]yea doing that now (admittedly i was being lazy. and optimistic that it was going to work on the first try)
17:42mstenta[m]thank you for shaking sense into me
17:43mstenta[m]on a related note... i'd love to merge the `composer-project/composer.json` file into the farmOS repo at some point... and automate subtree-splitting it out to its own repo via github actions or something
17:44symbioquine[m]<mstenta[m] "on a related note... i'd love to"> Sounds interesting... is there an issue for that already?
17:44mstenta[m]i don't think so
17:45paul121[m]`composer repositories.farmos git $path_to_repo`
17:45mstenta[m]i did some digging a while back... Drupal core does this for it's own github.com/drupal/recommended-project
17:46mstenta[m](i believe... or maybe that's just for github.com/drupal/core)
17:46mstenta[m]i think this is the related issue: www.drupal.org/project/infrastructure/is
17:47paul121[m]I did something similar for the tugboat config. But doesn't solve the problem of how to organize our farmos repo
21:34mstenta[m]Got Composer 2 working :-)
21:41mstenta[m]Now we just need to get onto PHP 8 ;-)
21:42mstenta[m](www.drupal.org/project/farm/issues/31865)
21:58mstenta[m]symbioquine: do you know if it's possible to use `matrix.strategy` *in-between* sets of steps in github actions?
21:59* < matrix.org/_matrix/media/r0/download/mat >
21:59mstenta[m](where only step 2 would run in parallel)
21:59mstenta[m] * (where only step 2 would run the tests in three databases in parallel)
22:01mstenta[m]the reason I ask: i'm thinking about moving to using github actions to build our Docker images and then push to Docker Hub, instead of having Docker Hub do that itself... for a couple of reasons
22:01mstenta[m]and it would be cool if we could set it up to only push to docker hub if the tests pass
22:01mstenta[m]but we wouldn't want to build/push three times
22:02mstenta[m]one of the reasons for building via GitHub Actions is we could build ARM images :-)
22:02mstenta[m]github.com/farmOS/farmOS/issues/339
22:02symbioquine[m]Hmmm, I don't think it's easy without pushing the image somewhere between the steps... But I can take a look this evening once I'm back at my computer.
22:03mstenta[m]oh no worries - just curious - not something i'm planning on doing soon :-)
22:03mstenta[m]that github issue just got my gears turning - it would be cool to pull some of these things together into github actions
22:04symbioquine[m]Yeah!
22:04mstenta[m]it would improve the docker hub images too - by ensuring they are always passing tests before they get published
22:06mstenta[m]Alternatively, I wonder if it's possible for one GitHub Action workflow to trigger a different workflow?
22:07mstenta[m]and then split them up - eg: have one master that runs whenever something is pushed, which builds the images, runs the tests in a different workflow, and then continues if it passes
22:08symbioquine[m]I think that's possible, but it requires pushing the image somewhere in between them
22:08mstenta[m]mmm interesting - ok
22:08mstenta[m]github has a container registry
22:09mstenta[m]maybe we could use that as a temporary in-between, but delete the images automatically after they are pushed to docker hub
22:09symbioquine[m]Yeah something like that could work
22:09mstenta[m]⚙️🤔
22:12mstenta[m]i'll spin up an issue for future explorations...
22:35mstenta[m]www.drupal.org/project/farm/issues/32031
23:15*justanormalguy has joined

< 102021-03-11⋏12 >