[PR #6379] [MERGED] 📝 Add docstrings to mdm_integration #28130

Closed
opened 2026-08-05 08:05:49 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/6379
Author: @coderabbitai[bot]
Created: 6/9/2026
Status: Merged
Merged: 6/9/2026
Merged by: @riccardomanfrin

Base: mdm_integrationHead: coderabbitai/docstrings/d7f00b3


📝 Commits (1)

  • 963d8c8 📝 Add docstrings to mdm_integration

📊 Changes

13 files changed (+129 additions, -31 deletions)

View changed files

📝 client/cmd/debug.go (+7 -2)
📝 client/cmd/root.go (+12 -2)
📝 client/internal/profilemanager/config.go (+1 -1)
📝 client/mdm/policy.go (+10 -3)
📝 client/mdm/policy_darwin.go (+7 -1)
📝 client/mdm/policy_mobile.go (+3 -1)
📝 client/mdm/policy_other.go (+2 -1)
📝 client/mdm/policy_windows.go (+13 -1)
📝 client/mdm/ticker.go (+14 -4)
📝 client/server/mdm.go (+42 -9)
📝 client/server/server.go (+10 -1)
📝 client/ui/client_ui.go (+5 -2)
📝 docs/netbird-macos.sh (+3 -3)

📄 Description

Docstrings generation was requested by @riccardomanfrin.

The following files were modified:

  • client/cmd/debug.go
  • client/cmd/root.go
  • client/internal/profilemanager/config.go
  • client/mdm/policy.go
  • client/mdm/policy_darwin.go
  • client/mdm/policy_mobile.go
  • client/mdm/policy_other.go
  • client/mdm/policy_windows.go
  • client/mdm/ticker.go
  • client/server/mdm.go
  • client/server/server.go
  • client/ui/client_ui.go
  • docs/netbird-macos.sh
These files were ignored
  • client/internal/profilemanager/config_mdm_test.go
  • client/mdm/policy_test.go
  • client/mdm/ticker_test.go
  • client/server/setconfig_mdm_test.go
These file types are not supported
  • client/proto/daemon.proto
  • docs/io.netbird.client.plist
  • docs/netbird-macos.mobileconfig
  • docs/netbird-policy.reg.ps1
  • docs/netbird.adml
  • docs/netbird.admx
  • go.mod
ℹ️ Note

CodeRabbit cannot perform edits on its own pull requests yet.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/6379 **Author:** [@coderabbitai[bot]](https://github.com/apps/coderabbitai) **Created:** 6/9/2026 **Status:** ✅ Merged **Merged:** 6/9/2026 **Merged by:** [@riccardomanfrin](https://github.com/riccardomanfrin) **Base:** `mdm_integration` ← **Head:** `coderabbitai/docstrings/d7f00b3` --- ### 📝 Commits (1) - [`963d8c8`](https://github.com/netbirdio/netbird/commit/963d8c8825c68ccbadbf71246275ee936ad76a4b) 📝 Add docstrings to `mdm_integration` ### 📊 Changes **13 files changed** (+129 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/debug.go` (+7 -2) 📝 `client/cmd/root.go` (+12 -2) 📝 `client/internal/profilemanager/config.go` (+1 -1) 📝 `client/mdm/policy.go` (+10 -3) 📝 `client/mdm/policy_darwin.go` (+7 -1) 📝 `client/mdm/policy_mobile.go` (+3 -1) 📝 `client/mdm/policy_other.go` (+2 -1) 📝 `client/mdm/policy_windows.go` (+13 -1) 📝 `client/mdm/ticker.go` (+14 -4) 📝 `client/server/mdm.go` (+42 -9) 📝 `client/server/server.go` (+10 -1) 📝 `client/ui/client_ui.go` (+5 -2) 📝 `docs/netbird-macos.sh` (+3 -3) </details> ### 📄 Description Docstrings generation was requested by @riccardomanfrin. * https://github.com/netbirdio/netbird/pull/6374#issuecomment-4658991606 The following files were modified: * `client/cmd/debug.go` * `client/cmd/root.go` * `client/internal/profilemanager/config.go` * `client/mdm/policy.go` * `client/mdm/policy_darwin.go` * `client/mdm/policy_mobile.go` * `client/mdm/policy_other.go` * `client/mdm/policy_windows.go` * `client/mdm/ticker.go` * `client/server/mdm.go` * `client/server/server.go` * `client/ui/client_ui.go` * `docs/netbird-macos.sh` <details> <summary>These files were ignored</summary> * `client/internal/profilemanager/config_mdm_test.go` * `client/mdm/policy_test.go` * `client/mdm/ticker_test.go` * `client/server/setconfig_mdm_test.go` </details> <details> <summary>These file types are not supported</summary> * `client/proto/daemon.proto` * `docs/io.netbird.client.plist` * `docs/netbird-macos.mobileconfig` * `docs/netbird-policy.reg.ps1` * `docs/netbird.adml` * `docs/netbird.admx` * `go.mod` </details> <details> <summary>ℹ️ Note</summary><blockquote> CodeRabbit cannot perform edits on its own pull requests yet. </blockquote></details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 08:05:49 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#28130