Ballerina-lang: [Composer] Ballerina Composer clashes with Composer, the PHP Dependency Manager

Created on 5 Jul 2018  路  4Comments  路  Source: ballerina-platform/ballerina-lang

Description:
Unable to run Ballerina composer in a system where PHP composer is already installed. IMO, the command will be better off as ballerina composer.

Steps to reproduce:
Install Composer, the PHP Dependency manager. Then install Ballerina and run composer

Affected Versions:
0.975.1

OS, DB, other environment details and versions:
Ubuntu 18.04

Suggested Labels (optional):
Improvement

AreComposer TypImprovement

Most helpful comment

We will change the composer command to be a subcommand of the ballerina command. The new way to launch composer will be "ballerina compose". You can find the discussion here [1]

[1] https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/ballerina-dev/5UAcQnVaY-s/XPnJBVWjDAAJ

All 4 comments

Agreed that composer is a somewhat common command so let's discuss on this for another name.

For the time being, you can try renaming the composer script and run or give the exact location of the script.

Same issue for me too. I tried with windows 10. It clashed with php composer. It's better to use a specific command like: ballerina composer

We will change the composer command to be a subcommand of the ballerina command. The new way to launch composer will be "ballerina compose". You can find the discussion here [1]

[1] https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/ballerina-dev/5UAcQnVaY-s/XPnJBVWjDAAJ

We have decided to discontinue composer and move all the capabilities to the Ballerina VS code plugin hence closing this issue.

Checkout VS code plugin for Ballerina here: https://marketplace.visualstudio.com/items?itemName=ballerina.ballerina

Was this page helpful?
0 / 5 - 0 ratings