[PR #1938] [CLOSED] Added HostInfo output to Node response #2408

Closed
opened 2025-12-29 03:21:06 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1938
Author: @hopleus
Created: 5/14/2024
Status: Closed

Base: mainHead: hostinfo-to-node


📝 Commits (10+)

  • c6ef22d Added HostInfo (IPNVersion, OS, OSVersion, Distro, DistroVersion, DistroCodeName) output to Node response
  • 3658a31 Refactoring
  • 80df6cc HostInfo JSON Serialization for Api
  • a26efd6 Added unit test for HostInfoAsProtoStruct
  • 395d93a Added unit test for HostInfoAsProtoStruct. Updated CHANGELOG
  • 7ae0707 Removed unused code
  • f06246a Merge branch 'main' into hostinfo-to-node
  • c678362 Refactoring code to JSON.marshal and tailcfg.Hostinfo
  • 793fb7d Merge remote-tracking branch 'origin/hostinfo-to-node' into hostinfo-to-node
  • 7bf9974 Refactoring

📊 Changes

7 files changed (+180 additions, -84 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 gen/go/headscale/v1/node.pb.go (+94 -84)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+3 -0)
📝 hscontrol/types/node.go (+22 -0)
📝 hscontrol/types/node_test.go (+50 -0)
📝 integration/cli_test.go (+8 -0)
📝 proto/headscale/v1/node.proto (+2 -0)

📄 Description

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Usecase

As an administrator, I want to see the information that is available only in HostInfo, for example, the version of the client's TailScale, the OS name, its version, etc.


🔄 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/juanfont/headscale/pull/1938 **Author:** [@hopleus](https://github.com/hopleus) **Created:** 5/14/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `hostinfo-to-node` --- ### 📝 Commits (10+) - [`c6ef22d`](https://github.com/juanfont/headscale/commit/c6ef22d73aaa3e21e1545d92b5592bf69fc73655) Added HostInfo (IPNVersion, OS, OSVersion, Distro, DistroVersion, DistroCodeName) output to Node response - [`3658a31`](https://github.com/juanfont/headscale/commit/3658a3165ad909c3ce79fb5bdd2b25ff5a2b7644) Refactoring - [`80df6cc`](https://github.com/juanfont/headscale/commit/80df6cc409c8f3c62251e57e20c1f666068b806a) HostInfo JSON Serialization for Api - [`a26efd6`](https://github.com/juanfont/headscale/commit/a26efd6449aa16059eb96431b6f470e22671d4d3) Added unit test for HostInfoAsProtoStruct - [`395d93a`](https://github.com/juanfont/headscale/commit/395d93ac1b906dc0b91010ed796dee67be1fa566) Added unit test for HostInfoAsProtoStruct. Updated CHANGELOG - [`7ae0707`](https://github.com/juanfont/headscale/commit/7ae07078aec5e78205edb3915ea09c9ab0e75b22) Removed unused code - [`f06246a`](https://github.com/juanfont/headscale/commit/f06246a3800a753e6e9d7d26f99b4f3e841af810) Merge branch 'main' into hostinfo-to-node - [`c678362`](https://github.com/juanfont/headscale/commit/c678362442cea3d1282124da40efc03821257784) Refactoring code to JSON.marshal and tailcfg.Hostinfo - [`793fb7d`](https://github.com/juanfont/headscale/commit/793fb7d785c04ea5ffe2e3b35e3e48ce70d9b3e5) Merge remote-tracking branch 'origin/hostinfo-to-node' into hostinfo-to-node - [`7bf9974`](https://github.com/juanfont/headscale/commit/7bf99746d1f0b85c3b15e9965e705e541415f8ac) Refactoring ### 📊 Changes **7 files changed** (+180 additions, -84 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `gen/go/headscale/v1/node.pb.go` (+94 -84) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+3 -0) 📝 `hscontrol/types/node.go` (+22 -0) 📝 `hscontrol/types/node_test.go` (+50 -0) 📝 `integration/cli_test.go` (+8 -0) 📝 `proto/headscale/v1/node.proto` (+2 -0) </details> ### 📄 Description - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [x] added unit tests - [x] added integration tests - [x] updated documentation if needed - [x] updated CHANGELOG.md # Usecase As an administrator, I want to see the information that is available only in HostInfo, for example, the version of the client's TailScale, the OS name, its version, etc. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:06 +01:00
adam closed this issue 2025-12-29 03:21:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2408