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

legacy: some clean-ups of legacy code #2160

Merged
merged 4 commits into from
Apr 27, 2023

Conversation

cmaglie
Copy link
Member

@cmaglie cmaglie commented Apr 27, 2023

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)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

Some cleanup on the legacy package

What is the current behavior?

What is the new behavior?

No changes

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

Other information

@cmaglie cmaglie self-assigned this Apr 27, 2023
@cmaglie cmaglie added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Apr 27, 2023
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Patch coverage: 63.63% and project coverage change: +0.09 🎉

Comparison is base (0b77c0a) 62.45% compared to head (75ac9d1) 62.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2160      +/-   ##
==========================================
+ Coverage   62.45%   62.54%   +0.09%     
==========================================
  Files         224      223       -1     
  Lines       19520    19467      -53     
==========================================
- Hits        12191    12176      -15     
+ Misses       6231     6196      -35     
+ Partials     1098     1095       -3     
Flag Coverage Δ
unit 62.54% <63.63%> (+0.09%) ⬆️

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

Impacted Files Coverage Δ
legacy/builder/create_cmake_rule.go 8.80% <0.00%> (ø)
legacy/builder/types/types.go 71.87% <ø> (+14.37%) ⬆️
legacy/builder/utils/utils.go 54.73% <0.00%> (-0.94%) ⬇️
legacy/builder/test/helper_tools_downloader.go 55.62% <100.00%> (ø)
legacy/builder/types/accessories.go 88.23% <100.00%> (+33.68%) ⬆️
...egacy/builder/unused_compiled_libraries_remover.go 76.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

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

Copy link
Contributor

@alessio-perugini alessio-perugini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✂️ ✂️
I like the usage of golang.org/x/exp/slices 🤩

@cmaglie cmaglie merged commit 475d987 into arduino:master Apr 27, 2023
@cmaglie cmaglie deleted the some_legacy_cleanup branch April 27, 2023 14:28
@cmaglie cmaglie changed the title [skip-changelog] Cleaned-up some legacy code legacy: some clean-ups of legacy code Sep 6, 2023
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.

None yet

2 participants