pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
409 stars 304 forks source link

tiup: fix cannot clone without global version #2359

Closed nexustar closed 6 months ago

nexustar commented 6 months ago

What problem does this PR solve?

What is changed and how it works?

Check List

Tests

Code changes

Side effects

Related changes

Release notes:

NONE
kaaaaaaang commented 6 months ago

/lgtm

kaaaaaaang commented 6 months ago

/approve

ti-chi-bot[bot] commented 6 months ago

[LGTM Timeline notifier]

Timeline:

ti-chi-bot[bot] commented 6 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaaaaaaang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/pingcap/tiup/blob/master/OWNERS)~~ [kaaaaaaang] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3b246a3) 55.43% compared to head (24e3190) 35.75%.

:exclamation: Current head 24e3190 differs from pull request most recent head c4c6113. Consider uploading reports for the commit c4c6113 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2359 +/- ## =========================================== - Coverage 55.43% 35.75% -19.68% =========================================== Files 329 251 -78 Lines 34841 27429 -7412 =========================================== - Hits 19314 9807 -9507 - Misses 13216 16342 +3126 + Partials 2311 1280 -1031 ``` | [Flag](https://app.codecov.io/gh/pingcap/tiup/pull/2359/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [cluster](https://app.codecov.io/gh/pingcap/tiup/pull/2359/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `35.75% <ø> (-9.00%)` | :arrow_down: | | [dm](https://app.codecov.io/gh/pingcap/tiup/pull/2359/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `?` | | | [playground](https://app.codecov.io/gh/pingcap/tiup/pull/2359/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `?` | | | [tiup](https://app.codecov.io/gh/pingcap/tiup/pull/2359/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `?` | | | [unittest](https://app.codecov.io/gh/pingcap/tiup/pull/2359/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.