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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
Sangyoon Jang [Wed, 29 Nov 2023 04:46:52 +0000 (04:46 +0000)]
Merge "Add pkgmgrinfo_pkginfo_foreach_depends_on_by_pkgid" into tizen
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sangyoon Jang [Wed, 11 Jan 2023 01:14:42 +0000 (10:14 +0900)]
Add metadata to pkginfo
Now metadata is available at package level.
Change-Id: Ic3f561fdb427d2482b1c3945366e6c26d7fe3976
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jh9216.park [Thu, 12 Jan 2023 08:00:20 +0000 (03:00 -0500)]
Release version 0.22.41
Changes:
- Refactor pkgmgr-info
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
Change-Id: I04ca8c3d15c42f5349c13664427fa7138d3f1141
jh9216.park [Fri, 30 Dec 2022 02:29:38 +0000 (21:29 -0500)]
Refactor pkgmgr-info
- Use tizen_base::Database
- C -> C++
Change-Id: I77ffd89f16f4386cc85ff1031034f42c1a22498d
Signed-off-by: jh9216.park <jh9216.park@samsung.com>
ilho kim [Tue, 10 Jan 2023 04:27:55 +0000 (13:27 +0900)]
Release version 0.22.40
Changes:
- Fix ResTypePkgFilterChecker
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Change-Id: Ia0419f5efdbc6701a84673640e7580c2ca8eddb3
ilho kim [Tue, 10 Jan 2023 01:57:47 +0000 (10:57 +0900)]
Fix ResTypePkgFilterChecker
ResTypePkgFilterChecker filters the cached package information
to the resource type
Fix the the filter's behavior
Change-Id: Ia244ff932365be41b2fdb47c477644292058c85f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 24 Nov 2022 01:04:34 +0000 (10:04 +0900)]
Release version 0.22.39
Changes:
- Fix handling pending pkgs
Change-Id: I18e1d4be08e1ad13821617b205381a80c8b11877
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 24 Nov 2022 00:03:31 +0000 (09:03 +0900)]
Fix handling pending pkgs
Hanling pending pkgs doesn't need to affected by pid.
Change-Id: Iac865f75614426f71c8c425650077ed9e02ccbfd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 Oct 2022 08:10:29 +0000 (17:10 +0900)]
Increase timeout of client socket
Increase timeout for read request. When system is busy, clients read
request fail by timeout.
Change-Id: I1ebdc879cd15bf812737818c66197b1c8440de67
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Changgyu Choi [Fri, 28 Oct 2022 01:05:41 +0000 (10:05 +0900)]
Release version 0.22.38
Changes:
- Fix to wrong free filter list
Change-Id: I7823f0f3f5a5b7ffd6f54d336f844f1ea8f1218c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 28 Oct 2022 00:27:52 +0000 (09:27 +0900)]
Fix to wrong free filter list
Change-Id: I622976537046751cf871902a59e58998db20f253
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 25 Oct 2022 04:51:56 +0000 (13:51 +0900)]
Release version 0.22.37
Changes:
- Fix get_filter_query
- Improve handling of cache
Change-Id: I57f7dc85d76521bc4b8ecfabcc6d3407b40f8756
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Wed, 19 Oct 2022 08:18:35 +0000 (17:18 +0900)]
Improve handling of cache
After writing the package information, entire cache is removed and created
This is an inefficient process
so change to update only cache that needs to be updated
Change-Id: I6e7eea3e23ae392765dd9cbf53cf2bc09f06f0f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>