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

[API break] [last refactor] nsid: Reorganize the code base #68

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

cathay4t
Copy link
Member

@cathay4t cathay4t commented Dec 1, 2023

  • This patch is first preparation on stable release 1.0 for submodule
    nsid. The detailed checklist for developer is stated in
    README.md file.
  • Stored constants into where it been used. Removed constants.rs
    as this is the last submodule for refactor.
  • Replace pub use self::* to explicit expose.
  • Renamed nsid::Nla to NsidAttribute and all its entry
    changed to detailed data structure instead of Vec<u8>
  • The RtnlMessasge changed to RouteNetlinkMessage.
  • Unit test cases included.

@cathay4t cathay4t changed the title [API break] nsid: Reorganize the code base [API break] [last refactor] nsid: Reorganize the code base Dec 1, 2023
 * This patch is first preparation on stable release 1.0 for submodule
   nsid. The detailed checklist for developer is stated in
   README.md file.
 * Stored constants into where it been used. Removed `constants.rs`
   as this is the last submodule for refactor.
 * Replace `pub use self::*` to explicit expose.
 * Renamed `nsid::Nla` to `NsidAttribute` and all its entry
   changed to detailed data structure instead of `Vec<u8>`
 * The `RtnlMessasge` changed to `RouteNetlinkMessage`.
 * Unit test cases included.

Signed-off-by: Gris Ge <[email protected]>
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Attention: 368 lines in your changes are missing coverage. Please review.

Comparison is base (c26a504) 62.52% compared to head (b0147b1) 66.93%.
Report is 1 commits behind head on main.

Files Patch % Lines
src/message.rs 10.85% 345 Missing ⚠️
src/nsid/attribute.rs 70.58% 10 Missing ⚠️
src/neighbour_table/param.rs 94.26% 7 Missing ⚠️
src/neighbour_table/attribute.rs 89.83% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
+ Coverage   62.52%   66.93%   +4.41%     
==========================================
  Files          98       99       +1     
  Lines        7108     7473     +365     
==========================================
+ Hits         4444     5002     +558     
+ Misses       2664     2471     -193     

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

@cathay4t cathay4t merged commit b2ff480 into rust-netlink:main Dec 1, 2023
9 of 10 checks passed
@cathay4t cathay4t deleted the v1_prep_nsid branch December 1, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant