platform/core/appfw/unified-backend.git
4 years agoFix spec file 34/238334/1
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>
4 years agoMove unit test location 88/238088/1
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>
4 years agoChange filepath 35/237935/1 accepted/tizen/unified/20200709.030129 submit/tizen/20200707.063722 submit/tizen/20200708.012148 submit/tizen/20200709.004750
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>
4 years agoImplement unified recovery feature 02/234402/3
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>
4 years agoAdd unit test for unified installer 03/231103/4
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>
4 years agoFix Recovery mode tests 84/232684/1
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>
4 years agoFix minor coding rule
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>
4 years agoAdd smoke tests for unified-installer
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>
4 years agoAdd backend for pkgmgr-server
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>
4 years agoRemove InstallerFactory, InstallerRunner
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>
4 years agoAdjust codes for multi-request
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>
4 years agoMake InstallerFactory as interface
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>
4 years agoAdd unified-installer library
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>
5 years agoFix to use new installer methods
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>
5 years agoInitial commit
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>