Add wgt package version policy 71/248371/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 26 Nov 2020 02:51:55 +0000 (11:51 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 30 Nov 2020 07:27:28 +0000 (16:27 +0900)
commitaead408d2d07421f2c5dc12d2c0fb317695f3b7d
treeef268416a96aff738ac5723fb6b2090d1b7c753b
parente2bafbea5eb0733ab514b1ae66ba1e2cb44f8328
Add wgt package version policy

If given version string is not start with allowed pattern,
GetPackageVersion() will return empty string.
This patch will check its result and
fails entire install procedure if so.

Change-Id: I14ebc962f0dd7167b9d166a4844960744216fc9b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/wgt/step/configuration/step_parse.cc