[PR #739] [MERGED] Add version info command to signal server #14162

Closed
opened 2026-08-05 02:09:31 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/739
Author: @pappz
Created: 3/13/2023
Status: Merged
Merged: 3/15/2023
Merged by: @pappz

Base: mainHead: feature/signal-cmd-version


📝 Commits (4)

  • 65478db Add version info command to signal server
  • a6be1df Move the version to a new pkg
  • b91fc5a Fix status_test
  • 78ea79d Fix os related system info

📊 Changes

20 files changed (+93 additions, -69 deletions)

View changed files

📝 .goreleaser.yaml (+3 -3)
📝 .goreleaser_ui.yaml (+2 -2)
📝 .goreleaser_ui_darwin.yaml (+1 -1)
📝 client/cmd/status.go (+3 -3)
📝 client/cmd/status_test.go (+2 -2)
📝 client/cmd/version.go (+3 -2)
📝 client/internal/peer/conn.go (+3 -3)
📝 client/internal/routemanager/manager.go (+2 -2)
📝 client/server/server.go (+2 -2)
📝 client/system/info.go (+6 -12)
📝 client/system/info_darwin.go (+10 -6)
📝 client/system/info_freebsd.go (+3 -1)
📝 client/system/info_linux.go (+3 -1)
📝 client/system/info_windows.go (+7 -4)
📝 client/ui/client_ui.go (+10 -12)
📝 management/cmd/root.go (+5 -1)
📝 management/server/metrics/selfhosted.go (+7 -5)
📝 signal/client/client.go (+6 -4)
📝 signal/cmd/root.go (+6 -3)
version/version.go (+9 -0)

📄 Description

Describe your changes

Add version command to signal and management servers.

The version information will be filled during build time.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/739 **Author:** [@pappz](https://github.com/pappz) **Created:** 3/13/2023 **Status:** ✅ Merged **Merged:** 3/15/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `feature/signal-cmd-version` --- ### 📝 Commits (4) - [`65478db`](https://github.com/netbirdio/netbird/commit/65478dbdf369b83a5c10d18f1b796b350da40627) Add version info command to signal server - [`a6be1df`](https://github.com/netbirdio/netbird/commit/a6be1df26db8ea50eac6b5dcff570dee14edcdb9) Move the version to a new pkg - [`b91fc5a`](https://github.com/netbirdio/netbird/commit/b91fc5a8ee9af63af283130f91b4a50fd781b442) Fix status_test - [`78ea79d`](https://github.com/netbirdio/netbird/commit/78ea79d59a609a1a20b1bc890893c710acd0b37c) Fix os related system info ### 📊 Changes **20 files changed** (+93 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yaml` (+3 -3) 📝 `.goreleaser_ui.yaml` (+2 -2) 📝 `.goreleaser_ui_darwin.yaml` (+1 -1) 📝 `client/cmd/status.go` (+3 -3) 📝 `client/cmd/status_test.go` (+2 -2) 📝 `client/cmd/version.go` (+3 -2) 📝 `client/internal/peer/conn.go` (+3 -3) 📝 `client/internal/routemanager/manager.go` (+2 -2) 📝 `client/server/server.go` (+2 -2) 📝 `client/system/info.go` (+6 -12) 📝 `client/system/info_darwin.go` (+10 -6) 📝 `client/system/info_freebsd.go` (+3 -1) 📝 `client/system/info_linux.go` (+3 -1) 📝 `client/system/info_windows.go` (+7 -4) 📝 `client/ui/client_ui.go` (+10 -12) 📝 `management/cmd/root.go` (+5 -1) 📝 `management/server/metrics/selfhosted.go` (+7 -5) 📝 `signal/client/client.go` (+6 -4) 📝 `signal/cmd/root.go` (+6 -3) ➕ `version/version.go` (+9 -0) </details> ### 📄 Description ## Describe your changes Add version command to signal and management servers. The version information will be filled during build time. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 02:09:31 -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#14162