src/xds/xds-server.git
6 years agoNeeds super user rights using install-agl-sdks.sh v0.1.0-beta
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>
6 years agoUpdate README.md
Sebastien D [Wed, 28 Jun 2017 12:44:03 +0000 (14:44 +0200)]
Update README.md

Update again doc.

6 years agoUpdate README.md
Sebastien D [Wed, 28 Jun 2017 12:33:03 +0000 (14:33 +0200)]
Update README.md

Update start instructions in README

6 years agoDoc: move docker image build in build part.
Sebastien D [Wed, 28 Jun 2017 08:23:32 +0000 (10:23 +0200)]
Doc: move docker image build in build part.

6 years agoUpdate Readme file
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>
6 years agoUse xds-common go library.
Sebastien Douheret [Mon, 26 Jun 2017 16:54:13 +0000 (18:54 +0200)]
Use xds-common go library.

6 years agoRefer xds-exec in doc instead of xds-make.
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.

6 years agoAdd more comments in doc.
Sebastien Douheret [Mon, 26 Jun 2017 10:03:57 +0000 (12:03 +0200)]
Add more comments in doc.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix FILE decoding when --file option is set with a full path.
Sebastien Douheret [Mon, 26 Jun 2017 08:34:00 +0000 (10:34 +0200)]
Fix FILE decoding when --file option is set with a full path.

6 years agoDocument usage of --file option with Intel SDK example
Sebastien Douheret [Mon, 26 Jun 2017 08:33:04 +0000 (10:33 +0200)]
Document usage of --file option with Intel SDK example

6 years agoIntel SDK is now named corei7-64.
Sebastien Douheret [Mon, 26 Jun 2017 07:44:47 +0000 (09:44 +0200)]
Intel SDK is now named corei7-64.

6 years agoSet SUB_VERSION as current commit ID.
Sebastien Douheret [Fri, 23 Jun 2017 17:10:44 +0000 (19:10 +0200)]
Set SUB_VERSION as current commit ID.

6 years agoPrevent Syncthing auto-upgrade and restart.
Sebastien Douheret [Fri, 23 Jun 2017 16:19:49 +0000 (18:19 +0200)]
Prevent Syncthing auto-upgrade and restart.

6 years agoDisplay arch and version in download packages list.
Sebastien Douheret [Fri, 23 Jun 2017 15:46:22 +0000 (17:46 +0200)]
Display arch and version in download packages list.

6 years agoFix the way to download xds-agent packages
Sebastien Douheret [Fri, 23 Jun 2017 12:46:00 +0000 (14:46 +0200)]
Fix the way to download xds-agent packages

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix format for json file.
Sebastien D [Thu, 22 Jun 2017 20:02:07 +0000 (22:02 +0200)]
Fix format for json file.

6 years agoFix invalid file parameter.
Sebastien Douheret [Thu, 22 Jun 2017 19:43:43 +0000 (21:43 +0200)]
Fix invalid file parameter.

6 years agoFix args decoding and improve error detection.
Sebastien Douheret [Thu, 22 Jun 2017 13:02:24 +0000 (15:02 +0200)]
Fix args decoding and improve error  detection.

6 years agoMinor doc fix about wget command.
Sebastien Douheret [Thu, 22 Jun 2017 10:23:22 +0000 (12:23 +0200)]
Minor doc fix about wget command.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd SDK install instructions in doc
Sebastien Douheret [Wed, 21 Jun 2017 16:33:16 +0000 (18:33 +0200)]
Add SDK install instructions in doc

6 years agoOnly call vendor when building all.
Sebastien Douheret [Tue, 20 Jun 2017 20:48:01 +0000 (22:48 +0200)]
Only call vendor when building all.

6 years agoRemove duplicate fields and set default SDK dir.
Sebastien Douheret [Tue, 20 Jun 2017 20:29:59 +0000 (22:29 +0200)]
Remove duplicate fields and set default SDK dir.

- Removed duplicate fields between Config and FileConfig
- set /xdt/sdk as default SDK directory

6 years agoUpdate xds-agent tarballs by default.
Sebastien Douheret [Tue, 20 Jun 2017 19:36:31 +0000 (21:36 +0200)]
Update xds-agent tarballs by default.

6 years agoCreate XDT_SDK dir when not existing.
Sebastien Douheret [Tue, 20 Jun 2017 19:34:21 +0000 (21:34 +0200)]
Create XDT_SDK dir when not existing.

6 years agoFiw webapp/install rule.
Sebastien Douheret [Tue, 20 Jun 2017 18:48:33 +0000 (20:48 +0200)]
Fiw webapp/install rule.

test xxx && yyy doesn't work because "&&" characters seems interpreted by make.
Workaround is to write test statement with if syntax.

6 years agoAdd script to start AGL worker XDS docker container.
Sebastien Douheret [Tue, 20 Jun 2017 15:19:25 +0000 (17:19 +0200)]
Add script to start AGL worker XDS docker container.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoRework doc / README
Sebastien Douheret [Tue, 20 Jun 2017 14:11:32 +0000 (16:11 +0200)]
Rework doc / README

6 years agoBump syncthing-inotify version to 0.8.6
Sebastien Douheret [Fri, 16 Jun 2017 14:27:54 +0000 (16:27 +0200)]
Bump syncthing-inotify version to 0.8.6

6 years agoFix package generation.
Sebastien Douheret [Fri, 16 Jun 2017 14:27:10 +0000 (16:27 +0200)]
Fix package generation.

6 years agoFix glide install detection
Sebastien Douheret [Fri, 16 Jun 2017 14:26:27 +0000 (16:26 +0200)]
Fix glide install detection

6 years agoUsed standard DESTDIR variable for make install
Sebastien Douheret [Fri, 16 Jun 2017 12:00:58 +0000 (14:00 +0200)]
Used standard DESTDIR variable for make install

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoImproved script and add -file option.
Sebastien Douheret [Fri, 16 Jun 2017 11:45:55 +0000 (13:45 +0200)]
Improved script and add -file option.

6 years agoAuto add var named CLIENT_PROJECT_DIR to environment.
Sebastien Douheret [Thu, 15 Jun 2017 14:28:07 +0000 (16:28 +0200)]
Auto add var named CLIENT_PROJECT_DIR to environment.

6 years agoFix version / sub-version retrieval.
Sebastien Douheret [Wed, 7 Jun 2017 12:35:59 +0000 (14:35 +0200)]
Fix version / sub-version retrieval.

6 years agoUse bundle version of Rxjs.
Sebastien Douheret [Wed, 7 Jun 2017 12:34:18 +0000 (14:34 +0200)]
Use bundle version of Rxjs.

6 years agoAllow to not update xds-agent tarball on startup.
Sebastien Douheret [Wed, 7 Jun 2017 12:16:09 +0000 (14:16 +0200)]
Allow to not update xds-agent tarball on startup.

Also set debug loglevel to info

6 years agoBump version
Sebastien Douheret [Wed, 7 Jun 2017 12:15:09 +0000 (14:15 +0200)]
Bump version

6 years agoAdd windows and packaging build support.
Sebastien Douheret [Wed, 7 Jun 2017 09:26:16 +0000 (11:26 +0200)]
Add windows and packaging build support.

6 years agoIncrease timeout for Syncthing startup. v0.0.1-alpha
Sebastien Douheret [Wed, 31 May 2017 10:24:12 +0000 (12:24 +0200)]
Increase timeout for Syncthing startup.

Syncthing may take more time to start for example on slow network connection.

6 years agoFix navbar menu when width is small
Sebastien Douheret [Wed, 31 May 2017 08:35:23 +0000 (10:35 +0200)]
Fix navbar menu when width is small

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix crash with /make
Sebastien Douheret [Tue, 30 May 2017 20:33:36 +0000 (22:33 +0200)]
Fix crash with /make

6 years agoAdd docker load instruction in README
Sebastien Douheret [Sun, 28 May 2017 14:56:57 +0000 (16:56 +0200)]
Add docker load instruction in README

6 years agoAdd script to get xds-agent tarballs.
Sebastien Douheret [Sun, 28 May 2017 12:38:39 +0000 (14:38 +0200)]
Add script to get xds-agent tarballs.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoUpdate welcome carousel.
Sebastien Douheret [Sun, 28 May 2017 12:19:12 +0000 (14:19 +0200)]
Update welcome carousel.

6 years agoSet script as executable
Sebastien Douheret [Sun, 28 May 2017 08:30:40 +0000 (10:30 +0200)]
Set script as executable

6 years agoImproved devel/build panel (support PreBuild/Build/Populate)
Sebastien Douheret [Sat, 27 May 2017 21:11:04 +0000 (23:11 +0200)]
Improved devel/build panel (support PreBuild/Build/Populate)

6 years agoWait folder insync before sending exit event.
Sebastien Douheret [Sat, 27 May 2017 21:10:33 +0000 (23:10 +0200)]
Wait folder insync before sending exit event.

By default wait folder insync.
Set ExitImmediate param to true to send exit event immedialty without waiting folder synchronization.

6 years agoAdd doc to create & start XDS AGL docker container.
Sebastien Douheret [Fri, 26 May 2017 14:03:24 +0000 (16:03 +0200)]
Add doc to create & start XDS AGL docker container.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix webapp location for install and startup.
Sebastien Douheret [Fri, 26 May 2017 13:32:06 +0000 (15:32 +0200)]
Fix webapp location for install and startup.

6 years agoRetrieve dynamically SDKs files list (more generic)
Sebastien Douheret [Fri, 26 May 2017 12:31:17 +0000 (14:31 +0200)]
Retrieve dynamically SDKs files list (more generic)

6 years agoRework development page: Pre-build, Build, Populate.
Sebastien Douheret [Mon, 22 May 2017 21:58:31 +0000 (23:58 +0200)]
Rework development page: Pre-build, Build, Populate.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAuto detect XDS-Agent tarballs and fix URL.
Sebastien Douheret [Mon, 22 May 2017 20:22:05 +0000 (22:22 +0200)]
Auto detect XDS-Agent tarballs and fix URL.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix Agent download link when no tarball detected.
Sebastien Douheret [Mon, 22 May 2017 19:35:15 +0000 (21:35 +0200)]
Fix Agent download link when no tarball detected.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd XDS-agent tarball download feature
Sebastien Douheret [Mon, 22 May 2017 16:45:46 +0000 (18:45 +0200)]
Add XDS-agent tarball download feature

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAllow to set Syncthing rescanInterval parameter.
Sebastien Douheret [Mon, 22 May 2017 11:51:04 +0000 (13:51 +0200)]
Allow to set Syncthing rescanInterval parameter.

6 years agoFix crash when retrieving installed sdks.
Sebastien Douheret [Mon, 22 May 2017 07:37:01 +0000 (09:37 +0200)]
Fix crash when retrieving installed sdks.

6 years agoFix Makefile install commands
Sebastien Douheret [Fri, 19 May 2017 14:52:37 +0000 (16:52 +0200)]
Fix Makefile install commands

6 years agoAllow to set make arguments and rework build page.
Sebastien Douheret [Fri, 19 May 2017 09:19:40 +0000 (11:19 +0200)]
Allow to set make arguments and rework build page.

6 years agoNormalize relativePath projects to support Windows path.
Sebastien Douheret [Thu, 18 May 2017 21:18:04 +0000 (23:18 +0200)]
Normalize relativePath projects to support Windows path.

6 years agoAdded prints on startup
Sebastien Douheret [Thu, 18 May 2017 21:17:04 +0000 (23:17 +0200)]
Added prints on startup

6 years agoUpdate Makefile to be smarter with syncthing compilation.
Sebastien Douheret [Thu, 18 May 2017 14:47:22 +0000 (16:47 +0200)]
Update Makefile to be smarter with syncthing compilation.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoBump to Syncthing 0.14.28
Sebastien Douheret [Thu, 18 May 2017 13:36:50 +0000 (15:36 +0200)]
Bump to Syncthing 0.14.28

6 years agoFix SDKs init when no sdk found in Webapp.
Sebastien Douheret [Thu, 18 May 2017 13:36:21 +0000 (15:36 +0200)]
Fix SDKs init when no sdk found in Webapp.

6 years agoFix ResolveEnvVar when param is empty.
Sebastien Douheret [Thu, 18 May 2017 10:25:20 +0000 (12:25 +0200)]
Fix ResolveEnvVar when param is empty.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix copy of agl directory in make install
Sebastien Douheret [Thu, 18 May 2017 10:15:01 +0000 (12:15 +0200)]
Fix copy of agl directory in make install

6 years agoFix syncthing-inotify version and install rule.
Sebastien Douheret [Thu, 18 May 2017 10:06:15 +0000 (12:06 +0200)]
Fix syncthing-inotify version and install rule.

6 years agoUpdate script now that #164 fix has been merged.
Sebastien Douheret [Thu, 18 May 2017 09:25:36 +0000 (11:25 +0200)]
Update script now that #164 fix has been merged.

6 years agoImproved ResolveEnvVar and add support of tilde (~/...)
Sebastien Douheret [Thu, 18 May 2017 09:04:44 +0000 (11:04 +0200)]
Improved ResolveEnvVar and add support of tilde (~/...)

6 years agoAdd Cross SDKs support (part 2)
Sebastien Douheret [Thu, 18 May 2017 09:01:13 +0000 (11:01 +0200)]
Add Cross SDKs support (part 2)

6 years agoUse autogenerated Synchting apikey.
Sebastien Douheret [Wed, 17 May 2017 14:08:03 +0000 (16:08 +0200)]
Use autogenerated Synchting apikey.

Except if gui-apikey is set in config.json file.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd AGL specfic scripts
Sebastien Douheret [Tue, 16 May 2017 10:07:51 +0000 (12:07 +0200)]
Add AGL specfic scripts

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd SDKs support.
Sebastien Douheret [Wed, 17 May 2017 09:28:57 +0000 (11:28 +0200)]
Add SDKs support.

Don't allow to install SDKs through XDS for now.
Only probe existing SDKs that have been manually installed using scripts/agl/install-agl-sdks.sh.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAuto start Syncthing and Syncthing-inotify.
Sebastien Douheret [Tue, 16 May 2017 20:51:32 +0000 (22:51 +0200)]
Auto start Syncthing and Syncthing-inotify.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoUse patched version of syncthing-inotify.
Sebastien Douheret [Mon, 15 May 2017 22:05:18 +0000 (00:05 +0200)]
Use patched version of syncthing-inotify.

Bug #164 has not been properly merged yet.
So patch this bug manually.

See also https://github.com/syncthing/syncthing-inotify/pull/165

6 years agoUpdate doc: add current dir in config.json discovery logic.
Sebastien Douheret [Mon, 15 May 2017 21:44:01 +0000 (23:44 +0200)]
Update doc: add current dir in config.json discovery logic.

6 years agoRework Version and Sub-version setup.
Sebastien Douheret [Mon, 15 May 2017 21:42:46 +0000 (23:42 +0200)]
Rework Version and Sub-version setup.

6 years agoCleanup
Sebastien Douheret [Mon, 15 May 2017 09:00:42 +0000 (11:00 +0200)]
Cleanup

6 years agoFix invalid json encoding definition
Sebastien Douheret [Mon, 15 May 2017 08:57:25 +0000 (10:57 +0200)]
Fix invalid json encoding definition

6 years agoDocument script directory
Sebastien Douheret [Sat, 13 May 2017 21:25:38 +0000 (23:25 +0200)]
Document script directory

6 years agoAllow to not start server (useful for debugging).
Sebastien Douheret [Sat, 13 May 2017 21:23:42 +0000 (23:23 +0200)]
Allow to not start server (useful for debugging).

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix invalid rootPath when creating a new project.
Sebastien Douheret [Sat, 13 May 2017 21:13:42 +0000 (23:13 +0200)]
Fix invalid rootPath when creating a new project.

6 years agoDetect undefined env variables used in config.json
Sebastien Douheret [Sat, 13 May 2017 20:38:03 +0000 (22:38 +0200)]
Detect undefined env variables used in config.json

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd target to get Syncthing and start server script.
Sebastien Douheret [Fri, 12 May 2017 16:33:05 +0000 (18:33 +0200)]
Add target to get Syncthing and start server script.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd install rule
Sebastien Douheret [Fri, 12 May 2017 10:01:45 +0000 (12:01 +0200)]
Add install rule

Installation directory can be changed using INSTALL_DIR and INSTALL_WEBAPP_DIR
env variables

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix distclean
Sebastien Douheret [Fri, 12 May 2017 08:14:12 +0000 (10:14 +0200)]
Fix distclean

6 years agoIgnored private directory or file
Sebastien Douheret [Fri, 12 May 2017 07:40:42 +0000 (09:40 +0200)]
Ignored private directory or file

Handle directories or files prefixed by two underscores (eg. __xxx ) as private.

6 years agoFix doc and repo url
Sebastien Douheret [Fri, 12 May 2017 07:30:01 +0000 (09:30 +0200)]
Fix doc and repo url

6 years agoFixed connection retry to local Syncthing.
Sebastien Douheret [Thu, 11 May 2017 21:27:38 +0000 (23:27 +0200)]
Fixed connection retry to local Syncthing.

6 years agoInitial main commit.
Sebastien Douheret [Thu, 11 May 2017 17:42:00 +0000 (19:42 +0200)]
Initial main commit.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoInitial commit
Sebastien D [Thu, 11 May 2017 10:28:49 +0000 (12:28 +0200)]
Initial commit