Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Check if a signed URL is specified and use it download tools#953

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@MatteoPologruto
Copy link
Contributor

@MatteoPologrutoMatteoPologruto commentedMay 16, 2024
edited
Loading

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among thePull Requests
    before creating one)
  • Tests for the changes have been added (for bug fixes / features)
  • What kind of change does this PR introduce?

Code enhancement

  • What is the current behavior?

There are two ways of dowloading tools:Download andInstall. The first one downloads and installs the tools from the package index only, while it is possible to provide a signed URL and a checksum to the second one to download a tool from there.

  • What is the new behavior?

Download is wrapped insideDownloadFromURL to align it toInstall.

  • Does this PR introduce a breaking change?

No

@MatteoPologrutoMatteoPologruto added type: enhancementProposed improvement topic: codeRelated to content of the project itself labelsMay 16, 2024
@MatteoPologrutoMatteoPologruto self-assigned thisMay 16, 2024
@codecov-commenter
Copy link

codecov-commenter commentedMay 16, 2024
edited
Loading

Codecov Report

Attention: Patch coverage is82.05128% with7 lines in your changes are missing coverage. Please review.

Project coverage is 20.10%. Comparing base(2fa738f) to head(afe92ea).
Report is 4 commits behind head on main.

FilesPatch %Lines
v2/pkgs/tools.go78.57%6 Missing⚠️
tools/download.go90.90%1 Missing⚠️
Additional details and impacted files
@@            Coverage Diff             @@##             main     #953      +/-   ##==========================================- Coverage   20.64%   20.10%   -0.55%==========================================  Files          42       42                Lines        2601     2537      -64     ==========================================- Hits          537      510      -27+ Misses       1967     1943      -24+ Partials       97       84      -13
FlagCoverage Δ
unit20.10% <82.05%> (-0.55%)⬇️

Flags with carried forward coverage won't be shown.Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@MatteoPologrutoMatteoPologrutoforce-pushed theinstall-tools-code-dup branch 4 times, most recently fromd5560fc to4264332CompareMay 21, 2024 14:46
@MatteoPologrutoMatteoPologruto linked an issueJun 20, 2024 that may beclosed by this pull request
@MatteoPologrutoMatteoPologruto merged commit04414e2 intoarduino:mainJul 2, 2024
@MatteoPologrutoMatteoPologruto deleted the install-tools-code-dup branchJuly 2, 2024 07:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@XaytonXaytonAwaiting requested review from Xayton

1 more reviewer

@umbynosumbynosumbynos approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@MatteoPologrutoMatteoPologruto

Labels

topic: codeRelated to content of the project itselftype: enhancementProposed improvement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support "keep" (cache) behavior when downloading tools

3 participants

@MatteoPologruto@codecov-commenter@umbynos

[8]ページ先頭

©2009-2025 Movatter.jp