Skip to content

Commit c0ebae3

Browse files
committed
Removed old Monitor gRPC service
1 parent 899dc91 commit c0ebae3

File tree

10 files changed

+0
-1122
lines changed

10 files changed

+0
-1122
lines changed

Diff for: Taskfile.yml

-2
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,13 @@ tasks:
198198
desc: Compile protobuf definitions
199199
cmds:
200200
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/commands/v1/*.proto'
201-
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/monitor/v1/*.proto'
202201
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/settings/v1/*.proto'
203202
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/debug/v1/*.proto'
204203

205204
protoc:docs:
206205
desc: Generate docs for protobuf definitions
207206
cmds:
208207
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,commands.md --proto_path=rpc ./rpc/cc/arduino/cli/commands/v1/*.proto'
209-
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,monitor.md --proto_path=rpc ./rpc/cc/arduino/cli/monitor/v1/*.proto'
210208
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,settings.md --proto_path=rpc ./rpc/cc/arduino/cli/settings/v1/*.proto'
211209
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,debug.md --proto_path=rpc ./rpc/cc/arduino/cli/debug/v1/*.proto'
212210

Diff for: arduino/monitors/null.go

-70
This file was deleted.

Diff for: arduino/monitors/serial.go

-65
This file was deleted.

Diff for: arduino/monitors/types.go

-25
This file was deleted.

Diff for: cli/daemon/daemon.go

-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import (
3333
"github.com/arduino/arduino-cli/i18n"
3434
srv_commands "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
3535
srv_debug "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/debug/v1"
36-
srv_monitor "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/monitor/v1"
3736
srv_settings "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/settings/v1"
3837
"github.com/arduino/go-paths-helper"
3938
"github.com/sirupsen/logrus"
@@ -106,9 +105,6 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
106105
VersionString: globals.VersionInfo.VersionString,
107106
})
108107

109-
// Register the monitors service
110-
srv_monitor.RegisterMonitorServiceServer(s, &daemon.MonitorService{})
111-
112108
// Register the settings service
113109
srv_settings.RegisterSettingsServiceServer(s, &daemon.SettingsService{})
114110

Diff for: commands/daemon/monitor.go

-194
This file was deleted.

Diff for: docs/FAQ.md

-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,4 @@ If your question wasn't answered, feel free to ask on [Arduino CLI's forum board
3737
[1]: https://forum.arduino.cc/index.php?board=145.0
3838
[screen]: https://www.gnu.org/software/screen/manual/screen.html
3939
[putty]: https://www.chiark.greenend.org.uk/~sgtatham/putty/
40-
[monitor service]: rpc/monitor.md
4140
[monitor command]: commands/arduino-cli_monitor.md

0 commit comments

Comments
 (0)