Sebastien Douheret [Tue, 9 Oct 2018 16:11:27 +0000 (18:11 +0200)]
Update naming of SDKs provided by IoT.bzh
Change-Id: I83df3abdb19c5075353510cba9dc296de8c04548
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Tue, 9 Oct 2018 13:25:33 +0000 (15:25 +0200)]
Cleanup useless SDKs from SDKs db/list
Also ignored some known file when parsing SDK directory
Change-Id: I8f9f127325b7743ebe3866d1145f928ded49322b
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Mon, 8 Oct 2018 17:14:32 +0000 (19:14 +0200)]
Improved again instructions readability of static page
Change-Id: I5932964d9cde7dc9c2d864905629c1f563bd149d
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 4 Oct 2018 19:48:26 +0000 (21:48 +0200)]
Update doc link and clarify instructions
Change-Id: If8ca1ce6d0fb33e7e9a684391ec4b856073dc48e
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 3 Oct 2018 15:01:59 +0000 (17:01 +0200)]
Update sdks list definition
Change-Id: I1a9efa4818f1d12409b6a04b0f4ce08363d2258f
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Clément Bénier [Mon, 1 Oct 2018 15:18:39 +0000 (17:18 +0200)]
fix sdks list bug: move rgx into db-dump
SPEC-1777
only match what defines a variable
remove set because it adds simple quote with special characters
Change-Id: Ib7c13869c9d965c0c0dae1ae69eeeaf446b1ce58
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Sebastien Douheret [Mon, 24 Sep 2018 14:21:15 +0000 (16:21 +0200)]
Cleanup sdks*.json files while executing distclean
Change-Id: Id6dad6a45f5f83dbd483397a151494202c247a13
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Thu, 20 Sep 2018 15:11:01 +0000 (17:11 +0200)]
Update SDK definition - add flounder
Change-Id: I2ccadbd30705c4726152a9e86108cdb25608e872
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
José Bollo [Tue, 18 Sep 2018 16:22:10 +0000 (18:22 +0200)]
Filter output of environment
Remove functions (using set -o posix) and values contaning
new lines.
Without that change on some environment, the script
scripts/sdks/agl/db-dump may fail line 51
Change-Id: I5118c0054d50ab3c7ac2757aff820adec2584cb3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Clément Bénier [Wed, 22 Aug 2018 12:06:34 +0000 (14:06 +0200)]
test target: launch user sshd for opening term
- fixtures for user ssh server (authorized_keys, ssh, sshd_config,
ssh_host_rsa_key, ssh.pub)
- exec following cmd
$ /usr/bin/sshd
- D
-f sshd_config
-h ssh_host_rsa_key
-o AuthorizedKeysFile=authorized_keys
-p port
- uncomment former terminal tests for open/close
Change-Id: If1765c4860ef3a95f7a92f1f9652427828b98083
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Sebastien Douheret [Tue, 21 Aug 2018 17:17:06 +0000 (19:17 +0200)]
Disable Go cache when running tests
By default, if the test executable and command line match a previous run
and the files and environment variables consulted by that run have not
changed either, go test will not really run tests but just print the
previous test output.
For more info, see https://golang.org/doc/go1.10#test
Change-Id: Id37e1a8f7bdcb10584cc9c0f09f0558b319b793a
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 16:58:26 +0000 (18:58 +0200)]
Merge remote-tracking branch 'origin/sandbox/benierc/test'
Change-Id: Idc200f10e217119df9edfebbaf839c5fd45b19a4
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 16:54:10 +0000 (18:54 +0200)]
test exec: waiting exit event after exec cmd
Change-Id: I355f9a55e9641ce60c787b8b02f84f35bccc8e67
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 16:56:23 +0000 (18:56 +0200)]
main_test.go: explicit main test entry
Change-Id: I26e3e03f914b390cc84ba29160ec6e8cee07162f
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 16:06:09 +0000 (18:06 +0200)]
test xds-server: explicitly kill process
Change-Id: If28b332c51318ff264f247c7f52a5dc253c20a0f
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 15:59:34 +0000 (17:59 +0200)]
test target: disable terminals tests for now
disable open/close and using terminals for now
there is issues with ssh connections
Change-Id: I90828896af60c5ffc0541cd0e5b34b5225c50ea7
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 15:56:10 +0000 (17:56 +0200)]
test logs: hide log
logs are printable with VERBOSE != ""
Change-Id: I170aed2e73db673ba6276410b1dddd3389239457
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 21 Aug 2018 09:06:36 +0000 (11:06 +0200)]
test target: open 1 terminal for connection errors
before opening all terminals, open just one to check there is
no ssh connection problems
Change-Id: I700a00264a96480ac4656be6338e2d728f509627
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Mon, 20 Aug 2018 15:39:39 +0000 (17:39 +0200)]
tests: add comments and logs
Change-Id: I31ef0fa20a74f76b696ac9cb768fac18e2197ea5
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Mon, 20 Aug 2018 13:43:22 +0000 (15:43 +0200)]
test exec/sdk: use sdk for building exec project
source sdk before building helloworld project
fix sdks misconfiguration and multiple sdk installs
Change-Id: I019e6b6e2704737774e93f08fb79d2f4a84a12b9
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Fri, 17 Aug 2018 14:45:30 +0000 (16:45 +0200)]
test exec: remove git2go and cloning afb-helloworld
replace it by fixtures in test/helloworld and copying repo to
XDS_SERVER_ROOT_CFG_DIR and cloning app-templates repo into it
Change-Id: I4f3d9cfae0f1b81bd7994e172235b1fbc25fd383
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Fri, 17 Aug 2018 07:59:12 +0000 (09:59 +0200)]
test target: factorise tests
Change-Id: Ie03d2ae8be30180c1471ea4dfe7bc4cea4d01492
Clément Bénier [Thu, 16 Aug 2018 13:19:17 +0000 (15:19 +0200)]
test target: listenning events for terms
Change-Id: Idbd8509b946b96b39d76bc0aede921c14a3481eb
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Thu, 16 Aug 2018 12:18:28 +0000 (14:18 +0200)]
test target: update -> listen to events
Change-Id: I21026ea34566239a23c3d8bac39b888618169a4b
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 14 Aug 2018 14:46:06 +0000 (16:46 +0200)]
test sdks: close channels
Change-Id: Ibab87254b1ef39ff8bb6166a5ff160233b6533e0
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 14 Aug 2018 14:44:47 +0000 (16:44 +0200)]
test exec: waiting for events and timeout while building
Change-Id: I4caf0dd3e59f920f602131638c58e11beb9f3e08
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 14 Aug 2018 14:29:07 +0000 (16:29 +0200)]
tests: better handle websocket client
Change-Id: Iffc7370c52457e6d90e88e30c95b37ae3c60bce3
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 14 Aug 2018 14:07:02 +0000 (16:07 +0200)]
test target: add test for target and terminals
Change-Id: I3761debe4ffe8971a7e94a55136b5dc34a8c65c2
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Thu, 9 Aug 2018 14:28:31 +0000 (16:28 +0200)]
test exec: add test for exec
Change-Id: I505496ca3a8641c401b802faea7a467986a819c9
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 31 Jul 2018 14:03:08 +0000 (16:03 +0200)]
[test exec]: in progress
Change-Id: Ie8eb5b66ecffa7cdb87a79a1543d7b303332f190
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Fri, 27 Jul 2018 09:37:51 +0000 (11:37 +0200)]
functionnal test: install test install fake sdk
install a fake sdk and waiting for event to end the test
Change-Id: I5c2125f32a1fb4a80f9b251174d15117eef26f9a
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Wed, 25 Jul 2018 14:02:30 +0000 (16:02 +0200)]
sdk_test: draft in progress
add tests for testing sdk - draft
Change-Id: I81f2f4ff75d6256fd092afd5213ea4f3370fcc68
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Thu, 19 Jul 2018 17:33:43 +0000 (19:33 +0200)]
functionnal test: separate tests into files
separate tests into files
each file represent a entry in the XDS-SERVER API
the created files are:
- version
- config
- folders
Change-Id: I32d24f5b277ab853f6c190a96433aca5b4fda1d5
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Thu, 19 Jul 2018 13:25:26 +0000 (15:25 +0200)]
functionnal test: update and add tests
- TestFolders: update
- TestFoldersEmptyValues
- TestFoldersPathMapConfig
Change-Id: I04dcbcbe6d8fc80ed3ef2cabbcf5dfd2952d1635
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Thu, 19 Jul 2018 08:57:02 +0000 (10:57 +0200)]
functionnal test: initial commit for tests
Launch xds-server process and run test based on xds REST APIs.
list of tests
- version
- config
- folders(in progress)
Change-Id: I4312c9ab067b2d6e157f8828c2fbe467ef187733
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Sebastien Douheret [Mon, 20 Aug 2018 15:38:53 +0000 (17:38 +0200)]
Fixed xds-server service startup in VM.
When xds-server service in startup in a VM (like Virtualbox Debian9 VM),
the first start may fails with "Cannot determined local IP" error even if
"After=network-online.target" statement is set in service file.
So do both, set After and Restart on-failure statements.
Change-Id: I27705dc8fbb0ac5547a1100e126392d372078e12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Clément Bénier [Mon, 20 Aug 2018 13:31:30 +0000 (15:31 +0200)]
sdk force install: already installed
fix sdk Install when force boolean is true
Install function was returning when sdk was already installed
Change-Id: Ie8530ebe697bb66b17ac051804b42e367531134b
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Clément Bénier [Tue, 14 Aug 2018 09:37:32 +0000 (11:37 +0200)]
terminal: when closing term, pass status to closing
status in return TerminalConfig is still opened when a term is closed
Change-Id: Idacb67607ca32bfe35738d86e784512cb7758b02
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Sebastien Douheret [Mon, 20 Aug 2018 07:47:44 +0000 (09:47 +0200)]
Fixed GPG keyserver intermittenly failure
Workaround about issue with the particular GPG keyserver:
trying several explicit keyservers until the command succeeds
Change-Id: I7410c07e25d25006c9252b97036c3b33ca183ae6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 25 Jul 2018 16:26:38 +0000 (18:26 +0200)]
Ignored webapp/install error when DESTDIR doesn't exist
Change-Id: I80e79fc350a1905cb3c4a98ef0a7cf0659a18c88
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Wed, 25 Jul 2018 13:52:17 +0000 (15:52 +0200)]
Add missing event when starting SDK install
Change-Id: I32892a8ad64ed05a93aedf413a81b6e8c50c26f7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Sebastien Douheret [Fri, 20 Jul 2018 13:17:21 +0000 (15:17 +0200)]
Add XDS_SERVER_WORKSPACE_DIR env var support
By default xds-server uses $HOME/xds-workspace directory to access to
user shared workspace directory. This root directory may be
changed by defining XDS_SERVER_WORKSPACE_DIR environment variable.
Change-Id: Ib786ba9a954b0b093216295d37236a80f78f2f2c
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sebastien Douheret [Wed, 10 Jan 2018 08:06:52 +0000 (09:06 +0100)]
Fixed go linter warnings.
Sebastien Douheret [Tue, 9 Jan 2018 15:01:19 +0000 (16:01 +0100)]
Fixed source env sdk file when file is not set.
Sebastien Douheret [Tue, 9 Jan 2018 13:39:25 +0000 (14:39 +0100)]
Create sdk directory when needed.
Sebastien Douheret [Mon, 8 Jan 2018 17:17:29 +0000 (18:17 +0100)]
Fixed sdks db-update name and backup prev version.
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>
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>
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>
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>
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>
Sebastien Douheret [Fri, 22 Dec 2017 21:24:46 +0000 (22:24 +0100)]
Fixed invalid default value for Sdkscripts directory.
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>
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>
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>
Sebastien Douheret [Mon, 11 Dec 2017 10:10:14 +0000 (11:10 +0100)]
Removed useless code of deprecated make command.
Sebastien Douheret [Fri, 8 Dec 2017 17:08:52 +0000 (18:08 +0100)]
Support old folder type encoding (backward compatibility)
Sebastien Douheret [Mon, 4 Dec 2017 16:27:32 +0000 (17:27 +0100)]
Move xds-project.conf file create to xds-agent.
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>
Sebastien Douheret [Tue, 5 Dec 2017 10:10:21 +0000 (11:10 +0100)]
Improved Silly logging.
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>
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>
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>
Sebastien Douheret [Thu, 30 Nov 2017 10:15:14 +0000 (11:15 +0100)]
Create server data directory when not existing.
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.