Fixed list of installed SDKs v1.0.1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 23 Feb 2018 20:16:39 +0000 (21:16 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 23 Feb 2018 20:17:11 +0000 (21:17 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
gdb-xds.go
glide.yaml

index f1216ce..9dfb717 100644 (file)
@@ -440,7 +440,9 @@ func (g *GdbXds) printProjectsList() (int, error) {
        fmt.Fprintln(writer, "\nList of installed cross SDKs (use: export XDS_SDK_ID=<< ID >>):")
        fmt.Fprintln(writer, "ID \t Name")
        for _, s := range sdks {
-               fmt.Fprintf(writer, " %s \t  %s\n", s.ID, s.Name)
+               if s.Status == xaapiv1.SdkStatusInstalled {
+                       fmt.Fprintf(writer, " %s \t  %s\n", s.ID, s.Name)
+               }
        }
 
        if len(g.projects) > 0 && len(sdks) > 0 {
index 7cce14a..e7341d1 100644 (file)
@@ -11,11 +11,11 @@ import:
 - package: github.com/sebd71/go-socket.io-client
   version: 46defcb47f
 - package: gerrit.automotivelinux.org/gerrit/src/xds/xds-agent.git
-  version: ~1.0.0
+  version: ~1.1.0
   subpackages:
   - lib/xaapiv1
 - package: gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git
-  version: ^0.1.0
+  version: ~0.2.0
   subpackages:
   - golib/common
 - package: github.com/joho/godotenv