Sangyoon Jang [Wed, 31 Jan 2024 01:06:23 +0000 (10:06 +0900)]
Fix std=c++14 for gtest 1.14.0 version upgrade
Change-Id: I0e25ddf941cea4018733d76518ef4c8b9ed3a54e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 30 Jan 2024 05:23:11 +0000 (14:23 +0900)]
Release version 0.15.35
Changes:
- Fix static analysis issue
Change-Id: Ie7243b7ead7efe60d82c3542164f925be0ec9b4c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 29 Jan 2024 10:34:55 +0000 (19:34 +0900)]
Fix static analysis issue
Avoid sign extension
Use of auto that causes a copy
Change-Id: Ieaa6d37d8cdc0f7c8e9d2f793b32372c0cf2934e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
ilho kim [Fri, 20 Oct 2023 10:18:59 +0000 (19:18 +0900)]
Release version 0.15.34
Changes:
- Remove code that may fall info infinite loop
Change-Id: I3167436182fdadf1f6f4f431c1abc38472d0f49b
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 20 Oct 2023 06:24:46 +0000 (15:24 +0900)]
Remove code that may fall info infinite loop
Change-Id: I8ebbac18e15ec68c0dc215ec619527b5aa93fbca
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 11 Aug 2023 02:10:12 +0000 (11:10 +0900)]
Release version 0.15.33
Changes:
- Fix static analysis issue
Change-Id: Ida3aaecd1dcc0206fc80ea31a9fcf23534011f43
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 10 Aug 2023 05:30:20 +0000 (14:30 +0900)]
Fix static analysis issue
Check the return value of glob()
Change-Id: I7f526ca453ccdde105d44193914833f0ec512868
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 4 Aug 2023 04:17:27 +0000 (13:17 +0900)]
Release version 0.15.32
Changes:
- Fix static analysis issue
Change-Id: I30a2dcd1b07b10b3f40afe012fbb4adc3bd51b40
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 3 Aug 2023 02:24:55 +0000 (11:24 +0900)]
Fix static analysis issue
'std::time_t' to 'long' may or may not override sign-bit depending on
size of implementation defined type
which may cause unexpected results on porting to different platforms
Change-Id: Ie4cfdc8f9e22e865d98b2b3ad2b918705f8beb5e
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 23 Mar 2023 03:38:39 +0000 (12:38 +0900)]
Release version 0.15.31
Changes:
- Fix static analysis issues
Change-Id: I2870c444bb7c4a6626dfa73b54e586c3bcfabe1a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 23 Mar 2023 00:13:41 +0000 (09:13 +0900)]
Fix static analysis issues
Change-Id: Iba46bb2ddb6359bf54f0a15e1c4e922b87a3c421
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho kim [Fri, 13 Jan 2023 07:53:58 +0000 (16:53 +0900)]
Release version 0.15.30
Changes:
- Change backup logic in mount update
- Move StepWgtPatchStorageDirectories in the right order
- Add routine to check file status
Change-Id: Ibcf0dc872eda49280aa9179369d4cca642d98804
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 12 Jan 2023 06:47:03 +0000 (15:47 +0900)]
Add routine to check file status
Change-Id: I738d4ab97fdda67111ad8316ec4fe6e04b856cef
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 12 Jan 2023 11:50:33 +0000 (20:50 +0900)]
Move StepWgtPatchStorageDirectories in the right order
Change-Id: I15f0d9053f40bf11495665cbc29eac687b7a1e76
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 10 Jan 2023 12:18:07 +0000 (21:18 +0900)]
Change backup logic in mount update
If the file to be backed up is a hierarchical structure, the move
operation is failed and the copy operation is executed
As a result, the ownership and permission and smack label disappears
in this case, Move the top directory to preserve it
Change-Id: Ife987fd4bd617a623df6dd553e797a8fb57d5530
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 10 Jan 2023 04:32:24 +0000 (13:32 +0900)]
Release version 0.15.29
Changes:
- Give an exec label,capability to the smoke test tool
- Fix ManifestDirectUpdate test
- Call db create functions before starting smoke test
- Run installer with subprocess in smoke test
- Supports the "remove_plugin_steps" option in smoke test
- Add hybrid smoke test helper
Change-Id: I0fcf58685077ab2ee77c01459739afd230a7d223
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 5 Jan 2023 12:44:52 +0000 (21:44 +0900)]
Add hybrid smoke test helper
This tool is used to execute installer with crash or plugin removed in
hybrid smoke test
Change-Id: Ic461c8faadf15753e2c0e2a9490bbf3340fa9bcc
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 5 Jan 2023 10:58:16 +0000 (19:58 +0900)]
Supports the "remove_plugin_steps" option in smoke test
This option is for prevent the excution of plugin that can affect the test
Change-Id: I759cadb77421e85b9c8beed5c50f3396614358b2
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 5 Jan 2023 10:55:14 +0000 (19:55 +0900)]
Run installer with subprocess in smoke test
The main process becomes heavy because the extensive smoke test
generates and executes a large amount of installer instance. To lighten
the main process, execute it as subprocess
Change-Id: Ie53606a3ce61bc2fe097e7a3d8e5badb02a2509e
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 5 Jan 2023 09:26:45 +0000 (18:26 +0900)]
Call db create functions before starting smoke test
Database will not be created automatically.
Change-Id: Ia374a7884649694c2fc8afd41f38b7b09eb876ec
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 5 Jan 2023 07:39:51 +0000 (16:39 +0900)]
Fix ManifestDirectUpdate test
If the update is performed quickly
The installed time may be the same
sleep 1 second before ManifestDirectUpdate
Change-Id: Idea086d66cb7627975d623ecf66c8deeaf0bd05d
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 5 Jan 2023 07:22:59 +0000 (16:22 +0900)]
Give an exec label,capability to the smoke test tool
The installer is executed with System::Privileged label and mac_override
Give an exec label and capability
so that the smoke test tool is executed with the same label
Change-Id: I6e756f231c7b93c21b884ca944ead46d324cf83f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Sep 2022 06:29:18 +0000 (15:29 +0900)]
Release version 0.15.28
Changes:
- Fix static analysis issue
Change-Id: I1799ced2e7db107e670bff1154b3a4bab5dddc5e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Sep 2022 05:13:39 +0000 (14:13 +0900)]
Fix static analysis issue
- Null pointer dereference
Change-Id: Ie3dda3872cf472d9c3a76a4b1f7738d6725bb5c6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 20 Sep 2022 06:08:19 +0000 (15:08 +0900)]
Release version 0.15.27
Changes:
- Fix static analysis issue
Change-Id: I8b5da545471ce0856de6d6aef1f19740797b2cb8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 19 Sep 2022 08:14:43 +0000 (17:14 +0900)]
Fix static analysis issue
Change-Id: I010cb0d5dd7f41c56f10db975db72b53e8b8c84d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Wed, 14 Sep 2022 07:21:57 +0000 (16:21 +0900)]
Release version 0.15.26
Changes:
- Try to remove the location of the extract entry
Change-Id: I8dfffbe625810b379ed27b5142829464e4ea382c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 13 Sep 2022 02:22:43 +0000 (11:22 +0900)]
Try to remove the location of the extract entry
Because MountInstall is performed when there is no manifest
a file may exist in the extract entry path, so remove that
Related:
[app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/281054/
Change-Id: I26e93e345779df832b421758f99d9600aa5bde3a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 24 Aug 2022 08:57:37 +0000 (17:57 +0900)]
Release version 0.15.25
Changes:
- Implement undo RemovePerUserStorageDirectories
- Implement StepRestoreWgtSymbolicLink
Change-Id: Ib329dfca791c3b196297ef9cec2cb81bf57588d5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
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>