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

refactor: remove heim network usage #833

Merged
merged 1 commit into from
Oct 15, 2022
Merged

refactor: remove heim network usage #833

merged 1 commit into from
Oct 15, 2022

Conversation

ClementTsang
Copy link
Owner

@ClementTsang ClementTsang commented Oct 14, 2022

Description

A description of the change and what it does. If relevant (such as any change that modifies the UI), please provide screenshots of the change:

heim-rs is currently unmaintained and has various issues with things like dependencies. While I could fork + publish a fork with fixes, it seems easier to just unify our data sources to sysinfo + custom implementations anyways.

This first commit removes getting network data from heim.

Issue

If applicable, what issue does this address?

Part of: #812

Testing

If relevant, please state how this was tested. All changes must be tested to work:

If this is a code change, please also indicate which platforms were tested:

  • Windows
  • macOS
  • Linux

Checklist

If relevant, ensure the following have been met:

  • Areas your change affects have been linted using rustfmt (cargo fmt)
  • The change has been tested and doesn't appear to cause any unintended breakage
  • Documentation has been added/updated if needed (README.md, help menu, etc.)
  • The pull request passes the provided CI pipeline
  • There are no merge conflicts
  • If relevant, new tests were added (don't worry too much about coverage)

@ClementTsang ClementTsang force-pushed the remove_heim branch 2 times, most recently from 03e6682 to 4c42049 Compare October 14, 2022 22:26
@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2022

Codecov Report

Base: 18.82% // Head: 19.27% // Increases project coverage by +0.44% 🎉

Coverage data is based on head (415258c) compared to base (a949740).
Patch coverage: 43.54% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #833      +/-   ##
==========================================
+ Coverage   18.82%   19.27%   +0.44%     
==========================================
  Files          71       71              
  Lines       13500    13460      -40     
==========================================
+ Hits         2541     2594      +53     
+ Misses      10959    10866      -93     
Impacted Files Coverage Δ
src/app/data_harvester.rs 0.00% <0.00%> (ø)
src/app/data_harvester/network.rs 79.16% <100.00%> (+79.16%) ⬆️
src/app/data_harvester/network/sysinfo.rs 80.95% <100.00%> (ø)

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.

@ClementTsang ClementTsang changed the title refactor: remove heim refactor: remove heim network usage Oct 14, 2022
@ClementTsang ClementTsang marked this pull request as ready for review October 14, 2022 22:44
@ClementTsang ClementTsang merged commit 913562e into master Oct 15, 2022
@ClementTsang ClementTsang deleted the remove_heim branch October 15, 2022 22:24
ClementTsang added a commit that referenced this pull request Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants