should fail when clone package version do not exsit
Open
Nobody has claimed this yet.
type/bug
- Dominant language
- Go
- Stars
- 466
- Forks
- 338
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 8
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
- What did you do?
tiup mirror clone . --os linux --arch amd64 --tidb v7.1.1 --tidb-dashboard v7.1.1
-
What did you expect to see?
fail if tidb-dashboard v7.1.1 not exist -
What did you see instead?
tiup do not report any error -
What version of TiUP are you using (
tiup --version)?
1.8.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the tiup mirror clone command shown in the issue with the nonexistent TiDB Dashboard version. Trace the mirror clone command's validation path and make the command report failure when a requested package version does not exist. Done means the provided command exits with an error instead of completing silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100