platform/core/appfw/slp-pkgmgr.git
6 days agoRelease version 0.20.8 14/309914/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240419.110905 accepted/tizen/unified/x/20240422.045725
Ilho Kim [Thu, 18 Apr 2024 06:52:08 +0000 (15:52 +0900)]
Release version 0.20.8

Changes:
 - Fix print format for ssize_t

Change-Id: Ic1567f2d4ccead06872a8db3f7a82f5a36b67d26
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 days agoFix print format for ssize_t 13/309913/1
Ilho Kim [Thu, 18 Apr 2024 06:51:04 +0000 (15:51 +0900)]
Fix print format for ssize_t

Change-Id: I29c502a6a5bfe97ad7237f4632ccdc52fa190e87
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 days agoRelease version 0.20.7 01/309901/3
Ilho Kim [Thu, 18 Apr 2024 04:25:54 +0000 (13:25 +0900)]
Release version 0.20.7

Changes:
 - Fix pkgmgr_client_remove_listen_status
 - Check signal agent's operation success

Change-Id: Id3e5947d977c30ecd9916e15f0eb10a84f56ba53
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 days agoCheck signal agent's operation success 00/309900/4
Ilho Kim [Thu, 18 Apr 2024 04:06:13 +0000 (13:06 +0900)]
Check signal agent's operation success

Change-Id: I3997edf0a5b890ae85daa6433848b8d22869dd55
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 days agoFix pkgmgr_client_remove_listen_status 31/309831/2
Ilho Kim [Wed, 17 Apr 2024 05:40:03 +0000 (14:40 +0900)]
Fix pkgmgr_client_remove_listen_status

Change-Id: Ib20d216f90a74c2e376f84623b6ff4615e5f98d6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
8 days agoRelease version 0.20.6 35/309735/1 accepted/tizen/unified/20240417.151534 accepted/tizen/unified/x/20240419.130254
Ilho Kim [Tue, 16 Apr 2024 06:44:16 +0000 (15:44 +0900)]
Release version 0.20.6

Changes:
 - Fix signal name during send signal
 - Implement pkgmgr_client_set_status_type
 - Impelement pkgmgr_client_remove_listen_status

Change-Id: I51c8871a7e8c3d3304a0779562e628245ea2dc6f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
8 days agoImpelement pkgmgr_client_remove_listen_status 17/309717/1
Ilho Kim [Tue, 16 Apr 2024 01:23:36 +0000 (10:23 +0900)]
Impelement pkgmgr_client_remove_listen_status

Change-Id: Iaced471eb6c22a5f64a95d1708b48368724899e0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
8 days agoImplement pkgmgr_client_set_status_type 16/309716/1
Ilho Kim [Mon, 15 Apr 2024 03:03:22 +0000 (12:03 +0900)]
Implement pkgmgr_client_set_status_type

Change-Id: I0808d8d4bbefbfe142c0d9f7c419f7933e2930f3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
8 days agoFix signal name during send signal 15/309715/1
Ilho Kim [Tue, 16 Apr 2024 01:38:43 +0000 (10:38 +0900)]
Fix signal name during send signal

Change-Id: I202efc3fd2221af9ce44e771204e3def53fef221
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
12 days agoRelease version 0.20.5 73/309573/1 accepted/tizen/unified/20240413.101709 accepted/tizen/unified/x/20240415.014033
Ilho Kim [Fri, 12 Apr 2024 06:51:49 +0000 (15:51 +0900)]
Release version 0.20.5

Changes:
 - Fix bug for pkgmgr_client_usr_register_pkg_update_info
 - Listen signal before connecting to the server
 - Apply try-catch where exception can be occured
 - Apply try-catch where exception can be occured
 - Implement unimplemented APIs

Change-Id: I91be5b8062a1f05fa2223a383e425f76ab0ec557
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
12 days agoImplement unimplemented APIs 05/309505/4
Ilho Kim [Thu, 11 Apr 2024 12:39:36 +0000 (21:39 +0900)]
Implement unimplemented APIs

pkgmgr_client_listen_pkg_upgrade_status
pkgmgr_installer_send_pkg_upgrade_signal
pkgmgr_installer_set_privilege_level
pkgmgr_installer_info_get_privilege_level
pkgmgr_installer_info_get_debug_mode
pkgmgr_installer_info_get_skip_optimization
pkgmgr_installer_error_to_string
pkgmgr_installer_set_is_upgrade

Change-Id: Iad57673b461980c3f59aea51358c37f2b3d68e12
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
12 days agoApply try-catch where exception can be occured 32/309532/2
Ilho Kim [Fri, 12 Apr 2024 03:44:21 +0000 (12:44 +0900)]
Apply try-catch where exception can be occured

Change-Id: Iff694596a649b6e7ddffdb0d7e8b999c057dacbc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 days agoApply try-catch where exception can be occured 89/309489/1
Ilho Kim [Thu, 11 Apr 2024 08:45:56 +0000 (17:45 +0900)]
Apply try-catch where exception can be occured

Change-Id: Ic4fc7bcea0ce79a68afe97607bd66c821b87a6c0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 days agoListen signal before connecting to the server 70/309470/3
Ilho Kim [Thu, 11 Apr 2024 06:33:43 +0000 (15:33 +0900)]
Listen signal before connecting to the server

Listening signal can take a long time

Change-Id: Ib84d991dc44328aecfd4b7855d2443b0f66c88b5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 days agoFix bug for pkgmgr_client_usr_register_pkg_update_info 76/309476/1
Inkyun Kil [Thu, 11 Apr 2024 07:27:11 +0000 (16:27 +0900)]
Fix bug for pkgmgr_client_usr_register_pkg_update_info

Change-Id: Ie63f65ffe7e7488ae8c94fb8fac6fceed95edcf3
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
2 weeks agoRelease version 0.20.4 72/309372/1 accepted/tizen/unified/20240410.084251 accepted/tizen/unified/x/20240411.011830
Ilho Kim [Tue, 9 Apr 2024 07:26:48 +0000 (16:26 +0900)]
Release version 0.20.4

Changes:
 - Revert "Remove TIDL for signal transmission"
 - Revert "Remove app event dependency"
 - Add TIDL code for signal transmisstion
 - Revert "Remove aul dependency"
 - Unblock the unit test execution

Change-Id: I69766ff6413b385535ec4174c9c7c1be1778aa3e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 weeks agoUnblock the unit test execution 38/309038/2
Ilho Kim [Thu, 4 Apr 2024 05:58:02 +0000 (14:58 +0900)]
Unblock the unit test execution

Change-Id: I2566339b65956a908150c3d87dee550525a7f865
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 weeks agoRevert "Remove aul dependency" 30/309030/2
Ilho Kim [Thu, 4 Apr 2024 02:19:58 +0000 (11:19 +0900)]
Revert "Remove aul dependency"

This reverts commit fdb5c4c04d299606495998c2eb4009317ffc023b.

Change-Id: Icbf22cf335c54e6038e21056b27a6d8ba6aa08b8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 weeks agoAdd TIDL code for signal transmisstion 29/309029/2
Ilho Kim [Thu, 4 Apr 2024 02:18:41 +0000 (11:18 +0900)]
Add TIDL code for signal transmisstion

Change-Id: Idc6cff23a044c07d06641662e663a3f5d4c667b5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 weeks agoRevert "Remove app event dependency" 28/309028/1
Ilho Kim [Thu, 4 Apr 2024 02:18:28 +0000 (11:18 +0900)]
Revert "Remove app event dependency"

This reverts following commits
 - 441d34a89b31dd19ab12688a4f802928c8e7f789
 - 0edaf0178d64a07fd2448627e02f9ea400c432d4

Change-Id: I071e17ba25493066e37d38da5e9c07563fac4642
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 weeks agoRevert "Remove TIDL for signal transmission" 21/309021/2
Ilho Kim [Wed, 3 Apr 2024 11:51:06 +0000 (20:51 +0900)]
Revert "Remove TIDL for signal transmission"

This reverts commit 2f051a45019188ecafafc06d440b81dcabb3055e.

Change-Id: Id34a709c9b5924cdf9d68bdacb10a3310e01102f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRelease version 0.20.3 97/308997/1 accepted/tizen/unified/20240404.021408 accepted/tizen/unified/x/20240404.062128
Hwankyu Jhun [Wed, 3 Apr 2024 09:41:57 +0000 (18:41 +0900)]
Release version 0.20.3

Changes:
 - Use socket activation with TIDL

Change-Id: Icb5acad26e1efda3d9f44210180d12b387644786
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoUse socket activation with TIDL 67/308967/1
Hwankyu Jhun [Wed, 3 Apr 2024 06:48:47 +0000 (15:48 +0900)]
Use socket activation with TIDL

TIDL supports socket activation. The process name should have "d::" prefix.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-server/+/308961/

Change-Id: I6db0153364592e6e796a2d1a32982efd0bcb7e57
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 weeks agoRelease version 0.20.2 81/308881/1 accepted/tizen/unified/20240403.095040
Ilho Kim [Tue, 2 Apr 2024 07:04:45 +0000 (16:04 +0900)]
Release version 0.20.2

Changes:
 - Remove tidl dependency
 - Remove unnecessary log
 - Remove app event dependency
 - Use dbus activation for server execution
 - Fix pkgmgr_client_usr_clear_cache_dir
 - Block the gcov option
 - Revert "Fix pkgmgr_client_usr_clear_cache_dir"
 - Revert "Use dbus activation for server execution"

Change-Id: I466e8e8c3d9a7d1874047920feb63c54452b93af
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRevert "Use dbus activation for server execution" 80/308880/2
ilho kim [Tue, 2 Apr 2024 06:55:29 +0000 (06:55 +0000)]
Revert "Use dbus activation for server execution"

This reverts commit 1bc4ce4da97baac3a36d585b199ae5f4fc5cfa52.

Change-Id: If7d8f5fdc8b3e8d7390b7b41e539912355f6f3d2

3 weeks agoRevert "Fix pkgmgr_client_usr_clear_cache_dir" 79/308879/2
ilho kim [Tue, 2 Apr 2024 06:54:50 +0000 (06:54 +0000)]
Revert "Fix pkgmgr_client_usr_clear_cache_dir"

This reverts commit 08ecb360d99c083b819d6be8d060b4e15435e1eb.

Change-Id: Ib4a6c56878aaed9df17d7f5fb5eab38b345b3c2f

3 weeks agoBlock the gcov option 28/308828/1 accepted/tizen/unified/20240402.151304 accepted/tizen/unified/20240402.163552 accepted/tizen/unified/x/20240403.102946
Ilho Kim [Mon, 1 Apr 2024 23:59:26 +0000 (08:59 +0900)]
Block the gcov option

unit test is blocked and an error occurs during build with gcov option
the unit test will be unblocked after applying socket activation

Change-Id: I698218b1964dec8b6cd4f978fda096d5aec1d902
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoFix pkgmgr_client_usr_clear_cache_dir 64/308764/1 accepted/tizen/unified/20240401.021554 accepted/tizen/unified/x/20240401.013218
Ilho Kim [Sun, 31 Mar 2024 05:08:15 +0000 (14:08 +0900)]
Fix pkgmgr_client_usr_clear_cache_dir

Change-Id: I73fbcf79d9d4d20d19df168f3680aab7666eeb93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoUse dbus activation for server execution 63/308763/1
Ilho Kim [Sun, 31 Mar 2024 01:26:48 +0000 (10:26 +0900)]
Use dbus activation for server execution

Change-Id: Ia5274b1936d1a5bfc3b52c8f0fb5033b7480e16c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRemove app event dependency 85/308685/1
Ilho Kim [Fri, 29 Mar 2024 01:06:48 +0000 (10:06 +0900)]
Remove app event dependency

Change-Id: Ibf4cb57c8dabae1c368918c6147ee152051a0098
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRemove app event dependency 82/308682/1
Ilho Kim [Fri, 29 Mar 2024 00:07:49 +0000 (09:07 +0900)]
Remove app event dependency

Being dependent on app event makes dependent on app-core-ui,efl
it causes a lack of capacity in the headless image

Change-Id: Ie8135295d59d1bb9935648a9d8fdeb5dc3e78f39
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRemove unnecessary log
Ilho Kim [Thu, 28 Mar 2024 13:34:35 +0000 (22:34 +0900)]
Remove unnecessary log

Change-Id: Ic3ea0b539027cba222e49cb3327aeb72deed3375
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRemove tidl dependency
Ilho Kim [Thu, 28 Mar 2024 13:15:48 +0000 (22:15 +0900)]
Remove tidl dependency

Change-Id: I80a7d008c563496db6108a73e1ec341eefe47224
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRelease version 0.20.1 29/308629/1
Ilho Kim [Thu, 28 Mar 2024 07:57:26 +0000 (16:57 +0900)]
Release version 0.20.1

Changes:
 - Remove aul dependency

Change-Id: I4468fc26a1a5d01d7b439ecff1c95b674cf2d115
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRemove aul dependency 27/308627/1
Ilho Kim [Thu, 28 Mar 2024 07:52:54 +0000 (16:52 +0900)]
Remove aul dependency

Change-Id: Ic668505bb464ae9fe25cee0aa588a344dc704e2f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRelease version 0.20.0 16/308616/3
Ilho Kim [Thu, 28 Mar 2024 06:54:54 +0000 (15:54 +0900)]
Release version 0.20.0

Changes:
 - Refactor slp-pkgmgr with tidl
 - Remove TIDL for signal transmission

Change-Id: I7448e279301f5bd08ac49e97195575a6b0bd6fc0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRemove TIDL for signal transmission 11/308611/1
Ilho Kim [Wed, 27 Mar 2024 10:58:28 +0000 (19:58 +0900)]
Remove TIDL for signal transmission

Change-Id: I0878a9560fc9ba954a6d3ad3ade6fa3b6bf8d962
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 weeks agoRefactor slp-pkgmgr with tidl 10/308610/1
Ilho Kim [Wed, 27 Mar 2024 01:14:27 +0000 (10:14 +0900)]
Refactor slp-pkgmgr with tidl

Change-Id: I54b9824ed7fe3fa08661e368a30208eb04e950e3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 months agoRelease version 0.15.0 13/303013/1 accepted/tizen_unified_riscv accepted/tizen/unified/20231219.160412 accepted/tizen/unified/riscv/20231226.211743
Sangyoon Jang [Tue, 19 Dec 2023 00:43:06 +0000 (09:43 +0900)]
Release version 0.15.0

Changes:
 - Remove unused code
 - Implement pkg upgrade signal

Change-Id: I0494df439e84a594cbb2d8e088d45502f9bc3e53
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoImplement pkg upgrade signal 73/300373/7
Sangyoon Jang [Mon, 23 Oct 2023 06:34:50 +0000 (15:34 +0900)]
Implement pkg upgrade signal

pkg_upgrade sends pkg upgrade signal.

Change-Id: I9c9e32b3762c09cfd2f6c70d4d7fd30019eecf27
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 months agoRemove unused code 85/297285/1
Sangyoon Jang [Wed, 16 Aug 2023 08:27:05 +0000 (17:27 +0900)]
Remove unused code

Change-Id: I1b829bcef8c750408cf7a40f6c55343213c84609
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoRelease version 0.14.2 43/285143/1 accepted/tizen/8.0/unified/20231227.170208
Changgyu Choi [Wed, 7 Dec 2022 00:43:41 +0000 (09:43 +0900)]
Release version 0.14.2

Changes:
 - Add a missing API keyword

Change-Id: Idef3e823737a9bfd92b7bda596ae86fa343f0eda
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
16 months agoAdd a missing API keyword 48/285048/2
Changgyu Choi [Mon, 5 Dec 2022 08:24:01 +0000 (17:24 +0900)]
Add a missing API keyword

Change-Id: Ib6a34b916dc69fe1201cb5a440d6cb68652e20b0
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
16 months agoRelease version 0.14.1 98/284798/1 accepted/tizen/8.0/unified/20231005.093110 accepted/tizen/unified/20221129.172508 tizen_8.0_m2_release
Sangyoon Jang [Mon, 28 Nov 2022 01:39:42 +0000 (10:39 +0900)]
Release version 0.14.1

Changes:
 - Fix pkg detail info

Change-Id: I9e89579fe821ff6c519d0e104b87726c34f9685c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoFix pkg detail info 54/284754/1
Sangyoon Jang [Fri, 25 Nov 2022 06:12:04 +0000 (15:12 +0900)]
Fix pkg detail info

Fix same as pkgmgr-info.

Change-Id: I05a1441bc1230f83b4b9f10aba0abf664145e5b6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
17 months agoRelease version 0.14.0 93/283693/1 accepted/tizen/unified/20221104.082309
Changgyu Choi [Wed, 2 Nov 2022 02:20:50 +0000 (11:20 +0900)]
Release version 0.14.0

Changes:
 - Add a new API

Change-Id: Icbb373f6da08ec04e9889a6951c2a2a09da61a15
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
17 months agoAdd a new API 00/283400/2
Changgyu Choi [Wed, 26 Oct 2022 02:37:24 +0000 (11:37 +0900)]
Add a new API

Adds:
 - pkgmgr_client_clear_user_data_with_path()

Change-Id: I30480116398a015605f906209352eac338316a94
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
22 months agoRelease version 0.13.5 48/275848/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.061341 accepted/tizen/7.0/unified/hotfix/20221116.105051 accepted/tizen/unified/20220607.135044 submit/tizen/20220603.042915 tizen_7.0_m2_release
Sangyoon Jang [Fri, 3 Jun 2022 04:11:01 +0000 (13:11 +0900)]
Release version 0.13.5

Changes:
 - Fix signal agent

Change-Id: I189bdd6df54814b07b8f6be915c2b63ba8b531eb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoFix signal agent 92/275692/1
Sangyoon Jang [Mon, 30 May 2022 08:33:17 +0000 (17:33 +0900)]
Fix signal agent

Add null-checking before releasing objects.

Change-Id: I6a28bcbd6574a266e75428517e441bf71817407e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.13.4 96/263896/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.100457 accepted/tizen/unified/20210914.085030 submit/tizen/20210913.073852 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Junghyun Yeon [Mon, 13 Sep 2021 07:19:26 +0000 (16:19 +0900)]
Release version 0.13.4

Changes:
 - Fix static analysis

Change-Id: I47e6ffdf19e5e934126409dd4ab93f1c7c2c89fd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoFix static analysis 58/263858/1
Junghyun Yeon [Mon, 13 Sep 2021 00:51:10 +0000 (09:51 +0900)]
Fix static analysis

Change-Id: Id188d8a5e68d4c326ca6b27dc3660c687729048c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.13.3 57/263757/1 accepted/tizen/unified/20210910.120721 submit/tizen/20210909.100919
Ilho Kim [Thu, 9 Sep 2021 10:10:44 +0000 (19:10 +0900)]
Release version 0.13.3

Changes:
 - Fix build warning

Change-Id: I75517206b199f6d85fec7611d5129ce3f2e5cd4b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoFix build warning 27/263727/1
Ilho Kim [Thu, 9 Sep 2021 02:43:53 +0000 (11:43 +0900)]
Fix build warning

path variable can be free
It occurs "discards 'const' qualifier from pointer target type"

Change-Id: I9ae4974ef8777a5674ab63f18fa69200a28b699b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.13.2 68/263668/1 accepted/tizen/unified/20210909.002351 submit/tizen/20210908.013707 submit/tizen/20210908.042905
Ilho Kim [Wed, 8 Sep 2021 01:31:43 +0000 (10:31 +0900)]
Release version 0.13.2

Changes:
 - Add api for resource event path state

Change-Id: I9352a96e34317ada5a12290f1363eb01d1791bb7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd api for resource event path state 04/263604/7
Ilho Kim [Mon, 6 Sep 2021 02:15:22 +0000 (11:15 +0900)]
Add api for resource event path state

Change-Id: I617c2b70e71b939e1f8831507781e9c16702da19
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.13.1 17/263517/1 accepted/tizen/unified/20210908.011424 submit/tizen/20210906.013143 submit/tizen/20210907.080459
Junghyun Yeon [Mon, 6 Sep 2021 01:25:58 +0000 (10:25 +0900)]
Release version 0.13.1

Changes:
 - Handle resource copy signal in signal agent
 - Fix PKGMGR_CLIENT_STATUS_ALL value
 - Change API behavior
 - Change prefix related with resource event
 - Add header file package-manager.h to pkgmgr-installer

Change-Id: I93d3b18d43e8deca75b31ea774af0ee11d9166b5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoAdd header file package-manager.h to pkgmgr-installer 30/263330/3
Ilho Kim [Tue, 31 Aug 2021 11:02:47 +0000 (20:02 +0900)]
Add header file package-manager.h to pkgmgr-installer

Change-Id: Iba70f7747117bcc2514bf0352187c91532de16c9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoChange prefix related with resource event 54/263354/3
Ilho Kim [Wed, 1 Sep 2021 04:22:15 +0000 (13:22 +0900)]
Change prefix related with resource event

'res_copy_' to 'res_'

Change-Id: I95f706283fc6ed57e69555faa6716917c97f1e67
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoChange API behavior 68/263268/3
Junghyun Yeon [Mon, 30 Aug 2021 09:58:34 +0000 (18:58 +0900)]
Change API behavior

Change pkgmgr_client_res_uninstall to synchronous.

Change-Id: I3668140687f5642eed4c1e49b79ca153e451507f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoFix PKGMGR_CLIENT_STATUS_ALL value 67/263267/2
Ilho Kim [Mon, 30 Aug 2021 09:57:21 +0000 (18:57 +0900)]
Fix PKGMGR_CLIENT_STATUS_ALL value

Change-Id: Ia0d5e4572ff758bd45d14e0fed4fdc26bacf141a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoHandle resource copy signal in signal agent 76/263276/3
Ilho Kim [Mon, 30 Aug 2021 11:54:30 +0000 (20:54 +0900)]
Handle resource copy signal in signal agent

Change-Id: I1ecc54fa09c34f60bd4b51f82512aab5775735c9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.13.0 96/263096/1 accepted/tizen/unified/20210830.104004 submit/tizen/20210826.063234 submit/tizen/20210830.020619
Ilho Kim [Thu, 26 Aug 2021 06:29:56 +0000 (15:29 +0900)]
Release version 0.13.0

Changes:
 - Fix parameter name of clear data API
 - Add api for resource copy
 - Implement resource copy request's callback
 - Add api for listen status for resource copy
 - Add api related with resource copy callback's handle param
 - Add api for createing dir in resource sharing dir
 - Add resource create dir request type

Change-Id: Ic2e275b01c4ada50193c3759fff8dcaf7984688f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd resource create dir request type 56/262956/2
Ilho Kim [Tue, 24 Aug 2021 03:15:11 +0000 (12:15 +0900)]
Add resource create dir request type

Change-Id: Ibbd0df68807db0c262b89b308abed3ec81a4fccf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd api for createing dir in resource sharing dir 94/262794/3
Ilho Kim [Fri, 20 Aug 2021 02:36:39 +0000 (11:36 +0900)]
Add api for createing dir in resource sharing dir

[Added]
  pkgmgr_client_add_res_create_dir_path
  pkgmgr_client_res_create_dir

Change-Id: I463bafb7feb5035727c5f7ea0dfe0d4a5094f3f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd api related with resource copy callback's handle param 02/262702/6
Ilho Kim [Tue, 17 Aug 2021 05:21:45 +0000 (14:21 +0900)]
Add api related with resource copy callback's handle param

[Added]
  pkgmgr_res_event_info_new
  pkgmgr_res_event_info_free
  pkgmgr_res_event_info_set_error_code
  pkgmgr_res_event_info_get_error_code

Change-Id: I56af93b1a0a4eb789d839d82f087de30fc7dc358
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd api for listen status for resource copy 87/262687/2
Ilho Kim [Wed, 18 Aug 2021 02:20:16 +0000 (11:20 +0900)]
Add api for listen status for resource copy

Change-Id: Ifa46499326a2b690d7a15b7090fee26590c15dec
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoImplement resource copy request's callback 48/262448/9
Ilho Kim [Wed, 11 Aug 2021 05:43:31 +0000 (14:43 +0900)]
Implement resource copy request's callback

Change-Id: I203d8d4ecdc6c16d5c98c3c40be77776c399238f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd api for resource copy 44/261844/9
Ilho Kim [Tue, 27 Jul 2021 08:19:29 +0000 (17:19 +0900)]
Add api for resource copy

-pkgmgr_client_add_res_copy_path
-pkgmgr_client_res_copy
-pkgmgr_client_add_res-remove_path
-pkgmgr_client_res_remove
-pkgmgr_client_res_uninstall
-pkgmgr_client_res_usr_uninstall

Change-Id: I50f1c5eeec8e1593b0909a21bd18afee34d2ef39
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoFix parameter name of clear data API 28/260828/1
Sangyoon Jang [Mon, 5 Jul 2021 09:46:47 +0000 (18:46 +0900)]
Fix parameter name of clear data API

pkgmgr_client_clear_user_data() works based on pkgid internally.

Change-Id: I479645e28163de47025d31b5922e706d42295bc0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.12.11 06/259606/1 accepted/tizen/unified/20210611.013631 submit/tizen/20210610.095123
Ilho Kim [Thu, 10 Jun 2021 07:17:18 +0000 (16:17 +0900)]
Release version 0.12.11

Changes:
 - Fix static analysis issues

Change-Id: I0059071fd6cf6d9710b73f37a617848a73209431
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoFix static analysis issues 85/259585/1
Ilho Kim [Thu, 10 Jun 2021 02:33:54 +0000 (11:33 +0900)]
Fix static analysis issues

 - Fix memory leak

Change-Id: Ia17046d952974c60248a7d884e5ce19929bf1357
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.12.10 32/255932/1 accepted/tizen/unified/20210328.230652 submit/tizen/20210325.072936
Junghyun Yeon [Thu, 25 Mar 2021 06:21:29 +0000 (15:21 +0900)]
Release version 0.12.10

Changes:
 - Send request id to prevent processing duplicated request
 - Add pkgmgr queue

Change-Id: Ifd5c558d9282b899b38059c07348af1f78604332
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd pkgmgr queue 12/255812/1
Junghyun Yeon [Wed, 24 Mar 2021 04:12:30 +0000 (13:12 +0900)]
Add pkgmgr queue

Request about accessing database will be handled only one
at the same time.

Related changes :
[pkgmgr-server] : https://review.tizen.org/gerrit/255444

Change-Id: I1d6cfe867e9155fce5c7d6f8463a1605aabe561f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoSend request id to prevent processing duplicated request 19/253619/2
Sangyoon Jang [Tue, 16 Feb 2021 04:40:25 +0000 (13:40 +0900)]
Send request id to prevent processing duplicated request

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/pkgmgr-server/+/253620

Change-Id: Ia78f3a6cf9169f8f8a248938947ac9f9e85d927b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 0.12.9 41/253541/1 accepted/tizen/unified/20210216.015105 submit/tizen/20210215.071637
Hwankyu Jhun [Mon, 15 Feb 2021 07:13:26 +0000 (16:13 +0900)]
Release version 0.12.9

Changes:
 - Change systemd-devel package name

Change-Id: I25d24342e1a4e013927bf911178b2e08c878ff5a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoChange systemd-devel package name 68/252868/1
INSUN PYO [Wed, 3 Feb 2021 03:25:29 +0000 (12:25 +0900)]
Change systemd-devel package name

Change-Id: Ice71af1cdaf08b54da6285cdccfc1367ab3cf899

3 years agoRelease version 0.12.8 50/245850/1 accepted/tizen/6.0/unified/20201113.014603 accepted/tizen/unified/20201029.124922 submit/tizen/20201027.061339 submit/tizen/20201028.004037 submit/tizen_6.0/20201110.031647 submit/tizen_6.0/20201111.032505
Hwankyu Jhun [Fri, 16 Oct 2020 10:51:05 +0000 (19:51 +0900)]
Release version 0.12.8

Changes:
 - Make thread safe code

Change-Id: Iaa11f106f781d4b7a96cf9c7969ae66537827d66
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoMake thread safe code 49/245849/1
Hwankyu Jhun [Fri, 16 Oct 2020 10:48:48 +0000 (19:48 +0900)]
Make thread safe code

- Uses pthread mutex to lock & unlock

Change-Id: Iecfa0a40c59e1892fc8db476ae069e3dc85f7238
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.12.7 23/245623/1 submit/tizen/20201013.082835
Sangyoon Jang [Tue, 13 Oct 2020 08:18:00 +0000 (17:18 +0900)]
Release version 0.12.7

Changes:
 - Fix crash issue

Change-Id: I10cf1c78afaf805333d4b64bcae442557d6a7369
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoFix crash issue 18/245418/5
Sangyoon Jang [Thu, 8 Oct 2020 08:48:58 +0000 (17:48 +0900)]
Fix crash issue

Some library which uses pkgmgr such as voice control loaded by dlopen,
and when the process using this library may crash during exiting.
Because we release our resource using g_idle_add() due to thread-safety,
but the main loop tries to invoke the callback after the library
unloaded.

Change-Id: Ie7cc551d06edbef01dbf3e3d77b8ae03b75dc717
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 0.12.6 70/241970/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.120004 accepted/tizen/6.0/unified/hotfix/20201103.050520 accepted/tizen/unified/20200825.033232 submit/tizen/20200821.072757 submit/tizen/20200824.070831 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Ilho Kim [Fri, 21 Aug 2020 07:24:07 +0000 (16:24 +0900)]
Release version 0.12.6

Changes:
 - Include missing header file

Change-Id: I5968eba4f8b0fd6824abe8eeff4e4596bed7e05d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoInclude missing header file 00/241400/1
Hwankyu Jhun [Thu, 20 Aug 2020 00:48:39 +0000 (09:48 +0900)]
Include missing header file

sys/types.h header file is needed for uid_t type.

Change-Id: I61367db36745876dee8f7a24d2514e54aedf301e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.12.5 80/240080/1 accepted/tizen/unified/20200811.050440 submit/tizen/20200803.062829 submit/tizen/20200805.002122 submit/tizen/20200810.091347
Junghyun Yeon [Mon, 3 Aug 2020 06:26:15 +0000 (15:26 +0900)]
Release version 0.12.5

Changes:
 - Fix static analysis issue

Change-Id: I8c7a59ac852426630b31dc75cdac8b041032931e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoFix static analysis issue 74/240074/2
Junghyun Yeon [Mon, 3 Aug 2020 05:46:17 +0000 (14:46 +0900)]
Fix static analysis issue

Add checking routine to each variable not exceed buffer length

Change-Id: I4705d4d524b6414a15a3ee54195d8787767e097e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.12.4 49/239349/1 accepted/tizen/unified/20200727.132104 submit/tizen/20200724.075535
Ilho Kim [Fri, 24 Jul 2020 05:44:17 +0000 (14:44 +0900)]
Release version 0.12.4

Changes:
 - Fix memory leak
 - Add is_upgrade flag to pkgmgr_installer and Setter function
 - Removed the behavior of changing request type when sending signal

Change-Id: I2ae3e986e80737cf95f7e40935514ab9b29a80c7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRemoved the behavior of changing request type when sending signal 61/237961/5
Ilho Kim [Fri, 19 Jun 2020 04:59:48 +0000 (13:59 +0900)]
Removed the behavior of changing request type when sending signal

Changing request_type when installing multiple packages
can affect the request type of other packages

ex) When performing multiple recovery with 'b' option,
    original request_type is PKGMGR_REQ_RECOVER
    but if the first recovery is about update,
    the second recovery will perform update, not recovery

Change-Id: I1dd2c011aac131902eb2d11b1894bd8283590630
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd is_upgrade flag to pkgmgr_installer and Setter function 89/238789/3
Ilho Kim [Fri, 17 Jul 2020 08:41:53 +0000 (17:41 +0900)]
Add is_upgrade flag to pkgmgr_installer and Setter function

pkgmgr_installer is set by pkgmgr_installer_receive_request() function
and Whether it is an upgrade request or not doesn't know by this function

Change-Id: I3282cd47b4dc27a6ef0d0675d422234f9c402e9f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix memory leak 75/238675/3
Ilho Kim [Thu, 16 Jul 2020 07:23:39 +0000 (16:23 +0900)]
Fix memory leak

pkgmgr_installer's member pkgs should be released

Change-Id: Idc55fc954bb3f98a67ef5a1beba77bdf4bfaba1b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.12.3 12/239112/1 accepted/tizen/unified/20200722.144600 submit/tizen/20200722.013234
Hwankyu Jhun [Wed, 22 Jul 2020 01:44:12 +0000 (10:44 +0900)]
Release version 0.12.3

Changes:
 - Fix memory leak

Change-Id: I43153735df6a0319c8fcf4ae741aebb23d810a84
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoFix memory leak 09/239109/1
Hwankyu Jhun [Wed, 22 Jul 2020 01:24:32 +0000 (10:24 +0900)]
Fix memory leak

Change-Id: I1794cecb6a9084996a3cc0733064a6ea96d327d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 years agoRelease version 0.12.2 36/236036/1 accepted/tizen/unified/20200616.171025 submit/tizen/20200612.081636 submit/tizen/20200615.005642
Junghyun Yeon [Fri, 12 Jun 2020 06:58:26 +0000 (15:58 +0900)]
Release version 0.12.2

Changes:
 - Add --recovery-cleanup option for installer

Change-Id: I34d75ed51607b9d7da2d8a9ca2fb25121d467ff8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd --recovery-cleanup option for installer 45/234845/2
Junghyun Yeon [Fri, 29 May 2020 07:11:28 +0000 (16:11 +0900)]
Add --recovery-cleanup option for installer

It indicates that certain recovery should be handled as
recovery cleanup mode.

Change-Id: I4c615cafb58ca66aedef7f155ed00790cf3b2064
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.12.1 34/234934/1 accepted/tizen/unified/20200603.150213 submit/tizen/20200601.023448 submit/tizen/20200602.012953
Ilho Kim [Mon, 1 Jun 2020 02:27:05 +0000 (11:27 +0900)]
Release version 0.12.1

Changes:
 - Fix memory leak
 - Fix typo
 - Add path checking at multi pkg install APIs

Change-Id: I141709b4d1c058cb4f753ede381826f5413835e2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd path checking at multi pkg install APIs 41/234141/1
Sangyoon Jang [Fri, 22 May 2020 06:50:43 +0000 (15:50 +0900)]
Add path checking at multi pkg install APIs

Change-Id: I3a07d3f9c1b52b8c4ee871d043a7c797abc52d7c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoFix typo 37/234137/1
Sangyoon Jang [Fri, 22 May 2020 06:48:30 +0000 (15:48 +0900)]
Fix typo

Change-Id: Ic16c9124227d9c5dc055c3ebe66951b7f0ee3420
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoFix memory leak 25/233325/1
Ilho Kim [Thu, 14 May 2020 01:40:22 +0000 (10:40 +0900)]
Fix memory leak

-The g_variant_builder_new() function's return value
 should be freed by g_variant_builder_unref() when it is no longer needeed

-Release the memory allocated by g_malloc

Change-Id: I56e45cef7b2ccadc700b3af71b40a33e670e36c3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.12.0 52/229752/1 accepted/tizen/unified/20200413.012251 submit/tizen/20200403.082852 submit/tizen/20200410.073851
Ilho Kim [Fri, 3 Apr 2020 06:38:50 +0000 (15:38 +0900)]
Release version 0.12.0

Changes:
 - Change prototype of APIs for multi signal
 - Fix pkgmgr_installer to handle multiple request
 - Add APIs for multiple install request

Change-Id: I3c521cf6eeae061a72196770e70ce15e4cbfa344
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd APIs for multiple install request 59/225059/5
Sangyoon Jang [Mon, 17 Feb 2020 05:48:58 +0000 (14:48 +0900)]
Add APIs for multiple install request

Change-Id: I077c8531cab28578d17ec067631350d03470f6c3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix pkgmgr_installer to handle multiple request 77/222677/7
Sangyoon Jang [Tue, 20 Aug 2019 01:47:48 +0000 (10:47 +0900)]
Fix pkgmgr_installer to handle multiple request

Change-Id: I6752c6037f38ee3602c802028fe42394133ed2c4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoChange prototype of APIs for multi signal 93/226793/5
Junghyun Yeon [Thu, 5 Mar 2020 10:10:27 +0000 (19:10 +0900)]
Change prototype of APIs for multi signal

Change-Id: I0bf7b96b680aad2a7a2c91c6b7f36fa54ee2cc2b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>