Skip to content

Updated RemoteDeviceList and PfRingDeviceList's getDevice API to match the rest. #1810

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

Merged
merged 5 commits into from
May 18, 2025

Conversation

Dimi1010
Copy link
Collaborator

@Dimi1010 Dimi1010 commented May 7, 2025

This PR updates the get device functions to the convention getDeviceBy*** instead of the get***DeviceBy*** to match the rest of the lists (LiveDevice, Dpdk, Kni). It also deprecates all the old get device methods.

@Dimi1010 Dimi1010 added refactoring API deprecation Pull requests that deprecate parts of the public interface. labels May 7, 2025
Copy link

codecov bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 83.05%. Comparing base (7a4e165) to head (7f3d442).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
Pcap++/src/PcapRemoteDeviceList.cpp 0.00% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1810      +/-   ##
==========================================
- Coverage   83.08%   83.05%   -0.03%     
==========================================
  Files         284      284              
  Lines       48981    48996      +15     
  Branches    10305    10542     +237     
==========================================
  Hits        40694    40694              
+ Misses       7501     7161     -340     
- Partials      786     1141     +355     
Flag Coverage Δ
alpine320 75.04% <ø> (ø)
fedora42 75.14% <ø> (ø)
macos-13 80.59% <ø> (ø)
macos-14 80.59% <ø> (ø)
macos-15 80.56% <ø> (ø)
mingw32 70.67% <0.00%> (-0.06%) ⬇️
mingw64 70.63% <0.00%> (-0.06%) ⬇️
npcap 84.94% <0.00%> (-0.14%) ⬇️
rhel94 74.91% <ø> (ø)
ubuntu2004 58.54% <ø> (ø)
ubuntu2004-zstd 58.66% <ø> (+0.02%) ⬆️
ubuntu2204 74.85% <ø> (+0.02%) ⬆️
ubuntu2204-icpx 61.54% <ø> (+0.04%) ⬆️
ubuntu2404 75.10% <ø> (+<0.01%) ⬆️
ubuntu2404-arm64 75.08% <ø> (ø)
unittest 83.05% <0.00%> (-0.03%) ⬇️
windows-2019 85.04% <0.00%> (-0.06%) ⬇️
windows-2022 85.05% <0.00%> (-0.06%) ⬇️
winpcap 85.19% <0.00%> (-0.06%) ⬇️
xdp 50.51% <ø> (ø)

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.

@Dimi1010 Dimi1010 marked this pull request as ready for review May 7, 2025 09:05
@Dimi1010 Dimi1010 requested a review from seladb as a code owner May 7, 2025 09:05
@Dimi1010 Dimi1010 merged commit e4f2652 into seladb:dev May 18, 2025
43 checks passed
@Dimi1010 Dimi1010 deleted the refactor/standard-get-device-api branch May 18, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API deprecation Pull requests that deprecate parts of the public interface. refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants