pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
416 stars 308 forks source link

tiup list shows components that cannot run independently #190

Closed lucklove closed 4 years ago

lucklove commented 4 years ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

    tiup list

  2. What did you expect to see? only the components that can run independently

    Available components (Last Modified: 2020-02-27T15:20:35+08:00):
    Name        Installed           Platforms                             Description
    ----        ---------           ---------                             -----------
    tidb        YES(v3.0.1)         darwin/amd64,linux/amd64,linux/arm64  TiDB is an open source distributed HTAP database compatible with the MySQL protocol
    playground  YES(v0.0.9)         darwin/amd64,linux/amd64              Bootstrap a local TiDB cluster
    client      YES(v0.0.6)         darwin/amd64,linux/amd64              A simple mysql client to connect TiDB
    package     YES(v0.0.9)         darwin/amd64,linux/amd64              A toolbox to package tiup component
    cluster     YES(v0.4.9,v0.6.0)  darwin/amd64,linux/amd64              Deploy a TiDB cluster for production
    mirrors     YES(v0.0.2)         darwin/amd64,linux/amd64              Build a local mirrors and download all selected components
    bench       YES(v0.0.1)         darwin/amd64,linux/amd64              Benchmark database with different workloads
    ctl         YES(v4.0.0-rc.1)    darwin/amd64,linux/amd64,linux/arm64
  3. What did you see instead?

It includes many components that cannot run independently, like grafana, cdc. etc.

  1. What version of TiUP are you using (tiup --version)?
tiup version v0.0.5 tiup
Go Version: go1.13
Git Branch: master
GitHash: aab3add
Build Time: 2020-04-24 18:10:05 +0800
lucklove commented 4 years ago

When package the components that cannot run independently, we should add the --hide flag for tiup package