Sebastien Douheret [Wed, 29 Nov 2017 20:10:39 +0000 (21:10 +0100)]
Fixed double 'v' letter in package name
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 29 Nov 2017 16:42:11 +0000 (17:42 +0100)]
Check go version and print error if not >1.8.1
xds-common lib uses os.Executable function that has been introduced in go v1.8.1.
Sebastien Douheret [Wed, 29 Nov 2017 14:17:03 +0000 (15:17 +0100)]
Fixed bug introduces by previous commit / refit
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 29 Nov 2017 07:54:00 +0000 (08:54 +0100)]
Refit source files to have a public xs-apiv1 lib package.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 28 Nov 2017 14:00:06 +0000 (15:00 +0100)]
Defined structures for /exec and /signal response.
Sebastien Douheret [Fri, 24 Nov 2017 17:21:40 +0000 (18:21 +0100)]
Fixed SDK ID resolution for /exec api.
Sebastien Douheret [Fri, 24 Nov 2017 00:28:00 +0000 (01:28 +0100)]
Add folder update support and ClientData field.
- folder config can be updated using PUT /folders/:id route
- ClientData field of FolderConfig can be used by client to store any data (used from example by dashboard to save build settings)
Sebastien Douheret [Tue, 21 Nov 2017 14:24:45 +0000 (15:24 +0100)]
Always close gdb pty/tty even if an error rises.
Sebastien Douheret [Fri, 17 Nov 2017 09:31:07 +0000 (10:31 +0100)]
Merge remote-tracking branch 'origin/master' into wip
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Conflicts:
Makefile
webapp/package.json
Sebastien Douheret [Fri, 17 Nov 2017 08:53:10 +0000 (09:53 +0100)]
Fixed spaces handling in RPath - SPEC1116
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien D [Mon, 13 Nov 2017 10:39:48 +0000 (11:39 +0100)]
Merge pull request #3 from bavery22/FixSoftLink
Fix case where ~/.ssh/id_rsa.pub is a softlink
Sebastien Douheret [Mon, 13 Nov 2017 09:10:35 +0000 (10:10 +0100)]
Fixed injection error with ngx-cookie package v1.0.1.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
brian avery [Fri, 10 Nov 2017 21:15:12 +0000 (13:15 -0800)]
Fix case where ~/.ssh/id_rsa.pub is a softlink
Some users may have the default id_rsa/id_rsa.pub be a softlink to one
of a set of rsa keys. In this case, the cp would result in a dangling
softlink in the container and the startup fails. Adding a -L to the cp
command results in copying whatever the softlink points to into the
container, which seems like the desired behaviour.
Signed-off-by: brian avery <brian.avery@intel.com>
Sebastien Douheret [Mon, 6 Nov 2017 14:20:23 +0000 (15:20 +0100)]
Always set sub-version
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 6 Nov 2017 13:58:09 +0000 (14:58 +0100)]
Extract version from git tag.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 6 Nov 2017 13:56:39 +0000 (14:56 +0100)]
Used uuid of SDK ID and support short ID name if not ambiguous.
Sebastien Douheret [Mon, 6 Nov 2017 13:50:55 +0000 (14:50 +0100)]
Use plural nouns for all routes.
Sebastien Douheret [Mon, 6 Nov 2017 13:50:03 +0000 (14:50 +0100)]
Added short project ID name support if not ambiguous.
Sebastien Douheret [Mon, 6 Nov 2017 09:50:12 +0000 (10:50 +0100)]
Fixed folder ID and label generation.
Folder ID is now a simple uuid (without sub-string of label)
Sebastien Douheret [Mon, 16 Oct 2017 16:02:07 +0000 (18:02 +0200)]
Add sanity check on pathmap folder creation.
Sebastien Douheret [Mon, 16 Oct 2017 15:54:11 +0000 (17:54 +0200)]
Add silly log level support.
Silly logging is enable when:
XDS_LOG_SILLY env var is set
and
log level is debug
Sebastien Douheret [Wed, 11 Oct 2017 07:36:05 +0000 (09:36 +0200)]
Add Server UUID and use it build CmdID.
Sebastien Douheret [Sat, 7 Oct 2017 21:10:38 +0000 (23:10 +0200)]
Kill right Syncthing (same url) in DEBUG mode
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Sat, 7 Oct 2017 20:55:50 +0000 (22:55 +0200)]
Bump Syncthing 0.14.38
Sebastien Douheret [Fri, 6 Oct 2017 16:08:05 +0000 (18:08 +0200)]
Fix syncthing logger
Sebastien Douheret [Fri, 6 Oct 2017 15:53:51 +0000 (17:53 +0200)]
Cleanup and improvements
- Save server data into file
- FolderType is now a string
- cleanup useless code
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 25 Sep 2017 11:50:27 +0000 (13:50 +0200)]
Moved web Dashboard to xds-agent
Xds-Server now only provides a minimal page to get basic instructions.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 19 Oct 2017 14:39:46 +0000 (16:39 +0200)]
Fix ssh command when execited with a wget pipe
Sebastien Douheret [Thu, 19 Oct 2017 14:13:53 +0000 (16:13 +0200)]
Support case when .ssh and default key dont exist.
Sebastien Douheret [Thu, 19 Oct 2017 13:52:21 +0000 (15:52 +0200)]
Fix warnings detected by shellcheck.
Forlot Romain [IoT.bzh] [Thu, 19 Oct 2017 13:16:53 +0000 (15:16 +0200)]
Fix: piped execution of script failed
Sebastien Douheret [Thu, 19 Oct 2017 12:47:21 +0000 (14:47 +0200)]
Fixed auto detection of version
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 19 Oct 2017 12:39:13 +0000 (14:39 +0200)]
Fix docker images detection on Redhat like distro.
Sebastien Douheret [Tue, 17 Oct 2017 20:08:56 +0000 (22:08 +0200)]
Bump v0.3.2
Sebastien Douheret [Tue, 17 Oct 2017 20:07:59 +0000 (22:07 +0200)]
Create xds-project.conf file on folder creation.
Sebastien Douheret [Tue, 17 Oct 2017 20:07:33 +0000 (22:07 +0200)]
Delete folders on disk (Server side and for Syncthing folder only)
Sebastien Douheret [Tue, 17 Oct 2017 15:15:44 +0000 (17:15 +0200)]
Update doc links for xds-agent installation
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 17 Oct 2017 14:00:06 +0000 (16:00 +0200)]
Improved docker creation script.
- detect uid/gid conflict
- add -id option
- improved help
- cleanup invalid container on error (unless -nc option is set)
Sebastien Douheret [Tue, 17 Oct 2017 08:03:33 +0000 (10:03 +0200)]
Fixed default syncthing local port number
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 16 Oct 2017 13:28:25 +0000 (15:28 +0200)]
Bump v0.3.1
Sebastien Douheret [Mon, 16 Oct 2017 13:27:12 +0000 (15:27 +0200)]
Fixed xds systemd user service
Sebastien Douheret [Thu, 12 Oct 2017 15:37:36 +0000 (17:37 +0200)]
xds-server is now start as user systemd service.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 12 Oct 2017 15:36:42 +0000 (17:36 +0200)]
Add --volume option support.
Also removed useless volume (residual settings of AGL SDK container)
Sebastien Douheret [Thu, 12 Oct 2017 15:34:29 +0000 (17:34 +0200)]
Used non default syncthing port to avoid confict.
Sebastien Douheret [Thu, 12 Oct 2017 14:27:51 +0000 (16:27 +0200)]
Fix ssh credential copy where hostname cannot be resolved
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Romain Forlot [Thu, 12 Oct 2017 11:57:56 +0000 (13:57 +0200)]
Default service to be started by current user.
As well as use the same scheme that for etc/
Change-Id: I2e133f8a394546b8d51668e193d408065cdf5e81
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Sebastien Douheret [Mon, 25 Sep 2017 09:42:57 +0000 (11:42 +0200)]
Cosmetic fix
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 22 Sep 2017 08:06:18 +0000 (10:06 +0200)]
Allow to run xds-server without syncthing support.
To disable synchting support, just don't declare
"syncthing": {...} section in config.json file.
Sebastien Douheret [Thu, 21 Sep 2017 14:48:28 +0000 (16:48 +0200)]
Set default syncthing path.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 21 Sep 2017 14:42:51 +0000 (16:42 +0200)]
Disable compiler optimizations and inlining for debugging.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 21 Sep 2017 09:42:49 +0000 (11:42 +0200)]
Move docs into xds-docs repo (published on docs.automotivelinux.org)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 18 Sep 2017 16:14:37 +0000 (18:14 +0200)]
Fix syncthing binary path detection.
Sebastien Douheret [Thu, 14 Sep 2017 14:21:48 +0000 (16:21 +0200)]
Allow to install sdks from local file when iot download site is not available
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 14 Sep 2017 13:46:49 +0000 (15:46 +0200)]
Dynamically retrieve docker image name/version
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 13 Sep 2017 20:37:50 +0000 (22:37 +0200)]
Update message to download & install xds-agent.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 13 Sep 2017 15:57:56 +0000 (17:57 +0200)]
Bump to 0.3.0
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 13 Sep 2017 19:47:29 +0000 (21:47 +0200)]
Set same uid and gid inside and outside docker
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 13 Sep 2017 16:22:37 +0000 (18:22 +0200)]
Auto retrieve docker image tag
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 13 Sep 2017 13:42:09 +0000 (15:42 +0200)]
Set install dir to /opt/AGL and move conf to $HOME/.xds-server
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 5 Sep 2017 13:46:04 +0000 (15:46 +0200)]
Add packaging files used by OBS.
xds-server is now packaging in OBS:
https://build.opensuse.org/package/show/isv:LinuxAutomotive:app-Development/agl-xds-server
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien D [Tue, 12 Sep 2017 08:31:05 +0000 (10:31 +0200)]
Fixed notes about docker user id setup
Sebastien D [Tue, 12 Sep 2017 08:20:52 +0000 (10:20 +0200)]
Add note in README about docker user id
If you plan to use path-mapping sharing type for your projects, you need to have the same user id and group id inside and outside docker.
Sebastien D [Wed, 30 Aug 2017 22:18:06 +0000 (00:18 +0200)]
Update container creation command line in README.
Sebastien Douheret [Wed, 30 Aug 2017 21:48:29 +0000 (23:48 +0200)]
Bump docker container version to 4.0 and update doc.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 30 Aug 2017 19:53:52 +0000 (21:53 +0200)]
Fixed again freeze when iot.bzh website is not accessible
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 30 Aug 2017 20:17:22 +0000 (22:17 +0200)]
Set default xds-agent port matching the default agent setting
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 30 Aug 2017 19:53:10 +0000 (21:53 +0200)]
Remove Windows package generation (not supported)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 30 Aug 2017 17:33:49 +0000 (19:33 +0200)]
Clarify shell commands location (host versus in docker)
Sebastien Douheret [Tue, 29 Aug 2017 22:01:19 +0000 (00:01 +0200)]
Prevent script freeze when iot.bzh website is not accessible.
Sebastien Douheret [Tue, 29 Aug 2017 06:58:49 +0000 (08:58 +0200)]
Bump version v0.2.1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 28 Aug 2017 19:44:26 +0000 (21:44 +0200)]
Fixed path convertion/mapping for in/out and for command args.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Sat, 26 Aug 2017 09:36:58 +0000 (11:36 +0200)]
Fixed build error in Typescript 2.x and RxJS 5.x
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Sat, 26 Aug 2017 09:29:56 +0000 (11:29 +0200)]
Merge remote-tracking branch 'origin/wip'
Sebastien Douheret [Thu, 24 Aug 2017 22:45:15 +0000 (00:45 +0200)]
Always open global config when an error exists
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 24 Aug 2017 21:18:01 +0000 (23:18 +0200)]
Add IoT logo and change top bar color.
Sebastien Douheret [Thu, 24 Aug 2017 19:45:32 +0000 (21:45 +0200)]
Take care of ST connection lost in ST event monitor.
Sebastien Douheret [Thu, 24 Aug 2017 19:23:40 +0000 (21:23 +0200)]
Redirect HTTP and Gin server logs into a file (xds-server-verbose.log).
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 24 Aug 2017 15:09:57 +0000 (17:09 +0200)]
Fixed /exec command (don't prefix command with exec binary).
adding 'exec' prevents to use "script" syntax:
xds-exec -c xds-config.env -- "cd build && cmake .."
But 'exec' binary is mandatory to allow to pass correctly signals to subprocess such as gdb.
As workaround, exec is set for now on client side (eg. in xds-gdb).
Sebastien Douheret [Thu, 24 Aug 2017 12:20:14 +0000 (14:20 +0200)]
Disabled/Greyed project when not usable.
Not usable means sources are out of sync or project is not enable.
Sebastien Douheret [Mon, 21 Aug 2017 22:22:23 +0000 (00:22 +0200)]
Used fix version of xds-common package
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 17 Aug 2017 23:04:02 +0000 (01:04 +0200)]
Add folder synchronization status.
Also add ability to force re-synchronization.
Sebastien Douheret [Wed, 16 Aug 2017 12:24:49 +0000 (14:24 +0200)]
Moved project creation in a modal windows
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 10 Aug 2017 10:19:34 +0000 (12:19 +0200)]
Add folder interface and support native pathmap folder type.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 8 Aug 2017 14:59:56 +0000 (16:59 +0200)]
Added -logfile option.
Sebastien Douheret [Tue, 8 Aug 2017 14:51:23 +0000 (16:51 +0200)]
Define all packages version
Sebastien Douheret [Mon, 7 Aug 2017 17:42:43 +0000 (19:42 +0200)]
Update vsc launcher.
Romain Forlot [Tue, 4 Jul 2017 08:54:24 +0000 (10:54 +0200)]
Needs super user rights using install-agl-sdks.sh
Change-Id: I18b767e7e1cba943f7ab293e4a4acc7de1fa1027
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Sebastien Douheret [Mon, 7 Aug 2017 15:22:15 +0000 (17:22 +0200)]
Improved /exec to support gdb execution.
/exec now supports stdin and stdout/stderr tunneling over an websocket (socketio).
This also supports redirection of inferior process output (stdout only) in particular case of gdb command (set gdb --tty option).
Sebastien Douheret [Sun, 9 Jul 2017 13:43:18 +0000 (15:43 +0200)]
Add stdin support to /exec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 24 Jul 2017 09:18:59 +0000 (11:18 +0200)]
Support SDK directory with spaces
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Sun, 9 Jul 2017 13:43:45 +0000 (15:43 +0200)]
Set exit code
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 7 Jul 2017 13:12:19 +0000 (15:12 +0200)]
Add httpPort value to config example.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 4 Jul 2017 10:03:05 +0000 (12:03 +0200)]
Report an error when sdkid not found.
Romain Forlot [Tue, 4 Jul 2017 08:54:24 +0000 (10:54 +0200)]
Needs super user rights using install-agl-sdks.sh
Change-Id: I18b767e7e1cba943f7ab293e4a4acc7de1fa1027
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Sebastien D [Wed, 28 Jun 2017 12:44:03 +0000 (14:44 +0200)]
Update README.md
Update again doc.
Sebastien D [Wed, 28 Jun 2017 12:33:03 +0000 (14:33 +0200)]
Update README.md
Update start instructions in README
Sebastien D [Wed, 28 Jun 2017 08:23:32 +0000 (10:23 +0200)]
Doc: move docker image build in build part.
Ronan Le Martret [Tue, 27 Jun 2017 12:45:53 +0000 (14:45 +0200)]
Update Readme file
* Add systemd service file
* Add autoconfig for ssh contener
* Add http port conf to xds-server-start.sh script
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Sebastien Douheret [Mon, 26 Jun 2017 16:54:13 +0000 (18:54 +0200)]
Use xds-common go library.
Sebastien Douheret [Mon, 26 Jun 2017 16:45:08 +0000 (18:45 +0200)]
Refer xds-exec in doc instead of xds-make.
xds-exec must be used instead of xds-make that is now deprecated.