Skip to content
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

[breaking] Add post install script support for tools #2075

Merged
merged 3 commits into from
Feb 20, 2023

Conversation

MatteoPologruto
Copy link
Contributor

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull 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)

What kind of change does this PR introduce?

Code enhancement

What is the current behavior?

post_install scripts are not handled after the tool installation.

What is the new behavior?

post_install scripts for tools are handled the same way the ones related to platforms are.

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

No

@MatteoPologruto MatteoPologruto added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Feb 14, 2023
@MatteoPologruto MatteoPologruto self-assigned this Feb 14, 2023
@MatteoPologruto MatteoPologruto linked an issue Feb 14, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Base: 36.60% // Head: 36.60% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (339242e) compared to base (d6196c1).
Patch coverage: 28.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2075   +/-   ##
=======================================
  Coverage   36.60%   36.60%           
=======================================
  Files         229      229           
  Lines       19524    19539   +15     
=======================================
+ Hits         7147     7153    +6     
- Misses      11542    11549    +7     
- Partials      835      837    +2     
Flag Coverage Δ
unit 36.60% <28.00%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
commands/instances.go 40.68% <0.00%> (ø)
arduino/cores/packagemanager/install_uninstall.go 11.48% <29.16%> (+1.52%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MatteoPologruto MatteoPologruto changed the title [skip-changelog] Add post install script support for tools [breaking] Add post install script support for tools Feb 20, 2023
@MatteoPologruto MatteoPologruto force-pushed the post-install-script branch 2 times, most recently from cb73575 to 445ece9 Compare February 20, 2023 12:53
@MatteoPologruto MatteoPologruto merged commit 7115365 into arduino:master Feb 20, 2023
@MatteoPologruto MatteoPologruto deleted the post-install-script branch February 20, 2023 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add post install script support for tools
2 participants