Skip to content

Improve dbc install error when installing already-installed pre-release driver without --pre #340

Closed

Description

@amoeba

In #327, @ianmcook wrote:

What about the case when only pre-release versions are available on the registry, and you already have a pre-release version installed?

For example, what should happen when you do:

dbc install --pre singlestore
dbc install singlestore

As of b51ef3c9aae5b645194fb058756348e9df8e46de, dbc does this:

$ go run ./cmd/dbc install singlestore
Error: driver `singlestore` not found (but prerelease versions filtered out); try: dbc install --pre singlestore
exit status 1

dbc could choose to find out that the user already has a --pre driver installed and produce an even better error message.

Activity

  1. added this to the 0.3.0 milestone on Apr 4, 2026
  2. added a commit that references this issue on Apr 7, 2026
    47d886c
  3. added a commit that references this issue on Apr 17, 2026
    6e08eaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions