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

fix: allow lib-install from git using revision hash as a reference#2882

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
cmaglie merged 3 commits intoarduino:masterfromcmaglie:fix-git-install-again
Apr 8, 2025

Conversation

cmaglie
Copy link
Member

Please check if the PR fulfills these requirements

Seehow to contribute

  • The PR has no duplicates (please search among thePull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

A previous "fix" allowed the installation of a library from git by specifying a branch, but introduced a regression, making it impossible to install from git by specifying a revision hash.

What is the current behavior?

A library can not be installed from git using a revision hash, see#2860 for details

What is the new behavior?

It is now allowed to install from git using a revision hash.

Does this PR introduce a breaking change, and istitled accordingly?

Other information

Fix#2860

@cmagliecmaglie self-assigned thisApr 7, 2025
@cmagliecmaglie added topic: CLIRelated to the command line interface phase: implementationWork is in the implementation phase criticality: mediumOf moderate impact labelsApr 7, 2025
@cmagliecmaglie changed the titlefix: allow lib-install from git with revision hashfix: allow lib-install from git using revision hash as a referenceApr 7, 2025
@cmagliecmaglie requested a review froma teamApril 7, 2025 15:26
@codecovCodecov
Copy link

codecovbot commentedApr 7, 2025
edited
Loading

Codecov Report

Attention: Patch coverage is36.84211% with12 lines in your changes missing coverage. Please review.

Project coverage is 67.82%. Comparing base(00a33b7) to head(39aca21).
Report is 1 commits behind head on master.

Files with missing linesPatch %Lines
...rnal/arduino/libraries/librariesmanager/install.go36.84%6 Missing and 6 partials⚠️
Additional details and impacted files
@@            Coverage Diff             @@##           master    #2882      +/-   ##==========================================- Coverage   67.88%   67.82%   -0.06%==========================================  Files         238      238                Lines       22410    22418       +8     ==========================================- Hits        15212    15205       -7- Misses       6004     6012       +8- Partials     1194     1201       +7
FlagCoverage Δ
unit67.82% <36.84%> (-0.06%)⬇️

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.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@per1234per1234 added topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project labelsApr 7, 2025
@cmagliecmaglie merged commit23ed1b1 intoarduino:masterApr 8, 2025
98 checks passed
@cmagliecmaglie deleted the fix-git-install-again branchApril 8, 2025 13:33
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@alessio-peruginialessio-peruginialessio-perugini approved these changes

Assignees

@cmagliecmaglie

Labels
criticality: mediumOf moderate impactphase: implementationWork is in the implementation phasetopic: CLIRelated to the command line interfacetopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Error installing Git Library with specific git sha hash
3 participants
@cmaglie@alessio-perugini@per1234

[8]ページ先頭

©2009-2025 Movatter.jp