bblfshctl driver install --force is misleading · Issue #249 · bblfsh/bblfshd · GitHub
Skip to content

bblfshctl driver install --force is misleading #249

Open

Description

@carlosms

The bblfshctl driver install --force is misleading, it gives you the understanding that you are forcing to install a driver even if it is already installed. But what is actually happening is that the error message becomes a warning.

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver list|grep javascript
| javascript | docker://bblfsh/javascript-driver:latest | v2.5.0      | beta   | 2 months | alpine | 1.10-alpine | node:8-alpine        |

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver install javascript bblfsh/javascript-driver:v1.2.0
Installing javascript language driver from "bblfsh/javascript-driver:v1.2.0"... driver already installed: javascript (image reference: docker://bblfsh/javascript-driver:v1.2.0)

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver install --force javascript bblfsh/javascript-driver:v1.2.0
Installing javascript language driver from "bblfsh/javascript-driver:v1.2.0"... Warning: driver already installed: javascript (image reference: docker://bblfsh/javascript-driver:v1.2.0)

$ docker exec -it lookout-demo_bblfsh_1 bblfshctl driver list|grep javascript
| javascript | docker://bblfsh/javascript-driver:latest | v2.5.0      | beta   | 2 months | alpine | 1.10-alpine | node:8-alpine        |

Activity

  1. bzz commented on Feb 13, 2019

    @bzz
    Contributor

    Related to #184 so most probably can be addressed together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions