Sebastien Douheret [Fri, 20 Oct 2017 17:01:29 +0000 (19:01 +0200)]
Extract version from git tag.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 20 Oct 2017 12:30:33 +0000 (14:30 +0200)]
Merge branch 'master' into wip
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 17 Oct 2017 08:02:25 +0000 (10:02 +0200)]
Fix build release and packaging
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>
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>
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>
Sebastien Douheret [Mon, 16 Oct 2017 16:17:44 +0000 (18:17 +0200)]
Add sanity check when adding a new pathmap project/folder
Sebastien Douheret [Tue, 10 Oct 2017 22:24:02 +0000 (00:24 +0200)]
Fixed Syncthing folder status events and exec command.
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.
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>
Sebastien Douheret [Sat, 7 Oct 2017 19:43:09 +0000 (21:43 +0200)]
Bump Syncthing 0.14.38
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>
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>
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>
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>
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>
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
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>
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>
Sebastien D [Wed, 13 Sep 2017 20:15:29 +0000 (22:15 +0200)]
Update download methods of none linux platforms
Sebastien D [Thu, 31 Aug 2017 10:07:09 +0000 (12:07 +0200)]
Fix install package command for debian in README
Sebastien Douheret [Tue, 29 Aug 2017 22:54:16 +0000 (00:54 +0200)]
Fixed syncthing binDir when set to '.'
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>
Sebastien Douheret [Tue, 29 Aug 2017 22:30:28 +0000 (00:30 +0200)]
Set default xds-apikey when not set by config.
Sebastien Douheret [Tue, 29 Aug 2017 22:21:12 +0000 (00:21 +0200)]
Update Readme
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>
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>
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>
Sebastien D [Wed, 9 Aug 2017 07:50:53 +0000 (09:50 +0200)]
Clarify that xds-agent is client tool.
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>
Sebastien D [Fri, 30 Jun 2017 14:59:13 +0000 (16:59 +0200)]
Update README.md
Package name has no longer -bin suffix.
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>
Sebastien Douheret [Mon, 26 Jun 2017 16:53:06 +0000 (18:53 +0200)]
Use xds-common go library.
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>
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>
Sebastien Douheret [Fri, 23 Jun 2017 16:13:01 +0000 (18:13 +0200)]
Add default Syncthing api in config.json example.
Sebastien Douheret [Fri, 23 Jun 2017 16:12:29 +0000 (18:12 +0200)]
Fix glide path for non Linux OSes
Sebastien Douheret [Fri, 23 Jun 2017 15:48:14 +0000 (17:48 +0200)]
Support $HOME on Windows host.
Sebastien Douheret [Fri, 23 Jun 2017 14:55:54 +0000 (16:55 +0200)]
Add workaround for Syncthing apikey setting.
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>
Sebastien Douheret [Thu, 22 Jun 2017 20:49:16 +0000 (22:49 +0200)]
Rework README
Sebastien Douheret [Tue, 20 Jun 2017 21:06:04 +0000 (23:06 +0200)]
Only execute vendor rule when building all.
Sebastien Douheret [Fri, 16 Jun 2017 14:32:41 +0000 (16:32 +0200)]
Bump xds-agent and syncthing-inotify version
Sebastien Douheret [Fri, 16 Jun 2017 14:30:36 +0000 (16:30 +0200)]
Fix glide install detection
Sebastien Douheret [Fri, 16 Jun 2017 12:13:20 +0000 (14:13 +0200)]
Used standard DESTDIR variable in make install
Sebastien Douheret [Wed, 14 Jun 2017 22:56:09 +0000 (00:56 +0200)]
Fix sub version setting
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>
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>
Sebastien Douheret [Wed, 7 Jun 2017 09:27:08 +0000 (11:27 +0200)]
Add package-all rule support.
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.
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>
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>
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>
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>
Sebastien Douheret [Mon, 22 May 2017 07:07:32 +0000 (09:07 +0200)]
Fix incorrect import
Sebastien Douheret [Fri, 19 May 2017 14:58:29 +0000 (16:58 +0200)]
Fix missing tools path creation.
Sebastien Douheret [Thu, 18 May 2017 21:26:40 +0000 (23:26 +0200)]
Update Makefile to be smarter with syncthing compilation.
Sebastien Douheret [Thu, 18 May 2017 21:23:42 +0000 (23:23 +0200)]
Update config file model.
Sebastien Douheret [Thu, 18 May 2017 21:22:27 +0000 (23:22 +0200)]
Added prints on startup.
Sebastien Douheret [Thu, 18 May 2017 14:47:58 +0000 (16:47 +0200)]
Fix ResolveEnvVar when path is not set.
Sebastien Douheret [Thu, 18 May 2017 14:46:27 +0000 (16:46 +0200)]
Bump to Syncthing 0.14.28 et Syncthing-Inotify
Sebastien Douheret [Thu, 18 May 2017 08:55:19 +0000 (10:55 +0200)]
Fix ResolveEnvVar function and add support of tilde (~/...)
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
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.
Sebastien Douheret [Mon, 15 May 2017 19:31:19 +0000 (21:31 +0200)]
Fix doc.
Sebastien Douheret [Mon, 15 May 2017 09:12:21 +0000 (11:12 +0200)]
Initial commit.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>