platform/core/appfw/pkgmgr-info.git
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
7 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>
7 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>
7 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>
7 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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)

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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>
11 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)

11 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>
11 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>
11 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

11 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>
11 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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

12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
12 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>
13 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>
13 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>
13 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>
13 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>
14 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>
14 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>
15 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>
15 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>
17 months 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>
17 months 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>
18 months agoAdd missing include 54/291754/1
Sangyoon Jang [Fri, 21 Apr 2023 01:09:51 +0000 (10:09 +0900)]
Add missing include

Change-Id: I01f9d9b5f2f35dc4aee05b63db2640c86f922de4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
19 months agoRelease version 0.24.6 88/290688/1 accepted/tizen/unified/20230331.225112
ilho kim [Fri, 31 Mar 2023 00:33:53 +0000 (09:33 +0900)]
Release version 0.24.6

Changes:
 - Decrease timeout of client socket

Change-Id: I7495b702240669ccc331a7c32758489bd544c605
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoDecrease timeout of client socket 55/290655/1
ilho kim [Thu, 30 Mar 2023 05:54:53 +0000 (14:54 +0900)]
Decrease timeout of client socket

The timeout was increased because the request received before the cache
creation is completed is delayed, but not the request is received after
the cache creation is completed, so the value is reduce again

Change-Id: Id208b540a6fbc94cc1094a2aa68046eaba99cb46
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoRelease version 0.24.5 25/290225/1 accepted/tizen/unified/20230323.172511
ilho kim [Wed, 22 Mar 2023 00:17:07 +0000 (09:17 +0900)]
Release version 0.24.5

Changes:
 - Fix Typo
 - Fix "_APPINFO_PROP_PKG_DISABLE" filter check logic

Change-Id: I0a1fa6192a89ce41e1b254cd2483dd2119433590
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoFix "_APPINFO_PROP_PKG_DISABLE" filter check logic 16/290216/1
ilho kim [Tue, 21 Mar 2023 11:44:03 +0000 (20:44 +0900)]
Fix "_APPINFO_PROP_PKG_DISABLE" filter check logic

The GetPackageDisableFilterStatus function should check
'PMINFO_APPINFO_PROP_PKG_DISABLE' not 'PMINFO_APPINFO_PROP_APP_DISABLE'

Change-Id: Ia922d73aaf845dbd97d4e7bef28029be4c42df4c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
19 months agoFix Typo 13/290213/1
ilho kim [Tue, 21 Mar 2023 11:29:53 +0000 (20:29 +0900)]
Fix Typo

Change-Id: I5ed2ebc7f2d52e41546fdb22a8af57b3b6fceb21
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoRelease version 0.24.4 81/289881/1 accepted/tizen/unified/20230316.101442
ilho kim [Wed, 15 Mar 2023 04:50:57 +0000 (13:50 +0900)]
Release version 0.24.4

Changes:
 - Fix static analysis issue

Change-Id: I015f93e43773f751b2d9eb25c68ca54884f0d6f9
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoFix static analysis issue 69/289869/2
ilho kim [Wed, 15 Mar 2023 03:32:46 +0000 (12:32 +0900)]
Fix static analysis issue

Fix resource leak

Change-Id: I63816552cf432f3c9c1eee8eac1c62a6e4b1fdfa
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoRelease version 0.24.3 70/289770/1 accepted/tizen/unified/20230315.093458
ilho kim [Tue, 14 Mar 2023 07:20:37 +0000 (16:20 +0900)]
Release version 0.24.3

Changes:
 - Add debugging log for disabled pkg/app for db
 - Fix 'pkgmgr_parser_update_global_app_disable_for_uid_info_in_db'

Change-Id: I06c8b2f2a2bd20d54160319d0b52366dba3c58d5
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoFix 'pkgmgr_parser_update_global_app_disable_for_uid_info_in_db' 26/289526/1
ilho kim [Thu, 9 Mar 2023 06:23:24 +0000 (15:23 +0900)]
Fix 'pkgmgr_parser_update_global_app_disable_for_uid_info_in_db'

The api write value for global user database

Change-Id: I8296c653497337c9aa79091058b89a47dd878388
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoAdd debugging log for disabled pkg/app for db 08/289508/3
ilho kim [Thu, 9 Mar 2023 03:42:07 +0000 (12:42 +0900)]
Add debugging log for disabled pkg/app for db

When using a filter for package_disable or app_disable
do not filter using a query, get a values from db and then apply filter
and print log when package or application is disabled

Change-Id: I3842c346e6bdebee2a7703897ab91cd323d33a45
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoRelease version 0.24.2 79/289479/1 accepted/tizen/unified/20230310.062643 accepted/tizen/unified/20230314.093341
Hwankyu Jhun [Wed, 8 Mar 2023 23:37:04 +0000 (23:37 +0000)]
Release version 0.24.2

Changes:
 - Fix static analysis issues
 - Fix static analysis issues
 - Add package paremeter to application filter
 - Fix 'PMINFO_APPINFO_PROP_PKG_DISABLE' filter for cache
 - Add debugging log for disabled pkg/app for cache
 - Modify package ID comparison

Change-Id: I5b373b0de37669ae76206e11078c177a91663c36
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months agoModify package ID comparison 78/289478/1
Hwankyu Jhun [Wed, 8 Mar 2023 23:30:15 +0000 (23:30 +0000)]
Modify package ID comparison

This patch fixes duplicated callback function call.

Change-Id: I438d3e1243652542a002701f623da2aeba27b0a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
20 months agoAdd debugging log for disabled pkg/app for cache 87/289387/2
ilho kim [Fri, 3 Mar 2023 01:15:12 +0000 (10:15 +0900)]
Add debugging log for disabled pkg/app for cache

Change-Id: I360d3bd833b7f05db225ae437bdab35adc5555af
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoFix 'PMINFO_APPINFO_PROP_PKG_DISABLE' filter for cache 99/289299/1
ilho kim [Mon, 6 Mar 2023 04:44:57 +0000 (13:44 +0900)]
Fix 'PMINFO_APPINFO_PROP_PKG_DISABLE' filter for cache

PMINFO_APPINFO_PROP_PKG_DISABLE filter should check
if the application's package is disabled or not

Change-Id: Ifce33771267de6ade81d9e118cded3519757aef0
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
20 months agoAdd package paremeter to application filter 98/289298/1
ilho kim [Mon, 6 Mar 2023 04:34:47 +0000 (13:34 +0900)]
Add package paremeter to application filter

Package information of the application may be required
in the application filter

Change-Id: I1386eb75cd30f939eef253621b13300904398b1a
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
21 months agoFix static analysis issues 69/288169/2
ilho kim [Mon, 13 Feb 2023 02:25:54 +0000 (11:25 +0900)]
Fix static analysis issues

- Unchecked return value

Change-Id: Ic59b1ee15622fd86f1bf4782e3df0191aa7fe0aa
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
21 months agoFix static analysis issues 68/288168/1
ilho kim [Mon, 13 Feb 2023 01:50:01 +0000 (10:50 +0900)]
Fix static analysis issues

- Fix resource leak

Change-Id: I4157b1f9f5e3014ce0adea493551e98f3a5e8038
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
21 months agoRelease version 0.24.1 28/288028/1
ilho kim [Thu, 9 Feb 2023 07:59:54 +0000 (16:59 +0900)]
Release version 0.24.1

Changes:
 - Delay Creation of cache if backup database is exist

Change-Id: Iabd33173e22e46426ba44f426ac98ae4b8fdcfda
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
21 months agoDelay Creation of cache if backup database is exist 47/287947/3
ilho kim [Wed, 8 Feb 2023 06:37:28 +0000 (15:37 +0900)]
Delay Creation of cache if backup database is exist

If the backup database created during pkg_upgrade remains due to power off
the backup database will be restored in the next pkg_upgrade
In this case, the package information of the database and cache may be
different

Change-Id: I3b17a659cdaeccd3fc2c01224336f771b4bd7f5f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
21 months agoRelease version 0.24.0 30/287530/2 accepted/tizen/unified/20230202.015302
Hwankyu Jhun [Tue, 31 Jan 2023 04:05:15 +0000 (04:05 +0000)]
Release version 0.24.0

Changes:
 - Support multiple instance launch

Change-Id: I93937cd9a71ee6000bfac3bd80b3b2fde4f55532
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
21 months agoSupport multiple instance launch 30/287130/2
Hwankyu Jhun [Fri, 20 Jan 2023 07:24:04 +0000 (07:24 +0000)]
Support multiple instance launch

When the multiple instance launch is supported, the application ID can
be "<appid>::<instance_id>". This patch checks whether the application ID
has the instance Id or not. If it has the instance ID, the library tries
to find the application info using the real application ID.

Change-Id: I4d72dada5815f359073de860b354cb7bee994b9d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
21 months agoRelease version 0.23.2 15/286915/1 accepted/tizen/7.0/unified/20230203.164125 accepted/tizen/unified/20230117.140519
jh9216.park [Mon, 16 Jan 2023 23:51:51 +0000 (18:51 -0500)]
Release version 0.23.2

Changes:
 - Fix build error

Change-Id: I2bb76f95c5d9367050bc109013a0a901bfc4444f
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
21 months agoFix build error 14/286914/2
jh9216.park [Mon, 16 Jan 2023 23:43:13 +0000 (18:43 -0500)]
Fix build error

- When 'gcov' is defined, build errors will happen.

Change-Id: I4ff56334d75630185f9720aa0b53d32612fc92c0
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
22 months agoRelease version 0.23.1 17/286817/1
Sangyoon Jang [Fri, 13 Jan 2023 07:54:23 +0000 (16:54 +0900)]
Release version 0.23.1

Changes:
 - Add missing table names

Change-Id: I636eaf704de27b962fd4b62f97e846e8466665cc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoAdd missing table names 12/286812/1
Sangyoon Jang [Fri, 13 Jan 2023 07:50:52 +0000 (16:50 +0900)]
Add missing table names

Add missing table names for pkg-db-recovery.

Change-Id: Ib27c394da6d4c1e1874a41655e69cbc4997e267a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoRelease version 0.23.0 97/286797/1
Sangyoon Jang [Fri, 13 Jan 2023 03:46:04 +0000 (12:46 +0900)]
Release version 0.23.0

Changes:
 - Add metadata to pkginfo
 - Update pkg_db_version

Change-Id: If41c00ce586fa29d8c33cee8eeaad847b4e4e40d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
22 months agoUpdate pkg_db_version 91/286791/1
Sangyoon Jang [Fri, 13 Jan 2023 02:11:10 +0000 (11:11 +0900)]
Update pkg_db_version

package_metadata table was added.

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