pingcap / pingcap/tiup

start tiup playground with a previous nightly version

Open
#1,451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/feature-request
Dominant language
Go
Stars
466
Forks
338
Avg merge
3d 7h
Merged PRs (30d)
8

Description

Feature Request

Command tiup playground nightly will start with the latest version while I hope to use a previous version.

the latest version: v5.0.0-nightly-20210624

target version: v5.0.0-nightly-20210617

try the following command: tiup playground v5.0.0-nightly-20210617

Output:

Found playground newer version:
    The latest version:         v1.5.2
    Local installed version:    v1.5.1
    Update current component:   tiup update playground
    Update all components:      tiup update --all
Starting component `playground`: /home/xzx/.tiup/components/playground/v1.5.1/tiup-playground v5.0.0-nightly-20210617
Error: Playground bootstrapping failed: no version on linux/amd64 for component tidb satisfies constraint "v5.0.0-nightly-20210617"
Error: run `/home/xzx/.tiup/components/playground/v1.5.1/tiup-playground` (wd:/home/xzx/.tiup/data/SbJESMy) failed: exit status 1

v5.0.0-nightly-20210617 files did exist in the local.

Hope we could start tiup playground with a previous nightly version

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with tiup playground nightly and tiup playground v5.0.0-nightly-20210617, using the reported local component files. Trace the playground command's version selection and component constraint handling. Done means a previously available nightly version can start successfully instead of failing with a missing-version error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.