| 04:11 | * | heartburn has quit (*.net *.split) |
| 04:13 | * | heartburn has joined |
| 14:30 | symbioquine[m] | I've been experimenting with the instructions from farmos.org/hosting/composer/ with an odd result... |
| 14:31 | symbioquine[m] | The version of farmos/farmos keeps getting locked at 2.0.0-alpha5. |
| 14:33 | symbioquine[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:02 | symbioquine[m] | <symbioquine[m]> "Does [this line](github..." <- It looks like it should: getcomposer.org/doc/articles/versions.md |
| 15:03 | symbioquine[m] | And Packagist knows about farmOS 2.1.1; |
| 15:03 | symbioquine[m] | * packagist.org/packages/farmOS/project |
| 15:03 | symbioquine[m] | * packagist.org/packages/farmos/farmos |
| 15:05 | symbioquine[m] | Interesting... I needed to add --ignore-platform-reqs for it to pick up version 2.1.1 |
| 15:08 | wotnak[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:10 | symbioquine[m] | Maybe. I'm on Arch Linux - with its rolling releases most stuff tends to be pretty up to date... |
| 15:14 | paul121[m] | Why did you add these flags? --ignore-platform-req=ext-simplexml --ignore-platform-req=ext-gd |
| 15:15 | symbioquine[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:15 | paul121[m] | Gotcha |
| 15:16 | symbioquine[m] | That said, it's not working so well.... |
| 15:16 | symbioquine[m] | Something is doing its own check for php-gd and failing despite that flag |
| 15:17 | paul121[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:17 | paul121[m] | and I had to pass in some of those platform flags |
| 15:17 | paul121[m] | because the composer docker image is quite slim |
| 15:18 | symbioquine[m] | Yeah, was just about to give up on using my system's php/composer versions |
| 15:18 | paul121[m] | trying to find my notes.. |
| 15:22 | paul121[m] | basically this (scroll to Troubleshooting/PHP Version): hub.docker.com/_/composer |
| 15:23 | paul121[m] | $ docker run --rm --interactive --tty \ |
| 15:23 | paul121[m] | --volume $PWD:/app \ |
| 15:23 | paul121[m] | composer install --ignore-platform-reqs --no-scripts |
| 15:25 | symbioquine[m] | Well looks like I got it working with my system's php version - at least so far as a successful create-project. |
| 15:29 | paul121[m] | Nice. Simple things should work! |
| 15:38 | symbioquine[m] | Well it should work more easily without those ignore flags - and it should honor the ignore flags more fully... |
| 15:38 | symbioquine[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. |