platform/core/appfw/pkgmgr-info.git
4 years agoRelease version 0.18.4 95/246995/1 accepted/tizen/6.0/unified/20201113.014546 accepted/tizen/unified/20201109.123534 submit/tizen/20201106.015342 submit/tizen_6.0/20201110.031647 submit/tizen_6.0/20201111.032610
Junghyun Yeon [Fri, 6 Nov 2020 01:51:26 +0000 (10:51 +0900)]
Release version 0.18.4

Changes:
 - Add Requires=local-fs.target dependency to pkg-db-recovery.service

Change-Id: I9005ade52d3e723b7be7f0d6e2f260075f921678
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoAdd Requires=local-fs.target dependency to pkg-db-recovery.service 21/245421/1
INSUN PYO [Thu, 8 Oct 2020 09:53:53 +0000 (18:53 +0900)]
Add Requires=local-fs.target dependency to pkg-db-recovery.service

In emergency mode, local-fs.target always fails.
So, you have to check if local-fs.target is successful.

Change-Id: I042957c1cda92b7a774af0d01cf8299c7beb409c

4 years agoRelease version 0.18.3 48/239348/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115856 accepted/tizen/6.0/unified/hotfix/20201103.050930 accepted/tizen/unified/20200727.132101 submit/tizen/20200724.075535 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Ilho Kim [Fri, 24 Jul 2020 05:44:08 +0000 (14:44 +0900)]
Release version 0.18.3

Changes:
 - Allow extra attributes at dependency element
 - Add a reference type of dependency type

Change-Id: Iab0034d9a2410ce8385f49132f62cf35efcd4093
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd a reference type of dependency type 44/236544/1
Sangyoon Jang [Thu, 18 Jun 2020 04:06:22 +0000 (13:06 +0900)]
Add a reference type of dependency type

Change-Id: I4218784bad5e4ddcd6643f8371e0714224678498
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoAllow extra attributes at dependency element 42/236542/2
Sangyoon Jang [Thu, 18 Jun 2020 04:00:16 +0000 (13:00 +0900)]
Allow extra attributes at dependency element

Change-Id: I051670f6f60a56d346d89c009139e6303c993265
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.18.2 33/234933/1 accepted/tizen/unified/20200603.150210 submit/tizen/20200601.023448 submit/tizen/20200602.012953
Ilho Kim [Mon, 1 Jun 2020 02:15:26 +0000 (11:15 +0900)]
Release version 0.18.2

Changes:
 - Add pkgmgr-info dependency for pkgmgr-parser

Change-Id: I0860a0d0c8153657b1a045b7edd74ec28a0c3457
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd pkgmgr-info dependency for pkgmgr-parser 74/233274/1
Sangyoon Jang [Wed, 13 May 2020 09:48:53 +0000 (18:48 +0900)]
Add pkgmgr-info dependency for pkgmgr-parser

pkgmgr-parser needs pkgmgr-info.

Change-Id: I1479cedc8e94dd8c2b59550316c1b0259a0e0492
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.18.1 42/232242/1 accepted/tizen/unified/20200508.045016 submit/tizen/20200429.082446 submit/tizen/20200506.235326
Ilho Kim [Wed, 29 Apr 2020 08:19:28 +0000 (17:19 +0900)]
Release version 0.18.1

Changes:
 - Add error handling routine for pkg db recovery
 - Change glist add function

Change-Id: I8f93e274530017af722eb4b8a1739cecd0bf50b4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoChange glist add function 02/229602/2
Junghyun Yeon [Thu, 2 Apr 2020 07:07:31 +0000 (16:07 +0900)]
Change glist add function

g_list_append() had to traverse entire list to find the end.
If list doesn't have to be sorted with specific order,
g_list_prepend() will be enough.

Change-Id: I10b9851a8576733d7100b4d2e8564fe8775aada7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoAdd error handling routine for pkg db recovery 13/229513/3
Junghyun Yeon [Wed, 1 Apr 2020 11:21:47 +0000 (20:21 +0900)]
Add error handling routine for pkg db recovery

Change-Id: I9e6f23e14d44b0d11c8d7fa92d4cacfcfc6303c9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.18.0 49/229749/3 accepted/tizen/unified/20200413.012230 submit/tizen/20200410.073851
Ilho Kim [Fri, 3 Apr 2020 06:31:35 +0000 (15:31 +0900)]
Release version 0.18.0

Changes:
 - Disallow users to create parser database path
 - Fix db recovery

Change-Id: I393d4b1557f1f3fea680b5ae3f2d052548a21c03
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix db recovery 96/227196/4
Junghyun Yeon [Tue, 10 Mar 2020 09:06:44 +0000 (18:06 +0900)]
Fix db recovery

- Adds service condition.
- Fix db creation tool to initialize certificate db properly.
- Does not check if retrieved uid is not regular user.
- Remove unnecessary code from db recovery tool.
- Add conditions to check user database only.
- Initialize local flag to consider multi-user environment.

Change-Id: I2c817743eb21ed04bd56092ff259e5e361d849cb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoDisallow users to create parser database path 68/227068/1
Junghyun Yeon [Mon, 9 Mar 2020 10:08:29 +0000 (19:08 +0900)]
Disallow users to create parser database path

Only root or app_fw user can create directory hierachy
while retrieving pkg database path.

Change-Id: I3b7fda083f0aacf98408ca3978d5505552728a6e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.17.10 53/222453/1 accepted/tizen/unified/20200116.101842 submit/tizen/20200115.063720
Ilho Kim [Wed, 15 Jan 2020 06:12:00 +0000 (15:12 +0900)]
Release version 0.17.10

Changes:
 - Remove compile warning messages

Change-Id: Id5df0937fe0e879cceed0c2f2e03a7519060617d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRemove compile warning messages 44/222344/2
Ilho Kim [Tue, 14 Jan 2020 01:33:58 +0000 (10:33 +0900)]
Remove compile warning messages

This patch for fixing build warning about format caused by toolchain version-up
(applying GCC-9)

Change-Id: Icb80349f77b07a3428684f535cd1de1ba9715734
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.17.9 86/222186/1 accepted/tizen/unified/20200113.130555 submit/tizen/20200110.081858
Ilho Kim [Fri, 10 Jan 2020 08:06:17 +0000 (17:06 +0900)]
Release version 0.17.9

Changes:
 - Remove compile warning messages

Change-Id: Id039a6f7be6abd378ed45250debf80d481864b5d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRemove compile warning messages 68/222168/6
Ilho Kim [Fri, 10 Jan 2020 05:25:11 +0000 (14:25 +0900)]
Remove compile warning messages

This patch for fixing build warning caused by toolchain version-up
(applying GCC-9)

Change-Id: I3ddb98c7f8c79a03adfe8bcce2b6b58fa603a248
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.17.8 54/221754/1 accepted/tizen/unified/20200108.131531 submit/tizen/20200107.094018
Ilho Kim [Tue, 7 Jan 2020 08:56:23 +0000 (17:56 +0900)]
Release version 0.17.8

Changes:
 - Remove compile warning messages

Change-Id: I3c156e368b6dae2bafe2c1f64e945b9452f3f9f8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRemove compile warning messages 30/221230/1
Ilho Kim [Mon, 30 Dec 2019 07:49:33 +0000 (16:49 +0900)]
Remove compile warning messages

Change-Id: I552f7745bcabd5972dc046332ddbdc3bf2efb345
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.17.7 03/220103/1 accepted/tizen/5.5/unified/20200105.221104 accepted/tizen/unified/20191216.222158 submit/tizen/20191213.074937 submit/tizen_5.5/20200103.002242 submit/tizen_5.5/20200103.003447
Ilho Kim [Fri, 13 Dec 2019 07:00:37 +0000 (16:00 +0900)]
Release version 0.17.7

Changes:
 - Fix static analysis issue
 - Fix static analysis issue

Change-Id: Icc9bf0e1fd1444110d9252fc978e9108d7eb7777
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix static analysis issue 68/220068/1
Ilho Kim [Fri, 13 Dec 2019 01:43:00 +0000 (10:43 +0900)]
Fix static analysis issue

- Fix possibility of memory leak

Change-Id: Ib45dab53ce7f988a52c2b1987782487e7aa07b99
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix static analysis issue 94/219694/8
Ilho Kim [Mon, 9 Dec 2019 07:23:21 +0000 (16:23 +0900)]
Fix static analysis issue

- Fix possibility of memory leak
- Fix possibility of null pointer dereference
- Check return value

Change-Id: I1876315e232be63f252548898cdcbe6b7345e1ce
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.17.6 97/218497/1 accepted/tizen/unified/20191201.221520 submit/tizen/20191128.101053 submit/tizen_5.5/20191204.061724 submit/tizen_5.5/20191205.065343
Junghyun Yeon [Mon, 25 Nov 2019 02:10:38 +0000 (11:10 +0900)]
Release version 0.17.6

Changes:
 - Increase pkg db version as 30005

Change-Id: I2e490923aaa720e8900a980ea90a76eec6404458
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoIncrease pkg db version as 30005 01/209901/6
Junghyun Yeon [Fri, 12 Jul 2019 07:58:08 +0000 (16:58 +0900)]
Increase pkg db version as 30005

This version is for shareddata policy

Change-Id: I01c25f71e239b1e7ddc7228dc3d451746b1df811
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.17.5 72/217872/1 accepted/tizen/5.5/unified/20191118.084807 accepted/tizen/unified/20191118.122940 submit/tizen/20191115.055644 submit/tizen/20191115.084359 submit/tizen_5.5/20191115.055905
Ilho Kim [Fri, 15 Nov 2019 05:51:17 +0000 (14:51 +0900)]
Release version 0.17.5

Changes:
 - Fix "using value after free" issue

Change-Id: I45285c4507812c7cb1978c10ffe5deb94be18b6e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoFix "using value after free" issue 70/217870/1
Ilho Kim [Fri, 15 Nov 2019 05:19:59 +0000 (14:19 +0900)]
Fix "using value after free" issue

If bg_category_str is not set by _save_column_str, __get_background_category use freed value

Change-Id: I5c1a4dda131df42ebf15627fd0fe72fc8038c972
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoRelease version 0.17.4 66/217466/1 accepted/tizen/unified/20191115.083945 submit/tizen/20191112.050420 submit/tizen/20191114.120558 submit/tizen_5.5/20191112.065048 submit/tizen_5.5/20191114.121100
Ilho Kim [Tue, 12 Nov 2019 04:28:05 +0000 (13:28 +0900)]
Release version 0.17.4

Changes:
 - Check if db recovery was aborted

Change-Id: I71a0aa1c52c62fa7add6ed9e739c4df85ab52be4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoCheck if db recovery was aborted 53/207953/10
Sangyoon Jang [Fri, 14 Jun 2019 07:06:12 +0000 (16:06 +0900)]
Check if db recovery was aborted

If db recovery was aborted and not corrupted, db will be remained
incomplete.

Change-Id: I6ba27f5459dfd9b9075f7cfb0f093f1b806f7007
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.17.3 89/214289/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024436 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084323 accepted/tizen/unified/20191015.011857 submit/tizen/20190920.015601 submit/tizen/20191001.095121 submit/tizen/20191002.002728 submit/tizen/20191011.034922 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Ilho Kim [Fri, 20 Sep 2019 01:38:33 +0000 (10:38 +0900)]
Release version 0.17.3

Changes:
 - Adjust the position of pkg-db-recovery.service

Change-Id: If54d08a0e72b60315335df5517eb6671c2fe1eb1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoAdjust the position of pkg-db-recovery.service 12/208312/4
INSUN PYO [Fri, 21 Jun 2019 09:44:48 +0000 (18:44 +0900)]
Adjust the position of pkg-db-recovery.service

A service with "DefaultDependencies = no" is moved to basic.target.wants.

Change-Id: I2e5acbb3bd8a170daa239b56314e1618218ac48c

5 years agoRelease version 0.17.2 72/212272/1 accepted/tizen/unified/20190820.115009 submit/tizen/20190820.015710
Ilho Kim [Tue, 20 Aug 2019 01:36:05 +0000 (10:36 +0900)]
Release version 0.17.2

Changes:
 - Add Foreach depdency API for Archiveinfo

Change-Id: Ib1840bcaa6d22714f97dbd47c368f06259814a5d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoAdd Foreach depdency API for Archiveinfo 11/211111/3
Junghyun Yeon [Tue, 30 Jul 2019 07:32:17 +0000 (16:32 +0900)]
Add Foreach depdency API for Archiveinfo

Related changes:
[slp-pkgmgr] : https://review.tizen.org/gerrit/211114
[tpk-backend] : https://review.tizen.org/gerrit/211115

Change-Id: Ica6096e09c9fb5e124d12d2e85b41a2f0eefced9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.17.1 47/210547/1 accepted/tizen/unified/20190723.053615 submit/tizen/20190722.090051
Junghyun Yeon [Mon, 22 Jul 2019 08:43:57 +0000 (17:43 +0900)]
Release version 0.17.1

Changes:
 - Fix the possibility of a memory leak
 - Revert "Change pkg db journaling mode to WAL"

Change-Id: Ia6290c575a1afceac6bfb79303d7b4466d3e8da0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRevert "Change pkg db journaling mode to WAL" 20/210520/2
ilho kim [Mon, 22 Jul 2019 05:34:08 +0000 (05:34 +0000)]
Revert "Change pkg db journaling mode to WAL"

This reverts commit 98ea521303d74cfc8bb4cc7b801274f3c0cbfece.

Change-Id: Idef5f76a0de0f17c846e4c538b65d62f97b37b42

5 years agoFix the possibility of a memory leak 11/209911/4
Ilho Kim [Fri, 12 Jul 2019 08:20:23 +0000 (17:20 +0900)]
Fix the possibility of a memory leak

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

Change-Id: Ibe402d33984f833ea79556eece734b7cc349da35
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoRelease version 0.17.0 85/209885/1 accepted/tizen/unified/20190717.115158 submit/tizen/20190712.071407 submit/tizen/20190716.022534
Ilho Kim [Fri, 12 Jul 2019 06:38:32 +0000 (15:38 +0900)]
Release version 0.17.0

Changes:
 - Fix spelling
 - Remove unused structure
 - Change the config value of the systemd service ("false" -> "no")
 - Change pkg db journaling mode to WAL

Change-Id: I5c5e3b00d8b8f22cbcae3d9102e0f63d98905b6b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoChange pkg db journaling mode to WAL 13/207513/6
Junghyun Yeon [Wed, 5 Jun 2019 10:49:14 +0000 (19:49 +0900)]
Change pkg db journaling mode to WAL

Related changes:
[pkgmgr-tool] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-tool/+/207512/

Change-Id: I835fc6a87b2a5f2b7de3bb88cdc533d05368fd97
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoChange the config value of the systemd service ("false" -> "no") 71/208371/1
INSUN PYO [Mon, 24 Jun 2019 02:12:45 +0000 (11:12 +0900)]
Change the config value of the systemd service ("false" -> "no")

"no" and "false" have the same meaning, but the document has "no".
Also, since the parsing order is "no" first, there is some performance gain.

Change-Id: Ib0f0428cd0721cdc2344bde74c3fadc50753ddd2

5 years agoRemove unused structure 63/207563/1
Junghyun Yeon [Fri, 7 Jun 2019 07:24:41 +0000 (16:24 +0900)]
Remove unused structure

Change-Id: I9812f2192516fee9e23bafed3fe5ec83f0213cc1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoFix spelling 09/205909/1
Ilho Kim [Fri, 10 May 2019 08:13:55 +0000 (17:13 +0900)]
Fix spelling

Change-Id: I775c8e49515532d0ec7aa5087b81d4dc81a50a08
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoRelease version 0.16.1 31/203631/1 accepted/tizen/unified/20190419.110525 submit/tizen/20190416.100651 submit/tizen/20190418.021839 submit/tizen/20190418.055722
Junghyun Yeon [Tue, 16 Apr 2019 08:56:12 +0000 (17:56 +0900)]
Release version 0.16.1

Changes:
 - Set default support-mode to 0
 - Add missing annotation for describing added APIs
 - Store each api-version of application
 - Adjust component-based application information
 - Check write lock only when db is busy
 - Modify db recovery service file

Change-Id: I3a2a9ef7dfc0123fadfd92fd26d4fb75d88bca52
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoModify db recovery service file 92/201792/10
Junghyun Yeon [Tue, 19 Mar 2019 11:52:57 +0000 (20:52 +0900)]
Modify db recovery service file

- It should be executed only once.

Change-Id: Ia55563832faf0a50d230f908ccfaa9d7661b698d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoCheck write lock only when db is busy 26/203426/4
Sangyoon Jang [Fri, 12 Apr 2019 10:49:59 +0000 (19:49 +0900)]
Check write lock only when db is busy

Change-Id: I6f1048a7fc256223b87bda16d2454e3de84d25f4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdjust component-based application information 18/203118/3
Hwankyu Jhun [Wed, 10 Apr 2019 05:45:17 +0000 (14:45 +0900)]
Adjust component-based application information

The component info table is removed.
The app-control, category, data-control and splash-screens elements
are added.

Change-Id: I93a70109fc848ecb44cd4b77b732bf43dbdd4efa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoStore each api-version of application 48/200048/5
Sangyoon Jang [Mon, 18 Feb 2019 02:42:19 +0000 (11:42 +0900)]
Store each api-version of application

Change-Id: I00b2b88e6b3c126c0f157ef5d39a75b9a6d079bc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd missing annotation for describing added APIs 99/202199/6
ilho [Tue, 26 Mar 2019 04:37:30 +0000 (13:37 +0900)]
Add missing annotation for describing added APIs

Change-Id: I13b4ab882a0c6f0028dbf2b633839521f1490152
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoSet default support-mode to 0 58/202258/2
Junghyun Yeon [Tue, 26 Mar 2019 10:19:47 +0000 (19:19 +0900)]
Set default support-mode to 0

Add default value for support-mode for wgt packages.

Change-Id: I534f9dd17a520901e0f0631c42dddb94af4ca465
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.16.0 63/201963/1 accepted/tizen/unified/20190322.075508 submit/tizen/20190321.084911
Sangyoon Jang [Thu, 21 Mar 2019 08:43:03 +0000 (17:43 +0900)]
Release version 0.16.0

Changes:
 - Fix spelling
 - Add manifest scheme of package dependency
 - Fix dependency info callback signature and API name
 - Fix a bug when retrieving package dependency info

Change-Id: Ie9eab16e4e39448a3ba8b7820c46f9168dce7c57
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix a bug when retrieving package dependency info 70/201770/1
Sangyoon Jang [Tue, 19 Mar 2019 08:40:43 +0000 (17:40 +0900)]
Fix a bug when retrieving package dependency info

Change-Id: I05e53fd8d9ef32dc0049304b824ed1688771202b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix dependency info callback signature and API name 98/201198/7
Sangyoon Jang [Mon, 11 Mar 2019 08:31:31 +0000 (17:31 +0900)]
Fix dependency info callback signature and API name

- Pass both pkgid of dependency info.
- API name changed to pkgmgrinfo_pkginfo_foreach_depends_on

Change-Id: Iea3a8e1694f352a4357bc1e18bfb8b2d1e7eb056
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd manifest scheme of package dependency 64/201164/5
Sangyoon Jang [Mon, 11 Mar 2019 04:49:50 +0000 (13:49 +0900)]
Add manifest scheme of package dependency

Change-Id: Ibf9870d3a7a6bf556376514093cce74d64b3bc5d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix spelling 93/201593/1
ilho [Mon, 18 Mar 2019 05:18:04 +0000 (14:18 +0900)]
Fix spelling

Change-Id: I0e97e86c38c6c126b718b306144f124c38ff617f
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoRelease version 0.15.0 92/201492/1 accepted/tizen/unified/20190318.150649 submit/tizen/20190315.084013
Hwankyu Jhun [Fri, 15 Mar 2019 03:03:53 +0000 (12:03 +0900)]
Release version 0.15.0

Changes:
 - Add package dependency attribute
 - Update db version as 30004
 - Change codes to let initdb could have deferred lock
 - Implement pkgmgr plugin execution info
 - Add new elements for component-based application
 - Supplement db recovery tool

Change-Id: I4b57139f5e31b378ecb4f4b6f0e250ed0e611a38
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoMerge "Add new elements for component-based application" into tizen
HwanKyu Jhun [Fri, 15 Mar 2019 03:03:02 +0000 (03:03 +0000)]
Merge "Add new elements for component-based application" into tizen

5 years agoSupplement db recovery tool 94/200694/5
Junghyun Yeon [Thu, 28 Feb 2019 08:25:01 +0000 (17:25 +0900)]
Supplement db recovery tool

- Change printf to dlog.
- Add busy handler to prevent drop db when failed to check integrity check.

Change-Id: Ida824ae32e2a55b7ad17cac3e95f9063ec0f6748
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoAdd new elements for component-based application 68/200568/19
Hwankyu Jhun [Wed, 27 Feb 2019 01:25:45 +0000 (10:25 +0900)]
Add new elements for component-based application

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/200568/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-manifest-handlers/+/200669/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/200691/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/200773/

Change-Id: Ib4b45d27948f48f74274f8346c624ac6710e7b42
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoImplement pkgmgr plugin execution info 20/195920/16
Junghyun Yeon [Thu, 13 Dec 2018 10:10:17 +0000 (19:10 +0900)]
Implement pkgmgr plugin execution info

Change-Id: I091818b5e368542a5e44d6a61d58ef6cd5d9dee0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoChange codes to let initdb could have deferred lock 69/200469/2
Junghyun Yeon [Mon, 25 Feb 2019 11:42:57 +0000 (20:42 +0900)]
Change codes to let initdb could have deferred lock

- Use deffered lock when initialize db to create table
  more fast when other processes try to get pkg dbinfo.

Change-Id: I1deecc0c4d9e63bcca40277fe560cec2aa948492
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoUpdate db version as 30004 07/199507/1
Sangyoon Jang [Tue, 12 Feb 2019 08:01:47 +0000 (17:01 +0900)]
Update db version as 30004

Version 30004 includes package dependency feature.

Change-Id: Ib5b20497b3ae79a09277c0a1bf0d05ed943e16de
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd package dependency attribute 34/197434/10
Sangyoon Jang [Thu, 3 Jan 2019 04:57:09 +0000 (13:57 +0900)]
Add package dependency attribute

Change-Id: I5cd2dc375e7ff4e070ce9f4292c0368a7ed16a4f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.14.1 99/198099/1 accepted/tizen/unified/20190128.061311 submit/tizen/20190121.002257
Hwankyu Jhun [Mon, 21 Jan 2019 00:02:30 +0000 (09:02 +0900)]
Release version 0.14.1

Changes:
 - Fix get app control info query

Change-Id: Ifd18d3e903b68d46f63e5045c2c78967e47e960e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoFix get app control info query 92/197792/2
ilho [Wed, 16 Jan 2019 10:46:25 +0000 (19:46 +0900)]
Fix get app control info query

Change-Id: I2584f1719d2d333db30f8460230f72700fef5ac7
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoRelease version 0.14.0 accepted/tizen/unified/20190117.151829 submit/tizen/20190116.052201 submit/tizen/20190117.001629
Hwankyu Jhun [Mon, 14 Jan 2019 02:16:08 +0000 (11:16 +0900)]
Release version 0.14.0

Changes:
 - Add attribute 'id' on app-control element

Change-Id: Id3be17ec6ed97022e3bbdd6cb14a47dba927148a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoAdd attribute 'id' on app-control element 87/196887/6
Hwankyu Jhun [Mon, 7 Jan 2019 09:41:34 +0000 (18:41 +0900)]
Add attribute 'id' on app-control element

Change-Id: I3a44c4610e8831e3597a7d9b511f5e060dfbed88
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease version 0.13.7 02/196402/1
Junghyun Yeon [Fri, 28 Dec 2018 04:38:58 +0000 (13:38 +0900)]
Release version 0.13.7

Changes:
 - Fix possible issues for pkgmgr-info

Change-Id: I2a5b87c5105a4dc67a878c9170528b42eb589104
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoChange codes for db lock issue 79/196379/1
Junghyun Yeon [Fri, 28 Dec 2018 02:13:51 +0000 (11:13 +0900)]
Change codes for db lock issue

- SQLite connection will be disconnected before cleanup operation.
- Adjust busy timer to 5 sec to prevent db lock issue.

Change-Id: If139d988819e28bd1b1ed733541491ea09ff5be8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoAdd busy handler when initializing pkg db 47/195247/1
Junghyun Yeon [Wed, 12 Dec 2018 02:21:03 +0000 (11:21 +0900)]
Add busy handler when initializing pkg db

- Continuous db read query could cause db lock when initializing db
  such as db recovery, etc.

Change-Id: I9c4b375fe95339b1ae23f57a39ad08d8fcc67901
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.13.6 23/195123/1
Junghyun Yeon [Tue, 11 Dec 2018 02:59:10 +0000 (11:59 +0900)]
Release version 0.13.6

Changes:
 - Fix possible issues for pkgmgr-info

Change-Id: Idad8956fa2a88eb64cc02795ad38ae359a1b2676
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoFix possible issues for pkgmgr-info 45/194845/3
Junghyun Yeon [Fri, 7 Dec 2018 10:27:15 +0000 (19:27 +0900)]
Fix possible issues for pkgmgr-info

- Change order of releasing resources according to SQLite recommendation.
- Change methods of lock from exclusive to deferred.
  This will allow processes to access db while modifying db
  except actual transaction.

Change-Id: I441d6c14b6b503f6f2b8599240efdfed36b6a617
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.13.5 41/189141/1 accepted/tizen/5.0/unified/20181102.014118 accepted/tizen/unified/20180914.143048 submit/tizen/20180914.014038 submit/tizen_5.0/20181101.000002
Sangyoon Jang [Fri, 14 Sep 2018 01:36:58 +0000 (10:36 +0900)]
Release version 0.13.5

Changes:
 - Add checking processes which hold db lock
 - Add sending wakeup wakeup signal to resourced
 - Remove dependency from db-util

Change-Id: Ie9dcecddf76cc4cb565675a950caf677691758c0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRemove dependency from db-util 66/188966/2
Sangyoon Jang [Wed, 12 Sep 2018 06:16:38 +0000 (15:16 +0900)]
Remove dependency from db-util

Change-Id: I853f6c0c2ca6edb3a4ccaa1cacab17ec93368c83
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd sending wakeup wakeup signal to resourced 58/188858/5
Sangyoon Jang [Tue, 11 Sep 2018 03:09:48 +0000 (12:09 +0900)]
Add sending wakeup wakeup signal to resourced

When some process get freezed with holding pkgmgr db lock,
installer cannot install package properly.

Change-Id: I21785093cfdf065fab8f13c150e4228f3ee0ecec
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd checking processes which hold db lock 82/188782/8
Sangyoon Jang [Mon, 10 Sep 2018 08:17:37 +0000 (17:17 +0900)]
Add checking processes which hold db lock

Change-Id: I0ffbbfa83c57c127fd3c447a4270ab5ce58a6b5b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.13.4 68/186768/1 accepted/tizen/unified/20180816.062945 submit/tizen/20180814.083738
Junghyun Yeon [Tue, 14 Aug 2018 07:41:00 +0000 (16:41 +0900)]
Release version 0.13.4

Changes:
 - Add checking return value of stat()
 - Remove unnecessary User/Group settings from pkg-db-recovery.service

Change-Id: Ia9f7b5059bca9379bda5974e97873d7db7c8fa30
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRemove unnecessary User/Group settings from pkg-db-recovery.service 09/186309/1
INSUN PYO [Thu, 9 Aug 2018 01:26:18 +0000 (10:26 +0900)]
Remove unnecessary User/Group settings from pkg-db-recovery.service

Default User/Group is root.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ifc63fe8e95f888e84de3a46e270a5f8a1250f789

6 years agoAdd checking return value of stat() 57/185357/1
Semun Lee [Mon, 30 Jul 2018 01:24:25 +0000 (10:24 +0900)]
Add checking return value of stat()

Change-Id: I36c4233a17db4b8f28c9a39dc4ddebafed6aa8ff
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.13.3 62/184462/1 accepted/tizen/unified/20180719.063015 submit/tizen/20180718.064806
Junghyun Yeon [Wed, 18 Jul 2018 05:45:37 +0000 (14:45 +0900)]
Release version 0.13.3

Changes:
 - Supplement db recovery tool

Change-Id: I43b7f02c23d4277eec38eaeb075b77c19b96195f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoSupplement db recovery tool 78/181778/15
Junghyun Yeon [Mon, 18 Jun 2018 08:12:14 +0000 (17:12 +0900)]
Supplement db recovery tool

- Recovery tool now checks db status with integrity_check command.
- When tool detects corruption, invoke pkg_initdb to restore it.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/182176
[tpk-backend] : https://review.tizen.org/gerrit/182177

Change-Id: Ide052f512d0e052fe871d7c61d1fd29bf5b33cdc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.13.2 69/182169/2 accepted/tizen/unified/20180627.070024 submit/tizen/20180626.064201
Sangyoon Jang [Thu, 21 Jun 2018 05:21:07 +0000 (14:21 +0900)]
Release version 0.13.2

Changes:
 - Add privilege filter for app info
 - Remove unnecessary function
 - Adjust busy handler timer as 2 seconds

Change-Id: Ibdba442e129cc694b9b82c47fe2f09e67bcfc2cc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdjust busy handler timer as 2 seconds 57/180757/2
Sangyoon Jang [Mon, 4 Jun 2018 01:55:01 +0000 (10:55 +0900)]
Adjust busy handler timer as 2 seconds

1 second is too tight, sometimes getting pkginfo failed.

Change-Id: I43d52a569c47a78827de11fdb7a1124fa12ff728
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRemove unnecessary function 99/181599/3
Junghyun Yeon [Fri, 15 Jun 2018 04:42:04 +0000 (13:42 +0900)]
Remove unnecessary function

- Certificate database is integrated into one so functions to get
  individual certificate db path is unnecessary.
- Initializing user parser db will not initialize integrated cert db.

Change-Id: I1864e3e370a2b268a0dd66cbcd90277de3c1605e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd privilege filter for app info 81/179681/4
Junghyun Yeon [Mon, 21 May 2018 07:09:45 +0000 (16:09 +0900)]
Add privilege filter for app info

- This patch will enable filtering app list with pkg privilege.

Change-Id: I46e3cee50991a2a2a6043a85be2ffafc3b296321
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.13.1 41/180641/1 accepted/tizen/unified/20180611.015322 submit/tizen/20180531.110445 submit/tizen/20180607.021807
Sangyoon Jang [Thu, 31 May 2018 11:01:43 +0000 (20:01 +0900)]
Release version 0.13.1

Changes:
 - Fix crash issue when getting appcontrol info

Change-Id: I88ea686a0189a1a7c0215e63699fc9348281b23b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix crash issue when getting appcontrol info 39/180639/1
Sangyoon Jang [Thu, 31 May 2018 10:57:14 +0000 (19:57 +0900)]
Fix crash issue when getting appcontrol info

Change-Id: I312520ffda5dc6ceb2b338bce8e6e482404551f0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.13.0 23/179023/1 accepted/tizen/unified/20180516.065603 accepted/tizen/unified/20180521.003604 submit/tizen/20180515.094318 submit/tizen/20180518.004605
Sangyoon Jang [Tue, 15 May 2018 09:04:18 +0000 (18:04 +0900)]
Release version 0.13.0

Changes:
 - Implement remote appcontrol feature

Change-Id: Ie8c817df84b35e4f927f5d6deca80d95821e42e7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoImplement remote appcontrol feature 05/170905/8
Sangyoon Jang [Fri, 23 Feb 2018 06:39:56 +0000 (15:39 +0900)]
Implement remote appcontrol feature

Change-Id: I1168424c7920bad0f52ab73f98c008dd22d03b4f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.14 78/174678/1 accepted/tizen/unified/20180405.131207 submit/tizen/20180404.060840 submit/tizen/20180405.022120
Sangyoon Jang [Tue, 3 Apr 2018 10:58:33 +0000 (19:58 +0900)]
Release version 0.12.14

Changes:
 - Fix a memory leak

Change-Id: Iecf42429fbfcf3cc10d78b7ca845bad5400f6924
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix a memory leak 94/174494/2
Sangyoon Jang [Mon, 2 Apr 2018 10:45:26 +0000 (19:45 +0900)]
Fix a memory leak

__BIND_TEXT macro cannot free local allocated variable.

Change-Id: Iaaa140efa0f14193bc40ddd33cd1a13aa8403cb6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.13 72/173972/1 accepted/tizen/unified/20180330.060606 submit/tizen/20180327.085346
Junghyun Yeon [Tue, 27 Mar 2018 08:49:46 +0000 (17:49 +0900)]
Release version 0.12.13

Changes:
 - Add PMINFO_PKGINFO_PROP_PACKAGE_SYSTEM property

Change-Id: Ibc38a8719c9e3a77af65fd0a20a8cf1a29d5c85d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd PMINFO_PKGINFO_PROP_PACKAGE_SYSTEM property 23/170323/1
Junghyun Yeon [Mon, 19 Feb 2018 05:42:33 +0000 (14:42 +0900)]
Add PMINFO_PKGINFO_PROP_PACKAGE_SYSTEM property

Change-Id: I5ff9a9943c97e23f6efff8b0f5fb5ae026690cac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.12.12 49/169749/2 accepted/tizen/unified/20180219.142407 submit/tizen/20180209.043342
Sangyoon Jang [Fri, 9 Feb 2018 01:59:13 +0000 (10:59 +0900)]
Release version 0.12.12

Changes:
 - Fix static analyzer issue
 - Fix pkgmgrinfo_pkginfo_foreach_privilege
 - Remove unnecessary service options

Change-Id: I6776727ca94c594a49c5328993a533e6c7c82e4f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRemove unnecessary service options 05/169605/2
Junghyun Yeon [Thu, 8 Feb 2018 01:36:50 +0000 (10:36 +0900)]
Remove unnecessary service options

- Recovery service should be executed before AMD and this is
  only constraint for recovery service.

Change-Id: I87a54689bf14cd25493e215a71631fb0fd8b1c26
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix pkgmgrinfo_pkginfo_foreach_privilege 72/169472/5
Sangyoon Jang [Wed, 7 Feb 2018 05:20:16 +0000 (14:20 +0900)]
Fix pkgmgrinfo_pkginfo_foreach_privilege

Iterate appdefined privilege together.

Change-Id: I2427ab8950c9b3874b9553bf2fcff28719d4b8e7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix static analyzer issue 37/169237/1
Sangyoon Jang [Mon, 5 Feb 2018 06:21:34 +0000 (15:21 +0900)]
Fix static analyzer issue

Add null checking before strcmp().

Change-Id: I2ef5976034958b41f71c60b9c69dd5c26049a695
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.11 51/169051/1 accepted/tizen/unified/20180205.060457 submit/tizen/20180202.063742
Junghyun Yeon [Fri, 2 Feb 2018 05:01:48 +0000 (14:01 +0900)]
Release version 0.12.11

Changes:
 - Fix a memory leak

Change-Id: I26a1dec9206240bf8b1d1117e9615f2e10130f58
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix a memory leak 94/168394/1
Sangyoon Jang [Fri, 26 Jan 2018 07:47:43 +0000 (16:47 +0900)]
Fix a memory leak

Change-Id: Ib2f681bc7233cc1dede18351f95ef0a831615f47
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.12.10 93/168293/1 accepted/tizen/unified/20180126.042856 submit/tizen/20180125.122523
Hwankyu Jhun [Thu, 25 Jan 2018 11:01:48 +0000 (20:01 +0900)]
Release version 0.12.10

Changes:
 - Fix pkgmgrinfo_appinfo_foreach_appcontrol_privileges API

Change-Id: Ib526133b3ab9307d5aeb095f1f6e8d68801d3ea1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix pkgmgrinfo_appinfo_foreach_appcontrol_privileges API 52/167852/5
Hwankyu Jhun [Tue, 23 Jan 2018 00:47:59 +0000 (09:47 +0900)]
Fix pkgmgrinfo_appinfo_foreach_appcontrol_privileges API

- Removes uri and mime parameters

Change-Id: I2fe782cc9831dc3e8cff2f88ec2e6963b71a6f72
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.12.9 84/167684/1 accepted/tizen/unified/20180123.061141 submit/tizen/20180119.081808
Junghyun Yeon [Fri, 19 Jan 2018 07:49:22 +0000 (16:49 +0900)]
Release version 0.12.9

Changes:
 - Close db when sqlite3_prepare_v2 is failed
 - Fix memory leak
 - Change free function for GSList

Change-Id: I06579d93f3b40538be4962b392298da45b8cd7ad
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoChange free function for GSList 09/167109/2
Seungha Son [Mon, 15 Jan 2018 10:57:05 +0000 (19:57 +0900)]
Change free function for GSList

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ia4a369a88c1387058ec95e443d8cfeb89e362808