aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-02-23 21:16:39 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-02-23 21:17:11 +0100
commit0cd3a46a918d38ac671dd55600fc90fef81ba90f (patch)
treebc0e203899eebf7d6dd8842d29912da7e2361c30
parentcd2ac6e38a52aaa1db62597bd95f6f04b7f01409 (diff)
Fixed list of installed SDKsv1.0.1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--gdb-xds.go4
-rw-r--r--glide.yaml4
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb-xds.go b/gdb-xds.go
index f1216ce..9dfb717 100644
--- a/gdb-xds.go
+++ b/gdb-xds.go
@@ -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 {
diff --git a/glide.yaml b/glide.yaml
index 7cce14a..e7341d1 100644
--- a/glide.yaml
+++ b/glide.yaml
@@ -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