summaryrefslogtreecommitdiffstats
path: root/scripts/sdks/agl/_build-sdks-json.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-12-19Switch to https protocol for IoT.bzh urlsguppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.36.99.46.99.3Sebastien Douheret1-8/+10
http is still supported but redirected to https and consequently curl commands used in this script receive a 302 response that silently skips IoT.bzh sdks processing. Change-Id: I6854be1f3f8a42d77657fe45658782c3dc5b8b38 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-12-18Update to latest FF verison and add GG releasesSebastien Douheret1-1/+4
Bug : SPEC-2033 Change-Id: I919c106bc8d108992b2d91b5daa1eb27b2245fcf Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-22Adds 'image_url' JSON parameter to an SDK entryJohann CAHIER1-66/+169
Adds a link to installable target image corresponding to the current SDK. The easest way to implement this was to manage a pair of suffix for earch source of SDKs (AGL or IoT.bzh), The input data are refactored as following: each source has an URL prefix, a list of directories (possibly including wildcard) to be browsed, relative to prefix URL, and a pair of suffixes : one for SDK, one for ilage (relative to prefix + directory). When an SDK installation file is found, the corresponding image is searched by replacing the SDK suffix by the image one, requesting this URL, and grepping for a filename matching agl-demo-plaform-crosssdk-* With different possible extensions: - .vmdk(.xz) in case of qEMU image, or - .rootfs.wic(.xz), when avaible, or - .rrotfs.tar(.xz) If no matching image file is found, the image_url is set to the directory URL containing the image file candidates. If requesting the image directory URL content leads to server error (mainly error 404 Not Found, but also any other error), the image_url value will be set to null in the JSON output. Makes the trace system more flexible, using an verbose -v|vv option. KNOWN ISSUES: - '-nogfx' images are not named agl-demo-plaform-crosssdk-* on the AGL server. image_url is set to the image directory URL for such SDKs/images - on IoT.bzh, older images directories are named 'image' while newer ones are named 'images'. Advantage given to newer images, this lead to have older SDKs' image_url set to null. Change-Id: I8c029d3ebbdef1a096c5cb225fd40405e91b312d Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh>
2018-10-09Update naming of SDKs provided by IoT.bzhSebastien Douheret1-2/+5
Change-Id: I83df3abdb19c5075353510cba9dc296de8c04548 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-09Cleanup useless SDKs from SDKs db/listSebastien Douheret1-7/+4
Also ignored some known file when parsing SDK directory Change-Id: I8f9f127325b7743ebe3866d1145f928ded49322b Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-03Update sdks list definitionSebastien Douheret1-2/+5
Change-Id: I1a9efa4818f1d12409b6a04b0f4ce08363d2258f Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-09-20Update SDK definition - add flounderSebastien Douheret1-0/+4
Change-Id: I2ccadbd30705c4726152a9e86108cdb25608e872 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-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>
2017-12-22Added SDKs management support.Sebastien Douheret1-0/+121
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>