summaryrefslogtreecommitdiffstats
path: root/scripts/sdks/agl/db-dump
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22Added support of new image_url fieldSebastien Douheret1-0/+1
Since commit ecef0475a0a9d51, url to download AGL image matching a SDK has been introduced in SDK definition file. This commit adds ImageURL field (json:image_url) in return json object of GET /sdks Change-Id: If52c39292ac3d5e44c4f61b8b51c48d9661beb2d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-22Prevent db-dump failure when sdk is not validSebastien Douheret1-1/+3
Change-Id: I4cbc0b38333938836dac738f2240a05be1d6a09f Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-18Fix qemu sdk detectionSebastien Douheret1-16/+36
arch for qemu sdk is qemux86-64 in sdk-latest.json but extracted value for environement file is corei7-64. Change-Id: Id2656de1648b6c9289d42c9f55fa8e1e4e056760 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-11Fixed incorrect detection of installed SDKsSebastien Douheret1-0/+13
Add an additional verification about uuid that is based on url field to identify SDK. Change-Id: Iefe43ff37d928c7592c0c9c8c14b9f537080b0b6 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-02fix sdks list bug: move rgx into db-dumpClément Bénier1-5/+10
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>
2018-07-05Update/fix rpm and deb packagingSebastien Douheret1-1/+1
- 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-27Fixed sdk from local file installationSebastien Douheret1-2/+7
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-04-05Convert db-dump to python3Sebastien Douheret1-2/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Rework SDK default directory.Sebastien Douheret1-4/+5
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-02-08Avoid duplicate SDK install dir - SPEC-1252Sebastien Douheret1-9/+27
- 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-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-08Fixed sdks db-update name and backup prev version.v1.0.0Sebastien Douheret1-2/+2
2018-01-04Improved and fixed local SDK tarball installation.Sebastien Douheret1-0/+137
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>