aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-07Freeze go-socket.io & go-engine.io version to v1.0.1Sebastien Douheret3-2/+82
Latest go-socket.io (v1.4) is not backward compatible, and consequently breaks xds-cli build. Stick to v1.0.1 while waiting update (migration) of xds-cli code. Bug: SPEC-2250 Change-Id: I65e0b8b7130236f6bb345fe2963fcb7374295a64 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-01-04Add cli-config.env file supporthalibut_7.90.0halibut/7.90.07.90.0Sebastien Douheret2-17/+30
XDS environment configuration can be set using various methods. Here is the list of various methods, ordered by priority: 1/ from command line option: "--config myConfig.json" 2/ from environment variable XDS_CONFIG 3/ $HOME/.xds/cli/cli-config.env file 4/ /etc/xds/cli/cli-config.env file Change-Id: I1b59c05e583336fe05459de91a35d47cf5ddf670 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-23Disable completion (not working well)guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.16.99.46.99.36.99.26.99.1Sebastien Douheret2-3/+8
Disable completion for now, because it's not working with options (eg. --label) and prevents to complete local path IOW current function only completes command and sub-commands that may be usefull but less important than completing a path. Change-Id: Ib5fe4f8492367d383bbe92351ec8c69a65b4ea4c Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-22Display new image url field with sdk list commandSebastien Douheret3-4/+14
Change-Id: I26db1f7ebedd502db123e249a69bad30fbc0db99 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-19Rework zip package versioningSebastien Douheret1-6/+5
In order to always have a number that's incrementing, use git commits number for last detected tag. Change-Id: I9d8b6b56b9b884e4adfb20113cfe8f3738c473d6 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-18Update command used to extract version from tagSebastien Douheret1-1/+1
Fix for issue SPEC-1782 XDS Version is based on git tags and 3 formats are used to tag the same AGL version, for example: flounder_6.90.0, flounder/6.90.0, tag: 6.90.0. For time to time (don't know why always reproducible) the "git describe" command returns the number version/tag (6.90.0) that is expected and sometimes it's the string version/tag (flounder/6.90.0) that is problematic. Change-Id: I9fdbe93cfea917493a8d4e8346a72cc97cf9c5bd Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-18Bump xds-agent to latest versionSebastien Douheret1-1/+1
Need latest xds-agent version that introduces LdLibPathNoReset field. Change-Id: I597387f4d41f14c3fb6646fef00ed6458e938978 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-17Add hidden option -ldlibpath-no-resetSebastien Douheret1-7/+14
Following change (https://gerrit.automotivelinux.org/gerrit/#/c/17253/) xds-server unset LD_LIBRARY_PATH by default. This new option allows user to keep LD_LIBRARY_PATH as is (IOW don't uset LD_LIBRARY_PATH) before executing the requested commands. Note that this option is hidden (not listed in help output) because it's only reserved for advanced usage. Change-Id: I34928763699bc24e726f5cb7de0877c0b2bfb813 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-12Make id option overwrite XDS_xxx_ID env varSebastien Douheret5-65/+72
The behavior must be the same when XDS_SDK_ID is defined and user set -id option or simply give an id without setting "--id" string option. IOW all following commands must give the exact same result (get info of sdk 9d69): ./bin/xds-cli sdks get -id 9d69 ./bin/xds-cli sdks get 9d69 XDS_SDK_ID=9d69 ./bin/xds-cli sdks get XDS_SDK_ID=1234 ./bin/xds-cli sdks get -id 9d69 XDS_SDK_ID=12345 ./bin/xds-cli sdks get 9d69 Change-Id: Idbd3f052df8172d56de98f827743b43d70d37393 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-13Rationalize VSCode settings for all xds repoguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.3flounder/5.99.6flounder/5.99.5flounder/5.99.36.90.05.99.65.99.55.99.3Sebastien Douheret1-45/+49
Change-Id: Ie1c91242fef9b49b1dc71707dd2546254792e649 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-13Packaging: ignore expected rpmlint warningSebastien Douheret3-0/+8
Change-Id: I27d2e592514032b63dae38986a74b74a1068ebd5 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-07Update/fix rpm and deb packagingflounder_5.99.2flounder/5.99.25.99.2Sebastien Douheret10-21/+31
Change-Id: I576c7c02def683dc3028194e68416bfc0b167067 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-27Update dependency version for xds agent & commonflounder_5.99.1flounder/5.99.15.99.1Sebastien Douheret1-2/+2
Change-Id: I7d091b310a613cd304dce38a4a36594ff7421462 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-05-22go version: check if go version is greater than 1.9.0Clément Bénier1-3/+4
Makefile checks if go version is greater than 1.9.0 if it is not the case an error log advise to clear the glide cache with glide cc command. Change-Id: If141a2b0972139a132f21c640affdf05869db2b5 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-05-15Add packaging filesRonan Le Martret8-0/+188
* it's easier to manage native build package. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-05Fixed meta tags in path to avoid conflict with spec syntaxv1.1.1Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-12Exit xds-cli on XDS-Server disconneciton.Sebastien Douheret4-6/+45
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Added default CTRL+C signal handler.Sebastien Douheret1-0/+15
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Fixed terminal output (support escape and control characters)Sebastien Douheret7-67/+195
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-06Added bash completion support.Sebastien Douheret2-0/+13
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-05Fixed target and terminal id arg parsingSebastien Douheret2-34/+34
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added target and terminal supportv1.1.0Sebastien Douheret11-9/+751
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added logfile supportSebastien Douheret1-2/+19
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Fixed conflict name between exec package and local exec function.Sebastien Douheret1-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-14fix install scriptLoïc Collignon1-1/+1
Change-Id: I00e43d9df9521cfebea93d63eb5ec7bccf272a64 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-26Sort projects and sdks list.Sebastien Douheret2-1/+26
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-24Fixed usage of project type.eel_5.0.1eel/5.0.15.0.1Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-24Fixed crach when no XDS Server connected.Sebastien Douheret1-0/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-24Fixed GOPATH setup while debugging in VSCSebastien Douheret1-5/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Added -s | --short option (useful from scripting)Sebastien Douheret2-3/+22
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Used new SDK Management event.Sebastien Douheret2-12/+35
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-22List "Installing" sdks by default.Sebastien Douheret1-1/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-08Updated go dep (used xds-agent api ~1.0.0)v1.0.0Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret11-26/+27
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Added AGL .gitreview fileSebastien Douheret1-0/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Add confirmation before deleting a project or a sdk.Sebastien Douheret3-0/+30
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Improved SDK installation output and add -debug option.Sebastien Douheret1-10/+35
2018-01-03Minor fixes in sdks command output.Sebastien Douheret1-1/+6
2017-12-22Added sdks install / uninstall / abort commands.v0.1.3Sebastien Douheret3-24/+163
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-12Removed useless file from Windows packagev0.1.2Sebastien Douheret1-0/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-12Adapt early logging level of HTTP client.Sebastien Douheret1-1/+6
2017-12-07Improved reported error on invalid XDS_AGENT_URLSebastien Douheret1-3/+10
Specifically when AGENT_URL is set to SERVER_URL and consequently connection failed with "Failed to get device ID" error.
2017-12-07Support ~ or $VAR for --config option valueSebastien Douheret1-1/+6
2017-12-07Display early log when exiting earlier.Sebastien Douheret1-6/+19
2017-12-06Fixed rpath option detection of exec command.Sebastien Douheret1-1/+1
2017-12-05Only update Server URL when it's necessary.v0.1.1Sebastien Douheret1-2/+4
2017-12-05Support --config option either before or after command verb.Sebastien Douheret1-0/+13
2017-12-04Added "misc status" (short: "m sts") commandSebastien Douheret1-0/+32
2017-12-04Update connection options: --url/XDS_AGENT_URL and --url-server/XDS_SERVER_URL.Sebastien Douheret5-28/+84
--url option (or XDS_AGENT_URL env var) must be used to setup connection with XDS agent running locally on developer host. --url-server (XDS_SERVER_URL env var) may be set to overwrite default connection settings with XDS server.
2017-12-04Added XDS_SDK_ID and XDS_PROJECT_ID env variables support.Sebastien Douheret2-10/+15