src/xds/xds-server.git
5 years agoFixed error about unwanted usr directory 37/15437/2 sandbox/SebD
Sebastien Douheret [Wed, 18 Jul 2018 09:30:16 +0000 (11:30 +0200)]
Fixed error about unwanted usr directory

Change-Id: I8404ee2dd1eff5c20924e841c0a37ea16c85cc17
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoAdd XDS_SERVER_ROOT_CFG_DIR env var support 47/15447/2
Sebastien Douheret [Wed, 18 Jul 2018 13:41:51 +0000 (15:41 +0200)]
Add XDS_SERVER_ROOT_CFG_DIR env var support

By default xds-server uses $HOME/.xds/server directory to save all
config. This changes allows user to change this root directory by
defining XDS_SERVER_ROOT_CFG_DIR environment variable.

Change-Id: Iebde8dcf2d27b77671c7332bac04295d31659e24
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoPackaging: ignore expected rpmlint warnings 35/15435/1
Sebastien Douheret [Fri, 13 Jul 2018 15:31:44 +0000 (17:31 +0200)]
Packaging: ignore expected rpmlint warnings

Change-Id: I90d9cf407aafe4c4700613276e4975ef51bc315a
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoFixed GOPATH setting for VSCode 33/15433/1
Sebastien Douheret [Fri, 13 Jul 2018 15:18:26 +0000 (17:18 +0200)]
Fixed GOPATH setting for VSCode

Change-Id: I3f75faef18305dca2c848af64dd6feb4ea68c23d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoRemoved unwanted usr directory from package 69/15069/1
Sebastien Douheret [Fri, 6 Jul 2018 11:22:26 +0000 (13:22 +0200)]
Removed unwanted usr directory from package

Don't know exactly which tool create this directory (I suspect
npm install process) but 'usr' directory should not be part of XDS
zip package.

Change-Id: Id6f4659f16b707ca5eb9a621947dce8cf2a5b674
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoFix REVISION tag and rename obs service template 63/15063/1
Sebastien Douheret [Fri, 6 Jul 2018 09:02:14 +0000 (11:02 +0200)]
Fix REVISION tag and rename obs service template

_service.in is a template so file extention must be .in

Change-Id: Ia93058b5c505a118fd00208c1ce7654f4b2d3daf
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoMinor fixes in Makefile 61/15061/1
Sebastien Douheret [Fri, 6 Jul 2018 09:20:51 +0000 (11:20 +0200)]
Minor fixes in Makefile

Change-Id: I24d971fb254afccb1ed65d412729b32ca53d251e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoAdd retry (3 times) when glide download fails 59/15059/1
Sebastien Douheret [Fri, 6 Jul 2018 07:39:37 +0000 (09:39 +0200)]
Add retry (3 times) when glide download fails

Change-Id: I97d70664ed6e62831a70d46f721ed2024ee9b574
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoUpdate/fix rpm and deb packaging 23/15023/1
Sebastien Douheret [Thu, 5 Jul 2018 08:24:49 +0000 (10:24 +0200)]
Update/fix rpm and deb packaging

- fix packaging to be compliant with latest subprojects hierarchy
  (Master, Master-Next, ElectricEel, ...)
- fix rpmlint warnings/error

Change-Id: Ib8c2014624542d3dfb81818ed605dc7a2dedf2c5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoUsed latest version of xds-common package 23/14723/1 5.99.1 flounder/5.99.1 flounder_5.99.1
Sebastien Douheret [Wed, 27 Jun 2018 14:39:59 +0000 (16:39 +0200)]
Used latest version of xds-common package

Change-Id: I9d66707880f15e8966f4bcbe93d6edc126c483f5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoFixed sdk from local file installation 21/14721/1
Sebastien Douheret [Wed, 27 Jun 2018 13:52:14 +0000 (15:52 +0200)]
Fixed sdk from local file installation

Rework sdk uuid management because previous code prevented to install
local sdk using following command:
 xds-cli sdks install --file $HOME/xds-workspace/my_local_sdk.sh

Change-Id: I20bac8a76d32b005a6775e936756c96048651766
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoUpdated AGL sdks list definition 19/14719/1
Sebastien Douheret [Fri, 8 Jun 2018 15:01:41 +0000 (17:01 +0200)]
Updated AGL sdks list definition

Change-Id: I239b052f2d2bf4caf6fe4e756ee372e4ae6060ec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
5 years agoAdd packaging files 99/13999/1
Ronan Le Martret [Tue, 15 May 2018 16:10:19 +0000 (18:10 +0200)]
Add packaging files

 * it's easier to manage native build package.

Change-Id: I358a07f2569ac52c792443345244d3294a1c3b8b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoConvert db-dump to python3
Sebastien Douheret [Thu, 5 Apr 2018 15:40:22 +0000 (17:40 +0200)]
Convert db-dump to python3

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed meta tags in path to avoid conflict with spec syntax v1.1.1
Sebastien Douheret [Thu, 5 Apr 2018 09:15:41 +0000 (11:15 +0200)]
Fixed meta tags in path to avoid conflict with spec syntax

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoRework SDK default directory.
Sebastien Douheret [Wed, 4 Apr 2018 19:59:45 +0000 (21:59 +0200)]
Rework SDK default directory.

Default SDK directory is $HOME/xds-workspace/.sdks expect if /xdt/sdk
exists (backward compatibility).
Default SDK directory can be set by defining XDT_SDK variable in
/etc/xdtrc file

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed sdk uuid setting during install [SPEC-1377]
Sebastien Douheret [Wed, 4 Apr 2018 19:11:07 +0000 (21:11 +0200)]
Fixed sdk uuid setting during install [SPEC-1377]

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd package lock file
Sebastien Douheret [Wed, 4 Apr 2018 19:03:53 +0000 (21:03 +0200)]
Add package lock file

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdded Target and Terminal events through WS.
Sebastien Douheret [Thu, 15 Mar 2018 13:50:27 +0000 (14:50 +0100)]
Added Target and Terminal events through WS.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed terminal output (support escape and control characters)
Sebastien Douheret [Fri, 9 Mar 2018 16:19:50 +0000 (17:19 +0100)]
Fixed terminal output (support escape and control characters)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdded target and terminal support. v1.1.0
Sebastien Douheret [Fri, 23 Feb 2018 17:45:15 +0000 (18:45 +0100)]
Added target and terminal support.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAvoid duplicate SDK install dir - SPEC-1252
Sebastien Douheret [Thu, 8 Feb 2018 15:49:02 +0000 (16:49 +0100)]
Avoid duplicate SDK install dir - SPEC-1252

- install sdk in a directory that includes a unique id (built from install url
or path). SDKs are now install under:
 <SDK_ROOT_DIR>/<PROFILE>/<VERSION>/<ARCH>/<UID>

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAuto update SDK DB on startup.
Sebastien Douheret [Tue, 6 Feb 2018 16:07:30 +0000 (17:07 +0100)]
Auto update SDK DB on startup.

Auto update db is enable by default (setting sdkDbUpdate = "startup")
but it can be disable by setting sdkDbUpdate to "disable" in server config
file.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoDon't send command output too fast. 5.0.1 eel/5.0.1 eel_5.0.1
Sebastien Douheret [Fri, 26 Jan 2018 16:19:13 +0000 (17:19 +0100)]
Don't send command output too fast.

Changes done in eows package of xds-common now allow to accumulate command output during a period
of time (eg. 500ms) or up to the end of a line.
Usage of this feature is mandatory to avoid to post to
much buffers in websocket and consequently flood client (eg. web-browser)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoReworked SDKs events (introduced sdk-state-change)
Sebastien Douheret [Tue, 23 Jan 2018 14:31:00 +0000 (15:31 +0100)]
Reworked SDKs events (introduced sdk-state-change)

Split add/remove/state-change from installing output
(AKA SDKManagement event) in order to clearly separate events
used to send installation output and sdk config changes.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoMigrate db-dump script in python avoid nodejs dep 31/13231/3
Sebastien Douheret [Mon, 22 Jan 2018 13:17:39 +0000 (14:17 +0100)]
Migrate db-dump script in python avoid nodejs dep

- Also, workaround SPEC-1252 matching first detected SDK and break.
- Fixed SDK date extraction.

Bug-AGL: SPEC-1249

Change-Id: Ia1cb3e9466d0f8f958f6e8759287f801a5b81d04
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix not existing /etc/xdtrc file 29/13229/2
Romain Forlot [Tue, 16 Jan 2018 17:06:32 +0000 (18:06 +0100)]
Fix not existing /etc/xdtrc file

Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMake sure using space as indentation style 27/13227/2
Romain Forlot [Tue, 16 Jan 2018 17:03:23 +0000 (18:03 +0100)]
Make sure using space as indentation style

Also use the same indent rules

Change-Id: I50ca200d7186ba133ea3a6f0137120d4090ed16e
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoFixed GOPATH setup while debugging in VSC
Sebastien Douheret [Thu, 18 Jan 2018 17:00:11 +0000 (18:00 +0100)]
Fixed GOPATH setup while debugging in VSC

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years ago[webapp] Add minimum size for button 03/13203/2
Ronan Le Martret [Mon, 15 Jan 2018 10:57:40 +0000 (11:57 +0100)]
[webapp] Add minimum size for button

Change-Id: I2f8e6057408227b5cf48455918ac4850eaa49d84
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoUpdate sdks list with EEL/5.0.0 release. v1.0.1
Sebastien Douheret [Wed, 10 Jan 2018 08:25:36 +0000 (09:25 +0100)]
Update sdks list with EEL/5.0.0 release.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed go linter warnings.
Sebastien Douheret [Wed, 10 Jan 2018 08:06:52 +0000 (09:06 +0100)]
Fixed go linter warnings.

6 years agoFixed source env sdk file when file is not set.
Sebastien Douheret [Tue, 9 Jan 2018 15:01:19 +0000 (16:01 +0100)]
Fixed source env sdk file when file is not set.

6 years agoCreate sdk directory when needed.
Sebastien Douheret [Tue, 9 Jan 2018 13:39:25 +0000 (14:39 +0100)]
Create sdk directory when needed.

6 years agoFixed sdks db-update name and backup prev version. v1.0.0
Sebastien Douheret [Mon, 8 Jan 2018 17:17:29 +0000 (18:17 +0100)]
Fixed sdks db-update name and backup prev version.

6 years agoUpdate vendor/debug rule according to gerrit migration.
Sebastien Douheret [Fri, 5 Jan 2018 14:51:25 +0000 (15:51 +0100)]
Update vendor/debug rule according to gerrit migration.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoMigration to AGL gerrit (update go import)
Sebastien Douheret [Fri, 5 Jan 2018 13:59:03 +0000 (14:59 +0100)]
Migration to AGL gerrit (update go import)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdded AGL .gitreview file
Sebastien Douheret [Fri, 5 Jan 2018 10:25:20 +0000 (11:25 +0100)]
Added AGL .gitreview file

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoImproved and fixed local SDK tarball installation.
Sebastien Douheret [Thu, 4 Jan 2018 22:40:25 +0000 (23:40 +0100)]
Improved and fixed local SDK tarball installation.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed SDKs management when running in xds VM. v1.0.0-rc2
Sebastien Douheret [Fri, 22 Dec 2017 22:05:20 +0000 (23:05 +0100)]
Fixed SDKs management when running in xds VM.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed invalid default value for Sdkscripts directory.
Sebastien Douheret [Fri, 22 Dec 2017 21:24:46 +0000 (22:24 +0100)]
Fixed invalid default value for Sdkscripts directory.

6 years agoAdded SDKs management support.
Sebastien Douheret [Fri, 22 Dec 2017 20:26:40 +0000 (21:26 +0100)]
Added SDKs management support.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed and improved events management.
Sebastien Douheret [Fri, 15 Dec 2017 23:10:14 +0000 (00:10 +0100)]
Fixed and improved events management.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoStandardized XDS config file name and location.
Sebastien Douheret [Mon, 11 Dec 2017 10:09:35 +0000 (11:09 +0100)]
Standardized XDS config file name and location.

- config file name is :  server-config.json
- xds-server settings under user's home is:  $HOME/.xds/server
- xds-server settings under etc is: /etc/xds/server

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoRemoved useless code of deprecated make command.
Sebastien Douheret [Mon, 11 Dec 2017 10:10:14 +0000 (11:10 +0100)]
Removed  useless code of deprecated make command.

6 years agoSupport old folder type encoding (backward compatibility)
Sebastien Douheret [Fri, 8 Dec 2017 17:08:52 +0000 (18:08 +0100)]
Support old folder type encoding (backward compatibility)

6 years agoMove xds-project.conf file create to xds-agent.
Sebastien Douheret [Mon, 4 Dec 2017 16:27:32 +0000 (17:27 +0100)]
Move xds-project.conf file create to xds-agent.

6 years agoFixed default xds-agent port number and env var (XDS_AGENT_URL)
Sebastien Douheret [Mon, 4 Dec 2017 10:34:57 +0000 (11:34 +0100)]
Fixed default xds-agent port number and env var (XDS_AGENT_URL)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoImproved Silly logging.
Sebastien Douheret [Tue, 5 Dec 2017 10:10:21 +0000 (11:10 +0100)]
Improved Silly logging.

6 years agoFix null pointer exception when no sdk installed. v1.0.0-rc1
Sebastien Douheret [Thu, 30 Nov 2017 21:35:51 +0000 (22:35 +0100)]
Fix null pointer exception when no sdk installed.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdded Copyright header.
Sebastien Douheret [Thu, 30 Nov 2017 22:11:11 +0000 (23:11 +0100)]
Added Copyright header.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed subversion when tag doesn't include dash.
Sebastien Douheret [Thu, 30 Nov 2017 16:25:54 +0000 (17:25 +0100)]
Fixed subversion when tag doesn't include dash.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoCreate server data directory when not existing.
Sebastien Douheret [Thu, 30 Nov 2017 10:15:14 +0000 (11:15 +0100)]
Create server data directory when not existing.

6 years agoFixed double 'v' letter in package name
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>
6 years agoCheck go version and print error if not >1.8.1
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.

6 years agoFixed bug introduces by previous commit / refit
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>
6 years agoRefit source files to have a public xs-apiv1 lib package.
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>
6 years agoDefined structures for /exec and /signal response.
Sebastien Douheret [Tue, 28 Nov 2017 14:00:06 +0000 (15:00 +0100)]
Defined structures for /exec and /signal response.

6 years agoFixed SDK ID resolution for /exec api.
Sebastien Douheret [Fri, 24 Nov 2017 17:21:40 +0000 (18:21 +0100)]
Fixed SDK ID resolution for /exec api.

6 years agoAdd folder update support and ClientData field.
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)

6 years agoAlways close gdb pty/tty even if an error rises.
Sebastien Douheret [Tue, 21 Nov 2017 14:24:45 +0000 (15:24 +0100)]
Always close gdb pty/tty even if an error rises.

6 years agoMerge remote-tracking branch 'origin/master' into wip
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

6 years agoFixed spaces handling in RPath - SPEC1116
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>
6 years agoMerge pull request #3 from bavery22/FixSoftLink
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

6 years agoFixed injection error with ngx-cookie package v1.0.1. v0.3.4
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>
6 years agoFix case where ~/.ssh/id_rsa.pub is a softlink
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>
6 years agoAlways set sub-version
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>
6 years agoExtract version from git tag.
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>
6 years agoUsed uuid of SDK ID and support short ID name if not ambiguous.
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.

6 years agoUse plural nouns for all routes.
Sebastien Douheret [Mon, 6 Nov 2017 13:50:55 +0000 (14:50 +0100)]
Use plural nouns for all routes.

6 years agoAdded short project ID name support if not ambiguous.
Sebastien Douheret [Mon, 6 Nov 2017 13:50:03 +0000 (14:50 +0100)]
Added short project ID name support if not ambiguous.

6 years agoFixed folder ID and label generation.
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)

6 years agoAdd sanity check on pathmap folder creation.
Sebastien Douheret [Mon, 16 Oct 2017 16:02:07 +0000 (18:02 +0200)]
Add sanity check on pathmap folder creation.

6 years agoAdd silly log level support.
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

6 years agoAdd Server UUID and use it build CmdID.
Sebastien Douheret [Wed, 11 Oct 2017 07:36:05 +0000 (09:36 +0200)]
Add Server UUID and use it build CmdID.

6 years agoKill right Syncthing (same url) in DEBUG mode
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>
6 years agoBump Syncthing 0.14.38
Sebastien Douheret [Sat, 7 Oct 2017 20:55:50 +0000 (22:55 +0200)]
Bump Syncthing 0.14.38

6 years agoFix syncthing logger
Sebastien Douheret [Fri, 6 Oct 2017 16:08:05 +0000 (18:08 +0200)]
Fix syncthing logger

6 years agoCleanup and improvements
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>
6 years agoMoved web Dashboard to xds-agent
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>
6 years agoFix ssh command when execited with a wget pipe v0.3.3
Sebastien Douheret [Thu, 19 Oct 2017 14:39:46 +0000 (16:39 +0200)]
Fix ssh command when execited with a  wget pipe

6 years agoSupport case when .ssh and default key dont exist.
Sebastien Douheret [Thu, 19 Oct 2017 14:13:53 +0000 (16:13 +0200)]
Support case when .ssh and default key dont exist.

6 years agoFix warnings detected by shellcheck.
Sebastien Douheret [Thu, 19 Oct 2017 13:52:21 +0000 (15:52 +0200)]
Fix warnings detected by shellcheck.

6 years agoFix: piped execution of script failed
Forlot Romain [IoT.bzh] [Thu, 19 Oct 2017 13:16:53 +0000 (15:16 +0200)]
Fix: piped execution of script failed

6 years agoFixed auto detection of version
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>
6 years agoFix docker images detection on Redhat like distro.
Sebastien Douheret [Thu, 19 Oct 2017 12:39:13 +0000 (14:39 +0200)]
Fix docker images detection on Redhat like distro.

6 years agoBump v0.3.2 v0.3.2
Sebastien Douheret [Tue, 17 Oct 2017 20:08:56 +0000 (22:08 +0200)]
Bump v0.3.2

6 years agoCreate xds-project.conf file on folder creation.
Sebastien Douheret [Tue, 17 Oct 2017 20:07:59 +0000 (22:07 +0200)]
Create xds-project.conf file on folder creation.

6 years agoDelete folders on disk (Server side and for Syncthing folder only)
Sebastien Douheret [Tue, 17 Oct 2017 20:07:33 +0000 (22:07 +0200)]
Delete folders on disk (Server side and for Syncthing folder only)

6 years agoUpdate doc links for xds-agent installation
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>
6 years agoImproved docker creation script.
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)

6 years agoFixed default syncthing local port number
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>
6 years agoBump v0.3.1 v0.3.1
Sebastien Douheret [Mon, 16 Oct 2017 13:28:25 +0000 (15:28 +0200)]
Bump v0.3.1

6 years agoFixed xds systemd user service
Sebastien Douheret [Mon, 16 Oct 2017 13:27:12 +0000 (15:27 +0200)]
Fixed xds systemd user service

6 years agoxds-server is now start as user systemd 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>
6 years agoAdd --volume option support.
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)

6 years agoUsed non default syncthing port to avoid confict.
Sebastien Douheret [Thu, 12 Oct 2017 15:34:29 +0000 (17:34 +0200)]
Used non default syncthing port to avoid confict.

6 years agoFix ssh credential copy where hostname cannot be resolved
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>
6 years agoDefault service to be started by current user.
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>
6 years agoCosmetic fix
Sebastien Douheret [Mon, 25 Sep 2017 09:42:57 +0000 (11:42 +0200)]
Cosmetic fix

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>