src/xds/xds-agent.git
6 years agoFix build release and packaging
Sebastien Douheret [Tue, 17 Oct 2017 08:02:25 +0000 (10:02 +0200)]
Fix build release and packaging

6 years agoBump 0.2.0 v0.2.0
Sebastien Douheret [Mon, 16 Oct 2017 22:40:12 +0000 (00:40 +0200)]
Bump 0.2.0

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd xds-agent user systemd service file and install
Sebastien Douheret [Mon, 16 Oct 2017 22:04:36 +0000 (00:04 +0200)]
Add xds-agent user systemd service file and install

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoUpdate default syncthing port to 8386
Sebastien Douheret [Mon, 16 Oct 2017 16:31:15 +0000 (18:31 +0200)]
Update default syncthing port to 8386

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd sanity check when adding a new pathmap project/folder
Sebastien Douheret [Mon, 16 Oct 2017 16:17:44 +0000 (18:17 +0200)]
Add sanity check when adding a new pathmap project/folder

6 years agoFixed Syncthing folder status events and exec command.
Sebastien Douheret [Tue, 10 Oct 2017 22:24:02 +0000 (00:24 +0200)]
Fixed Syncthing folder status events and exec command.

6 years agoUsed patched (my) version of go-socket.io.
Sebastien Douheret [Sat, 7 Oct 2017 21:07:40 +0000 (23:07 +0200)]
Used patched (my) version of go-socket.io.

This version fixes crash when client disconnects unexpectedly.

6 years agoKill right Syncthing (same url) in DEBUG_MODE
Sebastien Douheret [Sat, 7 Oct 2017 21:03:52 +0000 (23:03 +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 19:43:09 +0000 (21:43 +0200)]
Bump Syncthing 0.14.38

6 years agoAdded webapp Dashboard + logic to interact with server.
Sebastien Douheret [Mon, 25 Sep 2017 12:15:16 +0000 (14:15 +0200)]
Added webapp Dashboard + logic to interact with server.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoBump to v0.2.0
Sebastien Douheret [Thu, 21 Sep 2017 12:01:23 +0000 (14:01 +0200)]
Bump to v0.2.0

Change to 0.2.0 due to changes about agent-config.json file search logic (see
commit 3f1c6dbe6b6)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoDisable compiler optimizations and inlining for debugging.
Sebastien Douheret [Thu, 21 Sep 2017 14:45:26 +0000 (16:45 +0200)]
Disable compiler optimizations and inlining for debugging.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdded systemd service file
Romain Forlot [Tue, 3 Oct 2017 07:33:03 +0000 (09:33 +0200)]
Added systemd service file

Change-Id: I4e9599ccb620c2a5d1bd78fd76d143c74ce49e92
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMove docs into xds-docs repo (published on http://docs.automotivelinux.org)
Sebastien Douheret [Thu, 21 Sep 2017 09:39:31 +0000 (11:39 +0200)]
Move docs into xds-docs repo (published on docs.automotivelinux.org)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoRework search directories for agent-config.json files.
Sebastien Douheret [Tue, 19 Sep 2017 08:25:55 +0000 (10:25 +0200)]
Rework search directories for agent-config.json files.

Here is the logic to determine which `agent-config.json` file will be used:

1. from command line option: `--config myConfig.json`
2. `$HOME/.xds/agent/agent-config.json` file
3. `/etc/xds-agent/agent-config.json` file
4. `<xds-agent executable dir>/agent-config.json` file

6 years agoFix default config values.
Sebastien Douheret [Mon, 18 Sep 2017 16:44:52 +0000 (18:44 +0200)]
Fix default config values.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoImproved syncthing binary path detection.
Sebastien Douheret [Mon, 18 Sep 2017 15:46:09 +0000 (17:46 +0200)]
Improved syncthing binary path detection.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoUpdate download methods of none linux platforms
Sebastien D [Wed, 13 Sep 2017 20:15:29 +0000 (22:15 +0200)]
Update download methods of none linux platforms

6 years agoFix install package command for debian in README
Sebastien D [Thu, 31 Aug 2017 10:07:09 +0000 (12:07 +0200)]
Fix install package command for debian in README

6 years agoFixed syncthing binDir when set to '.' 0.1.0
Sebastien Douheret [Tue, 29 Aug 2017 22:54:16 +0000 (00:54 +0200)]
Fixed syncthing binDir  when set to '.'

6 years agoUsed xds-common version 0.1.0 or more recent
Sebastien Douheret [Tue, 29 Aug 2017 22:41:06 +0000 (00:41 +0200)]
Used xds-common version 0.1.0 or more recent

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoSet default xds-apikey when not set by config.
Sebastien Douheret [Tue, 29 Aug 2017 22:30:28 +0000 (00:30 +0200)]
Set default xds-apikey when not set by config.

6 years agoUpdate Readme
Sebastien Douheret [Tue, 29 Aug 2017 22:21:12 +0000 (00:21 +0200)]
Update Readme

6 years agoFix subversion setting
Sebastien Douheret [Tue, 29 Aug 2017 21:45:00 +0000 (23:45 +0200)]
Fix subversion setting

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFixed xds-common version and use last one
Sebastien Douheret [Thu, 24 Aug 2017 22:21:26 +0000 (00:21 +0200)]
Fixed xds-common version and use last one

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoReset option to allow synthing restart
Sebastien Douheret [Thu, 24 Aug 2017 22:15:46 +0000 (00:15 +0200)]
Reset option to allow synthing restart

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoClarify that xds-agent is client tool.
Sebastien D [Wed, 9 Aug 2017 07:50:53 +0000 (09:50 +0200)]
Clarify that xds-agent is client tool.

6 years agoAdded missing quote in help
Sebastien Douheret [Mon, 7 Aug 2017 17:50:24 +0000 (19:50 +0200)]
Added missing quote in help

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoUpdate README.md
Sebastien D [Fri, 30 Jun 2017 14:59:13 +0000 (16:59 +0200)]
Update README.md

Package name has no longer -bin suffix.

6 years agoUpdate documentation
Ronan Le Martret [Tue, 27 Jun 2017 09:04:49 +0000 (11:04 +0200)]
Update documentation

 * install xds-agent from packaging

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoUse xds-common go library.
Sebastien Douheret [Mon, 26 Jun 2017 16:53:06 +0000 (18:53 +0200)]
Use xds-common go library.

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

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd missing vendor dependency
Sebastien Douheret [Fri, 23 Jun 2017 16:31:43 +0000 (18:31 +0200)]
Add missing vendor dependency

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd default Syncthing api in config.json example.
Sebastien Douheret [Fri, 23 Jun 2017 16:13:01 +0000 (18:13 +0200)]
Add default Syncthing api in config.json example.

6 years agoFix glide path for non Linux OSes
Sebastien Douheret [Fri, 23 Jun 2017 16:12:29 +0000 (18:12 +0200)]
Fix glide path for non Linux OSes

6 years agoSupport $HOME on Windows host.
Sebastien Douheret [Fri, 23 Jun 2017 15:48:14 +0000 (17:48 +0200)]
Support $HOME on Windows host.

6 years agoAdd workaround for Syncthing apikey setting.
Sebastien Douheret [Fri, 23 Jun 2017 14:55:54 +0000 (16:55 +0200)]
Add workaround for Syncthing apikey setting.

6 years agoFix glide path
Ronan Le Martret [Fri, 23 Jun 2017 13:08:58 +0000 (15:08 +0200)]
Fix glide path

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
6 years agoRework README
Sebastien Douheret [Thu, 22 Jun 2017 20:49:16 +0000 (22:49 +0200)]
Rework README

6 years agoOnly execute vendor rule when building all.
Sebastien Douheret [Tue, 20 Jun 2017 21:06:04 +0000 (23:06 +0200)]
Only execute vendor rule when building all.

6 years agoBump xds-agent and syncthing-inotify version
Sebastien Douheret [Fri, 16 Jun 2017 14:32:41 +0000 (16:32 +0200)]
Bump xds-agent and syncthing-inotify version

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

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

6 years agoFix sub version setting
Sebastien Douheret [Wed, 14 Jun 2017 22:56:09 +0000 (00:56 +0200)]
Fix sub version setting

6 years agoFix syncthing-inotify build error
Sebastien Douheret [Wed, 14 Jun 2017 22:47:52 +0000 (00:47 +0200)]
Fix syncthing-inotify build error

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd MacOs/darwin package generation
Sebastien Douheret [Wed, 14 Jun 2017 22:28:22 +0000 (00:28 +0200)]
Add MacOs/darwin package generation

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd package-all rule support.
Sebastien Douheret [Wed, 7 Jun 2017 09:27:08 +0000 (11:27 +0200)]
Add package-all rule support.

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

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

6 years agoAdd build release (REL=1 make all)
Sebastien Douheret [Fri, 26 May 2017 21:12:49 +0000 (23:12 +0200)]
Add build release (REL=1 make all)

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix Syncthing package retrieval for Windows
Sebastien Douheret [Fri, 26 May 2017 09:27:48 +0000 (11:27 +0200)]
Fix Syncthing package retrieval for Windows

Note that cross compile for Windows required Go version 1.8 or higher.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoSupport Windows cross-build.
Sebastien Douheret [Wed, 24 May 2017 15:20:48 +0000 (17:20 +0200)]
Support Windows cross-build.

Use following command  cross build for Windows on a Linux machine:
 GOOS=windows GOARCH=amd64 make

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoAdd API KEY support to allow CORS requests.
Sebastien Douheret [Tue, 23 May 2017 20:56:16 +0000 (22:56 +0200)]
Add API KEY support to allow CORS requests.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
6 years agoFix incorrect import
Sebastien Douheret [Mon, 22 May 2017 07:07:32 +0000 (09:07 +0200)]
Fix incorrect import

6 years agoFix missing tools path creation.
Sebastien Douheret [Fri, 19 May 2017 14:58:29 +0000 (16:58 +0200)]
Fix missing tools path creation.

6 years agoUpdate Makefile to be smarter with syncthing compilation.
Sebastien Douheret [Thu, 18 May 2017 21:26:40 +0000 (23:26 +0200)]
Update Makefile to be smarter with syncthing compilation.

6 years agoUpdate config file model.
Sebastien Douheret [Thu, 18 May 2017 21:23:42 +0000 (23:23 +0200)]
Update config file model.

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

6 years agoFix ResolveEnvVar when path is not set.
Sebastien Douheret [Thu, 18 May 2017 14:47:58 +0000 (16:47 +0200)]
Fix ResolveEnvVar when path is not set.

6 years agoBump to Syncthing 0.14.28 et Syncthing-Inotify master.
Sebastien Douheret [Thu, 18 May 2017 14:46:27 +0000 (16:46 +0200)]
Bump to Syncthing 0.14.28 et Syncthing-Inotify 

6 years agoFix ResolveEnvVar function and add support of tilde (~/...)
Sebastien Douheret [Thu, 18 May 2017 08:55:19 +0000 (10:55 +0200)]
Fix ResolveEnvVar function and add support of tilde (~/...)

6 years agoAdd logsDir setting and more
Sebastien Douheret [Wed, 17 May 2017 15:10:45 +0000 (17:10 +0200)]
Add logsDir setting and more

 - add logsDir setting in config.json
 - redirect Syncthing and Syncthing-inotify into log files
 - Use autogenerated Syncthing apikey if gui-apikey not set in config.json

6 years agoUse patched version of syncthing-inotify
Sebastien Douheret [Mon, 15 May 2017 22:08:00 +0000 (00:08 +0200)]
Use patched version of syncthing-inotify

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

6 years agoFix doc.
Sebastien Douheret [Mon, 15 May 2017 19:31:19 +0000 (21:31 +0200)]
Fix doc.

6 years agoInitial commit.
Sebastien Douheret [Mon, 15 May 2017 09:12:21 +0000 (11:12 +0200)]
Initial commit.

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