Skip to content

Commit c593153

Browse files
committed
Added grpc call LibraryResolveDependencies (WIP)
This is just the body of the call, no implementation yet.
1 parent 3db1807 commit c593153

File tree

12 files changed

+545
-312
lines changed

12 files changed

+545
-312
lines changed

commands/daemon/daemon.go

+5
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,11 @@ func (s *ArduinoCoreServerImpl) LibraryUpgradeAll(req *rpc.LibraryUpgradeAllReq,
295295
return stream.Send(&rpc.LibraryUpgradeAllResp{})
296296
}
297297

298+
// LibraryResolveDependencies FIXMEDOC
299+
func (s *ArduinoCoreServerImpl) LibraryResolveDependencies(ctx context.Context, req *rpc.LibraryResolveDependenciesReq) (*rpc.LibraryResolveDependenciesResp, error) {
300+
return lib.LibraryResolveDependencies(ctx, req)
301+
}
302+
298303
// LibrarySearch FIXMEDOC
299304
func (s *ArduinoCoreServerImpl) LibrarySearch(ctx context.Context, req *rpc.LibrarySearchReq) (*rpc.LibrarySearchResp, error) {
300305
return lib.LibrarySearch(ctx, req)

commands/lib/resolve_deps.go

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* This file is part of arduino-cli.
3+
*
4+
* Copyright 2018 ARDUINO SA (http://www.arduino.cc/)
5+
*
6+
* This software is released under the GNU General Public License version 3,
7+
* which covers the main part of arduino-cli.
8+
* The terms of this license can be found at:
9+
* https://www.gnu.org/licenses/gpl-3.0.en.html
10+
*
11+
* You can be released from the requirements of the above licenses by purchasing
12+
* a commercial license. Buying such a license is mandatory if you want to modify or
13+
* otherwise use the software for commercial activities involving the Arduino
14+
* software without disclosing the source code of your own applications. To purchase
15+
* a commercial license, send an email to [email protected].
16+
*/
17+
18+
package lib
19+
20+
import (
21+
"context"
22+
23+
rpc "github.com/arduino/arduino-cli/rpc/commands"
24+
)
25+
26+
// LibraryResolveDependencies FIXMEDOC
27+
func LibraryResolveDependencies(ctx context.Context, req *rpc.LibraryResolveDependenciesReq) (*rpc.LibraryResolveDependenciesResp, error) {
28+
return &rpc.LibraryResolveDependenciesResp{}, nil
29+
}

rpc/commands/board.pb.go

+42-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)