when building Apps, the maintainer of the Apps must update the template manually.
It would be valuable to get a versioning of the template that would be readible by the AppFW.
As such it would not provide a bullet proof security, but at least would allow to detect mistakes.
Environment
None
Activity
Romain Forlot
November 24, 2017 at 9:32 AM
related commit id:
0487d4437607155c619bcb662aac3fd32a101824 : Compare to manual Project version if not from git
7dabdeb9c967993167b93860cac4b79a94f27401 : No failure if none tags found on project git repo
1687531ccb8b38cfe4202ff023f94147cb815f7a : Check version between app-templates and project.
Romain Forlot
November 17, 2017 at 3:49 PM
I pushed a new review that check version synchronization between a project using CMake app-templates submodules.
It takes the closest tag in git tree for both project and app-templates submodule and compare them.
Also, this append a flag "-dirty" to project version if project git working isn't clean. Then you retrieve this flag everywhere on project and once installed on a target you could check its version and see if you runs a "custom" with probably code that isn't in sync with upstream repo.
when building Apps, the maintainer of the Apps must update the template manually.
It would be valuable to get a versioning of the template that would be readible by the AppFW.
As such it would not provide a bullet proof security, but at least would allow to detect mistakes.