Ilho Kim [Tue, 7 May 2024 11:17:42 +0000 (20:17 +0900)]
Release version 0.24.28
Changes:
- Remove cmdline when founding a process with db lock
Change-Id: I3723b22c5a07ed1593b5785cc8ffa2e6ca664a93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
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>
(cherry picked from commit
e27e39891dd91bb8f039fd9539b200c89f991a0c)
Ilho Kim [Fri, 3 May 2024 03:41:01 +0000 (12:41 +0900)]
Release version 0.24.27
Changes:
- Fix UpdateCrashedWriterPackageInfo
Change-Id: I7c9ae7ac3a18c483b9c098950ede4b7a335e33e9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
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>
(cherry picked from commit
d71dccd68f1aac39ad0726d72a95293b24f0e553)
Ilho Kim [Tue, 30 Apr 2024 04:08:41 +0000 (13:08 +0900)]
Release version 0.24.26
Changes:
- Fix pending cache handling logic with write query
Change-Id: Ia23863362c25844380f06dae9188d977bf5e2a7c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
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>
(cherry picked from commit
ddfb723bbe91772ead70419f948bda8e3d4ee3df)
Ilho Kim [Thu, 25 Apr 2024 22:21:04 +0000 (07:21 +0900)]
Release version 0.24.25
Changes:
- Move the execution order of cpu inheritance forward
- Improve db busy handler
Change-Id: I349f2a40058121e5561eab64aa2cdff36c2dc601
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
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>
(cherry picked from commit
e7b404afeefaf9589c85fe107f70dc98d442783b)
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>
(cherry picked from commit
3a46004efe5ac338e0fcd169a9a3d437356c4b09)
Ilho Kim [Tue, 12 Mar 2024 12:25:52 +0000 (21:25 +0900)]
Release version 0.24.24
Changes:
- Add ConditionPathExists to pkg-db-recovery
Change-Id: I8e14989c81717483bbb4a406a5cc002e6e495b36
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 [Wed, 6 Mar 2024 06:30:58 +0000 (15:30 +0900)]
Release version 0.24.23
Changes:
- Fix pkgmgrinfo_plugininfo_foreach_plugininfo
- Revert "Fix pkg db version"
- Revert "Remove table that db recovery tool check"
- Revert cert database schema change
Change-Id: I2651065ab39267733974a3dc425b35f61181bb6b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 5 Mar 2024 09:00:30 +0000 (18:00 +0900)]
Revert cert database schema change
Change-Id: I3170888119285d9db682e0fa26894a8ffe8e0d52
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 5 Mar 2024 07:13:31 +0000 (16:13 +0900)]
Revert "Remove table that db recovery tool check"
This reverts commit
ab791a1ff199d101b61d148e0888033ab90769c2.
Change-Id: Ice16b817e573a3cce8b57dce088ca09f54f21ebb
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 5 Mar 2024 07:13:16 +0000 (16:13 +0900)]
Revert "Fix pkg db version"
This reverts commit
19e99a329c85e2b427c2353286fb139067aa64c4.
Change-Id: I3d40ae8af7596dd5eb5d0ce033f0e5edc1f4785b
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)
Sangyoon Jang [Tue, 27 Feb 2024 23:53:12 +0000 (08:53 +0900)]
Release version 0.24.22
Changes:
- Fix setting certinfo
- Remove table that db recovery tool check
- Fix pkg db version
Change-Id: If6eba8ae5431600f9a432fcf8cb4a1407d54e8e5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 27 Feb 2024 05:18:58 +0000 (14:18 +0900)]
Fix pkg db version
certinfo table is modified.
Change-Id: Ic7cc7b8a1a7d5cea3aabb6a73dc8d026ee63c33a
Signed-off-by: Sangyoon Jang <jeremy.jang@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>
(cherry picked from commit
acedb8bb52e4f058ff131d8039494b46a480c09b)
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>
(cherry picked from commit
459a004eec55cb17d3b9b585095ac6cc136733fa)
Ilho Kim [Wed, 31 Jan 2024 08:31:11 +0000 (17:31 +0900)]
Release version 0.24.21
Changes:
- Increse socket timeout for client
Change-Id: Ic316ebd44e8d65e400d116203b968470d330b1a5
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>
(cherry picked from commit
79d7bb153b2d90c5c61204b7d8f6af9e388afc2a)
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>