wunderio / image-fuzzy-alpine-devshell

https://quay.io/repository/wunder/fuzzy-alpine-devshell
GNU General Public License v3.0
0 stars 1 forks source link

Update build to use Composer to install Platform.sh CLI #35

Open aleksijohansson opened 8 years ago

aleksijohansson commented 8 years ago

Installing Platform.sh CLI with composer doesn't work at the moment so a temporary method was used (#32) for now. We should update the image to use composer when issues with it have been resolved.

james-nesbitt commented 8 years ago

2 days ago, this was the conflict:

➜  ~ composer global require platformsh/cli
Changed current directory to /app/.composer
Using version ^3.1 for platformsh/cli
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: stecman/symfony-console-completion[0.7.0, 0.5.1].
    - Can only install one of: stecman/symfony-console-completion[0.7.0, 0.5.1].
    - Can only install one of: stecman/symfony-console-completion[0.7.0, 0.5.1].
    - platformsh/cli v3.1.0 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - Installation request for platformsh/cli ^3.1 -> satisfiable by platformsh/cli[v3.1.0].
    - Installation request for stecman/symfony-console-completion (locked at 0.5.1) -> satisfiable by stecman/symfony-console-completion[0.5.1].
aleksijohansson commented 8 years ago

Revisited this issue today, not change so far. Upstream version v3.1.2 does not work. We can monitor upstream versions here: https://packagist.org/packages/platformsh/cli

james-nesbitt commented 8 years ago

checked again today

-> % composer global require platformsh/cli
Changed current directory to /app/.composer
Using version ^3.3 for platformsh/cli
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - platformsh/cli v3.3.0 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - platformsh/cli v3.3.1 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - platformsh/cli v3.3.2 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - platformsh/cli v3.3.3 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - platformsh/cli v3.3.4 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - platformsh/cli v3.3.5 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - Conclusion: don't install stecman/symfony-console-completion 0.7.0
    - Installation request for platformsh/cli ^3.3 -> satisfiable by platformsh/cli[v3.3.0, v3.3.1, v3.3.2, v3.3.3, v3.3.4, v3.3.5].
aleksijohansson commented 7 years ago

Checked again today, still doesn't work:

-> % composer global require platformsh/cli
Changed current directory to /app/.composer
Using version ^3.7 for platformsh/cli
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: stecman/symfony-console-completion[0.7.0, 0.5.1].
    - Can only install one of: stecman/symfony-console-completion[0.7.0, 0.5.1].
    - Can only install one of: stecman/symfony-console-completion[0.7.0, 0.5.1].
    - platformsh/cli v3.7.0 requires stecman/symfony-console-completion ~0.7 -> satisfiable by stecman/symfony-console-completion[0.7.0].
    - Installation request for platformsh/cli ^3.7 -> satisfiable by platformsh/cli[v3.7.0].
    - Installation request for stecman/symfony-console-completion (locked at 0.5.1) -> satisfiable by stecman/symfony-console-completion[0.5.1].

Installation failed, reverting ./composer.json to its original content.
aleksijohansson commented 7 years ago

Tried again today, still doesn't work.

james-nesbitt commented 7 years ago

Tried again today.

To be clear, drupal console wants a different version of symfony console than platformsh-cli

aleksijohansson commented 7 years ago

@james-nesbitt Which one of those two uses the newer version of symfony?