summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sangyoon Jang [Wed, 16 Jun 2021 06:15:15 +0000 (15:15 +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: Ie2295b7a5d2f59b308d2bce16b895633f2f1c1ac
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 17 Jun 2021 07:22:06 +0000 (16:22 +0900)]
Release version 0.0.10
Changes:
- Add codes for handling rpk pkg
Change-Id: I59f2e449339f19ea5832a5138b03463c5f0476dc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 13 May 2021 04:24:15 +0000 (13:24 +0900)]
Add codes for handling rpk pkg
Change-Id: If3bc5d87d7a2dd4ae56ee00ad278b2e42b4ff127
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 15 Jan 2021 01:06:21 +0000 (10:06 +0900)]
Release version 0.0.9
Changes:
- Add codes to treat rpm pkg as tpk
- Fix memory leak
Change-Id: I5720f4fe614d6ecf9cfba7a5d46d03fd24dedadf
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 12 Jan 2021 05:20:41 +0000 (14:20 +0900)]
Fix memory leak
Related changes:
[app-installers] : https://review.tizen.org/gerrit/251120
Change-Id: Ie5d74662f6ed8a5f911bbc2bc90bd78c007b2cc3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 8 Jan 2021 04:31:16 +0000 (13:31 +0900)]
Add codes to treat rpm pkg as tpk
Change-Id: Icd9f544602c00e0d4dfa6c4d68db04a9f071b003
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 1 Dec 2020 00:04:17 +0000 (09:04 +0900)]
Release version 0.0.8
Changes:
- Fix unit test's failiure
Change-Id: I1099b0789f715748329c5a171f316778e7251c8a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 30 Nov 2020 03:04:51 +0000 (12:04 +0900)]
Fix unit test's failiure
In app-installers' admin user check logic, if gum_user_get_sync() return nullptr
then creation of PkgmgrInterface is failed. this patch change the mock function
of gum_user_get_sync() to return AdminUser's information
Change-Id: Iab03024f597830b32d202398cc2c297ce9a5e2d0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 8 Sep 2020 02:30:38 +0000 (11:30 +0900)]
Release version 0.0.7
Changes:
- Add checking routine after getting pkg type
- Fix unit test
Change-Id: Ic18b27e0259c13b2f0f5943ee5ce1aeca6b199be
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 28 Aug 2020 09:26:32 +0000 (18:26 +0900)]
Fix unit test
- Supress build warning.
- Add negative unittest for identifying pkg type.
Change-Id: Ib679b47ab5196675bb0271cb068f3bbfed68d9f1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 18 Aug 2020 10:55:47 +0000 (19:55 +0900)]
Add checking routine after getting pkg type
Installer may failed to get pkg type with given input
Change-Id: I38921f4ebf3e19eac4ff7679e26a4cef644762b2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 24 Aug 2020 06:53:07 +0000 (15:53 +0900)]
Release version 0.0.6
Changes:
- Adjust a changed smoke utils header
Change-Id: Ie4dbb5a9a15dc6b184aeb2f7a06248767cb0475e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 24 Aug 2020 03:48:49 +0000 (12:48 +0900)]
Adjust a changed smoke utils header
Change-Id: Ieacb387da8faccd8af4fb266f639f21cb937a4a9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 21 Aug 2020 07:24:20 +0000 (16:24 +0900)]
Release version 0.0.5
Changes:
- Combine try-catch statement in unified recovery test
Change-Id: I65311118c7dbba2b992c95032c045b8a9c797c94
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 18 Aug 2020 08:34:04 +0000 (17:34 +0900)]
Combine try-catch statement in unified recovery test
Change-Id: I4aaf7b3f8c82a0830a1d6049615041bd372c05a8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 14 Aug 2020 07:43:25 +0000 (16:43 +0900)]
Release version 0.0.4
Changes:
- Extract functions for refactoring
- Add unit test structure
- Fix coding rule
- Add try-catch statements for error handling
- Add unit tests and mocks for it
- Implement dependency checker test
- Add error handling logic for unified installer factory
- Add recovery test tool
Change-Id: I01ec6a74117598a6371e40d521e2284551d0a1f2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 2 Jun 2020 02:09:44 +0000 (11:09 +0900)]
Add recovery test tool
Change-Id: I1693e591d771d8118ee142476774be1dfc33a861
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 5 Jun 2020 05:52:47 +0000 (14:52 +0900)]
Add error handling logic for unified installer factory
Installer type may not be determined even GetPkgTypeFromFilename has done.
Change-Id: Ie1781bf3030e22484dd1222ebb96cfcbdcf37616
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Wed, 1 Jul 2020 09:39:26 +0000 (18:39 +0900)]
Implement dependency checker test
Change-Id: Ifc11f9bc243e53b6e29f47ff8bdb205318cb7dc5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 27 Jul 2020 02:20:51 +0000 (11:20 +0900)]
Add unit tests and mocks for it
Change-Id: I79018783e33ca40beadda6af43ac1d613c36482a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 30 Jul 2020 07:22:05 +0000 (16:22 +0900)]
Add try-catch statements for error handling
Change-Id: Ia2145de1f60400959e2c840c4d22eb9ece0996a1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 31 Jul 2020 06:29:47 +0000 (15:29 +0900)]
Fix coding rule
Change-Id: Ie37e7a6ff8d9a59c1fcafe5be0b8c92b1350ee70
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 23 Jul 2020 04:45:14 +0000 (13:45 +0900)]
Add unit test structure
Change-Id: I038eca552db47235305341d0aadb9b6c353daad5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 9 Jul 2020 23:40:05 +0000 (08:40 +0900)]
Extract functions for refactoring
Change-Id: I673b23b81661784effe2377c3fa46186e6ec07ea
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 13 Jul 2020 02:45:49 +0000 (11:45 +0900)]
Release version 0.0.3
Changes:
- Initial Release
Change-Id: I9c9c0dde36cb1e0824857d3a73d020b76516f099
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 13 Jul 2020 02:20:39 +0000 (11:20 +0900)]
Fix spec file
unified-backend rpm should not contain test files
Change-Id: Ic604cce4a09dc513e1c90907c850ce7a0024491c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Wed, 8 Jul 2020 08:43:01 +0000 (17:43 +0900)]
Move unit test location
Change-Id: I59c9a77767deddecd230efb378108c21dc2c286c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 6 Jul 2020 23:49:33 +0000 (08:49 +0900)]
Change filepath
Related changes:
[app-installers] : https://review.tizen.org/gerrit/237608
Change-Id: I7f42d574065a6874a0d3a09bfed17ee8daa603a1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 26 May 2020 06:18:10 +0000 (15:18 +0900)]
Implement unified recovery feature
Recovery will be performed for package to be installed together.
Even if certain package's operation has finished, It will be revoked
if other package operation has failed which are requested at once.
In addition, Unified backend will handle recovery for single package.
Change-Id: Ia540a4a92eb53d5b3a97e497165058ab129ee0e5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 13 Apr 2020 08:01:12 +0000 (17:01 +0900)]
Add unit test for unified installer
[Added test list]
-InstallAndROUpdate : test Install and ReadonlyUpdateInstall case
-Uninstall_Single : test Uninstall single package case
-Uninstall_Double : test Uninstall double package case
-Uninstall_Triple : test Uninstall triple package case
-UninstallAndROUpdateUninstall : test Uninstall and ReadonlyUpdateUninstall case
-InstallAndROUpdate_Rollback : test rollback Install and ReadonlyUpdateInstall case
Change-Id: Id1f4120776c9d02a0bce8a37b5c2cc0f7ac7f472
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 7 May 2020 06:34:47 +0000 (15:34 +0900)]
Fix Recovery mode tests
Change-Id: Iba23c26bc0856b04706204b4062efee17e1ed485
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 2 Apr 2020 06:41:54 +0000 (15:41 +0900)]
Fix minor coding rule
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 24 Mar 2020 05:40:52 +0000 (14:40 +0900)]
Add smoke tests for unified-installer
Change-Id: I6bb29973e19480c7e91f20d11e3b4b9edf1d0d87
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 25 Feb 2020 03:48:58 +0000 (12:48 +0900)]
Add backend for pkgmgr-server
Change-Id: Iaf3d239622a214693aa639d0933ccf175dc2ff2e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 6 Feb 2020 11:14:59 +0000 (20:14 +0900)]
Remove InstallerFactory, InstallerRunner
These classes is moved to app-installer library.
Change-Id: I0a22d5b04826b53f7bec946951632daf7c02bf42
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Feb 2020 10:49:56 +0000 (19:49 +0900)]
Adjust codes for multi-request
Change-Id: I91d9ef5e4925817650e0f6d5474904541f981cac
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 22 Jan 2020 09:39:59 +0000 (18:39 +0900)]
Make InstallerFactory as interface
Someone wants to using customized installer should implements
InstallerFactory interface.
Change-Id: I5115c603ce424c9e226469127052af0cdde3f24b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 22 Jan 2020 07:21:10 +0000 (16:21 +0900)]
Add unified-installer library
Added classes:
- InstallerRunner
- InstallerFactory
Change-Id: I6e205b7d9e1e9c1e378fb3b54f4d356a18f7cc1c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 6 Nov 2019 11:59:39 +0000 (20:59 +0900)]
Fix to use new installer methods
Use AppInstaller::Process(), Undo(), Cleanup instead of Run().
Add code for handling multiple request.
Change-Id: I0bc191a43a389804f6d623327da95d825675234a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 5 Nov 2019 05:59:50 +0000 (14:59 +0900)]
Initial commit
Change-Id: I9e3ef2369648a15913e0a7db959bddf76d69b4c4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>