Junghyun Yeon [Wed, 31 Mar 2021 04:42:39 +0000 (13:42 +0900)]
Export wgt_archive_info.h for further usage
Change-Id: I47417ec1e508008ebb0ab4b18e9e717eb540f4dd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Youngsoo Choi [Wed, 10 Mar 2021 05:17:37 +0000 (21:17 -0800)]
Support legacy web service apps
This creates symlink to wrt-service only if service type is not defined
to support legacy web service apps.
Change-Id: I6d406b7a5e670b1c0690250183417438147e6eda
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Junghyun Yeon [Thu, 21 Jan 2021 04:53:34 +0000 (13:53 +0900)]
Release version 0.15.16
Changes:
- Redefine wgt package version policy
Change-Id: I9d497c386e13d5c8c909d1d030faa072de971e35
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 21 Jan 2021 00:10:28 +0000 (09:10 +0900)]
Redefine wgt package version policy
Installer will not check or parsing wgt version string unless it is empty.
Change-Id: Id7604b7f8735c661d883319238526719d31180bc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 15 Jan 2021 06:22:10 +0000 (15:22 +0900)]
Release version 0.15.15
Changes:
- Fix step name
Change-Id: If721fd85e0d70d6fc6d9967c7cd2a62d7103c0af
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 15 Jan 2021 03:46:55 +0000 (12:46 +0900)]
Fix step name
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/251363/
Change-Id: Ia5add48927e9b50e2124f1a37b262f4298156aaf
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 15 Jan 2021 01:06:09 +0000 (10:06 +0900)]
Release version 0.15.14
Changes:
- Fix memory leak
Change-Id: Ifc43e4fb049dffd6b4cbed1bb46e4b4ce779d346
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 12 Jan 2021 04:57:19 +0000 (13:57 +0900)]
Fix memory leak
Related changes:
[app-installers] : https://review.tizen.org/gerrit/251120
Change-Id: I965336477aeec7dd2dae2dd274514c1fbc9c5199
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 7 Jan 2021 05:14:48 +0000 (14:14 +0900)]
Release version 0.15.13
Changes:
- Fix wgt version checking logic
Change-Id: I50da224ce2e0666cf9ee145c06906c7a8d845cf5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 4 Jan 2021 07:37:39 +0000 (16:37 +0900)]
Fix wgt version checking logic
WGT version string could contain non UTF-8 characters.
Now version checking logic will skip validation
if given character is non UTF-8.
Change-Id: I869fab0b8f12ece90735e71a71ec62b0e84c806c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 1 Dec 2020 00:19:02 +0000 (09:19 +0900)]
Release version 0.15.12
Changes:
- Add wgt package version policy
Change-Id: I791c6908ad855d1a74845cd7a7884b96c89d9797
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 26 Nov 2020 02:51:55 +0000 (11:51 +0900)]
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>
Ilho Kim [Tue, 27 Oct 2020 05:26:30 +0000 (14:26 +0900)]
Release version 0.15.11
Changes:
- Add recovery test for ReadonlyUpdateInstall
- Change WgtAppQueryInterface's logic of clearing tmp path
- Fix memory leak
- Fix memory leak
Change-Id: I1cd3a5f86fd7446e47e90ca27097156dbf4612ae
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Sep 2020 07:50:48 +0000 (16:50 +0900)]
Fix memory leak
After using glob(), the glob_t should be freed using globfree()
After using xmlReadFile(), the return value shoud be freed using xmlFreeDoc()
Change-Id: I84a514e0849eb85ccf23834770c39d3d3220f635
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Sep 2020 07:46:55 +0000 (16:46 +0900)]
Fix memory leak
The value created by LoadXmlDocument should be freed using xmlFreeDoc
member variables wgt_doc_ and tpk_doc_ are used in function process()
so remove that from member variables and that will be freed using unique_ptr
Change-Id: I477a1e2677f30773efaacb058bde1a5c56b688d0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 18 Sep 2020 05:05:40 +0000 (14:05 +0900)]
Change WgtAppQueryInterface's logic of clearing tmp path
Extracting function can be override by child class,
So the clearing function should be overridable function
- Requires:
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/244388/
Change-Id: I45542eeaee653912cc1661fd6a0511a87ce7d020
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 7 Sep 2020 01:51:57 +0000 (10:51 +0900)]
Add recovery test for ReadonlyUpdateInstall
Change-Id: Ic78a29b63a26ead900a8fc2c25350f05cd5e2cb2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 8 Sep 2020 02:30:33 +0000 (11:30 +0900)]
Release version 0.15.10
Changes:
- Change to use gmock package instead of gtest
- Fix coding rule
- Fix static analysis(TOCTOU) issue
- Fix StepWgtPreparePackageDirectory
- Fix extensive smoke test
Change-Id: I533e96fafe2f58292c2b228b6c5d9606030a6285
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 25 Aug 2020 09:03:17 +0000 (18:03 +0900)]
Fix extensive smoke test
- Handle the cleanup recovery type
- Fix RecoveryMode_ForMountInstall.wgt package's appid correctly
Change-Id: I46d9d7dcdbddd9191ec1049b067a47141e786cdf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 2 Sep 2020 06:43:42 +0000 (15:43 +0900)]
Fix StepWgtPreparePackageDirectory
The unpacked dir path should not be changed. The extracted files will be
recovered without changing unpacked dir path
Change-Id: I696fd99acff2ec8d825188166aa4a9c94b7b6fd6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 25 Aug 2020 05:17:55 +0000 (14:17 +0900)]
Fix static analysis(TOCTOU) issue
Change-Id: I18dfdee7f6ca2dc0e7676b95b84aece3b3208fb9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 27 Aug 2020 00:24:34 +0000 (09:24 +0900)]
Fix coding rule
Change-Id: I2a6f242f23c94ce3a23b2aa4cf66a4619961ea53
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Wed, 29 Jul 2020 04:59:19 +0000 (13:59 +0900)]
Change to use gmock package instead of gtest
Change-Id: I33cbd009e6209665241dd1ceb457efbfa7bd56d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 24 Aug 2020 06:52:53 +0000 (15:52 +0900)]
Release version 0.15.9
Changes:
- Move test codes
- Adjust a changed smoke utils header
Change-Id: I1f12a9ce2f4c0d00317aaf716d5da2fb615b423c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 24 Aug 2020 03:46:14 +0000 (12:46 +0900)]
Adjust a changed smoke utils header
Change-Id: I977d5f8f0643b369d1a514cbf454f49b2ace0b2c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 21 Aug 2020 08:21:49 +0000 (17:21 +0900)]
Move test codes
Move test codes into ${src root}/test and rename to smoke_tests
Change-Id: I13dc656fb42dae94c96523e31fbb95b60e5adb78
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 21 Aug 2020 07:24:17 +0000 (16:24 +0900)]
Release version 0.15.8
Changes:
- Add try-catch statement
- Move test codes
Change-Id: I56d0483390e5909d9a28131b0659e6682d8c27f8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 21 Aug 2020 02:29:59 +0000 (11:29 +0900)]
Move test codes
Move test codes into ${src root}/test and rename to smoke_tests
Change-Id: Idd7b013bf14320a9bd8ddc561472d46fba6fb532
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 21 Aug 2020 01:23:35 +0000 (10:23 +0900)]
Add try-catch statement
Change-Id: I13bf668f13fabc277a94012a7217b48c46b158f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 10 Aug 2020 08:15:09 +0000 (17:15 +0900)]
Release version 0.15.7
Changes:
- Fix archive info to not fail if empty icon exists
Change-Id: Iedf930dacd9737042923942e4d4096bd845bd6ea
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 7 Aug 2020 07:44:36 +0000 (16:44 +0900)]
Fix archive info to not fail if empty icon exists
Change-Id: I6f69c2f10267ddf4a1418b29da93d5024cb236cb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 3 Aug 2020 05:52:07 +0000 (14:52 +0900)]
Release version 0.15.6
Changes:
- Add try-catch statements
- Change binary file added for smoke test
Change-Id: I2ec2e1fa9833f303cf1ade90df184a2150ba94a8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 16 Jul 2020 06:21:13 +0000 (15:21 +0900)]
Change binary file added for smoke test
Change-Id: I32e6e755e7286fb12aec26318a957214fa010d5b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 30 Jul 2020 07:18:54 +0000 (16:18 +0900)]
Add try-catch statements
Change-Id: Ib83a73359ab768f2af0e5bbf7e5eac52446a3ba3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 6 Jul 2020 08:09:17 +0000 (17:09 +0900)]
Release version 0.15.5
Changes:
- Add InstallerWithoutPasrserPlugins for test
- Change filepath
Change-Id: Ib0e8cd332b5d5ae95a9479836e156f75e3561178
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 2 Jul 2020 00:46:44 +0000 (09:46 +0900)]
Change filepath
Its path has changed.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/237608
Change-Id: I29b2a771da487cd56649a185c050620dff4254c5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 2 Jun 2020 08:16:48 +0000 (17:16 +0900)]
Add InstallerWithoutPasrserPlugins for test
This installer runs without parser plugin
Change-Id: I4ed03253d9144616a58674c896971311b17a9a4c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 17 Jun 2020 07:23:43 +0000 (16:23 +0900)]
Release version 0.15.4
Changes:
- Fix WgtArchiveInfo
Change-Id: I251da6505d0e93b045d5721a1f9fb15a4b0b6a92
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Jun 2020 07:03:56 +0000 (16:03 +0900)]
Fix WgtArchiveInfo
Allow addon only wgt package.
Change-Id: I78a2c71f6dbbed09e47d40f9c17ee5c5c313587c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 12 Jun 2020 06:58:44 +0000 (15:58 +0900)]
Release version 0.15.3
Changes:
- Change routine to check start file
Change-Id: I53583f7060e739cda0f61e0d50230b7167079a45
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 4 Jun 2020 04:31:11 +0000 (13:31 +0900)]
Change routine to check start file
If webapp has not ui application and all service app's type global,
routine to check start file is skipped
Change-Id: I5108a635525181cbeba8596b27b622914a58bb0d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 1 Jun 2020 02:29:59 +0000 (11:29 +0900)]
Release version 0.15.2
Changes:
- Add GetArchiveInfo
- Make smoke utils as a library
- Move CrashWgtInstaller class to wgt-smoke-utils
- Fix ReadonlyUpdateInstallSteps base step name
- Change wrt-service symlink to wrt-service-launcher
- Add WgtInstallerFactory and HybridInstallerFactory
Change-Id: Ia4d702d7f8dee66ac49eb2009acb07e56b26735c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 17 Apr 2020 08:06:10 +0000 (17:06 +0900)]
Add WgtInstallerFactory and HybridInstallerFactory
Now wgt-backend uses installer-runner to run the installer
Change-Id: I801c452dcaababf77527de54876957689d48974f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Youngsoo Choi [Wed, 13 May 2020 05:59:49 +0000 (22:59 -0700)]
Change wrt-service symlink to wrt-service-launcher
The wrt-service has been changed with wrt-service-launcher
to launch service daemon properly.
Change-Id: Ie0377742be3e9bde23ba6dbfda69a3addd2b3cbd
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Ilho Kim [Tue, 14 Apr 2020 04:40:54 +0000 (13:40 +0900)]
Fix ReadonlyUpdateInstallSteps base step name
Relates :
- [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/230753/
Change-Id: Ia933be951e9facedfb0095995b6666b51fe3a0c4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 24 Mar 2020 11:08:04 +0000 (20:08 +0900)]
Move CrashWgtInstaller class to wgt-smoke-utils
This class can be used at other test, such as smoke test of unified-installer.
Change-Id: Iaaed178a2a5c29a3cf213f29b2f1e025e3c1e886
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 24 Mar 2020 06:20:40 +0000 (15:20 +0900)]
Make smoke utils as a library
This wgt-smoke-utils library is used at smoke test of unified-installer.
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/228720
Change-Id: I7689f92e3699073fbd4c1836e917d06f7470784a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 7 Apr 2020 04:53:57 +0000 (13:53 +0900)]
Add GetArchiveInfo
Requires :
- [app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/228145/
Change-Id: If8ccd2c9b92ab5232c62e6cf4237fbebdc649b6f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 16 Apr 2020 04:31:54 +0000 (13:31 +0900)]
Release version 0.15.1
Changes:
- Adjust install step order
Change-Id: Ie9aadb9fdd36f9c19b7c0d16073b421769eac294
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 10 Apr 2020 09:11:09 +0000 (18:11 +0900)]
Adjust install step order
Adjust order of steps to match previous Tizen's.
Change-Id: Ia97ca9f69da79375941c20a48982d2a1d8b12966
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 3 Apr 2020 06:48:30 +0000 (15:48 +0900)]
Release version 0.15.0
Changes:
- Fix WgtArchiveInfo
- Fix some header guards
- Allow Id of UI App to be empty if all Service Apps type global
- Add test case for global service app
Change-Id: Ibe11db6c75f026053f171106d4b7985e6800acca
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 25 Mar 2020 05:49:41 +0000 (14:49 +0900)]
Add test case for global service app
Added tests:
InstallationMode_GlobalServiceAppWithUiAppId : Test to install of global type service app that has ui applicaion's id
InstallationMode_GlobalServiceAppWithoutUiAppId : Test to install of global type service app that has not ui applicaion's id
InstallationMode_UIServiceAppWithUiAppId : Test to install of ui type service app that has ui applicaion's id
InstallationMode_UIServiceAppWithoutUiAppId : Test to install of ui type service app that has not ui applicaion's id
InstallationMode_UIAppWithoutUiAppId : Test to install of ui application that has not application's id
Relate:
[wgt-backend]https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/226781/
Change-Id: Id8c1c206ec4ab82a390c5dda15ada5a975d72c73
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 5 Mar 2020 08:07:46 +0000 (17:07 +0900)]
Allow Id of UI App to be empty if all Service Apps type global
The wgt service app should have a dummy ui app even if it is not needed
This patch allows the UI app's ID to be empty if all service app types are global
-Before
<tizen:application id="appid" package="pkgid" required_version="x.x"/> -> Allow
<tizen:application package="pkgid" required_version="x.x"/> -> Disallow
-After
<tizen:application id="appid" package="pkgid" required_version="x.x"/> -> Allow
<tizen:application package="pkgid" required_version="x.x"/> -> Conditionally Allow(If all service app's types global)
Requires:
[wgt-manifest-handlers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-manifest-handlers/+/226780/
Change-Id: I2ed942fd7fb16b71a98cdac253bf71ca18cdf067
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 24 Mar 2020 11:15:52 +0000 (20:15 +0900)]
Fix some header guards
Change-Id: If66b17887cfce128342ad77a8cace34b5b2c13d0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 4 Mar 2020 05:29:28 +0000 (14:29 +0900)]
Fix WgtArchiveInfo
There is a new base class for WgtArchiveInfo.
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/226596
Change-Id: I3f0a5524b2267e979da6231e7bf589d086f37d3a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 6 Mar 2020 07:43:43 +0000 (16:43 +0900)]
Release version 0.14.1
Changes:
- Add StepCrash's clean operation
Change-Id: Ied6df2a64c86403393e442e7aaede065d0704106
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 27 Feb 2020 01:50:03 +0000 (10:50 +0900)]
Add StepCrash's clean operation
This patch can be used to test the installation termination in a clean operation
Change-Id: I9b5cc0e991d84196d4738d360d106b55c8e352ff
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 27 Feb 2020 03:32:05 +0000 (12:32 +0900)]
Release version 0.14.0
Changes:
- Split rpm packaging into library part and backend part
- Fix smoke test
- Fix StepEncryptResources
Change-Id: Ic0313967106bdf0d8069afe7235fadfbeb17721a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Wed, 26 Feb 2020 06:36:01 +0000 (15:36 +0900)]
Fix StepEncryptResources
Revert if statement expression.
Change-Id: Ie147d0952ce8f3dec67fe00760baf9194e22c216
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 18 Feb 2020 00:16:38 +0000 (09:16 +0900)]
Fix smoke test
Recovery check routine changed after the recovery file is created
Change-Id: Ic2aa91853301c704d78cbc1a928b3a725c21f578
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 14 Oct 2019 01:59:07 +0000 (10:59 +0900)]
Split rpm packaging into library part and backend part
Change-Id: Icdf2ae772b047ae521a5cfbceb7586c1df946ed5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 14 Feb 2020 07:54:47 +0000 (16:54 +0900)]
Release version 0.13.2
Changes:
- Add return value checking routine
- Change clean operations not to return failure
Change-Id: Ib2903107521b3e7d71b79de34ab08af0a71fdb63
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 23 Jan 2020 01:41:39 +0000 (10:41 +0900)]
Change clean operations not to return failure
Change-Id: Ica687fe9393e7adff0bed3107b597df9472a2fab
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 10 Feb 2020 07:33:29 +0000 (16:33 +0900)]
Add return value checking routine
Change-Id: Ibc4b9ed32dd5c908e3ec5976a1e364ba11fed87e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 17 Jan 2020 08:43:08 +0000 (17:43 +0900)]
Release version 0.13.1
Changes:
- Move utility files into newly created directory
- Resolve static analysis issue
Change-Id: I27ce0fac37328ea066bf1fffb2bb9f65d89b3e50
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 17 Jan 2020 01:33:50 +0000 (10:33 +0900)]
Resolve static analysis issue
Change-Id: I97616611b142e81b8457e653a0a8218b7419a442
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 4 Dec 2019 04:52:13 +0000 (13:52 +0900)]
Move utility files into newly created directory
Move it to reduce module circular dependency.
Change-Id: Iffed47db7a38950afe961ea4ebdc9b5fd643e57f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 7 Jan 2020 09:00:03 +0000 (18:00 +0900)]
Release version 0.13.0
Changes:
- Fix adding steps using default steps
Change-Id: Ia6d51c5d8f084943176f344158a61336361d8ded
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 30 May 2019 10:16:36 +0000 (19:16 +0900)]
Fix adding steps using default steps
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/207215
Change-Id: Ic7ebf33c40b9899b3e71d6307bd3249b31ed3900
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 13 Dec 2019 07:03:05 +0000 (16:03 +0900)]
Release version 0.12.15
Changes:
- Apply early return policy on StepCopyPreviewIcons
- Fix smoke-test functions for rollback cases
- Change duplicated step name
- Change default value of nodisplay
- Fix StepEncryptResources
- Fix step name of StepCreateWgtSymbolicLink
Change-Id: Iaadd1a3bfb056b88bf3816766005e8b8ab63c1ca
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 10 Dec 2019 06:35:10 +0000 (15:35 +0900)]
Fix step name of StepCreateWgtSymbolicLink
Change-Id: I557498b3cfd06c9455c5583a592292e983d06e08
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 28 Nov 2019 00:18:02 +0000 (09:18 +0900)]
Fix StepEncryptResources
- Fix typo.
- Use summarized namespace for readability.
- Remove some 1 line if statement braces.
Change-Id: Id42e04fca3516ce19c783d4cb6ef7af9a74d4891
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 28 Nov 2019 09:50:52 +0000 (18:50 +0900)]
Change default value of nodisplay
Change it to true in order to hide it from app drawer.
Change-Id: I93f92f127be05686968f8de2b3034ab0345af9f0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 28 Nov 2019 11:14:24 +0000 (20:14 +0900)]
Change duplicated step name
Same step name exists on tpk-backend
Change-Id: Ia96de025c403f19af3deca55f9ff669a863d0092
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 19 Nov 2019 09:35:50 +0000 (18:35 +0900)]
Fix smoke-test functions for rollback cases
The custom step cannot be added outside of installer, because steps are
initialized when Run() invoked.
(If some step added outside of installer, that step will be executed at
first, ignoring original steps)
This patch defines a new virtual function creating overridden installer
object which is fail at the end of steps or specific stage.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/218093
Change-Id: I99de606909e5a673d45545dd05095ee0f4111a51
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 28 Nov 2019 11:21:51 +0000 (20:21 +0900)]
Apply early return policy on StepCopyPreviewIcons
Change-Id: I4ae9087fa4e149459df982e8311e471f19a732ee
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 22 Nov 2019 04:25:36 +0000 (13:25 +0900)]
Release version 0.12.14
Changes:
- Fix static analysis issue
Change-Id: I8489d7691b59361c1a388cde6b105a2795fdc47c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 22 Nov 2019 02:12:48 +0000 (11:12 +0900)]
Fix static analysis issue
Change-Id: I4d81482d873169e2839537dc69f8bac9d6a826cc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 14 Nov 2019 12:01:29 +0000 (21:01 +0900)]
Release version 0.12.13
Changes:
- Fix ManifestDirectInstall/Update on Hybrid pkg
Change-Id: Idcb2344459d620c6dadda786ac7aa71bf6076543
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Wed, 13 Nov 2019 05:33:39 +0000 (14:33 +0900)]
Fix ManifestDirectInstall/Update on Hybrid pkg
Previous implementation did not consider if modified manifest has deleted.
Merging WGT and TPK configs with "OVERWRITE" option
will remove WGT application data so fixing it by merge it and
to consider modified manifest's existance, CONCAT works as merge,
not direct concat to remove duplication.
Change-Id: I5ae4f085b0e33dde2a8408fa4a525806e9321b09
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 12 Nov 2019 04:28:49 +0000 (13:28 +0900)]
Release version 0.12.12
Changes:
- Fix installing privileges of hybrid package
- Add StepSetMainapp
- Adjust order of steps
Change-Id: I5363d57c62a442862fdfb1788b017502117fb9d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 21 Oct 2019 08:31:45 +0000 (17:31 +0900)]
Adjust order of steps
Revert from '
192eddd5a83d207a760c025c328e3096f8debdca'
Change-Id: I81c2d69752e2734d53b15bfe8bb851a9a5014b51
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 1 Oct 2019 06:54:24 +0000 (15:54 +0900)]
Add StepSetMainapp
Add StepSetMainapp for some request types to set mainapp attribute properly.
Change-Id: I23717ba8edc9da81ce2c33ddfcd432dcfabcbc29
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 15 Oct 2019 07:02:04 +0000 (16:02 +0900)]
Fix installing privileges of hybrid package
Change-Id: Ic8db846e8ffd2b09327f81778036e62c751584be
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 20 Sep 2019 01:38:15 +0000 (10:38 +0900)]
Release version 0.12.11
Changes:
- Fix StepMergeTpkConfig for application attribute
Change-Id: I99d9ea3a3a30d21a17b1c2ee71e7e7650df4a5f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 9 Aug 2019 08:30:55 +0000 (17:30 +0900)]
Fix StepMergeTpkConfig for application attribute
Mainapp attribute should be modified at here to
set mainapp as true for webapp.
Change-Id: I94aa9e482a2550fefa1378f1fa3e961f0636ad0c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 5 Sep 2019 07:31:36 +0000 (16:31 +0900)]
Release version 0.12.10
Changes:
- Add recover test for crash after unzip
- Fix static analysis issue
Change-Id: I57de64914b46fc66e820100b323c5d5916dd63ef
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 4 Sep 2019 06:30:29 +0000 (15:30 +0900)]
Fix static analysis issue
Remove unnecessary null checking.
Change-Id: I7c86b64e0cfe496c6b361f696b546a7ac7707438
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 22 Aug 2019 11:57:30 +0000 (20:57 +0900)]
Add recover test for crash after unzip
requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/212535/
Change-Id: I842ef743a815a4ff040c554e1795d3bc5d443b93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 29 Aug 2019 07:12:25 +0000 (16:12 +0900)]
Release version 0.12.9
Changes:
- Change order of StepRemoveTemporaryDirectory
Change-Id: Ia8ff88f389b4680247727ff835e9fa6a2d2a34d5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 26 Aug 2019 05:38:00 +0000 (14:38 +0900)]
Change order of StepRemoveTemporaryDirectory
In case installation terminated after StepUnzip,
recovery file doesn't have pkgid,
and then StepParseManifest will return RECOVERY_DONE,
and temporary file doesn't be removed
Change-Id: I8102692624a27768c28beb665c851eb3f4d2fd1f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Aug 2019 01:36:41 +0000 (10:36 +0900)]
Release version 0.12.8
Changes:
- Fix coding rule
- Parse 'addon' element
Change-Id: I451b302f7ad8c256da80c1e60884363dfadaabd5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghoon Park [Wed, 10 Jul 2019 11:13:11 +0000 (20:13 +0900)]
Parse 'addon' element
- Requires :
https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-manifest-handlers/+/209520/
https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/210406/
Change-Id: Icd20bf982b0cd7107bbbbaa9ec6d971df000847d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghyun Yeon [Fri, 9 Aug 2019 07:06:50 +0000 (16:06 +0900)]
Fix coding rule
Change-Id: I9d8b2d03d5829278a5451db42a19393e2137eb0a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 9 Aug 2019 08:16:02 +0000 (17:16 +0900)]
Release version 0.12.7
Changes:
- Add StepRecoverParserPlugin at Hybrid recovery requests
- Add StepPrivilegeCompatibility at some hybrid requests
- Fix wgt, hybrid installer issues
- Add StepMergeTpkPrivilege at ManifestPartialInstall/Update steps
- Add StepWgtPatchIcon at ManifestPartialInstall/Update steps
Change-Id: I7b5983f72991ca2cba0377cce7df112cf99abea5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 2 Aug 2019 08:30:43 +0000 (17:30 +0900)]
Add StepWgtPatchIcon at ManifestPartialInstall/Update steps
Fix Icon path change after manifest partial install/update
Change-Id: I6d8b55e38192a8cb89ac3b7468265d0c7454e092
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 8 Aug 2019 09:25:23 +0000 (18:25 +0900)]
Add StepMergeTpkPrivilege at ManifestPartialInstall/Update steps
Change-Id: I9a169422bfd8375c9f61828b4f63d1a67dbab72c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 25 Jul 2019 05:12:41 +0000 (14:12 +0900)]
Fix wgt, hybrid installer issues
- Signature will not be saved on requests listed below :
Hybrid - ManifestPartialInstall, ManifestPartialUpdate
Wgt - ReadonlyUpdateUninstall, ManifestPartialInstall,
ManifestPartialInstall, ManifestPartialUpdate
- Change security-related steps from
StepUpdateSecurity to StepRegisterSecurity
for some install requests to not trying registration on readonly files
when partial-rw option has given.
Change-Id: Id0ebad383cbfd2dab6539fff2ba85bf2971a287d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 23 Jul 2019 06:46:51 +0000 (15:46 +0900)]
Add StepPrivilegeCompatibility at some hybrid requests
Add missing step for ManifestPartialInstall and ManifestPartialUpdate requests.
Change-Id: I53a021953985acaa7a41e6b34a4a76e53f33c8d0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 31 Jul 2019 06:09:06 +0000 (15:09 +0900)]
Add StepRecoverParserPlugin at Hybrid recovery requests
Change-Id: Ib388c8eb4372da646c21a640305f20a57099e462
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>