tiup icon indicating copy to clipboard operation
tiup copied to clipboard

`tiup playground lts` to run the latest LTS without knowing the version

Open yahonda opened this issue 2 years ago • 1 comments

Feature Request

Is your feature request related to a problem? Please describe: I want tiup playground have an option to startup using the latest LTS version, not typing the exact LTS version like v6.1.5 or v6.5.0. Currently, without specifying the [version] argument, it startup the latest TiDB version regardless they are LTS or DMR. It is hard to remember which version is LTS or DMR and some users just want to run the latest LTS.

Describe the feature you'd like:

tiup playground lts starts up the latest LTS version as nightly runs the daily build ones. I do not need dmr option because tiup playground just runs the latest version.

Why the featue is needed:

It is hard for a lot of users to remember which version is LTS or DMR. Also if users want to run TiDB cluster in production, they want to test the features using the LTS version not DMR.

Describe alternatives you've considered:

Remember the LTS version and type the version number exactly like tiup playground v6.5.0

Teachability, Documentation, Adoption, Migration Strategy:

yahonda avatar Mar 03 '23 04:03 yahonda

How should playground know what is a LTS version. I do not think it is a good idea to hard code these information in TiUP. maybe it is more suitable to read from a api or pingcap/tidbver repo

nexustar avatar Mar 23 '23 03:03 nexustar