arduino / arduino-cli

Arduino command line tool
https://arduino.github.io/arduino-cli/latest/
GNU General Public License v3.0
4.24k stars 370 forks source link

gRPC: Added CheckForArduinoCLIUpdates RPC call #2573

Closed cmaglie closed 3 months ago

cmaglie commented 3 months ago

Please check if the PR fulfills these requirements

See how to contribute

What kind of change does this PR introduce?

Adds a gRPC call CheckForArduinoCLIUpdates.

What is the current behavior?

No changes.

What is the new behavior?

Does this PR introduce a breaking change, and is titled accordingly?

No

Other information

This will be part of a bigger refactoring #2565

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 24.27184% with 78 lines in your changes are missing coverage. Please review.

Project coverage is 69.47%. Comparing base (af85d57) to head (a54ed9e).

Files Patch % Lines
commands/updatecheck/check_for_updates.go 8.47% 54 Missing :warning:
internal/cli/cli.go 62.50% 11 Missing and 1 partial :warning:
internal/cli/version/version.go 0.00% 9 Missing :warning:
commands/daemon/daemon.go 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2573 +/- ## ========================================== - Coverage 69.54% 69.47% -0.08% ========================================== Files 206 207 +1 Lines 20264 20283 +19 ========================================== - Hits 14093 14092 -1 - Misses 5054 5077 +23 + Partials 1117 1114 -3 ``` | [Flag](https://app.codecov.io/gh/arduino/arduino-cli/pull/2573/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/arduino/arduino-cli/pull/2573/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arduino) | `69.47% <24.27%> (-0.08%)` | :arrow_down: | 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=arduino#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.