[PR #133] [MERGED] Enhance up command #2566

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/133
Author: @mlsmaycon
Created: 10/16/2021
Status: Merged
Merged: 10/17/2021
Merged by: @braginini

Base: mainHead: enhance-up-command


📝 Commits (10+)

  • fb806d8 move setup-key to root command
  • 2dd2aac up will check login and start service
  • a489152 update tests to reflect new UP capabilities
  • c06cb52 display client IP
  • 81a9d9d removed unused argument
  • 9f0c9c4 Merge branch 'main' into enhance-up-command
  • 515f634 install service if not installed
  • 6d48948 update post install and add pre remove script
  • 46205b4 improve log messages
  • 53cc4e6 handle service status failures and install service when needed

📊 Changes

16 files changed (+220 additions, -220 deletions)

View changed files

📝 .goreleaser.yaml (+3 -14)
📝 README.md (+7 -26)
📝 client/cmd/login.go (+2 -3)
📝 client/cmd/root.go (+7 -4)
📝 client/cmd/service_controller.go (+27 -12)
📝 client/cmd/service_installer.go (+6 -5)
📝 client/cmd/up.go (+102 -67)
📝 client/cmd/up_test.go (+4 -32)
client/cmd/version.go (+14 -0)
📝 client/main.go (+4 -0)
📝 go.mod (+1 -1)
📝 go.sum (+2 -0)
📝 release_files/post_install.sh (+11 -16)
release_files/pre_remove.sh (+30 -0)
release_files/wiretrustee.json (+0 -30)
release_files/wiretrustee.service (+0 -10)

📄 Description

  • support login capabilities with the UP command
  • no blocking execution by default

🔄 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/133 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 10/16/2021 **Status:** ✅ Merged **Merged:** 10/17/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `enhance-up-command` --- ### 📝 Commits (10+) - [`fb806d8`](https://github.com/netbirdio/netbird/commit/fb806d874f9ab34e63096aa31e1c1aac503564a2) move setup-key to root command - [`2dd2aac`](https://github.com/netbirdio/netbird/commit/2dd2aacaee95b24d10e5f0ba0d663e942e98b3ed) up will check login and start service - [`a489152`](https://github.com/netbirdio/netbird/commit/a4891520c5ccdb2fdd9aad72fcf5984a38990850) update tests to reflect new UP capabilities - [`c06cb52`](https://github.com/netbirdio/netbird/commit/c06cb52b04968b49420363be6ff3cdfbd9c0a92b) display client IP - [`81a9d9d`](https://github.com/netbirdio/netbird/commit/81a9d9d8d4cf45f8a84da94cdaed9ab6c5cfbebf) removed unused argument - [`9f0c9c4`](https://github.com/netbirdio/netbird/commit/9f0c9c492d30db95b86e0f8c7efedbe9a420437d) Merge branch 'main' into enhance-up-command - [`515f634`](https://github.com/netbirdio/netbird/commit/515f63437625786f93b991db1269d55f8ca90aa4) install service if not installed - [`6d48948`](https://github.com/netbirdio/netbird/commit/6d489489c9f1bb8923b6f306ae1c43ba769e7d65) update post install and add pre remove script - [`46205b4`](https://github.com/netbirdio/netbird/commit/46205b4b274ad41e3baf0258d62ce5a65dc57583) improve log messages - [`53cc4e6`](https://github.com/netbirdio/netbird/commit/53cc4e6c34942c40184deb974579448446d61a26) handle service status failures and install service when needed ### 📊 Changes **16 files changed** (+220 additions, -220 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yaml` (+3 -14) 📝 `README.md` (+7 -26) 📝 `client/cmd/login.go` (+2 -3) 📝 `client/cmd/root.go` (+7 -4) 📝 `client/cmd/service_controller.go` (+27 -12) 📝 `client/cmd/service_installer.go` (+6 -5) 📝 `client/cmd/up.go` (+102 -67) 📝 `client/cmd/up_test.go` (+4 -32) ➕ `client/cmd/version.go` (+14 -0) 📝 `client/main.go` (+4 -0) 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -0) 📝 `release_files/post_install.sh` (+11 -16) ➕ `release_files/pre_remove.sh` (+30 -0) ➖ `release_files/wiretrustee.json` (+0 -30) ➖ `release_files/wiretrustee.service` (+0 -10) </details> ### 📄 Description - [x] support login capabilities with the UP command - [x] no blocking execution by default --- <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:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2566