Skip to content

Commit 5a3b42a

Browse files
committed
Fixed .proto files indentations
1 parent 31a6753 commit 5a3b42a

File tree

13 files changed

+787
-701
lines changed

13 files changed

+787
-701
lines changed

rpc/cc/arduino/cli/commands/v1/board.proto

Lines changed: 165 additions & 167 deletions
Large diffs are not rendered by default.

rpc/cc/arduino/cli/commands/v1/commands.proto

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ message DestroyRequest {
176176
// The Arduino Core Service instance to destroy.
177177
Instance instance = 1;
178178
}
179-
message DestroyResponse {}
179+
180+
message DestroyResponse {
181+
}
180182

181183
message RescanRequest {
182184
// Arduino Core Service instance from the Init response.
@@ -237,7 +239,6 @@ message OutdatedResponse {
237239
message UpgradeRequest {
238240
// Arduino Core Service instance from the Init response.
239241
Instance instance = 1;
240-
241242
// Set to true to not run (eventual) post install scripts
242243
bool skip_post_install = 2;
243244
}
@@ -249,7 +250,8 @@ message UpgradeResponse {
249250
TaskProgress task_progress = 2;
250251
}
251252

252-
message VersionRequest {}
253+
message VersionRequest {
254+
}
253255

254256
message VersionResponse {
255257
// The version of Arduino CLI in use.
@@ -285,4 +287,5 @@ message ArchiveSketchRequest{
285287
bool include_build_dir = 3;
286288
}
287289

288-
message ArchiveSketchResponse { }
290+
message ArchiveSketchResponse {
291+
}

rpc/cc/arduino/cli/commands/v1/common.proto

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ package cc.arduino.cli.commands.v1;
2020
option go_package = "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1;commands";
2121

2222
message Instance {
23-
// The ID of the instance.
24-
int32 id = 1;
23+
// The ID of the instance.
24+
int32 id = 1;
2525
}
2626

2727
message DownloadProgress {
28-
// URL of the download.
29-
string url = 1;
30-
// The file being downloaded.
31-
string file = 2;
32-
// Total size of the file being downloaded.
33-
int64 total_size = 3;
34-
// Size of the downloaded portion of the file.
35-
int64 downloaded = 4;
36-
// Whether the download is complete.
37-
bool completed = 5;
28+
// URL of the download.
29+
string url = 1;
30+
// The file being downloaded.
31+
string file = 2;
32+
// Total size of the file being downloaded.
33+
int64 total_size = 3;
34+
// Size of the downloaded portion of the file.
35+
int64 downloaded = 4;
36+
// Whether the download is complete.
37+
bool completed = 5;
3838
}
3939

4040
message TaskProgress {
@@ -47,41 +47,41 @@ message TaskProgress {
4747
}
4848

4949
message Programmer {
50-
string platform = 1;
51-
string id = 2;
52-
string name = 3;
50+
string platform = 1;
51+
string id = 2;
52+
string name = 3;
5353
}
5454

5555
message Platform {
56-
// Platform ID (e.g., `arduino:avr`).
57-
string id = 1;
58-
// Version of the platform.
59-
string installed = 2;
60-
// Newest available version of the platform.
61-
string latest = 3;
62-
// Name used to identify the platform to humans (e.g., "Arduino AVR Boards").
63-
string name = 4;
64-
// Maintainer of the platform's package.
65-
string maintainer = 5;
66-
// A URL provided by the author of the platform's package, intended to point
67-
// to their website.
68-
string website = 6;
69-
// Email of the maintainer of the platform's package.
70-
string email = 7;
71-
// List of boards provided by the platform. If the platform is installed,
72-
// this is the boards listed in the platform's boards.txt. If the platform is
73-
// not installed, this is an arbitrary list of board names provided by the
74-
// platform author for display and may not match boards.txt.
75-
repeated Board boards = 8;
76-
// If true this Platform has been installed manually in the user' sketchbook
77-
// hardware folder
78-
bool manually_installed = 9;
56+
// Platform ID (e.g., `arduino:avr`).
57+
string id = 1;
58+
// Version of the platform.
59+
string installed = 2;
60+
// Newest available version of the platform.
61+
string latest = 3;
62+
// Name used to identify the platform to humans (e.g., "Arduino AVR Boards").
63+
string name = 4;
64+
// Maintainer of the platform's package.
65+
string maintainer = 5;
66+
// A URL provided by the author of the platform's package, intended to point
67+
// to their website.
68+
string website = 6;
69+
// Email of the maintainer of the platform's package.
70+
string email = 7;
71+
// List of boards provided by the platform. If the platform is installed,
72+
// this is the boards listed in the platform's boards.txt. If the platform is
73+
// not installed, this is an arbitrary list of board names provided by the
74+
// platform author for display and may not match boards.txt.
75+
repeated Board boards = 8;
76+
// If true this Platform has been installed manually in the user' sketchbook
77+
// hardware folder
78+
bool manually_installed = 9;
7979
}
8080

8181
message Board {
82-
// Name used to identify the board to humans.
83-
string name = 1;
84-
// Fully qualified board name used to identify the board to machines. The FQBN
85-
// is only available for installed boards.
86-
string fqbn = 2;
82+
// Name used to identify the board to humans.
83+
string name = 1;
84+
// Fully qualified board name used to identify the board to machines. The FQBN
85+
// is only available for installed boards.
86+
string fqbn = 2;
8787
}

rpc/cc/arduino/cli/commands/v1/compile.pb.go

Lines changed: 64 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)