[PR #218] [MERGED] Add client version to the client app and send it to the management service #2624

Closed
opened 2025-11-20 07:11:58 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/218
Author: @shatoboar
Created: 2/3/2022
Status: Merged
Merged: 2/3/2022
Merged by: @braginini

Base: mainHead: pass_client_version_to_mgmt


📝 Commits (4)

  • 66705bd moved wiretrustee version from main to system.info
  • 37710d1 added wiretrustee version for all supported platforms
  • 324fa4b typo corrected
  • 38e62aa refactor: use single WiretrusteeVersion() func to get version of the client

📊 Changes

10 files changed (+48 additions, -20 deletions)

View changed files

📝 .goreleaser.yaml (+1 -1)
📝 client/cmd/version.go (+5 -3)
📝 client/main.go (+2 -5)
📝 client/system/info.go (+17 -8)
📝 client/system/info_darwin.go (+1 -0)
📝 client/system/info_freebsd.go (+1 -0)
📝 client/system/info_linux.go (+2 -0)
client/system/info_test.go (+13 -0)
📝 client/system/info_windows.go (+2 -0)
📝 management/client/grpc.go (+4 -3)

📄 Description

Changes:

  • sends the client version now to management server instead of empty string
  • moved the version information to the system package

🔄 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/218 **Author:** [@shatoboar](https://github.com/shatoboar) **Created:** 2/3/2022 **Status:** ✅ Merged **Merged:** 2/3/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `pass_client_version_to_mgmt` --- ### 📝 Commits (4) - [`66705bd`](https://github.com/netbirdio/netbird/commit/66705bde5ddd7c66b75e47dbe3c00219c97da8a2) moved wiretrustee version from main to system.info - [`37710d1`](https://github.com/netbirdio/netbird/commit/37710d17b3fd8ecba734a689a62b2d99dc44adc2) added wiretrustee version for all supported platforms - [`324fa4b`](https://github.com/netbirdio/netbird/commit/324fa4b2fc9ef6a23592ceb9b109ddabe1a1a630) typo corrected - [`38e62aa`](https://github.com/netbirdio/netbird/commit/38e62aa15161ed4d0b01cd32fc79fbafe7e41cbb) refactor: use single WiretrusteeVersion() func to get version of the client ### 📊 Changes **10 files changed** (+48 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yaml` (+1 -1) 📝 `client/cmd/version.go` (+5 -3) 📝 `client/main.go` (+2 -5) 📝 `client/system/info.go` (+17 -8) 📝 `client/system/info_darwin.go` (+1 -0) 📝 `client/system/info_freebsd.go` (+1 -0) 📝 `client/system/info_linux.go` (+2 -0) ➕ `client/system/info_test.go` (+13 -0) 📝 `client/system/info_windows.go` (+2 -0) 📝 `management/client/grpc.go` (+4 -3) </details> ### 📄 Description Changes: * sends the client version now to management server instead of empty string * moved the version information to the system package --- <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 2025-11-20 07:11:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2624