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

i/b/network_manager_observe: add getDevices methods #14571

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jslarraz
Copy link
Contributor

@jslarraz jslarraz commented Oct 3, 2024

GetAllDevices and GetDeviceByIpIface dbus methods looks appropriate to be part of the network-manager-observe interface. See https://forum.snapcraft.io/t/mission-center-auto-connection-requests/43198/22

@jslarraz jslarraz assigned jslarraz and unassigned jslarraz Oct 3, 2024
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.87%. Comparing base (ac897ee) to head (32f0e8d).
Report is 50 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14571      +/-   ##
==========================================
+ Coverage   78.85%   78.87%   +0.01%     
==========================================
  Files        1079     1083       +4     
  Lines      145615   146105     +490     
==========================================
+ Hits       114828   115237     +409     
- Misses      23601    23672      +71     
- Partials     7186     7196      +10     
Flag Coverage Δ
unittests 78.87% <ø> (+0.01%) ⬆️

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.

Copy link
Contributor

@alexmurray alexmurray left a comment

Choose a reason for hiding this comment

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

LGTM - from what I can see in the upstream documentation https://people.freedesktop.org/~lkundrak/nm-docs/gdbus-org.freedesktop.NetworkManager.html#gdbus-method-org-freedesktop-NetworkManager.GetDevices these additional methods do not look any more privileged than the existing ones.

@zyga zyga requested a review from bboozzoo October 4, 2024 07:32
Copy link
Contributor

@zyga zyga left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@bboozzoo bboozzoo left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants