Remove distinction of widget's version 46/23646/2
authorJose Bollo <jose.bollo@iot.bzh>
Fri, 24 Jan 2020 13:49:23 +0000 (14:49 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 14 Feb 2020 09:04:56 +0000 (09:04 +0000)
commita855d14583b2ac2629dfac696fea788826bacc4d
tree5362c1843881e07a317094d132a9de86cc671fd8
parent7f53b8188b6b4448dad771eeb8b03160aa314826
Remove distinction of widget's version

This removes the distinction between the different
versions of a widget. The boolean CMAKE option
DISTINCT_VERSIONS allows to switch between the two
possibilities:

 DISTINCT_VERSIONS=OFF (default)

    Widget installed in {afm_appdir}/{id}
    Ids of applications have no version part: {id}

 DISTINCT_VERSIONS=ON (legacy, old default)

    Widget installed in {afm_appdir}/{id}/{ver}
    Ids of applications have no version part: {id}@{ver}

Bug-AGL: SPEC-2538

Change-Id: I7cb54d4b296b740c553be8a627e66175107e5a4b
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
CMakeLists.txt
src/wgt-info.c
src/wgtpkg-install.c
src/wgtpkg-uninstall.c