summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-12-16Fixed and improved events management.Sebastien Douheret12-257/+341
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret12-43/+28
- 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>
2017-12-11Removed useless code of deprecated make command.Sebastien Douheret1-203/+1
2017-12-08Support old folder type encoding (backward compatibility)Sebastien Douheret2-4/+16
2017-12-05Move xds-project.conf file create to xds-agent.Sebastien Douheret1-24/+0
2017-12-05Fixed default xds-agent port number and env var (XDS_AGENT_URL)Sebastien Douheret3-11/+16
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-05Improved Silly logging.Sebastien Douheret3-6/+13
2017-11-30Fix null pointer exception when no sdk installed.v1.0.0-rc1Sebastien Douheret1-1/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Added Copyright header.Sebastien Douheret40-6/+691
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Fixed subversion when tag doesn't include dash.Sebastien Douheret2-7/+12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Create server data directory when not existing.Sebastien Douheret2-0/+9
2017-11-29Fixed double 'v' letter in package nameSebastien Douheret1-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Check go version and print error if not >1.8.1Sebastien Douheret1-1/+14
xds-common lib uses os.Executable function that has been introduced in go v1.8.1.