-
Notifications
You must be signed in to change notification settings - Fork 312
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
mirror: Fix typos and naming #1705
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for the PR, we haven't updated the docs of mirror command for long time and many contents are not correct anymore.
Co-authored-by: Allen Zhong <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1705 +/- ##
==========================================
- Coverage 53.19% 52.49% -0.70%
==========================================
Files 303 303
Lines 34479 34230 -249
==========================================
- Hits 18341 17968 -373
- Misses 13988 14106 +118
- Partials 2150 2156 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@AstroProfundis PTAL |
doc/user/mirrors.md
Outdated
- Just want to clone amd64 architecture: `tiup mirror <target-dir> --arch=amd64` | ||
- Just want to clone linux/amd64: `tiup mirror <target-dir> --os=linux --arch=amd64` | ||
|
||
### 4. Component version limited | ||
|
||
If you want to clone only one version of a component and not all versions, use `--<component>=<version>` to qualify, for example " | ||
- Just want to clone the v4 version of tidb: `tiup mirrors <target-dir> --tidb v4` | ||
- Just want to clone the v4 version of tidb, and all versions of tikv: `tiup mirros <target-dir> --tidb v4 --tikv all` | ||
- Clone specific versions of all components that start a cluster: `tiup mirrors <target-dir> v4.0.0-rc` | ||
- Just want to clone the v4 version of tidb: `tiup mirror <target-dir> --tidb v4` | ||
- Just want to clone the v4 version of tidb, and all versions of tikv: `tiup mirror <target-dir> --tidb v4 --tikv all` | ||
- Clone specific versions of all components that start a cluster: `tiup mirror <target-dir> v4.0.0-rc` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these examples should all be tiup mirror clone xxx
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated. PTAL
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 2f889f3
|
What problem does this PR solve?
tiup mirrors
doesn't exist, buttiup mirror
doesmirros
→mirrors
expirsAt
→expiresAt
What is changed and how it works?
Check List
Tests
Release notes: