< 222023-06-23⋎24 >

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
04:11*heartburn has quit (*.net *.split)
04:13*heartburn has joined
14:30symbioquine[m]I've been experimenting with the instructions from farmos.org/hosting/composer/ with an odd result...
14:31symbioquine[m]The version of farmos/farmos keeps getting locked at 2.0.0-alpha5.
14:33symbioquine[m]Does [this line](github.com/farmOS/composer-project/blob/) not include version 2.1.1?
14:34*sent a shell code block: libera.ems.host/_matrix/media/v3/downloa
15:02symbioquine[m]<symbioquine[m]> "Does [this line](github..." <- It looks like it should: getcomposer.org/doc/articles/versions.md
15:03symbioquine[m]And Packagist knows about farmOS 2.1.1;
15:03symbioquine[m]* packagist.org/packages/farmOS/project
15:03symbioquine[m]* packagist.org/packages/farmos/farmos
15:05symbioquine[m]Interesting... I needed to add --ignore-platform-reqs for it to pick up version 2.1.1
15:08wotnak[m]tried composer create-project farmos/project:2.x-dev now and 2.1.1 was correctly installed for me, maybe your environment has some missing/outdated platform requirements that are enough for 2.0.0-alpha5 but not for newer versions
15:10symbioquine[m]Maybe. I'm on Arch Linux - with its rolling releases most stuff tends to be pretty up to date...
15:14paul121[m]Why did you add these flags? --ignore-platform-req=ext-simplexml --ignore-platform-req=ext-gd
15:15symbioquine[m]Because they shouldn't matter. I'm only trying to use my system's composer install to manage the dependencies in my composer.json/composer.lock file. Everything after that will be happening in a docker build...
15:15paul121[m]Gotcha
15:16symbioquine[m]That said, it's not working so well....
15:16symbioquine[m]Something is doing its own check for php-gd and failing despite that flag
15:17paul121[m]I've experimented with this in a similar way, but using the official composer docker image to do something like: docker run composer update
15:17paul121[m]and I had to pass in some of those platform flags
15:17paul121[m]because the composer docker image is quite slim
15:18symbioquine[m]Yeah, was just about to give up on using my system's php/composer versions
15:18paul121[m]trying to find my notes..
15:22paul121[m]basically this (scroll to Troubleshooting/PHP Version): hub.docker.com/_/composer
15:23paul121[m]$ docker run --rm --interactive --tty \
15:23paul121[m] --volume $PWD:/app \
15:23paul121[m] composer install --ignore-platform-reqs --no-scripts
15:25symbioquine[m]Well looks like I got it working with my system's php version - at least so far as a successful create-project.
15:29paul121[m]Nice. Simple things should work!
15:38symbioquine[m]Well it should work more easily without those ignore flags - and it should honor the ignore flags more fully...
15:38symbioquine[m]It turns out there are checks for php-gd and php-sodium that the ignore flags don't work for so I had to actually install/enable those.

< 222023-06-23⋏24 >