File tree Expand file tree Collapse file tree 5 files changed +130
-133
lines changed
Filter options
rpc/cc/arduino/cli/commands/v1 Expand file tree Collapse file tree 5 files changed +130
-133
lines changed
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ func (library *Library) ToRPCLibrary() (*rpc.Library, error) {
132
132
Location : library .Location .ToRPCLibraryLocation (),
133
133
ContainerPlatform : platformOrEmpty (library .ContainerPlatform ),
134
134
Layout : library .Layout .ToRPCLibraryLayout (),
135
- RealName : library .Name ,
136
135
DotALinkage : library .DotALinkage ,
137
136
Precompiled : library .Precompiled ,
138
137
LdFlags : library .LDflags ,
Original file line number Diff line number Diff line change @@ -129,10 +129,7 @@ func (ir installedResult) String() string {
129
129
lastName := ""
130
130
for _ , libMeta := range ir .installedLibs {
131
131
lib := libMeta .GetLibrary ()
132
- name := lib .RealName
133
- if name == "" {
134
- name = lib .Name
135
- }
132
+ name := lib .Name
136
133
if name == lastName {
137
134
name = ` "`
138
135
} else {
Original file line number Diff line number Diff line change @@ -19,6 +19,24 @@ freely renamed.
19
19
This change improves the overall code base naming coherence since all the structures involving libraries have the ` Name `
20
20
field that refers to the library name as it appears in the ` library.properties ` file.
21
21
22
+ #### gRPC message ` cc.arduino.cli.commands.v1.Library ` no longer has ` real_name ` field
23
+
24
+ You must use the ` name ` field instead.
25
+
26
+ #### Machine readable ` lib list ` output no longer has "real name" field
27
+
28
+ ##### JSON
29
+
30
+ The ` [*].library.real_name ` field has been removed.
31
+
32
+ You must use the ` [*].library.name ` field instead.
33
+
34
+ ##### YAML
35
+
36
+ The ` [*].library.realname ` field has been removed.
37
+
38
+ You must use the ` [*].library.name ` field instead.
39
+
22
40
### ` github.com/arduino/arduino-cli/arduino/libraries/librariesmanager.LibrariesManager.Install ` removed parameter ` installLocation `
23
41
24
42
The method:
You can’t perform that action at this time.
0 commit comments