Ilho Kim [Fri, 8 Jul 2022 11:20:42 +0000 (20:20 +0900)]
Implement StepRestoreWgtSymbolicLink
If the uninstallation fails with the bin path removed
recover the wgt symbolic link
Change-Id: If1a4fd95be319fded67bd778f21e9abd2fae512a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 5 Jul 2022 12:37:53 +0000 (21:37 +0900)]
Implement undo RemovePerUserStorageDirectories
If the uninstallation is failed after this step,
there is a problem that the user directory remains erased
so recreate the user directories removed by this step
Change-Id: Ib776b43fd7d9e313c1bb1d3251a9a89cce6e27f8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 24 Jun 2022 07:09:28 +0000 (16:09 +0900)]
Release version 0.15.24
Changes:
- Fix light user prefix
Change-Id: I137539652fe1c5d57fb27e30eff4d76a480b7221
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 24 Jun 2022 06:46:43 +0000 (15:46 +0900)]
Fix light user prefix
Modify prefix lightuser
Related change:
[wgt-manifest-handlers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-manifest-handlers/+/276765/
Change-Id: Ifd99c417d9a2cde2a5580ca22335ad3633d7966a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 30 May 2022 04:43:51 +0000 (13:43 +0900)]
Release version 0.15.23
Changes:
- Fix crash when failed to read recovery file
Change-Id: If25524d15e2776f82cef7b252c1314726ea518a1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 26 May 2022 08:02:06 +0000 (17:02 +0900)]
Fix crash when failed to read recovery file
Change-Id: I29786ba284d1d413afc975e03d234f620d333b01
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 26 May 2022 02:27:08 +0000 (11:27 +0900)]
Release version 0.15.22
Changes:
- Remove package for smoke test from 64bit architecture
Change-Id: I10eed26f0e892fcab417413f235807c2a7bd8dbf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 26 May 2022 01:19:48 +0000 (10:19 +0900)]
Remove package for smoke test from 64bit architecture
Change-Id: Ia4d167e4adc878e1874d807ea123832df03cb2ee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 22 Apr 2022 06:39:51 +0000 (15:39 +0900)]
Release version 0.15.21
Changes:
- Implement lightuser feature
Change-Id: I7449d40202e79f7384e14d3f35b9bf3946062ed3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 21 Apr 2022 07:40:32 +0000 (16:40 +0900)]
Implement lightuser feature
Change-Id: Ic0d3223a51e147ad7f6eb1292decc2b4d50e68c6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Nov 2021 09:16:22 +0000 (18:16 +0900)]
Release version 0.15.20
Changes:
- Remove setting installer index
Change-Id: I85d9f5fae0cf1b90022fea896ddbceb92220fc9c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 16 Jun 2021 06:10:54 +0000 (15:10 +0900)]
Remove setting installer index
InstallerFactory doesn't need to set index.
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/259860
Change-Id: I41e66efef3b45362ecdaa1120f42ef3ae0a2eaac
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 29 Jun 2021 06:14:52 +0000 (15:14 +0900)]
Release version 0.15.19
Changes:
- Change default symlink of service application
Change-Id: I90f54ba445d590a9c829f14088c3b4ccfc7225a6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
DongHyun Song [Fri, 18 Jun 2021 00:29:09 +0000 (09:29 +0900)]
Change default symlink of service application
[Before]
wrt-service-launcher: 'type' attribute exists
wrt-service: default
[After]
wrt-service-launcher: default
wrt-service: 'type' is 'standalone'
This will apply thread model of service application as default
for all profile.
Change-Id: I4102cf529bd341793ffed29b218ae697157665ed
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Ilho Kim [Thu, 10 Jun 2021 09:46:44 +0000 (18:46 +0900)]
Release version 0.15.18
Changes:
- Change wgt archive info implementation
- Call db create functions before starting smoke test
- Change class declaration
Change-Id: I01a6e953f4007dd6a5ac8e00cba5257d0b078341
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 3 Jun 2021 05:15:55 +0000 (14:15 +0900)]
Change class declaration
- Change private enum class to protected one.
- Declare GenerateApplicationCommonXml to virtual one.
Change-Id: I90aa8f537567106e8915f621cba17031fb9618fe
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 7 Apr 2021 07:23:23 +0000 (16:23 +0900)]
Call db create functions before starting smoke test
Database will not be created automatically.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/256566/
Change-Id: I40b4542b06c69ce3b80f37c81660dfdbe43c3eed
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 6 Apr 2021 08:37:14 +0000 (17:37 +0900)]
Change wgt archive info implementation
- Implement ExtractPackageArchive().
- Use RemoveTmpDir() to remove temporary directory.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/256526
Change-Id: Ia314458b708b728a9542a4a18715e93616f5ce6c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 28 May 2021 07:05:24 +0000 (16:05 +0900)]
Release version 0.15.17
Changes:
- Support legacy web service apps
- Export wgt_archive_info.h for further usage
Change-Id: I3a8c981bae0c0b8d98771cf530ecc108730c237e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
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>