Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiup: update --self need to add some judgments. #1693

Closed
srstack opened this issue Dec 23, 2021 · 0 comments · Fixed by #1695
Closed

tiup: update --self need to add some judgments. #1693

srstack opened this issue Dec 23, 2021 · 0 comments · Fixed by #1695
Assignees
Labels
type/feature-request Categorizes issue as related to a new feature.
Milestone

Comments

@srstack
Copy link
Collaborator

srstack commented Dec 23, 2021

Feature Request

Is your feature request related to a problem? Please describe:

If TiUP is not installed in ${TiUP_HOME}/bin, update --self will fail, so we need to add some judgments.

  • brew install pingcap/brew/tiup

Describe the feature you'd like:

If TiUP is not installed in ${TiUP_HOME}/bin, there will be information telling users to upgrade TiUP by installing TiUP.

Why the featue is needed:

if i use brew install tiup, i use tiup update --self will fail and i don't know why.

tiup update --self
Backup of `/Users/srstack/.tiup/bin/tiup` to `/Users/srstack/.tiup/bin/tiup.tmp` failed.
Error: rename /Users/srstack/.tiup/bin/tiup /Users/srstack/.tiup/bin/tiup.tmp: no such file or directory

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@srstack srstack added the type/feature-request Categorizes issue as related to a new feature. label Dec 23, 2021
@srstack srstack added this to the v1.9.0 milestone Dec 23, 2021
@srstack srstack self-assigned this Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant