platform/core/appfw/pkgmgr-info.git
4 months agoRelease version 0.28.7 15/319015/1 accepted/tizen_unified_x_asan accepted/tizen/unified/20250204.110446 accepted/tizen/unified/x/20250212.043848 accepted/tizen/unified/x/asan/20250211.003512
Sangyoon Jang [Mon, 3 Feb 2025 06:58:01 +0000 (15:58 +0900)]
Release version 0.28.7

Changes:
 - Fix static analysis issue

Change-Id: I8140063a146ab42c15a1088d2b2a9e95723d732a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoFix static analysis issue 29/318529/2
Sangyoon Jang [Mon, 20 Jan 2025 05:00:11 +0000 (14:00 +0900)]
Fix static analysis issue

Change-Id: I494f54389823e60e335326aad23fb893632b1388
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoRelease version 0.28.6 42/318942/1
Sangyoon Jang [Mon, 3 Feb 2025 01:41:36 +0000 (10:41 +0900)]
Release version 0.28.6

Changes:
 - Fix to using abstract namespace socket
 - Fix GetResControl
 - Fix static analysis issue

Change-Id: I2fb71c2c1951ac6b9465963bd3d4197bb9736e41
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoFix static analysis issue 23/318623/3
Sangyoon Jang [Tue, 21 Jan 2025 08:07:11 +0000 (17:07 +0900)]
Fix static analysis issue

- Use proper parameter type.
- Add an exception handling.

Change-Id: Ib20b17a7a261cc2fe3a239500678b2f32653cff8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 months agoFix GetResControl 21/315921/3
Sangyoon Jang [Fri, 6 Dec 2024 07:21:44 +0000 (16:21 +0900)]
Fix GetResControl

Get res-control in order.

Change-Id: I2c20390b528e13728436e7b73d04a63bdf92cf55
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 months agoFix to using abstract namespace socket 63/316163/9
Sangyoon Jang [Wed, 11 Dec 2024 06:06:00 +0000 (15:06 +0900)]
Fix to using abstract namespace socket

Change-Id: Ibcfe231c2b20a53590048347410dfbe20752a169
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 months agoRelease version 0.28.5 96/316096/1 accepted/tizen/9.0/unified/20241212.022051 accepted/tizen/unified/20241211.152146 accepted/tizen/unified/x/20241218.032736 accepted/tizen/unified/x/asan/20241224.004502
Ilho Kim [Tue, 10 Dec 2024 06:39:48 +0000 (15:39 +0900)]
Release version 0.28.5

Changes:
 - Add api for updating package info rw to roupdated

Change-Id: Ic1d5aa963554a6e6dca36516b6e41b977c1722ed
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoAdd api for updating package info rw to roupdated 41/316041/2
Ilho Kim [Fri, 23 Aug 2024 12:23:40 +0000 (21:23 +0900)]
Add api for updating package info rw to roupdated

Change-Id: Ic154b43e98a76d7ca87ba303669051c80119c930
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRelease version 0.28.4 71/315471/1 accepted/tizen/9.0/unified/20241204.040117 accepted/tizen/unified/20241203.164210 accepted/tizen/unified/x/20241207.045429
Ilho Kim [Mon, 2 Dec 2024 07:43:26 +0000 (16:43 +0900)]
Release version 0.28.4

Changes:
 - Add api to get detailed information of privilege

Change-Id: I4464f7183596de9e56d9501662ac881d6f794ff6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoAdd api to get detailed information of privilege 30/315330/2
Ilho Kim [Thu, 30 Nov 2023 02:03:28 +0000 (11:03 +0900)]
Add api to get detailed information of privilege

- pkgmgrinfo_pkginfo_foreach_privilege_v2
- pkgmgrinfo_get_privilege_category
- pkgmgrinfo_get_privilege_name
- pkgmgrinfo_get_privilege_type

Change-Id: I0b494fb45a94973d1427af93ef8b807ddc8d708a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoRelease version 0.28.3 14/320514/1 accepted/tizen/9.0/unified/20241119.052012
Ilho Kim [Mon, 18 Nov 2024 03:50:17 +0000 (12:50 +0900)]
Release version 0.28.3

Changes:
 - Fix static analysis issue

Change-Id: I67f934c6adacaa95a6c91e2360e46335760c2ee3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
6 months agoFix static analysis issue 02/320502/1
Ilho Kim [Mon, 18 Nov 2024 01:35:52 +0000 (10:35 +0900)]
Fix static analysis issue

SEC_DO_NOT_ASSIGN_SIZE_OF_INT

Change-Id: I5c2df0c59c3bee89c99024e7731e52428bcfb0e6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 months agoRelease version 0.28.2 70/319370/1 accepted/tizen/unified/20241105.042051
Ilho Kim [Tue, 22 Oct 2024 05:39:37 +0000 (14:39 +0900)]
Release version 0.28.2

Changes:
 - Add apache license copyright

Change-Id: I2665582a3cdc1bae430338e3efaf1e01af31f39d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 months agoAdd apache license copyright 67/319367/1
Ilho Kim [Tue, 22 Oct 2024 05:22:00 +0000 (14:22 +0900)]
Add apache license copyright

The apache license copyright is missing from the newly added header file

Change-Id: I072469f7b5ee89854d6c99defe8693dccdd9a61a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 months agoRelease version 0.28.1 65/319365/1
Ilho Kim [Tue, 22 Oct 2024 04:38:42 +0000 (13:38 +0900)]
Release version 0.28.1

Changes:
 - Remove parcel.h header from pkgmgr-info.h

Change-Id: I2fce0fd8ec218736a6beafea23b57d5b171dc3bf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 months agoRemove parcel.h header from pkgmgr-info.h 64/319364/2
Ilho Kim [Tue, 22 Oct 2024 04:15:35 +0000 (13:15 +0900)]
Remove parcel.h header from pkgmgr-info.h

Remove parcel.h from pkgmgr-info.h and
move the following definition of apis to pkgmgrinfo_extension.h

pkgmgrinfo_pkginfo_to_parcel
pkgmgrinfo_appinfo_to_parcel
pkgmgrinfo_pkginfo_from_parcel
pkgmgrinfo_appinfo_from_parcel

Change-Id: I4c9eaa7c768abadcc7d15f8a3df6f842d70280e5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 months agoRelease version 0.28.0 84/319284/2
Ilho Kim [Mon, 21 Oct 2024 05:08:48 +0000 (14:08 +0900)]
Release version 0.28.0

Changes:
 - Add new apis for conversion between handle,parcel

Change-Id: Ib61216e7f1c214cedf42fe600e6832b1a61916d2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
7 months agoAdd new apis for conversion between handle,parcel 21/318921/3
Ilho Kim [Thu, 10 Oct 2024 10:14:16 +0000 (19:14 +0900)]
Add new apis for conversion between handle,parcel

[Added]
 pkgmgrinfo_pkginfo_to_parcel
 pkgmgrinfo_appinfo_to_parcel
 pkgmgrinfo_pkginfo_from_parcel
 pkgmgrinfo_appinfo_from_parcel

if the pkgmgr-info version is different
the operation of the apis is not guaranteed

Change-Id: Id9842a3fddf5b5ec3f59f9fe7ab238c40d266a6c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
8 months agoRelease version 0.27.0 71/318771/1 accepted/tizen_unified_toolchain accepted/tizen/9.0/unified/20241030.234505 accepted/tizen/unified/20241011.010643 accepted/tizen/unified/toolchain/20241022.122550 accepted/tizen/unified/toolchain/20241022.123007 accepted/tizen/unified/x/20241011.021810 accepted/tizen/unified/x/asan/20241014.000245 tizen_9.0_m2_release
Hwankyu Jhun [Tue, 8 Oct 2024 06:28:57 +0000 (15:28 +0900)]
Release version 0.27.0

Changes:
 - Retrieve privileges when getting appcontrol

Change-Id: I147f4526923cd1948cc9cfc0d412ffeb2eac4d3e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 months agoRetrieve privileges when getting appcontrol 44/318744/3
Ilho Kim [Tue, 8 Oct 2024 00:50:40 +0000 (09:50 +0900)]
Retrieve privileges when getting appcontrol

API added for getting appcontrol information from appinfo handle

 pkgmgrinfo_appinfo_foreach_appcontrol_v3
 pkgmgrinfo_appinfo_foreach_remote_appcontrol_v3
 pkgmgrinfo_appinfo_appcontrol_get_operation
 pkgmgrinfo_appinfo_appcontrol_get_uri
 pkgmgrinfo_appinfo_appcontrol_get_mime
 pkgmgrinfo_appinfo_appcontrol_get_id
 pkgmgrinfo_appinfo_appcontrol_foreach_privilege

Change-Id: Ic7e8be59aa2bcf2d72bf970d38e4a12b178ef6e8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
10 months agoRelease version 0.26.13 50/315950/1 accepted/tizen_unified_dev accepted/tizen/unified/20240813.181628 accepted/tizen/unified/dev/20240819.095540 accepted/tizen/unified/toolchain/20241004.101904 accepted/tizen/unified/x/20240818.074517
Ilho Kim [Mon, 12 Aug 2024 03:19:17 +0000 (12:19 +0900)]
Release version 0.26.13

Changes:
 - Add api for updating package info ro to rw

Change-Id: Idc8f8264cdee68bec5cf4ff765633ab29fa7de9d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
10 months agoAdd api for updating package info ro to rw 45/315945/1
Ilho Kim [Mon, 12 Aug 2024 01:36:07 +0000 (10:36 +0900)]
Add api for updating package info ro to rw

Change-Id: Iad16dfd4d0b73afcfdefc6c139fedb6e128f3cd4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
11 months agoRelease version 0.26.12 92/313792/1 accepted/tizen/unified/20240703.100035 accepted/tizen/unified/dev/20240704.065604 accepted/tizen/unified/toolchain/20240812.133238 accepted/tizen/unified/x/20240704.022928 accepted/tizen/unified/x/asan/20240813.231653
Sangyoon Jang [Tue, 2 Jul 2024 04:17:34 +0000 (13:17 +0900)]
Release version 0.26.12

Changes:
 - Fix static analysis issues

Change-Id: I5d7d65e79b31a1c5d07bd2b8095770ea4d8fc4ab
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
11 months agoFix static analysis issues 06/313706/1
Sangyoon Jang [Mon, 1 Jul 2024 06:40:10 +0000 (15:40 +0900)]
Fix static analysis issues

Change-Id: I602cd4c52327a1863a30bdd01f0c78ac8c38f03f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months agoRelease version 0.26.11 01/312501/1 accepted/tizen/unified/20240611.123914 accepted/tizen/unified/dev/20240620.005206 accepted/tizen/unified/toolchain/20240624.121523 accepted/tizen/unified/x/20240612.025951 accepted/tizen/unified/x/asan/20240625.092600
Ilho Kim [Tue, 11 Jun 2024 01:02:55 +0000 (10:02 +0900)]
Release version 0.26.11

Changes:
 - Remove unused variable
 - MemoryLimit has been replaced by MemoryMax

Change-Id: Ia9f04435036cbebaed78dcd3091b479ef8956957
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
12 months agoMemoryLimit has been replaced by MemoryMax 12/312112/1
Łukasz Stelmach [Tue, 4 Jun 2024 09:33:13 +0000 (11:33 +0200)]
MemoryLimit has been replaced by MemoryMax

The  MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.

Change-Id: Ia2ddb61da6ec44f0e5d0e9b6096985d3e57f716f
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
13 months agoRemove unused variable 07/310807/1
Ilho Kim [Wed, 8 May 2024 10:21:24 +0000 (19:21 +0900)]
Remove unused variable

Change-Id: Icf593aed636cc0aafd8932c0a77622b9f9adf5a6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoRelease version 0.26.10 37/310737/1 accepted/tizen/unified/20240508.124550 accepted/tizen/unified/20240508.150736 accepted/tizen/unified/toolchain/20240513.061251 accepted/tizen/unified/x/20240509.044733
Ilho Kim [Tue, 7 May 2024 11:03:11 +0000 (20:03 +0900)]
Release version 0.26.10

Changes:
 - Remove cmdline when founding a process with db lock

Change-Id: Iae63524c559df9d9c80ade8931f726ff23237ada
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoRemove cmdline when founding a process with db lock 35/310735/2
Ilho Kim [Tue, 7 May 2024 10:54:25 +0000 (19:54 +0900)]
Remove cmdline when founding a process with db lock

Reading cmdline can cause smack deny

Change-Id: I1beb54269cc7a560040dbb4b9bd45ad14f29941a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoRelease version 0.26.9 18/310618/1 accepted/tizen/unified/20240507.090832 accepted/tizen/unified/20240507.122804 accepted/tizen/unified/20240507.124144 accepted/tizen/unified/20240507.124201 accepted/tizen/unified/toolchain/20240508.012331 accepted/tizen/unified/x/20240507.051020
Ilho Kim [Thu, 2 May 2024 23:52:40 +0000 (08:52 +0900)]
Release version 0.26.9

Changes:
 - Fix UpdateCrashedWriterPackageInfo

Change-Id: I4254b6a6578c608f140f8ad00817aa3487c21315
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoFix UpdateCrashedWriterPackageInfo 17/310617/1
Ilho Kim [Thu, 2 May 2024 23:51:02 +0000 (08:51 +0900)]
Fix UpdateCrashedWriterPackageInfo

Fix the infinite loop problem

Change-Id: If199cfc0500f1ce3f5ea7a6c0d59b0e242a85f53
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoRelease version 0.26.8 74/310474/1 accepted/tizen/unified/20240502.044645 accepted/tizen/unified/toolchain/20240507.011817 accepted/tizen/unified/x/20240503.091146
Ilho Kim [Mon, 29 Apr 2024 23:25:31 +0000 (08:25 +0900)]
Release version 0.26.8

Changes:
 - Fix pending cache handling logic with write query

Change-Id: Ib9d522688200f091cb2ac6738b1d430843c34d69
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoFix pending cache handling logic with write query 54/310454/1
Ilho Kim [Mon, 29 Apr 2024 08:56:51 +0000 (17:56 +0900)]
Fix pending cache handling logic with write query

There is a problem that the pending package information does not match
the database when the installer performs a write query request
such as writing plugin execution information
When the installer request to update the cache, the value is obtained
from the database and the cache is updated

Change-Id: Ida25b2daff5d3aefb9a2f7323d4f2a3f3650cd8c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoRelease version 0.26.7 36/310336/1 accepted/tizen/unified/20240430.020541 accepted/tizen/unified/x/20240430.094823
Ilho Kim [Thu, 25 Apr 2024 11:44:05 +0000 (20:44 +0900)]
Release version 0.26.7

Changes:
 - Move the execution order of cpu inheritance forward
 - Improve db busy handler

Change-Id: I9c5e1fb99c7b2e316c6cceca832f6fdd9bb3b5a9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoImprove db busy handler 23/310323/6
Ilho Kim [Thu, 25 Apr 2024 06:30:24 +0000 (15:30 +0900)]
Improve db busy handler

Threre is a possibility that db operation cannot be performed
for more than 5 seconds on low performance devices
so increase busy handler waiting count
and print the process that owns the lock of database

Change-Id: Iba95a14fb2a41450cf011e98c83a61a1295e6c23
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
13 months agoMove the execution order of cpu inheritance forward 05/310305/2
Ilho Kim [Thu, 25 Apr 2024 06:19:13 +0000 (15:19 +0900)]
Move the execution order of cpu inheritance forward

Change-Id: Ide4ec31a01f10dce83a3d039aec646798948930a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
14 months agoRelease version 0.26.6 52/309352/1 accepted/tizen/unified/20240411.142625 accepted/tizen/unified/x/20240412.023852
Sangyoon Jang [Tue, 9 Apr 2024 05:52:42 +0000 (14:52 +0900)]
Release version 0.26.6

Changes:
 - Fix pkg db version

Change-Id: I85ba411dd828f7c8c1a56276d36a29ed3d62c0e4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
14 months agoFix pkg db version 44/306744/3
Sangyoon Jang [Tue, 27 Feb 2024 05:14:33 +0000 (14:14 +0900)]
Fix pkg db version

The lib rpk feature is moved to db version 30011.

Change-Id: I471f63aa14f738f290352e2c829134702061b158
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
14 months agoRelease version 0.26.5 25/308525/1 accepted/tizen/unified/20240328.043727 accepted/tizen/unified/x/20240328.090639
Sangyoon Jang [Wed, 27 Mar 2024 05:20:32 +0000 (14:20 +0900)]
Release version 0.26.5

Changes:
 - Fix manifest.xsd

Change-Id: I6e66b0cff9834587918ae2d4b56c95ef9a817fec
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
14 months agoFix manifest.xsd 24/308524/1
Sangyoon Jang [Wed, 27 Mar 2024 05:05:37 +0000 (14:05 +0900)]
Fix manifest.xsd

Fix Unique Particle Attribtution Violation.

Change-Id: I34f68a8d50b289ebbdd20c157ee81cbf559a7cf5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
15 months agoRelease version 0.26.4 23/307723/1 accepted/tizen/unified/20240313.134645 accepted/tizen/unified/20240313.135655 accepted/tizen/unified/x/20240314.073345
Ilho Kim [Tue, 12 Mar 2024 12:25:35 +0000 (21:25 +0900)]
Release version 0.26.4

Changes:
 - Add ConditionPathExists to pkg-db-recovery

Change-Id: Ibc630a4584e449b9975a30959f652a2683381df8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
15 months agoAdd ConditionPathExists to pkg-db-recovery 20/307720/1
Ilho Kim [Tue, 12 Mar 2024 12:17:55 +0000 (21:17 +0900)]
Add ConditionPathExists to pkg-db-recovery

During OTN, since the db schema has not been updated
schema verification may fail
Therefore there is need to prevents the execution of the pkg-db-recovery
service by checking file existing during OTN execution

Change-Id: Ie64d714ac63de5109c457d7551166f383d59721f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
15 months agoRelease version 0.26.3 86/307686/1
Ilho Kim [Tue, 12 Mar 2024 07:55:46 +0000 (16:55 +0900)]
Release version 0.26.3

Changes:
 - Fix lcov option for lcov 2.0

Change-Id: I95da7dd6e8923def941eb107e60f20cd3d3f1af3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
15 months agoFix lcov option for lcov 2.0 26/307626/1
Ilho Kim [Tue, 12 Mar 2024 04:58:45 +0000 (13:58 +0900)]
Fix lcov option for lcov 2.0

"mismatch,graph,unused" options are added.

Change-Id: I54f5c4802e3e0d93450c8ae3f7af2d085ac21f93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
15 months agoRelease version 0.26.2 21/307321/1 accepted/tizen/unified/20240308.174011 accepted/tizen/unified/x/20240311.100202
Ilho Kim [Thu, 7 Mar 2024 07:32:05 +0000 (16:32 +0900)]
Release version 0.26.2

Changes:
 - Fix pkgmgrinfo_plugininfo_foreach_plugininfo
 - Remove the package_count column that is not used

Change-Id: I3e37c3906014f21d35f7867c56e8a234afa81fbe
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
15 months agoRemove the package_count column that is not used 59/307159/1
Ilho Kim [Tue, 5 Mar 2024 10:41:41 +0000 (19:41 +0900)]
Remove the package_count column that is not used

Change-Id: I806042dc6944d941d54495d45a816a13c740ee0d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
15 months agoFix pkgmgrinfo_plugininfo_foreach_plugininfo 52/306852/1
Ilho Kim [Wed, 28 Feb 2024 06:40:01 +0000 (15:40 +0900)]
Fix pkgmgrinfo_plugininfo_foreach_plugininfo

The absence of data is not treated as an error

Change-Id: Id2b8c4ff81bb961d8fdb020ddce44060ba180e50
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
(cherry picked from commit 770125b88497bc94eabd75f4152b3a79d83b2bfa)

16 months agoRelease version 0.26.1 92/305692/1 accepted/tizen/unified/20240207.034842 accepted/tizen/unified/toolchain/20240311.065236 accepted/tizen/unified/x/20240207.075817
Ilho Kim [Tue, 6 Feb 2024 08:36:15 +0000 (17:36 +0900)]
Release version 0.26.1

Changes:
 - Remove table that db recovery tool check

Change-Id: I2b4cf83776322f32ea7d767d5799438a9dafacee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
16 months agoRemove table that db recovery tool check 89/305689/2
Ilho Kim [Tue, 6 Feb 2024 08:30:57 +0000 (17:30 +0900)]
Remove table that db recovery tool check

The table update_cert_info and update_cert_info2 no longer used

Change-Id: I8a97c7c7577ffe864a72582c297cc12ddd127e17
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
16 months agoRelease version 0.26.0 27/305327/1 accepted/tizen/unified/20240206.094524 accepted/tizen/unified/x/20240206.211052
Sangyoon Jang [Wed, 31 Jan 2024 08:46:49 +0000 (17:46 +0900)]
Release version 0.26.0

Changes:
 - Add pkgmgrinfo_pkginfo_get_metadata_value()

Change-Id: I5d83d321c54c2cf1fbf6bc0fd51beb5ccdb82ca1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoAdd pkgmgrinfo_pkginfo_get_metadata_value() 93/305293/1
Sangyoon Jang [Wed, 31 Jan 2024 04:14:20 +0000 (13:14 +0900)]
Add pkgmgrinfo_pkginfo_get_metadata_value()

Change-Id: I412a0aeb60248bd31f332e4877daf85dcab92edb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoRelease version 0.25.3 05/305205/1 accepted/tizen/unified/20240131.064114 accepted/tizen/unified/20240131.064211 accepted/tizen/unified/20240131.064303 accepted/tizen/unified/x/20240205.063951
Ilho Kim [Tue, 30 Jan 2024 05:22:28 +0000 (14:22 +0900)]
Release version 0.25.3

Changes:
 - Fix static analysis issue

Change-Id: I0a3c5f8cad1cc4c9d141af0be2456d8a5789d39e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
16 months agoFix static analysis issue 71/305171/2
Ilho Kim [Mon, 29 Jan 2024 11:29:14 +0000 (20:29 +0900)]
Fix static analysis issue

Use of auto that causes a copy

Change-Id: If260acdf627a1b2ebeebd6bd5102772cb140c7ba
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
16 months agoRelease version 0.25.2 11/304811/1 accepted/tizen/unified/20240129.163402
Sangyoon Jang [Wed, 24 Jan 2024 03:40:24 +0000 (12:40 +0900)]
Release version 0.25.2

Changes:
 - Fix setting certinfo

Change-Id: Ic44a42f26252b4eb9c7c14afb40c30d73534421c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoFix setting certinfo 16/304516/3
Sangyoon Jang [Thu, 18 Jan 2024 09:23:23 +0000 (18:23 +0900)]
Fix setting certinfo

package_count is no longer used. Use insert or replace statement for
setting certinfo.

Change-Id: Id3e37d61dbff1ecaa72f58581c7de91428c174da
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoRelease version 0.25.1 89/304589/1 accepted/tizen/unified/20240123.165858 accepted/tizen/unified/20240124.163239
Ilho Kim [Mon, 22 Jan 2024 01:02:36 +0000 (10:02 +0900)]
Release version 0.25.1

Changes:
 - Increse socket timeout for client
 - Parse value from database for lib rpk

Change-Id: Iaaa57509c4dd4d1f63b0d2b9ba8d913da47cc344
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
16 months agoParse value from database for lib rpk 68/304368/1
Ilho Kim [Tue, 16 Jan 2024 11:26:28 +0000 (20:26 +0900)]
Parse value from database for lib rpk

Change-Id: I97bade44316b67e65cc6c1cfeddcf352db5ecf89
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
16 months agoIncrese socket timeout for client 80/304280/4
Ilho Kim [Mon, 15 Jan 2024 09:59:38 +0000 (18:59 +0900)]
Increse socket timeout for client

Change-Id: I00e441d95a522b2c46ba5205aef166219ef508e1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
17 months agoRelease version 0.25.0 95/304095/1 accepted/tizen_unified_riscv accepted/tizen/unified/20240111.074620 accepted/tizen/unified/riscv/20240115.113659
Sangyoon Jang [Wed, 10 Jan 2024 04:29:49 +0000 (13:29 +0900)]
Release version 0.25.0

Changes:
 - Add attribute for lib rpk

Change-Id: I6cf9a926c823eae8edd904b2d2547654380c997e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
17 months agoAdd attribute for lib rpk 85/303785/7
Sangyoon Jang [Fri, 5 Jan 2024 01:28:52 +0000 (10:28 +0900)]
Add attribute for lib rpk

Change-Id: Ia85734e3fdbd7f3bb21d43f043820902bff51e78
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
17 months agoRelease version 0.24.20 94/303394/1 accepted/tizen/8.0/unified/20240101.155006 accepted/tizen/unified/20231227.170501 accepted/tizen/unified/riscv/20231227.105104
Ilho Kim [Wed, 27 Dec 2023 02:06:56 +0000 (11:06 +0900)]
Release version 0.24.20

Changes:
 - Fix build error
 - Remove unused function

Change-Id: I6f2f4fe8ddff638396244a00415b5e6a70ffd28c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
17 months agoRemove unused function 84/303384/1
Ilho Kim [Wed, 27 Dec 2023 02:05:51 +0000 (11:05 +0900)]
Remove unused function

Change-Id: I4bf4dea01efe9d63c5f1b2a9505f0b840117ea9b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
17 months agoFix build error 81/303381/1
Ilho Kim [Wed, 27 Dec 2023 02:00:56 +0000 (11:00 +0900)]
Fix build error

Change-Id: Ie86fa1977b8ede9cf08ecce699b53b076bf28dc3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
17 months agoRelease version 0.24.19 37/303037/1 accepted/tizen/8.0/unified/20231220.164934 accepted/tizen/unified/20231220.165122
Ilho Kim [Tue, 19 Dec 2023 06:57:45 +0000 (15:57 +0900)]
Release version 0.24.19

Changes:
 - Add log for add db execution failed
 - Change the regeration timing after all cache remove

Change-Id: I61d94dd3978710da2a6cb6b0d4efc315bad2bb6e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
17 months agoChange the regeration timing after all cache remove 36/303036/2
Ilho Kim [Tue, 19 Dec 2023 06:31:43 +0000 (15:31 +0900)]
Change the regeration timing after all cache remove

Since the operation of removing all caches is when the language is changed or
db is changed during cache creation, remove the operation of attempting
to create cache for each request and try to create cache again after
a certain period of time after removing all caches

Change-Id: I4b70af215bd68ad5ac97f0ae733bf7063fe3421f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
17 months agoAdd log for add db execution failed 01/302901/1
Ilho Kim [Fri, 15 Dec 2023 07:15:48 +0000 (16:15 +0900)]
Add log for add db execution failed

Change-Id: I94b2adfbde53c3659e4c7078dcfef4bf83ea49d8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoRelease version 0.24.18 39/302839/1 accepted/tizen/8.0/unified/20231215.165544 accepted/tizen/unified/20231215.165039
Ilho Kim [Thu, 14 Dec 2023 08:57:12 +0000 (17:57 +0900)]
Release version 0.24.18

Changes:
 - Print the request type when trying direct access
 - Change how to check pkginfo server ready flag

Change-Id: I3c2d659dc3b3dd252877178bfd2799ebd6d7b1f1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoChange how to check pkginfo server ready flag 23/302823/4
Ilho Kim [Thu, 14 Dec 2023 08:09:05 +0000 (17:09 +0900)]
Change how to check pkginfo server ready flag

Until the ready flag is created
check for the existence of the ready flag each time on client side

Change-Id: Ibe1f165f7246afdc7f7647a5029e34d008e80fc8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoPrint the request type when trying direct access 18/302818/2
Ilho Kim [Thu, 14 Dec 2023 07:22:52 +0000 (16:22 +0900)]
Print the request type when trying direct access

Change-Id: Ifbd5223c86c3a6924356d808e480f2485d039ce7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoRelease version 0.24.17 07/302507/1 accepted/tizen/8.0/unified/20231212.161340 accepted/tizen/unified/20231211.095404
Ilho Kim [Fri, 8 Dec 2023 01:18:24 +0000 (10:18 +0900)]
Release version 0.24.17

Changes:
 - Add buxton2.socket dependency
 - Remove the cache when language change event occurs
 - Fix inconsistency between cache and database

Change-Id: If40e16519addd3df272fd590354b407ab69bd769
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoFix inconsistency between cache and database 81/302481/5
Ilho Kim [Thu, 7 Dec 2023 12:40:49 +0000 (21:40 +0900)]
Fix inconsistency between cache and database

If there is an installation process that was started
before the cache creation task was completed on the server
then that process can attempt to write directly to the database even
after the cache generation is complete and a ready flag has been created
Using inotify, watch for changes to the database
and if there is an attempt to directly write to the database
after caching has been completed, remove all cached data

Change-Id: Ibf12fe472904467a8d5a5335f8525109aa03f32f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
18 months agoRemove the cache when language change event occurs 48/302448/1
Ilho Kim [Mon, 4 Dec 2023 04:42:04 +0000 (13:42 +0900)]
Remove the cache when language change event occurs

Change-Id: If58b4eb6465e7d1c9bfc254ee33b418eb0dc5a43
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
(cherry picked from commit dbc0e94134bfa8c35a13899cb8bfedd1d5149512)

18 months agoAdd buxton2.socket dependency 88/302188/2
Sangyoon Jang [Sun, 3 Dec 2023 23:59:28 +0000 (08:59 +0900)]
Add buxton2.socket dependency

To subscribe lang changed event, pkgmgr-info server requires buxton2
service.

Change-Id: I3ad94d2c91f33266d92c9d7e6f47ec78af4a1e8e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
18 months agoRelease version 0.24.16 80/301980/1 accepted/tizen/unified/20231130.180858 accepted/tizen/unified/riscv/20231211.234055
Sangyoon Jang [Wed, 29 Nov 2023 04:46:59 +0000 (13:46 +0900)]
Release version 0.24.16

Changes:
 - Delte meaningless code
 - Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid

Change-Id: I0fc9b3792d53d1a1cee5dea3778fc36296621c40
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
18 months agoMerge "Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid" into tizen
Sangyoon Jang [Wed, 29 Nov 2023 04:46:52 +0000 (04:46 +0000)]
Merge "Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid" into tizen

18 months agoAdd pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid 93/301893/1
Sangyoon Jang [Mon, 27 Nov 2023 05:51:07 +0000 (14:51 +0900)]
Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid

Add a new API to improve performance of .NET API.

Change-Id: Ia4b2f969c7839f0e010b418df8f8162a7d64fa13
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
18 months agoDelte meaningless code 27/301827/1
Ilho Kim [Fri, 24 Nov 2023 04:55:03 +0000 (13:55 +0900)]
Delte meaningless code

Remove the deprecated api call
appsvc unset was transferred to parser-plugin

Change-Id: If54e17e12144fe8814297e738bb69fb01a13dc98
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.15 98/301198/1 accepted/tizen/unified/20231114.041302
ilho kim [Fri, 10 Nov 2023 07:41:15 +0000 (16:41 +0900)]
Release version 0.24.15

Changes:
 - Add handling of the invalid command type
 - Remove internal api related with memory database

Change-Id: I63ab1675a48159f66857dce4ae996a309ecb62fb
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRemove internal api related with memory database 71/301171/1
ilho kim [Fri, 10 Nov 2023 04:14:47 +0000 (13:14 +0900)]
Remove internal api related with memory database

Memory database is no longer used

Change-Id: I6efb013b1942ff578d9f1c3a38335f8b6c7d34b2
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoAdd handling of the invalid command type 70/301170/1
ilho kim [Fri, 10 Nov 2023 04:13:54 +0000 (13:13 +0900)]
Add handling of the invalid command type

Change-Id: I97f4c1777fd6942cf6f3844e83e9ca76d469397a
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.14 68/300868/1 accepted/tizen/unified/20231103.163818
ilho kim [Fri, 3 Nov 2023 04:50:50 +0000 (13:50 +0900)]
Release version 0.24.14

Changes:
 - Remove the possibility of incorrect memory access

Change-Id: I6bdf22d663a017ccf8910df428ad58f019327926
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRemove the possibility of incorrect memory access 67/300867/1
ilho kim [Fri, 3 Nov 2023 04:22:31 +0000 (13:22 +0900)]
Remove the possibility of incorrect memory access

The pending pkg information by the uninstall request
doesn't have a pkg handle

Change-Id: Ie0341d42c469625bbcec7b0e4be07a9fdc028f06
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.13 77/300677/1 accepted/tizen/unified/20231101.174504
ilho kim [Tue, 31 Oct 2023 07:32:43 +0000 (16:32 +0900)]
Release version 0.24.13

Changes:
 - Fix wrong CommandType

Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Change-Id: Id921b75197904a40a178cb977145f930db9c25a0

19 months agoFix wrong CommandType 71/300671/1
ilho kim [Tue, 31 Oct 2023 06:13:21 +0000 (15:13 +0900)]
Fix wrong CommandType

Change-Id: Id0186d77983166a664ee7f2c64f5d64664d72c98
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.12 56/300656/1
ilho kim [Tue, 31 Oct 2023 02:10:43 +0000 (11:10 +0900)]
Release version 0.24.12

Changes:
 - Add api to update cache using pkgid

Change-Id: I9b0603c0ef56fbecc0aa944cb75892fbee8e5c77
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoAdd api to update cache using pkgid 59/300559/4
ilho kim [Wed, 25 Oct 2023 06:39:51 +0000 (15:39 +0900)]
Add api to update cache using pkgid

Change-Id: I1693bd1b3644167b1fa2338251aab32524de96e8
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.11 97/300497/1 accepted/tizen/unified/20231030.034805
ilho kim [Thu, 26 Oct 2023 07:11:46 +0000 (16:11 +0900)]
Release version 0.24.11

Changes:
 - Set memory limit

Change-Id: I7a0910e2d9b426f73c4ea6e0fde46dd10c42bfa9
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoSet memory limit 92/300492/1
ilho kim [Thu, 26 Oct 2023 06:50:14 +0000 (15:50 +0900)]
Set memory limit

Change-Id: I6e8575f1e339322e9ff6fd8859959f642c3448c3
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.10 41/300041/1 accepted/tizen/unified/20231018.120816
ilho kim [Mon, 16 Oct 2023 06:30:52 +0000 (15:30 +0900)]
Release version 0.24.10

Changes:
 - Fix buffer size for getting library path
 - Add some logs for debugging
 - Remove the memory database for the cache
 - Remove lock when getting the path of the database
 - Handle abnormally terminated installer process

Change-Id: Id319c5f2c707c27f16219d49418b70a5f058b0a9
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoHandle abnormally terminated installer process 76/299976/2
ilho kim [Fri, 13 Oct 2023 06:02:38 +0000 (15:02 +0900)]
Handle abnormally terminated installer process

If there is an abnormally terminated installer process
apply the pending package info written by the process to the cache

Change-Id: Idc128d9dcddec3ba209996e2a09eea3ea687c0ce
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoRemove lock when getting the path of the database 18/299918/1
ilho kim [Thu, 12 Oct 2023 06:49:04 +0000 (15:49 +0900)]
Remove lock when getting the path of the database

Since the memory database creation logic has been removed
there is no need to hold the lock because only the path is returned
when getting the database's path

Change-Id: I255f74de540f64ef2d3b928664148639b14ef3a6
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoRemove the memory database for the cache 84/299884/4
ilho kim [Wed, 11 Oct 2023 10:22:48 +0000 (19:22 +0900)]
Remove the memory database for the cache

There is no need to maintain memory database because
pkginfo-server is already caching the handles of pkginfo and appinfo

Change-Id: I1158e980880c8945cad14b338ec8e0d70dc5b5ac
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoAdd some logs for debugging 91/299391/2
Sangyoon Jang [Wed, 27 Sep 2023 06:37:39 +0000 (15:37 +0900)]
Add some logs for debugging

Change-Id: I140362e33ac24b1de2019fcc743c30b4e582cc77
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
20 months agoFix buffer size for getting library path 70/280570/2
Sangyoon Jang [Thu, 1 Sep 2022 01:31:59 +0000 (10:31 +0900)]
Fix buffer size for getting library path

Change-Id: I08da5a2bf9b9f032be1e467ee28d76a49f149b6b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
21 months agoRelease version 0.24.9 68/298568/1 accepted/tizen/8.0/unified/20231005.093052 accepted/tizen/unified/20230912.171555 tizen_8.0_m2_release
Sangyoon Jang [Mon, 11 Sep 2023 00:45:07 +0000 (09:45 +0900)]
Release version 0.24.9

Changes:
 - Set client socket timeout from env if exists

Change-Id: Iaaccccab16c4eb4dc712411500709f1c1dbc742e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
21 months agoSet client socket timeout from env if exists 36/298336/1
Sangyoon Jang [Thu, 24 Aug 2023 06:14:22 +0000 (15:14 +0900)]
Set client socket timeout from env if exists

Change-Id: Iceb6ba89e6c7a40f93e555faad1e0e72894f8725
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoRelease version 0.24.8 11/296911/1 accepted/tizen/unified/20230808.074049
ilho kim [Mon, 7 Aug 2023 06:33:18 +0000 (15:33 +0900)]
Release version 0.24.8

Changes:
 - Fix static analysis issue

Change-Id: I0b0c4aa1d4ed00b828b62fa911491175c5fbbb7c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
22 months agoFix static analysis issue 81/296881/1
ilho kim [Mon, 7 Aug 2023 05:37:41 +0000 (14:37 +0900)]
Fix static analysis issue

Avoid null pointer dereference

Change-Id: Id47e7cf188e299142a090e08f696810ac8e66f45
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.24.7 58/293858/1 accepted/tizen/unified/20230608.164337 accepted/tizen/unified/dev/20230726.115711
Sangyoon Jang [Wed, 7 Jun 2023 06:50:01 +0000 (15:50 +0900)]
Release version 0.24.7

Changes:
 - Add missing include
 - Fix log format

Change-Id: Ic4b85e9e00ccf68ff21e53583425da701066e1cd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix log format 77/293177/1
Sangyoon Jang [Mon, 22 May 2023 06:20:09 +0000 (15:20 +0900)]
Fix log format

Add function name.

Change-Id: Ibfd34d54bead1e289f0cc0e5caae45d1431eff11
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>