summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Sebastien Douheret [Tue, 9 Apr 2019 11:59:48 +0000 (13:59 +0200)]
Use go module as dependency tool instead of glide
Bug-AGL: SPEC-2289
Change-Id: I7486876f0fd50e776280dfeb983f6b47200a7c29
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 7 Mar 2019 20:13:28 +0000 (21:13 +0100)]
Freeze go-socket.io & go-engine.io version to v1.0.1
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>
Sebastien Douheret [Fri, 4 Jan 2019 14:51:29 +0000 (15:51 +0100)]
Add cli-config.env file support
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>
Sebastien Douheret [Tue, 23 Oct 2018 08:20:44 +0000 (10:20 +0200)]
Disable completion (not working well)
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>
Sebastien Douheret [Mon, 22 Oct 2018 21:06:02 +0000 (23:06 +0200)]
Display new image url field with sdk list command
Change-Id: I26db1f7ebedd502db123e249a69bad30fbc0db99
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 19 Oct 2018 20:59:47 +0000 (22:59 +0200)]
Rework zip package versioning
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>
Sebastien Douheret [Thu, 18 Oct 2018 19:28:36 +0000 (21:28 +0200)]
Update command used to extract version from tag
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>
Sebastien Douheret [Thu, 18 Oct 2018 16:12:51 +0000 (18:12 +0200)]
Bump xds-agent to latest version
Need latest xds-agent version that introduces LdLibPathNoReset field.
Change-Id: I597387f4d41f14c3fb6646fef00ed6458e938978
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 17 Oct 2018 15:05:47 +0000 (17:05 +0200)]
Add hidden option -ldlibpath-no-reset
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>
Sebastien Douheret [Fri, 12 Oct 2018 10:12:20 +0000 (12:12 +0200)]
Make id option overwrite XDS_xxx_ID env var
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>
Sebastien Douheret [Fri, 13 Jul 2018 15:38:42 +0000 (17:38 +0200)]
Rationalize VSCode settings for all xds repo
Change-Id: Ie1c91242fef9b49b1dc71707dd2546254792e649
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 13 Jul 2018 12:23:13 +0000 (14:23 +0200)]
Packaging: ignore expected rpmlint warning
Change-Id: I27d2e592514032b63dae38986a74b74a1068ebd5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 6 Jul 2018 16:39:00 +0000 (18:39 +0200)]
Update/fix rpm and deb packaging
Change-Id: I576c7c02def683dc3028194e68416bfc0b167067
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 27 Jun 2018 15:38:12 +0000 (17:38 +0200)]
Update dependency version for xds agent & common
Change-Id: I7d091b310a613cd304dce38a4a36594ff7421462
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Clément Bénier [Mon, 21 May 2018 13:23:05 +0000 (15:23 +0200)]
go version: check if go version is greater than 1.9.0
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>
Ronan Le Martret [Tue, 15 May 2018 15:50:09 +0000 (17:50 +0200)]
Add packaging files
* it's easier to manage native build package.
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Sebastien Douheret [Thu, 5 Apr 2018 09:04:10 +0000 (11:04 +0200)]
Fixed meta tags in path to avoid conflict with spec syntax
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 12 Mar 2018 15:10:40 +0000 (16:10 +0100)]
Exit xds-cli on XDS-Server disconneciton.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 9 Mar 2018 16:34:42 +0000 (17:34 +0100)]
Added default CTRL+C signal handler.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 9 Mar 2018 16:33:18 +0000 (17:33 +0100)]
Fixed terminal output (support escape and control characters)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 6 Mar 2018 15:47:13 +0000 (16:47 +0100)]
Added bash completion support.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 5 Mar 2018 16:48:39 +0000 (17:48 +0100)]
Fixed target and terminal id arg parsing
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 23 Feb 2018 21:13:22 +0000 (22:13 +0100)]
Added target and terminal support
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 23 Feb 2018 16:58:17 +0000 (17:58 +0100)]
Added logfile support
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 23 Feb 2018 16:57:33 +0000 (17:57 +0100)]
Fixed conflict name between exec package and local exec function.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Loïc Collignon [Wed, 14 Feb 2018 13:43:13 +0000 (14:43 +0100)]
fix install script
Change-Id: I00e43d9df9521cfebea93d63eb5ec7bccf272a64
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Sebastien Douheret [Fri, 26 Jan 2018 16:28:12 +0000 (17:28 +0100)]
Sort projects and sdks list.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 24 Jan 2018 17:15:23 +0000 (18:15 +0100)]
Fixed usage of project type.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 24 Jan 2018 14:18:04 +0000 (15:18 +0100)]
Fixed crach when no XDS Server connected.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 24 Jan 2018 14:17:36 +0000 (15:17 +0100)]
Fixed GOPATH setup while debugging in VSC
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 23 Jan 2018 14:38:23 +0000 (15:38 +0100)]
Added -s | --short option (useful from scripting)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 23 Jan 2018 14:35:32 +0000 (15:35 +0100)]
Used new SDK Management event.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 22 Jan 2018 17:10:09 +0000 (18:10 +0100)]
List "Installing" sdks by default.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 8 Jan 2018 18:36:51 +0000 (19:36 +0100)]
Updated go dep (used xds-agent api ~1.0.0)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 5 Jan 2018 15:47:05 +0000 (16:47 +0100)]
Migration to AGL gerrit (update go import)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 5 Jan 2018 15:11:52 +0000 (16:11 +0100)]
Added AGL .gitreview file
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 4 Jan 2018 23:44:24 +0000 (00:44 +0100)]
Add confirmation before deleting a project or a sdk.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 4 Jan 2018 23:19:29 +0000 (00:19 +0100)]
Improved SDK installation output and add -debug option.
Sebastien Douheret [Wed, 3 Jan 2018 10:12:14 +0000 (11:12 +0100)]
Minor fixes in sdks command output.
Sebastien Douheret [Fri, 22 Dec 2017 21:27:01 +0000 (22:27 +0100)]
Added sdks install / uninstall / abort commands.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 12 Dec 2017 13:04:27 +0000 (14:04 +0100)]
Removed useless file from Windows package
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 12 Dec 2017 11:12:28 +0000 (12:12 +0100)]
Adapt early logging level of HTTP client.
Sebastien Douheret [Thu, 7 Dec 2017 16:45:29 +0000 (17:45 +0100)]
Improved reported error on invalid XDS_AGENT_URL
Specifically when AGENT_URL is set to SERVER_URL and consequently connection failed with "Failed to get device ID" error.
Sebastien Douheret [Thu, 7 Dec 2017 14:59:39 +0000 (15:59 +0100)]
Support ~ or $VAR for --config option value
Sebastien Douheret [Thu, 7 Dec 2017 14:58:35 +0000 (15:58 +0100)]
Display early log when exiting earlier.
Sebastien Douheret [Wed, 6 Dec 2017 21:54:06 +0000 (22:54 +0100)]
Fixed rpath option detection of exec command.
Sebastien Douheret [Tue, 5 Dec 2017 13:57:56 +0000 (14:57 +0100)]
Only update Server URL when it's necessary.
Sebastien Douheret [Tue, 5 Dec 2017 13:56:14 +0000 (14:56 +0100)]
Support --config option either before or after command verb.
Sebastien Douheret [Mon, 4 Dec 2017 10:27:30 +0000 (11:27 +0100)]
Added "misc status" (short: "m sts") command
Sebastien Douheret [Mon, 4 Dec 2017 10:25:42 +0000 (11:25 +0100)]
Update connection options: --url/XDS_AGENT_URL and --url-server/XDS_SERVER_URL.
--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.
Sebastien Douheret [Mon, 4 Dec 2017 10:21:44 +0000 (11:21 +0100)]
Added XDS_SDK_ID and XDS_PROJECT_ID env variables support.
Sebastien Douheret [Thu, 30 Nov 2017 15:09:01 +0000 (16:09 +0100)]
Added Copyright headers.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 30 Nov 2017 14:59:00 +0000 (15:59 +0100)]
Check go version because xds-common request go > v1.8.1
Sebastien Douheret [Thu, 30 Nov 2017 13:29:35 +0000 (14:29 +0100)]
Add -u short option for --url and support port number only.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 28 Nov 2017 13:19:00 +0000 (14:19 +0100)]
Used new agent lib name xaapiv1 and fix env setup.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 24 Nov 2017 16:46:24 +0000 (17:46 +0100)]
Fixed config file option or env var detection.
Sebastien Douheret [Fri, 10 Nov 2017 09:10:53 +0000 (10:10 +0100)]
Added config and install scripts
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 10 Nov 2017 08:38:55 +0000 (09:38 +0100)]
Use fix commit id to fetch xds-agent while waiting rc2.
Sebastien Douheret [Wed, 8 Nov 2017 16:45:39 +0000 (17:45 +0100)]
Log projects events.
Sebastien Douheret [Wed, 8 Nov 2017 16:45:12 +0000 (17:45 +0100)]
Added short options for exec and project subcommands.
Sebastien Douheret [Wed, 8 Nov 2017 09:21:43 +0000 (10:21 +0100)]
Display help when no arg is set.
Sebastien Douheret [Mon, 6 Nov 2017 17:11:19 +0000 (18:11 +0100)]
Improved help/description .
Sebastien Douheret [Mon, 6 Nov 2017 16:35:13 +0000 (17:35 +0100)]
Fixed version setting.
Sebastien Douheret [Mon, 6 Nov 2017 15:51:23 +0000 (16:51 +0100)]
Fixed env vars setting from config file.
Sebastien Douheret [Fri, 3 Nov 2017 17:32:24 +0000 (18:32 +0100)]
Initial commit
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>