Unverified Commit 4b874a02 authored by Cristian Maglie's avatar Cristian Maglie Committed by GitHub

Added dependencies, license and provides_includes fields in 'lib search' (#599)

* Added 'license' and 'provides_includes' fields in lib search

* Added 'dependencies' field in lib search

* Do not output empty field in 'lib search'

Fields 'license', 'provided includes' and 'dependencies' are printed
only if populated.
parent 561618a4
......@@ -52,6 +52,8 @@ type Release struct {
Architectures []string
Types []string
Resource *resources.DownloadResource
License string
ProvidesIncludes []string
Library *Library `json:"-"`
}
......
......@@ -44,6 +44,8 @@ type indexRelease struct {
Size int64 `json:"size"`
Checksum string `json:"checksum"`
Dependencies []*indexDependency `json:"dependencies,omitempty"`
License string `json:"license"`
ProvidesIncludes []string `json:"providesIncludes"`
}
type indexDependency struct {
......@@ -109,6 +111,8 @@ func (indexLib *indexRelease) extractReleaseIn(library *Library) {
},
Library: library,
Dependencies: indexLib.extractDependencies(),
License: indexLib.License,
ProvidesIncludes: indexLib.ProvidesIncludes,
}
library.Releases[indexLib.Version.String()] = release
if library.Latest == nil || library.Latest.Version.LessThan(release.Version) {
......
......@@ -113,21 +113,41 @@ func (res result) String() string {
var out strings.Builder
for _, lsr := range results {
out.WriteString(fmt.Sprintf("Name: \"%s\"\n", lsr.Name))
for _, lib := range results {
out.WriteString(fmt.Sprintf("Name: \"%s\"\n", lib.Name))
if res.namesOnly {
continue
}
out.WriteString(fmt.Sprintf(" Author: %s\n", lsr.GetLatest().Author))
out.WriteString(fmt.Sprintf(" Maintainer: %s\n", lsr.GetLatest().Maintainer))
out.WriteString(fmt.Sprintf(" Sentence: %s\n", lsr.GetLatest().Sentence))
out.WriteString(fmt.Sprintf(" Paragraph: %s\n", lsr.GetLatest().Paragraph))
out.WriteString(fmt.Sprintf(" Website: %s\n", lsr.GetLatest().Website))
out.WriteString(fmt.Sprintf(" Category: %s\n", lsr.GetLatest().Category))
out.WriteString(fmt.Sprintf(" Architecture: %s\n", strings.Join(lsr.GetLatest().Architectures, ", ")))
out.WriteString(fmt.Sprintf(" Types: %s\n", strings.Join(lsr.GetLatest().Types, ", ")))
out.WriteString(fmt.Sprintf(" Versions: %s\n", strings.Replace(fmt.Sprint(versionsFromSearchedLibrary(lsr)), " ", ", ", -1)))
latest := lib.GetLatest()
deps := []string{}
for _, dep := range latest.GetDependencies() {
if dep.GetVersionConstraint() == "" {
deps = append(deps, dep.GetName())
} else {
deps = append(deps, dep.GetName()+" ("+dep.GetVersionConstraint()+")")
}
}
out.WriteString(fmt.Sprintf(" Author: %s\n", latest.Author))
out.WriteString(fmt.Sprintf(" Maintainer: %s\n", latest.Maintainer))
out.WriteString(fmt.Sprintf(" Sentence: %s\n", latest.Sentence))
out.WriteString(fmt.Sprintf(" Paragraph: %s\n", latest.Paragraph))
out.WriteString(fmt.Sprintf(" Website: %s\n", latest.Website))
if latest.License != "" {
out.WriteString(fmt.Sprintf(" License: %s\n", latest.License))
}
out.WriteString(fmt.Sprintf(" Category: %s\n", latest.Category))
out.WriteString(fmt.Sprintf(" Architecture: %s\n", strings.Join(latest.Architectures, ", ")))
out.WriteString(fmt.Sprintf(" Types: %s\n", strings.Join(latest.Types, ", ")))
out.WriteString(fmt.Sprintf(" Versions: %s\n", strings.Replace(fmt.Sprint(versionsFromSearchedLibrary(lib)), " ", ", ", -1)))
if len(latest.ProvidesIncludes) > 0 {
out.WriteString(fmt.Sprintf(" Provides includes: %s\n", strings.Join(latest.ProvidesIncludes, ", ")))
}
if len(latest.Dependencies) > 0 {
out.WriteString(fmt.Sprintf(" Dependencies: %s\n", strings.Join(deps, ", ")))
}
}
return fmt.Sprintf("%s", out.String())
......
......@@ -23,6 +23,7 @@ import (
"github.com/arduino/arduino-cli/arduino/libraries/librariesindex"
"github.com/arduino/arduino-cli/commands"
rpc "github.com/arduino/arduino-cli/rpc/commands"
semver "go.bug.st/relaxed-semver"
)
// LibrarySearch FIXMEDOC
......@@ -69,6 +70,9 @@ func GetLibraryParameters(rel *librariesindex.Release) *rpc.LibraryRelease {
Category: rel.Category,
Architectures: rel.Architectures,
Types: rel.Types,
License: rel.License,
ProvidesIncludes: rel.ProvidesIncludes,
Dependencies: getLibraryDependenciesParameter(rel.GetDependencies()),
Resources: &rpc.DownloadResource{
Url: rel.Resource.URL,
Archivefilename: rel.Resource.ArchiveFileName,
......@@ -78,3 +82,14 @@ func GetLibraryParameters(rel *librariesindex.Release) *rpc.LibraryRelease {
},
}
}
func getLibraryDependenciesParameter(deps []semver.Dependency) []*rpc.LibraryDependency {
res := []*rpc.LibraryDependency{}
for _, dep := range deps {
res = append(res, &rpc.LibraryDependency{
Name: dep.GetName(),
VersionConstraint: dep.GetConstraint().String(),
})
}
return res
}
......@@ -753,6 +753,9 @@ type LibraryRelease struct {
Architectures []string `protobuf:"bytes,8,rep,name=architectures,proto3" json:"architectures,omitempty"`
Types []string `protobuf:"bytes,9,rep,name=types,proto3" json:"types,omitempty"`
Resources *DownloadResource `protobuf:"bytes,10,opt,name=resources,proto3" json:"resources,omitempty"`
License string `protobuf:"bytes,11,opt,name=license,proto3" json:"license,omitempty"`
ProvidesIncludes []string `protobuf:"bytes,12,rep,name=provides_includes,json=providesIncludes,proto3" json:"provides_includes,omitempty"`
Dependencies []*LibraryDependency `protobuf:"bytes,13,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -853,6 +856,74 @@ func (m *LibraryRelease) GetResources() *DownloadResource {
return nil
}
func (m *LibraryRelease) GetLicense() string {
if m != nil {
return m.License
}
return ""
}
func (m *LibraryRelease) GetProvidesIncludes() []string {
if m != nil {
return m.ProvidesIncludes
}
return nil
}
func (m *LibraryRelease) GetDependencies() []*LibraryDependency {
if m != nil {
return m.Dependencies
}
return nil
}
type LibraryDependency struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
VersionConstraint string `protobuf:"bytes,2,opt,name=version_constraint,json=versionConstraint,proto3" json:"version_constraint,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LibraryDependency) Reset() { *m = LibraryDependency{} }
func (m *LibraryDependency) String() string { return proto.CompactTextString(m) }
func (*LibraryDependency) ProtoMessage() {}
func (*LibraryDependency) Descriptor() ([]byte, []int) {
return fileDescriptor_9feed0d29806df6c, []int{15}
}
func (m *LibraryDependency) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LibraryDependency.Unmarshal(m, b)
}
func (m *LibraryDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LibraryDependency.Marshal(b, m, deterministic)
}
func (m *LibraryDependency) XXX_Merge(src proto.Message) {
xxx_messageInfo_LibraryDependency.Merge(m, src)
}
func (m *LibraryDependency) XXX_Size() int {
return xxx_messageInfo_LibraryDependency.Size(m)
}
func (m *LibraryDependency) XXX_DiscardUnknown() {
xxx_messageInfo_LibraryDependency.DiscardUnknown(m)
}
var xxx_messageInfo_LibraryDependency proto.InternalMessageInfo
func (m *LibraryDependency) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *LibraryDependency) GetVersionConstraint() string {
if m != nil {
return m.VersionConstraint
}
return ""
}
type DownloadResource struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
Archivefilename string `protobuf:"bytes,2,opt,name=archivefilename,proto3" json:"archivefilename,omitempty"`
......@@ -868,7 +939,7 @@ func (m *DownloadResource) Reset() { *m = DownloadResource{} }
func (m *DownloadResource) String() string { return proto.CompactTextString(m) }
func (*DownloadResource) ProtoMessage() {}
func (*DownloadResource) Descriptor() ([]byte, []int) {
return fileDescriptor_9feed0d29806df6c, []int{15}
return fileDescriptor_9feed0d29806df6c, []int{16}
}
func (m *DownloadResource) XXX_Unmarshal(b []byte) error {
......@@ -937,7 +1008,7 @@ func (m *LibraryListReq) Reset() { *m = LibraryListReq{} }
func (m *LibraryListReq) String() string { return proto.CompactTextString(m) }
func (*LibraryListReq) ProtoMessage() {}
func (*LibraryListReq) Descriptor() ([]byte, []int) {
return fileDescriptor_9feed0d29806df6c, []int{16}
return fileDescriptor_9feed0d29806df6c, []int{17}
}
func (m *LibraryListReq) XXX_Unmarshal(b []byte) error {
......@@ -990,7 +1061,7 @@ func (m *LibraryListResp) Reset() { *m = LibraryListResp{} }
func (m *LibraryListResp) String() string { return proto.CompactTextString(m) }
func (*LibraryListResp) ProtoMessage() {}
func (*LibraryListResp) Descriptor() ([]byte, []int) {
return fileDescriptor_9feed0d29806df6c, []int{17}
return fileDescriptor_9feed0d29806df6c, []int{18}
}
func (m *LibraryListResp) XXX_Unmarshal(b []byte) error {
......@@ -1030,7 +1101,7 @@ func (m *InstalledLibrary) Reset() { *m = InstalledLibrary{} }
func (m *InstalledLibrary) String() string { return proto.CompactTextString(m) }
func (*InstalledLibrary) ProtoMessage() {}
func (*InstalledLibrary) Descriptor() ([]byte, []int) {
return fileDescriptor_9feed0d29806df6c, []int{18}
return fileDescriptor_9feed0d29806df6c, []int{19}
}
func (m *InstalledLibrary) XXX_Unmarshal(b []byte) error {
......@@ -1098,7 +1169,7 @@ func (m *Library) Reset() { *m = Library{} }
func (m *Library) String() string { return proto.CompactTextString(m) }
func (*Library) ProtoMessage() {}
func (*Library) Descriptor() ([]byte, []int) {
return fileDescriptor_9feed0d29806df6c, []int{19}
return fileDescriptor_9feed0d29806df6c, []int{20}
}
func (m *Library) XXX_Unmarshal(b []byte) error {
......@@ -1299,6 +1370,7 @@ func init() {
proto.RegisterType((*SearchedLibrary)(nil), "cc.arduino.cli.commands.SearchedLibrary")
proto.RegisterMapType((map[string]*LibraryRelease)(nil), "cc.arduino.cli.commands.SearchedLibrary.ReleasesEntry")
proto.RegisterType((*LibraryRelease)(nil), "cc.arduino.cli.commands.LibraryRelease")
proto.RegisterType((*LibraryDependency)(nil), "cc.arduino.cli.commands.LibraryDependency")
proto.RegisterType((*DownloadResource)(nil), "cc.arduino.cli.commands.DownloadResource")
proto.RegisterType((*LibraryListReq)(nil), "cc.arduino.cli.commands.LibraryListReq")
proto.RegisterType((*LibraryListResp)(nil), "cc.arduino.cli.commands.LibraryListResp")
......@@ -1310,80 +1382,84 @@ func init() {
func init() { proto.RegisterFile("commands/lib.proto", fileDescriptor_9feed0d29806df6c) }
var fileDescriptor_9feed0d29806df6c = []byte{
// 1191 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xdf, 0x6f, 0x1b, 0xc5,
0x13, 0xff, 0x9e, 0xdd, 0x26, 0xf6, 0xb8, 0xae, 0x9d, 0x6d, 0xda, 0xde, 0x37, 0xa5, 0xad, 0x39,
0x81, 0x70, 0x8b, 0xea, 0xa0, 0x22, 0x55, 0xa8, 0x52, 0x85, 0x8a, 0xd2, 0x22, 0x50, 0x84, 0xa2,
0x6b, 0xcb, 0x03, 0x20, 0x9d, 0xd6, 0x77, 0x13, 0x7b, 0xe5, 0xf5, 0xdd, 0x65, 0x77, 0xcf, 0x95,
0x79, 0xe1, 0xd7, 0x2b, 0x2f, 0xbc, 0xf3, 0xc0, 0x0b, 0x42, 0xe2, 0x1f, 0xe2, 0xdf, 0x41, 0x7b,
0xbb, 0x77, 0x3e, 0x3b, 0x71, 0x1a, 0x50, 0x54, 0x10, 0x4f, 0xb9, 0xf9, 0xcc, 0xce, 0xcc, 0x67,
0x66, 0x76, 0x66, 0x63, 0x20, 0x61, 0x32, 0x9d, 0xd2, 0x38, 0x92, 0xbb, 0x9c, 0x0d, 0x07, 0xa9,
0x48, 0x54, 0x42, 0xae, 0x87, 0xe1, 0x80, 0x8a, 0x28, 0x63, 0x71, 0x32, 0x08, 0x39, 0x1b, 0x14,
0x47, 0x76, 0xae, 0x96, 0x87, 0xf5, 0x47, 0x12, 0x9b, 0xf3, 0xde, 0x77, 0x0e, 0x90, 0x7d, 0x36,
0x14, 0x54, 0xcc, 0xf7, 0x92, 0x97, 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x80,
0x76, 0xb1, 0x26, 0x4c, 0xc1, 0x3b, 0xd0, 0x3a, 0xe4, 0x54, 0x05, 0xa6, 0xfe, 0xdd, 0xff, 0x91,
0x6d, 0xe8, 0x0a, 0x0c, 0x33, 0x21, 0xd9, 0x0c, 0x0b, 0xd4, 0xb9, 0x5b, 0x59, 0x2f, 0x45, 0xc7,
0x3b, 0xd0, 0x62, 0x11, 0x06, 0xc3, 0x8c, 0x71, 0xc5, 0x62, 0x63, 0x59, 0x34, 0xbe, 0x44, 0x1d,
0x72, 0x1b, 0x6e, 0x08, 0x3c, 0x44, 0xa1, 0x47, 0x26, 0x0a, 0x8e, 0x1d, 0xa8, 0x91, 0xcb, 0x00,
0x72, 0x82, 0x2a, 0x1c, 0x0f, 0x93, 0x64, 0xd2, 0xad, 0x7f, 0x74, 0xef, 0x8b, 0x77, 0x47, 0x4c,
0x8d, 0xb3, 0xa1, 0x2e, 0xcc, 0xae, 0x2d, 0x54, 0xf1, 0xf7, 0x5e, 0xc8, 0xd9, 0xae, 0x48, 0xc3,
0xdd, 0xa2, 0x68, 0xc3, 0x8d, 0xfc, 0xb7, 0xee, 0xfb, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x26,
0x21, 0xca, 0x20, 0x31, 0x0f, 0x00, 0x00,
// 1261 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xdd, 0x6f, 0x1b, 0x45,
0x10, 0xe7, 0xec, 0x36, 0xb1, 0xc7, 0x71, 0xed, 0x6c, 0xd3, 0xf6, 0x48, 0x69, 0x1b, 0x4e, 0x20,
0xd2, 0x54, 0x75, 0x50, 0x91, 0x2a, 0x54, 0xa9, 0x42, 0x85, 0xb6, 0xa8, 0x28, 0xaa, 0xa2, 0xeb,
0xc7, 0x03, 0x20, 0x9d, 0xd6, 0x77, 0x13, 0x7b, 0xe5, 0xf5, 0xed, 0x75, 0x77, 0x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0x04, 0x4b, 0xad,
0xb7, 0x33, 0x47, 0x2f, 0x65, 0xc7, 0x3b, 0xd0, 0x62, 0x09, 0x46, 0xfd, 0x9c, 0x71, 0xcd, 0x52,
0xeb, 0x59, 0x36, 0xbe, 0xd2, 0x7a, 0xe4, 0x1a, 0x5c, 0x96, 0x78, 0x80, 0xd2, 0xac, 0x4c, 0x12,
0x1d, 0x3a, 0x50, 0x23, 0xe7, 0x00, 0xd4, 0x08, 0x75, 0x3c, 0xec, 0x0b, 0x31, 0xea, 0xd6, 0x3f,
0xbd, 0xf9, 0xe5, 0x8d, 0x01, 0xd3, 0xc3, 0xbc, 0x6f, 0x0a, 0xb3, 0xeb, 0x0a, 0x55, 0xfe, 0xbd,
0x19, 0x73, 0xb6, 0x2b, 0xb3, 0x78, 0xb7, 0x2c, 0x5a, 0x7f, 0xa5, 0xf8, 0xd7, 0xfe, 0xa3, 0xbf,
0x02, 0x00, 0x00, 0xff, 0xff, 0x02, 0x41, 0xe8, 0x67, 0x20, 0x10, 0x00, 0x00,
}
......@@ -103,6 +103,14 @@ message LibraryRelease {
repeated string architectures = 8;
repeated string types = 9;
DownloadResource resources = 10;
string license = 11;
repeated string provides_includes = 12;
repeated LibraryDependency dependencies = 13;
}
message LibraryDependency {
string name = 1;
string version_constraint = 2;
}
message DownloadResource {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment