summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-21functionnal test: initial commit for testsClément Bénier6-1/+249
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>
2018-08-20Fixed xds-server service startup in VM.Sebastien Douheret1-0/+6
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>
2018-08-20sdk force install: already installedClément Bénier1-1/+1
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>
2018-08-20terminal: when closing term, pass status to closingClément Bénier2-2/+6
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>
2018-08-20Fixed GPG keyserver intermittenly failureSebastien Douheret1-1/+10
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>
2018-07-25Ignored webapp/install error when DESTDIR doesn't existflounder_5.99.3flounder/5.99.35.99.3Sebastien Douheret1-1/+1
Change-Id: I80e79fc350a1905cb3c4a98ef0a7cf0659a18c88 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-25Add missing event when starting SDK installSebastien Douheret1-0/+4
Change-Id: I32892a8ad64ed05a93aedf413a81b6e8c50c26f7 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-20Add XDS_SERVER_WORKSPACE_DIR env var supportflounder_5.99.2flounder/5.99.25.99.2Sebastien Douheret2-1/+19
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>
2018-07-18Fixed error about unwanted usr directorysandbox/SebDSebastien Douheret1-4/+4
Change-Id: I8404ee2dd1eff5c20924e841c0a37ea16c85cc17 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-18Add XDS_SERVER_ROOT_CFG_DIR env var supportSebastien Douheret2-16/+26
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>
2018-07-13Packaging: ignore expected rpmlint warningsSebastien Douheret3-0/+8
Change-Id: I90d9cf407aafe4c4700613276e4975ef51bc315a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-13Fixed GOPATH setting for VSCodeSebastien Douheret1-3/+12
Change-Id: I3f75faef18305dca2c848af64dd6feb4ea68c23d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Removed unwanted usr directory from packageSebastien Douheret1-0/+1
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>
2018-07-06Fix REVISION tag and rename obs service templateSebastien Douheret1-1/+1
_service.in is a template so file extention must be .in Change-Id: Ia93058b5c505a118fd00208c1ce7654f4b2d3daf Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Minor fixes in MakefileSebastien Douheret1-4/+4
Change-Id: I24d971fb254afccb1ed65d412729b32ca53d251e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Add retry (3 times) when glide download failsSebastien Douheret2-11/+11
Change-Id: I97d70664ed6e62831a70d46f721ed2024ee9b574 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-05Update/fix rpm and deb packagingSebastien Douheret6-13/+16
- 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>
2018-06-27Used latest version of xds-common packageflounder_5.99.1flounder/5.99.15.99.1Sebastien Douheret1-1/+1
Change-Id: I9d66707880f15e8966f4bcbe93d6edc126c483f5 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-27Fixed sdk from local file installationSebastien Douheret7-6/+22
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>
2018-06-27Updated AGL sdks list definitionSebastien Douheret1-4/+14
Change-Id: I239b052f2d2bf4caf6fe4e756ee372e4ae6060ec Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-05-15Add packaging filesRonan Le Martret8-0/+246
* it's easier to manage native build package. Change-Id: I358a07f2569ac52c792443345244d3294a1c3b8b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-05Convert db-dump to python3Sebastien Douheret1-2/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Fixed meta tags in path to avoid conflict with spec syntaxv1.1.1Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Rework SDK default directory.Sebastien Douheret2-6/+10
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>
2018-04-05Fixed sdk uuid setting during install [SPEC-1377]Sebastien Douheret4-11/+40
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Add package lock fileSebastien Douheret2-1/+14
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Added Target and Terminal events through WS.Sebastien Douheret5-38/+163
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Fixed terminal output (support escape and control characters)Sebastien Douheret5-27/+33
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added target and terminal support.v1.1.0Sebastien Douheret19-24/+1513
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-08Avoid duplicate SDK install dir - SPEC-1252Sebastien Douheret5-30/+64
- 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>
2018-02-06Auto update SDK DB on startup.Sebastien Douheret5-3/+51
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>
2018-01-26Don't send command output too fast.eel_5.0.1eel/5.0.15.0.1Sebastien Douheret1-60/+13
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>
2018-01-23Reworked SDKs events (introduced sdk-state-change)Sebastien Douheret5-37/+84
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>
2018-01-22Migrate db-dump script in python avoid nodejs depSebastien Douheret1-136/+129
- 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>
2018-01-22Fix not existing /etc/xdtrc fileRomain Forlot1-1/+1
Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-22Make sure using space as indentation styleRomain Forlot2-6/+8
Also use the same indent rules Change-Id: I50ca200d7186ba133ea3a6f0137120d4090ed16e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-18Fixed GOPATH setup while debugging in VSCSebastien Douheret1-4/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-16[webapp] Add minimum size for buttonRonan Le Martret1-0/+1
Change-Id: I2f8e6057408227b5cf48455918ac4850eaa49d84 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-01-10Update sdks list with EEL/5.0.0 release.v1.0.1Sebastien Douheret1-3/+7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-10Fixed go linter warnings.Sebastien Douheret3-12/+25
2018-01-09Fixed source env sdk file when file is not set.Sebastien Douheret2-0/+7
2018-01-09Create sdk directory when needed.Sebastien Douheret1-0/+6
2018-01-08Fixed sdks db-update name and backup prev version.v1.0.0Sebastien Douheret2-4/+10
2018-01-05Update vendor/debug rule according to gerrit migration.Sebastien Douheret3-5/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret37-89/+88
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Added AGL .gitreview fileSebastien Douheret1-0/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-04Improved and fixed local SDK tarball installation.Sebastien Douheret13-84/+431
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-23Fixed SDKs management when running in xds VM.v1.0.0-rc2Sebastien Douheret8-17/+70
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Fixed invalid default value for Sdkscripts directory.Sebastien Douheret2-11/+11
2017-12-22Added SDKs management support.Sebastien Douheret26-64/+1283
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>