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>
Junghyun Yeon [Mon, 22 Jul 2019 08:44:31 +0000 (17:44 +0900)]
Release version 0.12.6
Changes:
- Fix smoke test
- Revert "Fix smoke test"
Change-Id: I0c5e4dcabfc945a0fe9afdf5a140cf8ab354e6ee
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
ilho kim [Mon, 22 Jul 2019 05:35:02 +0000 (05:35 +0000)]
Revert "Fix smoke test"
This reverts commit
1f7868218392268ec8c4b102f0a1c59f2dbc1a58.
Change-Id: I0d442b650f0d8eab06e197ec34f7d09164076968
Ilho Kim [Wed, 17 Jul 2019 08:04:16 +0000 (17:04 +0900)]
Fix smoke test
Add process to initialize DB for test
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/210253/
Change-Id: I492d2fe68b2c50c7adffb000442d6f6be0f08ac3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 12 Jul 2019 06:48:06 +0000 (15:48 +0900)]
Release version 0.12.5
Changes:
- Combine StorageDirectories Steps
Change-Id: I722ee780dd90927abca44a69c2a564bbc5f2c171
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 14 May 2019 08:13:32 +0000 (17:13 +0900)]
Combine StorageDirectories Steps
Combined step :
- StepCreateStorageDirectories and StepCreatePerUserStorageDirectories
- StepUpdateStorageDirectories and StepUpdatePerUserStorageDirectories
- StepRecoverStorageDirectories and StepRecoverPerUserStorageDirectories
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/206075/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/206194/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/206193/
Change-Id: I2a23cede0e634a844868c8910e2440c0f34fd552
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 26 Jun 2019 01:51:06 +0000 (10:51 +0900)]
Release version 0.12.4
Changes:
- Fix namespace of StepCreateRecoveryFile
- Fix smoke test helper
- Fix name of some steps
Change-Id: Idccf26c9ac8fe5f08e49dab2ca1dc9338e46d8c1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 11 Jun 2019 08:37:07 +0000 (17:37 +0900)]
Fix name of some steps
The name of class StepExampleClass should be "ExampleClass"
Change-Id: I4aac55bf8fc15e8c41a4542865d1888a7f408c07
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 23 Apr 2019 10:06:30 +0000 (19:06 +0900)]
Fix smoke test helper
To use custom step, we need to derive a new class.
(refer: https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203760)
Change-Id: I5d4eff6403f22b2ee081df5e412d073d27827944
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 29 May 2019 10:08:21 +0000 (19:08 +0900)]
Fix namespace of StepCreateRecoveryFile
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/206959
Change-Id: Ib2f20b2e44b97136349be85a2edfcafc95a63fd0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 31 May 2019 06:28:22 +0000 (15:28 +0900)]
Release version 0.12.3
Changes:
- Combine Signature Steps
- Standardize use of STEP_NAME()
- Combine Plugin Steps
- Fix ManifestDirectInstall mode of hybrid installer
Change-Id: Ib440faba650a08e45f7f4b20299fb7914c936aa1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Fri, 26 Apr 2019 05:55:58 +0000 (14:55 +0900)]
Fix ManifestDirectInstall mode of hybrid installer
Installer should parse modified (tpk & wgt combined) manifest.
(Some information such as preload are needed)
Change-Id: Iefee0992f526de4fa2d5f5cbc56e1a78bfd80782
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 26 Apr 2019 06:32:57 +0000 (15:32 +0900)]
Combine Plugin Steps
StepRunParserPlugin combines below steps
- StepRegisterPluginInfo
- StepUpdatePluginInfo
- StepUnregisterPluginInfo
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/204652/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/204757/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/205385/
Change-Id: Ib430c9b0c71c82fc2ccf73e4af8bd1f3db66a470
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 16 May 2019 03:01:04 +0000 (12:01 +0900)]
Standardize use of STEP_NAME()
In case class name is StepExampleClass, Pass "ExampleClass" to STEP_NAME()
Change-Id: I94effc1c0d26e1498483bf941d2bf0d0af6f84ba
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
ilho [Mon, 15 Apr 2019 09:41:10 +0000 (18:41 +0900)]
Combine Signature Steps
StepCheckSignature and StepSaveSignature are combined
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/203140/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/203141/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/203513/
Change-Id: I5385c1503e3d55eb291f0c7d6455c21a07fe4301
Signed-off-by: ilho <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 05:44:45 +0000 (14:44 +0900)]
Release version 0.12.2
Changes:
- Fix build error on hybrid backend
Change-Id: I9cdbb2ec99f10c7f1c72ca12b0159cbb1837582a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 04:51:30 +0000 (13:51 +0900)]
Fix build error on hybrid backend
Change-Id: I78e6da2e672a2a903dc09cb4897c76a739807603
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 02:16:49 +0000 (11:16 +0900)]
Release version 0.12.1
Changes:
- Fix double free
- Do not call Init() for initialize steps
Change-Id: I24802f28ff828fa6d9944d80714d377b4dca8d89
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Apr 2019 11:41:20 +0000 (20:41 +0900)]
Do not call Init() for initialize steps
Init() will be called internally by AppInstaller class. (inside Run())
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203760
Change-Id: I394b98ee0eebc6abba220d619108da15822e43d6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Apr 2019 08:35:05 +0000 (17:35 +0900)]
Fix double free
Change-Id: I724a8e0a7bd8ab6608ba511daff41b2796f4fab8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 15 Mar 2019 08:35:33 +0000 (17:35 +0900)]
Release version 0.12.0
Changes:
- Change action type when enable wgt pkgs
- Change visibility of steps to protected
- Add StepRegisterPluginInfo
- Add step StepCheckUpgradable
Change-Id: I22faea5e03bb136d257be058f7b0b97b54ab913a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 13 Mar 2019 06:30:42 +0000 (15:30 +0900)]
Add step StepCheckUpgradable
This step check the package upgradable using package dependency info.
Change-Id: Iff3753104596ebd347adf8b1ba80575cd9819de2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 15 Feb 2019 05:11:07 +0000 (14:11 +0900)]
Add StepRegisterPluginInfo
- By adding procedure for storing plugin execution info,
additional Step for storing it to db is needed.
Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/195920/
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/195744/
Change-Id: I7a970d0cd482f722ab7a0c83a1b073b05b0c6104
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 21 Feb 2019 11:10:35 +0000 (20:10 +0900)]
Change visibility of steps to protected
For extensibility, change visibility to protected.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/200321
Change-Id: Ic1e3cfe37e83e0afd479cdcb5b4cdf7852bc2c64
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 11:19:24 +0000 (20:19 +0900)]
Change action type when enable wgt pkgs
- When wgt pkg being enabled, plugin should be executed as "Install".
Change-Id: If47320cbe7b022c68c7658fa91369e8a5982b9bb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 02:32:45 +0000 (11:32 +0900)]
Release version 0.11.1
Changes:
- Add dependency explicitly
Change-Id: I552e71e47d81268af4d82a9b01dbad022dbe89fe
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>