platform/core/appfw/pkgmgr-server.git
6 months agoRelease version 1.0.9 74/309574/1 accepted/tizen/unified/20240413.101659 accepted/tizen/unified/x/20240415.013957
Ilho Kim [Fri, 12 Apr 2024 06:52:08 +0000 (15:52 +0900)]
Release version 1.0.9

Changes:
 - Print error message, in case of Err case of Result

Change-Id: Ied1b662c754b87fd725c0e0ae0a92b0ee953e8ce
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoPrint error message, in case of Err case of Result 72/309472/1
Ilho Kim [Tue, 9 Apr 2024 01:07:05 +0000 (10:07 +0900)]
Print error message, in case of Err case of Result

Change-Id: I2ad1e3f2fcea55f41ada8d944a850801e0005246

6 months agoRelease version 1.0.8 36/309336/1 accepted/tizen/unified/20240409.135610 accepted/tizen/unified/20240409.155909 accepted/tizen/unified/x/20240411.011807
Ilho Kim [Tue, 9 Apr 2024 01:07:27 +0000 (10:07 +0900)]
Release version 1.0.8

Changes:
 - Fix Invalid type casting

Change-Id: Ia60401157f0396f02bc7656bdc1ee040fce0a3b0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoFix Invalid type casting 14/309314/1
Ilho Kim [Mon, 8 Apr 2024 11:31:58 +0000 (20:31 +0900)]
Fix Invalid type casting

Change-Id: I64da6eec191e90847a3c2cf16df8f014c9a342a1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRelease version 1.0.7 03/309303/1
Ilho Kim [Mon, 8 Apr 2024 09:50:07 +0000 (18:50 +0900)]
Release version 1.0.7

Changes:
 - Call stop funciton when server is exiting
 - Notify stopping to the service manager at the end
 - Reset timer when creating callback is called
 - Remove CRLF for end of line

Change-Id: Ifd666cc26e3ed12543c114e7d2bcff985f3bda7f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRemove CRLF for end of line 02/309302/2
Ilho Kim [Mon, 8 Apr 2024 09:35:00 +0000 (18:35 +0900)]
Remove CRLF for end of line

Change-Id: I8e3414127e6e4c35ee2f61b676958dab92160983
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoReset timer when creating callback is called 01/309301/2
Ilho Kim [Mon, 8 Apr 2024 09:30:02 +0000 (18:30 +0900)]
Reset timer when creating callback is called

There is a possibility that the exit_server function registered
as a timer may be called before the client sends a request

Change-Id: I2498cf1e8a00664deee780517af5d98aa8be914e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoNotify stopping to the service manager at the end 68/309268/1
Ilho Kim [Mon, 8 Apr 2024 06:04:32 +0000 (15:04 +0900)]
Notify stopping to the service manager at the end

Change-Id: Ie6a63b6954067589d80655da8a5b35064ed71181
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoCall stop funciton when server is exiting 65/309265/1
Ilho Kim [Mon, 8 Apr 2024 04:51:23 +0000 (13:51 +0900)]
Call stop funciton when server is exiting

Change-Id: I2c32150d93aa6a39c16fd1117f996873c22d022a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRelease version 1.0.6 98/309198/1 accepted/tizen/unified/20240406.134628 accepted/tizen/unified/x/20240408.053727
Hwankyu Jhun [Fri, 5 Apr 2024 11:06:43 +0000 (20:06 +0900)]
Release version 1.0.6

Changes:
 - Add a missing type casting

Change-Id: I4ba74d46fd9e2992faf1830c48c5301ddad8eafb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoAdd a missing type casting 97/309197/1
Hwankyu Jhun [Fri, 5 Apr 2024 11:06:12 +0000 (20:06 +0900)]
Add a missing type casting

The type should be '*const c_char'.

Change-Id: Ie22d1ec2107e02195c94b2dc33ea574107e2ac13
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.0.5 96/309196/1
Hwankyu Jhun [Fri, 5 Apr 2024 10:51:40 +0000 (19:51 +0900)]
Release version 1.0.5

Changes:
 - Notify start-up completion

Change-Id: Ia883448ff47ff28b20a4fe349aa0913223d1b90b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoNotify start-up completion 95/309195/1
Hwankyu Jhun [Fri, 5 Apr 2024 10:48:11 +0000 (19:48 +0900)]
Notify start-up completion

This patch adds calling sd_notify() to notify that pkgmgr-server is
ready.

Change-Id: Id19107af230f159194d0905aa72198ce5de074ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.0.4 29/309129/1 accepted/tizen/unified/20240405.115725
Ilho Kim [Fri, 5 Apr 2024 04:59:55 +0000 (13:59 +0900)]
Release version 1.0.4

Changes:
 - Fix wrong return type

Change-Id: I66a12b5b6cf9efc59ae1b9590d397ba51866436b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoFix wrong return type 26/309126/1
Ilho Kim [Fri, 5 Apr 2024 04:53:52 +0000 (13:53 +0900)]
Fix wrong return type

Change-Id: Id05f71c8366a5a78d12124b4a9656b13d25bd037
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRelease version 1.0.3 91/309091/1 accepted/tizen/unified/x/20240407.005912 accepted/tizen/unified/x/20240408.010451
Ilho Kim [Thu, 4 Apr 2024 12:29:58 +0000 (21:29 +0900)]
Release version 1.0.3

Changes:
 - Remove needless codes
 - Fix wrong c style dlog argument

Change-Id: Iad8c7dfd2426f0fc74d8a8fdee1c86a2b46a206a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoFix wrong c style dlog argument 90/309090/1
Ilho Kim [Thu, 4 Apr 2024 12:27:30 +0000 (21:27 +0900)]
Fix wrong c style dlog argument

Change-Id: I7713a588fbe7cd0b15d6c911b2106fc197e67bd7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRemove needless codes 13/309013/1
Inkyun Kil [Thu, 4 Apr 2024 00:11:10 +0000 (09:11 +0900)]
Remove needless codes

Change-Id: I4475bf0fae832b03f45abf168852d0cfb8f979be
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 months agoRelease version 1.0.2 96/308996/1 accepted/tizen/unified/20240404.021405 accepted/tizen/unified/x/20240404.061844
Hwankyu Jhun [Wed, 3 Apr 2024 09:41:46 +0000 (18:41 +0900)]
Release version 1.0.2

Changes:
 - Use socket activation with TIDL

Change-Id: Icea6403b265b13e5e18987f019a2405e08c2722a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoUse socket activation with TIDL 61/308961/2
Hwankyu Jhun [Wed, 3 Apr 2024 06:23:20 +0000 (15:23 +0900)]
Use socket activation with TIDL

TIDL supports socket activation.
The process name must have "d::" prefix to use that.
The process name is changed to "d::org.tizen.appfw.pkgmgr".

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/rpc-port/+/308788/

Change-Id: Id86fe64ad9f9e790c8b31bd3e53d052cc9d88537
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 months agoRelease version 1.0.1 82/308882/2 accepted/tizen/unified/20240403.095037
Ilho Kim [Tue, 2 Apr 2024 07:06:53 +0000 (16:06 +0900)]
Release version 1.0.1

Changes:
 - Use dbus activation for server execution
 - Revert "Use dbus activation for server execution"
 - Remove unnecessary variables in BackendContext

Change-Id: I0c1609e2af5579fbfabaa382b0fd755a37f97ede
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRemove unnecessary variables in BackendContext 65/308765/2
Ilho Kim [Thu, 28 Mar 2024 11:51:37 +0000 (20:51 +0900)]
Remove unnecessary variables in BackendContext

Change-Id: I262fd191f0267090c06bab64d4add547a2e0b752
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRevert "Use dbus activation for server execution" 78/308878/1
ilho kim [Tue, 2 Apr 2024 06:53:55 +0000 (06:53 +0000)]
Revert "Use dbus activation for server execution"

This reverts commit fafd89df374d7c19c6f87080c0d2697736b163bb.

Change-Id: I198edb73531158c9936a3131d1a603024ed1a171

6 months agoUse dbus activation for server execution 62/308762/1 accepted/tizen/unified/20240401.021552 accepted/tizen/unified/x/20240401.013215
Ilho Kim [Sun, 31 Mar 2024 01:22:16 +0000 (10:22 +0900)]
Use dbus activation for server execution

Change-Id: I1e544c2f80e4842dd3dd13307e2c332d9a9de678
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRelease version 1.0.0 15/308615/3
Ilho Kim [Thu, 28 Mar 2024 06:54:01 +0000 (15:54 +0900)]
Release version 1.0.0

Changes:
 - Refactor pkgmgr-server with tidl using rust

Change-Id: I68472bd5fe7365578538fe1a7429e04beac0af01
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRefactor pkgmgr-server with tidl using rust 12/308612/1
Ilho Kim [Thu, 28 Mar 2024 06:13:29 +0000 (15:13 +0900)]
Refactor pkgmgr-server with tidl using rust

Change-Id: I6db661424b6d31a4e7e25340c16cffdc2ad18ce0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoRelease version 0.12.1 05/290305/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093055 accepted/tizen/unified/20230325.044631 tizen_8.0_m2_release
Sangyoon Jang [Thu, 23 Mar 2023 03:39:13 +0000 (12:39 +0900)]
Release version 0.12.1

Changes:
 - Remove clear_cache allow policy
 - Add checking whether path is valid or not
 - Use macro instead of hardcoded path for library
 - Fix disable/enable packages
 - Fix static analysis issues

Change-Id: I70752ce17a4bf675a1dc7ce00c6b59abbf6a7d53
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
18 months agoFix static analysis issues 92/290292/1
Sangyoon Jang [Wed, 22 Mar 2023 23:39:35 +0000 (08:39 +0900)]
Fix static analysis issues

Change-Id: I7142d9febd95062667a8c391a74d86b5de339873
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
20 months agoFix disable/enable packages 12/288312/1
Sangyoon Jang [Wed, 15 Feb 2023 05:32:50 +0000 (14:32 +0900)]
Fix disable/enable packages

Remove checking if the package is global or not.
In the past, the package with same id can be installed for global and
user pkg, so it should be checked requested package is global or not.
But for now, the package cannot be installed in both side at the same time.

Change-Id: I38c32acd7732c0a97c5924fa12c70ce43762df56
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
21 months agoUse macro instead of hardcoded path for library 89/285889/1
Sangyoon Jang [Thu, 22 Dec 2022 06:04:02 +0000 (15:04 +0900)]
Use macro instead of hardcoded path for library

Change-Id: Ic15f1a7c26b4bdd09f91f35ee71938d52640b664
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoAdd checking whether path is valid or not 54/285254/1
Changgyu Choi [Thu, 8 Dec 2022 06:42:17 +0000 (15:42 +0900)]
Add checking whether path is valid or not

If the path to the parent folder such as "../",
is transmitted as a parameter,
the request is rejected.

Change-Id: Ia3bab60648ee7177cdc628181e4e65ec62604ccf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoRemove clear_cache allow policy 73/283973/1
Changgyu Choi [Tue, 8 Nov 2022 04:39:43 +0000 (13:39 +0900)]
Remove clear_cache allow policy

Change-Id: Ide2fb58da2f37b05dd7fd9ccbe6f2a47b3d93584
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoRelease version 0.12.0 91/283691/1 accepted/tizen/unified/20221104.082304
Changgyu Choi [Wed, 2 Nov 2022 02:20:00 +0000 (11:20 +0900)]
Release version 0.12.0

Changes:
 - Add the clear data with path request handler

Change-Id: Idfde180b4993ec9f74e8bada61acd8dccbf75e36
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
23 months agoAdd the clear data with path request handler 01/283401/7
Changgyu Choi [Wed, 26 Oct 2022 02:38:28 +0000 (11:38 +0900)]
Add the clear data with path request handler

Change-Id: I6eb7ee43f109e676faa4d087269688446049a1f3
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
2 years agoRelease version 0.11.2 79/283079/1
Sangyoon Jang [Tue, 18 Oct 2022 01:19:41 +0000 (10:19 +0900)]
Release version 0.11.2

Changes:
 - Fix static analysis issue
 - Fix exit handle

Change-Id: If618abd85bc3f24bb2d56cc3a53b7e67ed7f15f0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix exit handler 31/282231/3
Sangyoon Jang [Wed, 28 Sep 2022 23:15:59 +0000 (08:15 +0900)]
Fix exit handler

Since pkgmgr-server exit before handle request sometimes,
increase timeout and add exit handler right before running the mainloop.

Change-Id: If764bd98250b85cafa127b0bbec432f9049e1d6d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix static analysis issue 38/283038/2
Sangyoon Jang [Mon, 17 Oct 2022 05:34:01 +0000 (14:34 +0900)]
Fix static analysis issue

Change-Id: I6ec92134595cee61e215dee11361f1c62e13f512
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.11.1 12/275512/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.055825 accepted/tizen/7.0/unified/hotfix/20221116.105037 accepted/tizen/unified/20220528.144428 accepted/tizen/unified/20220608.140102 submit/tizen/20220526.031554 submit/tizen/20220531.074151 tizen_7.0_m2_release
Ilho Kim [Thu, 26 May 2022 02:26:07 +0000 (11:26 +0900)]
Release version 0.11.1

Changes:
 - Unset exclusive when process was failed
 - Add mac override capability

Change-Id: I6da14076e095997aef15e171834d463f1179916a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd mac override capability 47/275447/1
Ilho Kim [Wed, 25 May 2022 03:10:33 +0000 (12:10 +0900)]
Add mac override capability

Change-Id: Ib1ad41709d00f30ae60561c6f40e986b55a79686
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoUnset exclusive when process was failed 83/275183/1
Ilho Kim [Wed, 18 May 2022 01:52:08 +0000 (10:52 +0900)]
Unset exclusive when process was failed

If the operation by request type run with exclusive mode
there is a problem that the exclusive is not unset when the operation fails

Change-Id: I3a9d7b8eeab76faa93a7ca694a2f4d3b1dc5ebfe
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.11.0 09/269209/1 accepted/tizen/unified/20220112.121712 submit/tizen/20220111.094849
Junghyun Yeon [Tue, 11 Jan 2022 09:21:53 +0000 (18:21 +0900)]
Release version 0.11.0

Changes:
 - Extract duplicate routine into function

Change-Id: I9dfb83de2da408d596f689de6e1ba48fc841e80c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoExtract duplicate routine into function 40/240840/5
Junghyun Yeon [Wed, 12 Aug 2020 05:10:46 +0000 (14:10 +0900)]
Extract duplicate routine into function

Change-Id: Id981e88e6e9bb75d4eb161fc7ee971319cb0645b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.10.3 12/266912/1 accepted/tizen_6.5_unified accepted/tizen/6.5/unified/20211124.060337 accepted/tizen/unified/20211123.143748 submit/tizen/20211122.092115 submit/tizen/20211123.001718 submit/tizen_6.5/20211123.111544
Junghyun Yeon [Mon, 22 Nov 2021 09:15:56 +0000 (18:15 +0900)]
Release version 0.10.3

Changes:
 - Move variable checking routine

Change-Id: I95456b12c966ea7e6ae6e9f75f0328f3cb9fecd1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoMove variable checking routine 24/265224/2
Junghyun Yeon [Wed, 13 Oct 2021 02:14:51 +0000 (11:14 +0900)]
Move variable checking routine

pkgid could be null at this point so move pkgid checking logic.

Change-Id: I7b2f4125afa306997066286304136782ac5c33ba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.10.2 40/263640/1 accepted/tizen/6.5/unified/20211028.100217 accepted/tizen/unified/20210908.011438 submit/tizen/20210907.080459 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Junghyun Yeon [Tue, 7 Sep 2021 08:02:19 +0000 (17:02 +0900)]
Release version 0.10.2

Changes:
 - Change queue of resource related requests

Change-Id: Ic2c73a447762ef2163745cd3ec31652c5f390f85
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoChange queue of resource related requests 37/263637/2
Junghyun Yeon [Tue, 7 Sep 2021 07:53:33 +0000 (16:53 +0900)]
Change queue of resource related requests

Change-Id: I93ff00f51b6e4734f5cf4a1724c3a769b32b47c2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.10.1 18/263518/1 submit/tizen/20210906.013143
Junghyun Yeon [Mon, 6 Sep 2021 01:26:34 +0000 (10:26 +0900)]
Release version 0.10.1

Changes:
 - Change behavior of resource uninstall

Change-Id: Ie8b660200e686f753cc34d08c180796576c16117
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoChange behavior of resource uninstall 70/263270/4
Junghyun Yeon [Mon, 30 Aug 2021 10:05:04 +0000 (19:05 +0900)]
Change behavior of resource uninstall

Change-Id: Ie3c351d2a668d384de26fced805343a9e74ab1fc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.10.0 95/263095/1 accepted/tizen/unified/20210830.103955 submit/tizen/20210826.063234 submit/tizen/20210830.020619
Ilho Kim [Thu, 26 Aug 2021 06:29:41 +0000 (15:29 +0900)]
Release version 0.10.0

Changes:
 - Handle resource copy request
 - Handle resource create dir request
 - Change resource copy binary file name to res-copy
 - Fix parameter option of create directory request

Change-Id: I62418e70b3f79540958c725f8f8827dad3f21df0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoFix parameter option of create directory request 78/262978/1
Ilho Kim [Tue, 24 Aug 2021 07:27:23 +0000 (16:27 +0900)]
Fix parameter option of create directory request

From 'C' to 'D'

Change-Id: I57b4cf35a3a2f4b5dc40940a7e45f388d89b9c0c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoChange resource copy binary file name to res-copy 00/262800/2
Ilho Kim [Fri, 20 Aug 2021 03:18:34 +0000 (12:18 +0900)]
Change resource copy binary file name to res-copy

Change-Id: Ib8ece51bf28105488d6b03998e3be6337ebf09ab
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoHandle resource create dir request 95/262795/3
Ilho Kim [Fri, 20 Aug 2021 02:38:20 +0000 (11:38 +0900)]
Handle resource create dir request

Change-Id: Ia2c52e41d2b8f18c938b30237b66f67c2ba0130b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoHandle resource copy request 43/261843/5
Ilho Kim [Tue, 27 Jul 2021 06:37:36 +0000 (15:37 +0900)]
Handle resource copy request

Change-Id: I3119811472a1e4aab8ec91d99b57b9198d8daf23
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.9.11 22/261822/1 accepted/tizen/unified/20210728.090543 submit/tizen/20210727.083416
Ilho Kim [Tue, 27 Jul 2021 06:38:21 +0000 (15:38 +0900)]
Release version 0.9.11

Changes:
 - Handle rpk package type

Change-Id: Ief6f00016413927b1a0926ab2c04277be8baf50a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoHandle rpk package type 04/261704/5
Ilho Kim [Fri, 23 Jul 2021 02:49:11 +0000 (11:49 +0900)]
Handle rpk package type

Change-Id: Id0adedc53a56f33abcaab3f5e3cc68bfbfbce45d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.9.10 99/259599/1 accepted/tizen/unified/20210611.013613 submit/tizen/20210610.070016
Sangyoon Jang [Thu, 10 Jun 2021 06:13:37 +0000 (15:13 +0900)]
Release version 0.9.10

Changes:
 - Fix static analysis issues

Change-Id: Ib2da821fc6e0439686936a2210d7a112be6d131f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoFix static analysis issues 55/259555/1
Sangyoon Jang [Wed, 9 Jun 2021 12:04:23 +0000 (21:04 +0900)]
Fix static analysis issues

Fix memory leak, buffer overrun, double free.

Change-Id: I727d9ce003992af2e8f0110f0ea9bb574be2d9a5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoRelease version 0.9.9 09/256309/1 accepted/tizen/unified/20210401.110045 submit/tizen/20210401.052550
Junghyun Yeon [Thu, 1 Apr 2021 05:14:34 +0000 (14:14 +0900)]
Release version 0.9.9

Changes:
 - Add unset exclusive code for certain requests

Change-Id: I76f5a13e752df25f3d77b2ff767b1fde61817711
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoChange order of functions 07/256307/1
Junghyun Yeon [Thu, 1 Apr 2021 04:56:29 +0000 (13:56 +0900)]
Change order of functions

Unset exclusive should be done before free job.

Change-Id: I975aa5917112edf73212b5988f25f13025e70c45
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.9.8 94/256294/1 submit/tizen/20210401.040449
Junghyun Yeon [Thu, 1 Apr 2021 04:02:59 +0000 (13:02 +0900)]
Release version 0.9.8

Changes:
 - Add unset exclusive code for certain requests

Change-Id: I2075082dd14bd6911fd7d7e640f0ec1eb4f74a55
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd unset exclusive code for certain requests 75/256275/1
Junghyun Yeon [Thu, 1 Apr 2021 01:11:22 +0000 (10:11 +0900)]
Add unset exclusive code for certain requests

These requests are handled by pkgmgr-server itself.

Change-Id: I8c52c9b47cf1aa58795e3282ba53e769ef79fc87
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.9.7 67/256167/1 accepted/tizen/unified/20210331.054017 submit/tizen/20210330.033527
Ilho Kim [Tue, 30 Mar 2021 08:00:26 +0000 (17:00 +0900)]
Release version 0.9.7

Changes:
 - Change backend busy type 'unsigned long long' to 'int'

Change-Id: Ib81703b9ccb4fe0434ce4b8d735058776644a157
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoChange backend busy type 'unsigned long long' to 'int' 66/256166/1
Ilho Kim [Tue, 30 Mar 2021 07:59:16 +0000 (16:59 +0900)]
Change backend busy type 'unsigned long long' to 'int'

Change-Id: I79d6af3000855798228984683f1e57ecb5d5c3a5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.9.6 64/256164/1 submit/tizen/20210330.073825
Ilho Kim [Tue, 30 Mar 2021 07:35:42 +0000 (16:35 +0900)]
Release version 0.9.6

Changes:
 - Increase backend busy flag variable size

Change-Id: I6b4072d34bc18ce1ec9f48d6123c58816bb8fe20
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoIncrease backend busy flag variable size 61/256161/1
Ilho Kim [Tue, 30 Mar 2021 07:31:09 +0000 (16:31 +0900)]
Increase backend busy flag variable size

Currently, backend_busy flag can only store up to 8 flags

Change-Id: Id6c51950b53ea35f702d571728b0fbda2c80b996
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.9.5 33/255933/1 accepted/tizen/unified/20210328.230647 submit/tizen/20210325.072936
Junghyun Yeon [Thu, 25 Mar 2021 06:21:41 +0000 (15:21 +0900)]
Release version 0.9.5

Changes:
 - Reject a request with too long arguments
 - Check request id to prevent processing duplicated request
 - Add queue rule about database exclusive

Change-Id: Ia297aab9ab600cd7a05a370c5261aaaa0de3159d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoAdd queue rule about database exclusive 44/255444/4
Junghyun Yeon [Thu, 18 Mar 2021 10:21:05 +0000 (19:21 +0900)]
Add queue rule about database exclusive

Requests about accessing pkgmgr database should be executed
only one at the same time.

Change-Id: I8d30ea9014e02001ceaf68c2134a1e6ddb5ff42b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoCheck request id to prevent processing duplicated request 20/253620/2
Sangyoon Jang [Tue, 16 Feb 2021 04:39:47 +0000 (13:39 +0900)]
Check request id to prevent processing duplicated request

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

Change-Id: Ic8ab35769a433007ef41e6b4cb802c38cb212090
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 years agoReject a request with too long arguments 91/251491/5
Ilho Kim [Thu, 14 Jan 2021 08:03:46 +0000 (17:03 +0900)]
Reject a request with too long arguments

The request with a arguments longer than a buffer fails

Change-Id: Ie3f6fc75cb8fc90e014b7f676571df23a24fc3c3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoRelease version 0.9.4 74/248074/1 accepted/tizen/6.0/unified/20201125.104952 accepted/tizen/unified/20201125.124017 submit/tizen/20201120.074439 submit/tizen/20201123.082238 submit/tizen/20201125.063013 submit/tizen_6.0/20201120.074521 submit/tizen_6.0/20201125.005918
Ilho Kim [Fri, 20 Nov 2020 07:34:39 +0000 (16:34 +0900)]
Release version 0.9.4

Changes:
 - Add length checking routine for parameters

Change-Id: I52391f2a2dd2abdaef5e031582d94320231570eb
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 years agoAdd length checking routine for parameters 04/246204/5
Junghyun Yeon [Tue, 27 Oct 2020 01:31:29 +0000 (10:31 +0900)]
Add length checking routine for parameters

Given pkg path or adjusted pkg path could exceeds argument buffer.

Change-Id: I62a464a269a0260734fe9d63f5b3762750cddb8f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
3 years agoRelease version 0.9.3 75/247375/1 accepted/tizen/6.0/unified/20201110.230842 accepted/tizen/unified/20201110.125001 submit/tizen/20201110.080209 submit/tizen_6.0/20201110.080711
Sangyoon Jang [Tue, 10 Nov 2020 07:57:50 +0000 (16:57 +0900)]
Release version 0.9.3

Changes:
 - Remove DefaultDependencies=no on package-manager.service

Change-Id: Ia9cc483a4ced1ecd05ce08e6d0a50b8661e59820
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRemove DefaultDependencies=no on package-manager.service 12/245412/1
INSUN PYO [Thu, 8 Oct 2020 08:30:29 +0000 (17:30 +0900)]
Remove DefaultDependencies=no on package-manager.service

A package-manager.service has After=package-recovery.service and Requires=package-recovery.service dependencies.
It means that package-manager.service always runs after package-recovery.service.

A package-recovery.service does not have 'DefaultDependencies=no'.
So, DefaultDependencies=no in package-manager.service does not do anything.

Change-Id: I08377b5b92ea48a7a4073c70ae56f5e175d687b4

4 years agoRelease version 0.9.2 64/241064/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115907 accepted/tizen/6.0/unified/hotfix/20201103.045845 accepted/tizen/unified/20200818.125949 submit/tizen/20200814.081404 submit/tizen/20200814.081807 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, 14 Aug 2020 07:43:01 +0000 (16:43 +0900)]
Release version 0.9.2

Changes:
 - Supress build warning
 - Change request key generation logic
 - Check return value of kill request while disabling app
 - Extract commonly used logic
 - Minor refactoring on pkgmgr-server

Change-Id: I2a55b2dbb25ff4c767d09fe5097f8554b5177da9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoMinor refactoring on pkgmgr-server 19/240519/5
Junghyun Yeon [Fri, 7 Aug 2020 04:58:12 +0000 (13:58 +0900)]
Minor refactoring on pkgmgr-server

Integrate duplicate codes.

Change-Id: I6f7c7939d4b3c1d9bd6714bdeb92e3cffaa94d62
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoExtract commonly used logic 14/240314/12
Junghyun Yeon [Wed, 5 Aug 2020 08:04:12 +0000 (17:04 +0900)]
Extract commonly used logic

Change-Id: I0c5de257fbb1ebef0bf5b9b515b87da7a16c77f0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoCheck return value of kill request while disabling app 20/240520/1
Junghyun Yeon [Fri, 7 Aug 2020 05:15:30 +0000 (14:15 +0900)]
Check return value of kill request while disabling app

Change-Id: I453fc51f03132b94e126a856983d57122a0484f4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoChange request key generation logic 47/240447/1
Junghyun Yeon [Thu, 6 Aug 2020 09:00:00 +0000 (18:00 +0900)]
Change request key generation logic

request key doesn't mean backend going to be executed

Change-Id: Ie2e0d04bb836ce3559bdff003ab01b471ad4faf1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoSupress build warning 06/240306/1
Junghyun Yeon [Wed, 5 Aug 2020 07:14:18 +0000 (16:14 +0900)]
Supress build warning

Change-Id: Ia9b20f3f3ae3d1cf98ea8c7849127194a3a79938
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.9.1 43/232243/1 accepted/tizen/unified/20200508.045019 submit/tizen/20200429.082446 submit/tizen/20200506.235326
Ilho Kim [Wed, 29 Apr 2020 08:19:33 +0000 (17:19 +0900)]
Release version 0.9.1

Changes:
 - Fix pkgmgr-server crash

Change-Id: I358f55379325fa019f42d7272009c6ef39b4048a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix pkgmgr-server crash 01/230901/3
Ilho Kim [Thu, 16 Apr 2020 01:43:34 +0000 (10:43 +0900)]
Fix pkgmgr-server crash

The address pointed to by the pkgpath variable is patr of pkgs
pkgs is freed at end of a function, so GList is passed the freed memory

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

Changes:
 - Fix to handle multiple install request

Change-Id: Iaae3dda3c9413d7de1964aad905e819ddb6f17b8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix to handle multiple install request 72/225072/5
Sangyoon Jang [Tue, 11 Feb 2020 10:32:16 +0000 (19:32 +0900)]
Fix to handle multiple install request

Added handling multiple request of install, uninstall, mount install.

Change-Id: I8fbf8b2007f275096b1b3efb783f0929dd2a6efa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.8.21 77/226377/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200303.170615 accepted/tizen/5.5/unified/wearable/hotfix/20201027.114509 accepted/tizen/unified/20200303.032615 submit/tizen/20200302.075610 submit/tizen_5.5/20200302.074523 submit/tizen_5.5_wearable_hotfix/20201026.184303
Ilho Kim [Mon, 2 Mar 2020 05:46:36 +0000 (14:46 +0900)]
Release version 0.8.21

Changes:
 - Fix static analysis issue

Change-Id: I3fee32ea853464bbd43a32ebaff347342acb086e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix static analysis issue 51/225751/2
Sangyoon Jang [Mon, 24 Feb 2020 08:33:07 +0000 (17:33 +0900)]
Fix static analysis issue

Fix for TOCTOU attack.

Change-Id: I10e2436f7c2530fa5089ff545f36007760ed43d1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.8.20 83/223583/1 accepted/tizen/unified/20200212.125951 submit/tizen/20200131.050227 submit/tizen/20200210.091657 submit/tizen/20200211.010149
Ilho Kim [Fri, 31 Jan 2020 04:32:59 +0000 (13:32 +0900)]
Release version 0.8.20

Changes:
 - Specify type of pkgmgr-service as "dbus"

Change-Id: Ibc390b76be72caee680d50d950b615bd105a1345
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoSpecify type of pkgmgr-service as "dbus" 93/222693/2
Ilho Kim [Thu, 16 Jan 2020 08:43:26 +0000 (17:43 +0900)]
Specify type of pkgmgr-service as "dbus"

- Service units with this option configured
  implicitly gain dependencies on the dbus.socket unit

Change-Id: I02a38259c10c048ecf1dca7bb3da1fea21adad26
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.8.19 10/222710/1 accepted/tizen/unified/20200120.133143 submit/tizen/20200117.084916
Ilho Kim [Fri, 17 Jan 2020 08:42:34 +0000 (17:42 +0900)]
Release version 0.8.19

Changes:
 - Resolve static analysis issue

Change-Id: Ie22f4127e8149882ba8b1045ecc0455fde44d18d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoResolve static analysis issue 55/222655/1
Ilho Kim [Fri, 17 Jan 2020 04:42:19 +0000 (13:42 +0900)]
Resolve static analysis issue

Change-Id: I301e2be8d7f45d5ee3102dbafb5ad9058ed0f7d2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.8.18 51/221751/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200110.004221 accepted/tizen/5.5/unified/20200113.095822 accepted/tizen/unified/20200108.131525 submit/tizen/20200107.095251 submit/tizen_5.5/20200107.095257 submit/tizen_5.5/20200109.083510 submit/tizen_5.5/20200113.000655
Junghyun Yeon [Tue, 7 Jan 2020 08:49:16 +0000 (17:49 +0900)]
Release version 0.8.18

Changes:
 - Fix some codes
 - Fix pkgmgr-server

Change-Id: I5589d909f7e898f55a480f9dad23c15064b80b11
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix pkgmgr-server 06/221606/5
Junghyun Yeon [Mon, 6 Jan 2020 06:23:50 +0000 (15:23 +0900)]
Fix pkgmgr-server

- Fix wrong use of g_variant_get to prevent memory leak.
- Add unregistering object to reduce ref counter properly.

Change-Id: I5262a2d20550286babc71327d603be6fcae0b2de
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix some codes 21/217521/4
Junghyun Yeon [Tue, 12 Nov 2019 07:24:26 +0000 (16:24 +0900)]
Fix some codes

- Add logs to print error message when server failed to read signal.

Change-Id: Ib213e80e23491c629117ecb8059cd2bf1586223f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.8.17 08/220108/1 accepted/tizen/unified/20191216.222218 submit/tizen/20191213.074937
Ilho Kim [Fri, 13 Dec 2019 07:02:43 +0000 (16:02 +0900)]
Release version 0.8.17

Changes:
 - Fix wrong indentation

Change-Id: Ie1e7fa1ecd0f82938732c54c6c75839eb49f208f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix wrong indentation 54/217454/1
Junghyun Yeon [Tue, 12 Nov 2019 02:37:33 +0000 (11:37 +0900)]
Fix wrong indentation

Change-Id: I081c17a0f7cbd64f6957caa2cb81dba205c79bca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.8.16 56/214856/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023721 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083602 accepted/tizen/unified/20191011.023401 submit/tizen/20190927.070616 submit/tizen/20191001.095121 submit/tizen/20191002.002728 submit/tizen/20191010.101146 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Ilho Kim [Fri, 27 Sep 2019 06:57:38 +0000 (15:57 +0900)]
Release version 0.8.16

Changes:
 - Log request type, client pid, cmdline

Change-Id: I5059dd8396628e42436ca4d6b48250a52ce37ac0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoLog request type, client pid, cmdline 57/214657/6
Sangyoon Jang [Wed, 25 Sep 2019 05:47:34 +0000 (14:47 +0900)]
Log request type, client pid, cmdline

Add some information for debugging purposes.

Change-Id: Ice93560057bea2eecb2bd51f809a997ff8c68005
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.8.15 09/211809/1 accepted/tizen/unified/20190812.235622 submit/tizen/20190809.084335
Ilho Kim [Fri, 9 Aug 2019 08:15:27 +0000 (17:15 +0900)]
Release version 0.8.15

Changes:
 - Change /usr/bin/false to /bin/false in the dbus configuration
 - Fix the possibility of a memory leak

Change-Id: Ia14011581ba57bfc81496f33e039637c1b49a93a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoFix the possibility of a memory leak 12/209912/3
Ilho Kim [Fri, 12 Jul 2019 08:23:42 +0000 (17:23 +0900)]
Fix the possibility of a memory leak

The sqlite3_open_v2 function may have a db handle
even if an error occurs.

Change-Id: Iaf2d074f8b48bec00504bc9d00fd138b1c3d4480
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoChange /usr/bin/false to /bin/false in the dbus configuration 17/209917/1
INSUN PYO [Fri, 12 Jul 2019 09:08:37 +0000 (18:08 +0900)]
Change /usr/bin/false to /bin/false in the dbus configuration

Change-Id: I7080ea6f01ec1386474b242b8f4db302d02ba722

5 years agoRelease version 0.8.14 86/209886/1 accepted/tizen/unified/20190717.115201 submit/tizen/20190712.071407 submit/tizen/20190716.022534
Ilho Kim [Fri, 12 Jul 2019 06:41:37 +0000 (15:41 +0900)]
Release version 0.8.14

Changes:
 - Change the config value of the systemd service ("false" -> "no")

Change-Id: I583540955c5cbafaee25cb596eb25b42af2d7372
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>