Skip to content

Output polish: fix misleading and duplicate install confirmations #328

Description

@sdairs

Found during 0.4.0 RC local-command testing. The Docker pull-output problem originally grouped here is now tracked separately in #353.

1. No-op install prints "Installed version X"

$ chctl local install 26.2          # 26.2.16.5 already installed
ClickHouse 26.2 is already installed as 26.2.16.5
Use --force to re-download the latest build
Installed version 26.2.16.5

Nothing was installed; the final line contradicts the hint above it. It should say something like Using existing 26.2.16.5 (or print nothing beyond the hint).

2. Real install prints two confirmation lines

$ chctl local install 26.2 --force
Resolving 26.2...
Downloading ClickHouse 26.2...
Detecting version...
Installed ClickHouse 26.2.20.4
Installed version 26.2.20.4

The last two lines are duplicates from different layers; one should go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions