platform/core/appfw/slp-pkgmgr.git
4 years agoRelease version 0.12.0 52/229752/1 accepted/tizen/unified/20200413.012251 submit/tizen/20200403.082852 submit/tizen/20200410.073851
Ilho Kim [Fri, 3 Apr 2020 06:38:50 +0000 (15:38 +0900)]
Release version 0.12.0

Changes:
 - Change prototype of APIs for multi signal
 - Fix pkgmgr_installer to handle multiple request
 - Add APIs for multiple install request

Change-Id: I3c521cf6eeae061a72196770e70ce15e4cbfa344
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd APIs for multiple install request 59/225059/5
Sangyoon Jang [Mon, 17 Feb 2020 05:48:58 +0000 (14:48 +0900)]
Add APIs for multiple install request

Change-Id: I077c8531cab28578d17ec067631350d03470f6c3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix pkgmgr_installer to handle multiple request 77/222677/7
Sangyoon Jang [Tue, 20 Aug 2019 01:47:48 +0000 (10:47 +0900)]
Fix pkgmgr_installer to handle multiple request

Change-Id: I6752c6037f38ee3602c802028fe42394133ed2c4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoChange prototype of APIs for multi signal 93/226793/5
Junghyun Yeon [Thu, 5 Mar 2020 10:10:27 +0000 (19:10 +0900)]
Change prototype of APIs for multi signal

Change-Id: I0bf7b96b680aad2a7a2c91c6b7f36fa54ee2cc2b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.11.11 75/226375/1 accepted/tizen/unified/20200303.032618 submit/tizen/20200302.075610
Ilho Kim [Mon, 2 Mar 2020 05:47:12 +0000 (14:47 +0900)]
Release version 0.11.11

Changes:
 - Fix static analysis issue
 - Remove build warning

Change-Id: Iab74731b4fda4cfcc62eec4eb9ced0dc5b3839aa
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRemove build warning 48/226148/1
Sangyoon Jang [Thu, 27 Feb 2020 06:41:01 +0000 (15:41 +0900)]
Remove build warning

Remove unused code.

Change-Id: I7d14fca6609bd57a7133235b30d8765df17c9719
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoFix static analysis issue 03/226003/1
Sangyoon Jang [Wed, 26 Feb 2020 06:25:02 +0000 (15:25 +0900)]
Fix static analysis issue

Fix resource leak.

Change-Id: I2d30ee2f9ec6130c81a72fa0a017042402706ca7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.11.10 52/224952/1 accepted/tizen/unified/20200217.213830 submit/tizen/20200214.080724
Ilho Kim [Fri, 14 Feb 2020 07:53:58 +0000 (16:53 +0900)]
Release version 0.11.10

Changes:
 - Implement APIs for multi-signal
 - Remove unused APIs

Change-Id: I467f00ef1e37a6cc81ad0a9c729b8f78ae28d552
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoMerge "Implement APIs for multi-signal" into tizen
Junghyun Yeon [Fri, 14 Feb 2020 04:51:40 +0000 (04:51 +0000)]
Merge "Implement APIs for multi-signal" into tizen

4 years agoRemove unused APIs 61/223061/2
Junghyun Yeon [Wed, 22 Jan 2020 12:18:04 +0000 (21:18 +0900)]
Remove unused APIs

Below APIs are removed:
pkgmgr_client_usr_request_size_info
pkgmgr_client_request_size_info

Change-Id: I8db3fc27215d701771254913997030ed2aa6a306
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoImplement APIs for multi-signal 39/222839/5
Junghyun Yeon [Mon, 20 Jan 2020 12:44:53 +0000 (21:44 +0900)]
Implement APIs for multi-signal

Currently dbus signal should be emitted for each pkg
even if process knows list of packages signal emittion has required.
Newly introduced API sets will provide methods to add
multiple package IDs to be submitted at once.

Change-Id: I62d5d3d9a9809b0d28f959b5d0d92018ffb22892
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoMerge "Change pkg signal listening behavior" into tizen accepted/tizen/unified/20200212.125956 submit/tizen/20200210.091657 submit/tizen/20200211.010149
Junghyun Yeon [Fri, 31 Jan 2020 06:05:09 +0000 (06:05 +0000)]
Merge "Change pkg signal listening behavior" into tizen

4 years agoRelease version 0.11.9 85/223585/1 submit/tizen/20200131.050227
Ilho Kim [Fri, 31 Jan 2020 04:33:10 +0000 (13:33 +0900)]
Release version 0.11.9

Changes:
 - Fix static analyzer issue

Change-Id: I0b1fd8eefc23e0e5aba3e0617b5db6449ff891c7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoChange pkg signal listening behavior 88/222188/6
Junghyun Yeon [Fri, 10 Jan 2020 08:22:29 +0000 (17:22 +0900)]
Change pkg signal listening behavior

Add signal name when subscribing pkg signal to let callback
to be invoked only when signal interested are broadcasted.

Change-Id: Ib9c836620c5ae9efda438054e5841c46365eeac1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix static analyzer issue 67/223367/1
Sangyoon Jang [Wed, 29 Jan 2020 06:07:38 +0000 (15:07 +0900)]
Fix static analyzer issue

Change-Id: I414283ee674f478663cf3567ba2afa6c60f45ac9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years agoRelease version 0.11.8 99/218499/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200105.221108 accepted/tizen/unified/20191205.091306 submit/tizen/20191204.020534 submit/tizen_5.5/20191204.061724 submit/tizen_5.5/20191205.065343 submit/tizen_5.5/20200103.002242 submit/tizen_5.5/20200103.003447
Junghyun Yeon [Mon, 25 Nov 2019 02:11:09 +0000 (11:11 +0900)]
Release version 0.11.8

Changes:
 - Add integrated shared directory

Change-Id: I1d17be61d1150502d73bcfe3e14283a7e67af3a3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoAdd integrated shared directory 72/210172/5
Junghyun Yeon [Tue, 16 Jul 2019 10:36:59 +0000 (19:36 +0900)]
Add integrated shared directory

Change-Id: I103b066d9bac7e735dda5f0e37c8be12d6cfff38
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.11.7 00/213000/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024144 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084054 accepted/tizen/unified/20190903.052628 submit/tizen/20190829.072413 submit/tizen/20190902.052445 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Ilho Kim [Thu, 29 Aug 2019 07:14:33 +0000 (16:14 +0900)]
Release version 0.11.7

Changes:
 - Use SocketMode= insted of chmod

Change-Id: Ic27cddb8d50f3ece57dc4ae66e72cee28f23e45d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoUse SocketMode= insted of chmod 01/212801/2
INSUN PYO [Tue, 27 Aug 2019 03:15:10 +0000 (12:15 +0900)]
Use SocketMode= insted of chmod

Change-Id: I167974418091803636eb75a32fe2332336e9bd21

4 years agoRelease version 0.11.6 05/212805/1 accepted/tizen/unified/20190828.113239 submit/tizen/20190827.042247
Junghoon Park [Tue, 27 Aug 2019 03:54:43 +0000 (12:54 +0900)]
Release version 0.11.6

Changes:
 - Revert "tizen: Add additional unit for "unified" user session"

Change-Id: I3a5d9d47589e7e159d4a19769042600c77f4de2f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
4 years agoRevert "tizen: Add additional unit for "unified" user session" 99/212299/4
Yunmi Ha [Tue, 20 Aug 2019 07:02:23 +0000 (07:02 +0000)]
Revert "tizen: Add additional unit for "unified" user session"

This reverts commit c5df79346091d78b1866d047a378f35ddec6f287.

We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.

Change-Id: I73479c82a642c9cf5b31c4c0f49a5937b6fc3b9e

4 years agoRelease version 0.11.5 88/212488/1 accepted/tizen/unified/20190823.092346 submit/tizen/20190822.055306
Ilho Kim [Thu, 22 Aug 2019 04:26:47 +0000 (13:26 +0900)]
Release version 0.11.5

Changes:
 - Add new install option

Change-Id: Ic629954be6fea81ac1ce13cdbaa6bb54c7693255
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd new install option 27/212327/5
Ilho Kim [Tue, 20 Aug 2019 08:23:58 +0000 (17:23 +0900)]
Add new install option

This option will be used for fast installation without optimization

Related changes
    [app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/212328/
    [pkgmgr-tool] https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-tool/+/212326/
    [slp-pkgmgr] https://review.tizen.org/gerrit/#/c/platform/core/appfw/slp-pkgmgr/+/212327/

Change-Id: I239abf2e7b479dc11e679ecacf37e64d7ec9580f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.11.4 74/212274/1 accepted/tizen/unified/20190820.115017 submit/tizen/20190820.015710
Ilho Kim [Tue, 20 Aug 2019 01:36:31 +0000 (10:36 +0900)]
Release version 0.11.4

Changes:
 - Add dependency list at package detail info

Change-Id: I4a64014b767d4090fecaa8682bc02577abb43c5f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoAdd dependency list at package detail info 14/211114/2
Junghyun Yeon [Tue, 30 Jul 2019 07:38:37 +0000 (16:38 +0900)]
Add dependency list at package detail info

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

Change-Id: I5a491c3cc8b87cd52b01c693bae9f072aefa0265
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.11.3 88/209888/1 accepted/tizen/unified/20190717.115207 submit/tizen/20190712.071407 submit/tizen/20190716.022534
Ilho Kim [Fri, 12 Jul 2019 06:46:50 +0000 (15:46 +0900)]
Release version 0.11.3

Changes:
 - Fix thread safety issue

Change-Id: I7a15d460563e538c1cd0da438fc19dae3585ecaf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix thread safety issue 18/209618/2
Junghoon Park [Tue, 9 Jul 2019 09:31:04 +0000 (18:31 +0900)]
Fix thread safety issue

- Free cb_info at main thread to fix thread safety issue

Change-Id: If11ba25c5760a7401f9f3ccf7e8f6bb6a32997e2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agoRelease version 0.11.2 84/205284/1 accepted/tizen/unified/20190503.075028 submit/tizen/20190502.044046
Junghoon Park [Thu, 2 May 2019 04:20:34 +0000 (13:20 +0900)]
Release version 0.11.2

Changes:
 - Add helper API converts error code to string
 - Release version 0.11.0
 - Add parameter to specify uid of tizenglobalapp user
 - Fix possibility of double free
 - Set each gdbus method call timeout as 5 seconds
 - Release version 0.11.1
 - tizen: Add additional unit for "unified" user session

Change-Id: I98accc189f34737960d7396a43e99e1e10d33a8f
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
5 years agotizen: Add additional unit for "unified" user session 39/204139/1
Mateusz Moscicki [Fri, 19 Apr 2019 12:02:18 +0000 (14:02 +0200)]
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: Ia6dc7254b4e9088a044055c5f17bb2b3cae66237

5 years agoRelease version 0.11.1 99/199599/1 accepted/tizen/5.0/unified/20190419.092316 submit/tizen/20190213.075722 submit/tizen_5.0/20190213.074251 submit/tizen_5.0/20190418.042706
Sangyoon Jang [Wed, 13 Feb 2019 07:26:09 +0000 (16:26 +0900)]
Release version 0.11.1

Changes:
 - Add parameter to specify uid of tizenglobalapp user
 - Fix possibility of double free
 - Set each gdbus method call timeout as 5 seconds

Change-Id: Ie7154a354b989df556ea01640a7dbf82c2caca3a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoSet each gdbus method call timeout as 5 seconds 59/199559/1
Sangyoon Jang [Wed, 13 Feb 2019 04:59:45 +0000 (13:59 +0900)]
Set each gdbus method call timeout as 5 seconds

The default timeout was 25 seconds, this is too long.
Now pkgmgr client API will have timeout as 25 seconds as maximum.
(5 sec * 5 times)

Change-Id: I4462181d067f44a26b3028e24dc9b3f412b7eaaa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix possibility of double free 30/198630/5
ilho [Mon, 28 Jan 2019 07:52:32 +0000 (16:52 +0900)]
Fix possibility of double free

Change-Id: I907211b9896d3de040c4da76778c942ff7890c75
Signed-off-by: ilho <ilho159.kim@samsung.com>
5 years agoAdd parameter to specify uid of tizenglobalapp user 72/191872/1
Junghyun Yeon [Thu, 25 Oct 2018 00:48:09 +0000 (09:48 +0900)]
Add parameter to specify uid of tizenglobalapp user

Change-Id: I08d90918d85ced2074733b360fd05089ca04a463
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.11.0 84/190984/1
Sangyoon Jang [Wed, 10 Oct 2018 07:38:54 +0000 (16:38 +0900)]
Release version 0.11.0

Changes:
 - Add helper API converts error code to string

Change-Id: Id1a040f3642178a3061a21f50cf90f542fcfd197
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd helper API converts error code to string 65/190865/1
Sangyoon Jang [Mon, 8 Oct 2018 06:43:05 +0000 (15:43 +0900)]
Add helper API converts error code to string

Change-Id: I1c106f777666e860051c0eda21a5af7c64f672b0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.10.7 69/186769/1 accepted/tizen/5.0/unified/20181102.015136 accepted/tizen/unified/20180816.062948 submit/tizen/20180814.083738 submit/tizen_5.0/20181101.000003
Junghyun Yeon [Tue, 14 Aug 2018 07:41:56 +0000 (16:41 +0900)]
Release version 0.10.7

Changes:
 - Fix log format argument

Change-Id: I2eb83c7b214b187c98f40af15fefa20d50c912f4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoFix log format argument 14/184214/1
Sangyoon Jang [Mon, 16 Jul 2018 10:05:36 +0000 (19:05 +0900)]
Fix log format argument

gsize is unsigned size type.

Change-Id: Idb5366bfb8944fa03da9a4c7408661076db36812
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.10.6 06/184206/1 submit/tizen/20180716.095900
Sangyoon Jang [Mon, 16 Jul 2018 09:12:50 +0000 (18:12 +0900)]
Release version 0.10.6

Changes:
 - Fix a memory leak
 - Prevent buffer overflow of signal agent

Change-Id: I386cd7cc509bd04e9bb03aa431d71024898a9db0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoPrevent buffer overflow of signal agent 40/184040/3
Sangyoon Jang [Fri, 13 Jul 2018 07:21:27 +0000 (16:21 +0900)]
Prevent buffer overflow of signal agent

Change-Id: Ic55d8f5471e2963c7cf6fcc1d09dd166a5accae6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix a memory leak 49/184049/1
Sangyoon Jang [Fri, 13 Jul 2018 07:54:33 +0000 (16:54 +0900)]
Fix a memory leak

Change-Id: I4737d0f91b4a3ae07be45bae79e2df1a11030348
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.10.5 15/183215/1 accepted/tizen/unified/20180705.081215 submit/tizen/20180703.103524
Sangyoon Jang [Tue, 3 Jul 2018 10:27:38 +0000 (19:27 +0900)]
Release version 0.10.5

Changes:
 - Add RecoverDB request type
 - Fix dbus proxy creation code

Change-Id: I07657c271c0627b2bbfe17b6c098b83ddf52e362
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix dbus proxy creation code 95/183195/1
Sangyoon Jang [Tue, 3 Jul 2018 08:28:52 +0000 (17:28 +0900)]
Fix dbus proxy creation code

Add G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag.
pkgmgr-server does not provide object which has properties.
Without this flag, g_dbus_proxy_new_sync() will try to load properties
using GetAll method, and this call will be denied by default dbus policy.

Change-Id: I77248031e93bf30ea386d5e6b4838129cdc2aaa1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoAdd RecoverDB request type 89/182189/1
Junghyun Yeon [Thu, 21 Jun 2018 06:45:33 +0000 (15:45 +0900)]
Add RecoverDB request type

Change-Id: Ib1d1021454a1467f834935a9dffd0a8ab1aefc5a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.10.4 54/175954/1 accepted/tizen/unified/20180509.073130 submit/tizen/20180416.022000 submit/tizen/20180503.072136 submit/tizen/20180508.015118
Sangyoon Jang [Mon, 16 Apr 2018 02:09:49 +0000 (11:09 +0900)]
Release version 0.10.4

Changes:
 - Remove unused dependency in the spec file and pc file

Change-Id: Idbf59f212aca398554309f9caf1b96509d27b7b4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRemove unused dependency in the spec file and pc file 53/175953/4
Sangyoon Jang [Mon, 16 Apr 2018 01:54:55 +0000 (10:54 +0900)]
Remove unused dependency in the spec file and pc file

Change-Id: I3352ab271ecde902c7c2d70b85e8a8216780c77c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.10.3 51/169751/1 accepted/tizen/unified/20180219.142410 submit/tizen/20180209.043342
Sangyoon Jang [Fri, 9 Feb 2018 01:59:42 +0000 (10:59 +0900)]
Release version 0.10.3

Changes:
 - Fix permission mode of agent socket
 - Fix static analyzer issues

Change-Id: Iaef97d67b03e57e868e710e0baf43eca9334e255
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix static analyzer issues 38/169238/2
Sangyoon Jang [Mon, 5 Feb 2018 06:47:22 +0000 (15:47 +0900)]
Fix static analyzer issues

Change-Id: I4ee2dd2c1d90c17b45dfbac7019ebbfbda67d8bb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix permission mode of agent socket 46/169246/1
Sangyoon Jang [Mon, 5 Feb 2018 07:09:23 +0000 (16:09 +0900)]
Fix permission mode of agent socket

Remove permission for others.

Change-Id: Ie28a323524f0988a79ba67d099d165fca8d1aa92
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.10.2 87/167687/1 accepted/tizen/unified/20180123.061144 submit/tizen/20180119.081808
Junghyun Yeon [Fri, 19 Jan 2018 07:49:53 +0000 (16:49 +0900)]
Release version 0.10.2

Changes:
 - Fix to make correct symbolic link of systemd socket service

Change-Id: Ie1c0682205ef63d7bea4f069cd3904c41367a157
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix to make correct symbolic link of systemd socket service 05/166005/1
Sangyoon Jang [Fri, 5 Jan 2018 02:28:30 +0000 (11:28 +0900)]
Fix to make correct symbolic link of systemd socket service

Change-Id: If2d71212a815d68df941e0a418a0706828e89065
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.10.1 70/164970/1 accepted/tizen/unified/20171228.065031 submit/tizen/20171222.073841
Junghyun Yeon [Fri, 22 Dec 2017 06:11:57 +0000 (15:11 +0900)]
Release version 0.10.1

Changes:
 - Fix parameter name

Change-Id: Ida2851ecc8b791c090548f3311c881c8a7c04098
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix parameter name 89/163389/1
Junghyun Yeon [Mon, 11 Dec 2017 03:21:21 +0000 (12:21 +0900)]
Fix parameter name

- Replace previous operation name into new one.

Change-Id: Ia98d293cc588e7a39960341fbf0a1cc6e8fd25c7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.10.0 80/163280/1 accepted/tizen/unified/20171211.061336 submit/tizen/20171208.083756 submit/tizen/20171211.020230
Sangyoon Jang [Fri, 8 Dec 2017 08:02:28 +0000 (17:02 +0900)]
Release version 0.10.0

Changes:
 - Add Internal APIs to get debug flag

Change-Id: Ice8d5271432cf0b34cbaf8eb6cf60aff96a02c8f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd Internal APIs to get debug flag 81/162181/4
Junghyun Yeon [Wed, 29 Nov 2017 11:01:22 +0000 (20:01 +0900)]
Add Internal APIs to get debug flag

Change-Id: If804117f83b23b67eae572d7ccd514dc426d0052
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.9.2 40/159040/1 accepted/tizen/4.0/unified/20171107.054736 accepted/tizen/unified/20171107.055256 submit/tizen/20171106.132342 submit/tizen_4.0/20171106.132353 tizen_4.0.IoT.p2_release
Semun Lee [Mon, 6 Nov 2017 13:19:52 +0000 (22:19 +0900)]
Release version 0.9.2

Changes:
 - Add dependency to capi-system-info

Change-Id: I948076bf87f7d2cec067efe4c8a14b0ffe06847c
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoAdd dependency to capi-system-info 38/159038/1
Semun Lee [Mon, 6 Nov 2017 13:10:27 +0000 (22:10 +0900)]
Add dependency to capi-system-info

system-info db should be initialized before pkgmgr runs backend
installers during image creation.
To run %posttrans of capi-system-info first, we need to add
explicit dependency to capi-system-info.

Change-Id: Id59ba33d401893836e172a0be6f70e7c8487f1f7
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.9.1 58/154958/1 accepted/tizen/4.0/unified/20171012.074535 accepted/tizen/unified/20171012.075121 submit/tizen/20171011.123741 submit/tizen_4.0/20171011.124331 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
Sangyoon Jang [Wed, 11 Oct 2017 12:33:15 +0000 (21:33 +0900)]
Release version 0.9.1

Changes:
 - Fix wrong log format argument
 - Fix defects from static analysis

Change-Id: If0649832cc363a160f06dc9541bbb7474d66a178
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix defects from static analysis 53/154353/1
Sangyoon Jang [Tue, 10 Oct 2017 06:00:41 +0000 (15:00 +0900)]
Fix defects from static analysis

Change-Id: I78d4be458557f901d235948995608637942ba750
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix wrong log format argument 59/154259/1
Sangyoon Jang [Tue, 10 Oct 2017 02:42:15 +0000 (11:42 +0900)]
Fix wrong log format argument

Change-Id: I60d76cf8388de78beb4101f1230f74a93ba51dcc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.9.0 34/143734/1 accepted/tizen/4.0/unified/20170828.223916 accepted/tizen/unified/20170816.160028 submit/tizen/20170811.063725 submit/tizen_4.0/20170828.100002
Sangyoon Jang [Fri, 11 Aug 2017 06:11:59 +0000 (15:11 +0900)]
Release version 0.9.0

Changes:
 - Add new feature to change app's icon

Change-Id: I8940927966e223deb77eb4399eb0bedb8d5532a2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd new feature to change app's icon 35/140335/4
jongmyeongko [Mon, 24 Jul 2017 13:27:35 +0000 (22:27 +0900)]
Add new feature to change app's icon

Change-Id: Id731b9c57909e8e16001272a7bf0b5391f607032
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.8.1 87/142487/1 accepted/tizen/unified/20170807.150547 submit/tizen/20170804.060432
Junghyun Yeon [Fri, 4 Aug 2017 05:50:03 +0000 (14:50 +0900)]
Release version 0.8.1

Changes:
 - Add a new move type PM_MOVE_TO_EXTENDED

Change-Id: I07662f3d88c5f854164c053ed527aaed0378c72c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd a new move type PM_MOVE_TO_EXTENDED 45/140445/3
Sangyoon Jang [Tue, 25 Jul 2017 04:32:18 +0000 (13:32 +0900)]
Add a new move type PM_MOVE_TO_EXTENDED

A new move type PM_MOVE_TO_EXTENDED is added to move package to
extended storage.

Change-Id: I5e7ba0be5a1c1b2444dcd3a7fe64396800761653
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.8.0 93/141593/1 accepted/tizen/4.0/unified/20170816.010538 accepted/tizen/4.0/unified/20170816.014249 accepted/tizen/unified/20170803.010438 submit/tizen/20170801.062239 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Sangyoon Jang [Tue, 1 Aug 2017 05:40:23 +0000 (14:40 +0900)]
Release version 0.8.0

Changes:
 - Add a new installer option

Change-Id: Ic3c0fa106c280a39b05ee93c27f48f521106e47e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd a new installer option 36/139436/2
Sangyoon Jang [Wed, 19 Jul 2017 03:21:07 +0000 (12:21 +0900)]
Add a new installer option

Change-Id: I21c2b3ad905e2eb3ae27b7ead4aac12d89db21db
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.7.3 01/139201/1 accepted/tizen/unified/20170719.131649 submit/tizen/20170718.044232
Junghyun Yeon [Tue, 18 Jul 2017 02:28:10 +0000 (11:28 +0900)]
Release version 0.7.3

Changes:
 - Fix unfreed memory

Change-Id: Idb022dd8d65cbea22c4999a0310bd4a2026d60b4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix unfreed memory 72/138472/1
jongmyeongko [Wed, 12 Jul 2017 08:43:00 +0000 (17:43 +0900)]
Fix unfreed memory

the memory is for privilege_list of pkginfo which is set by backend lib.

Change-Id: I4957da14cc80ee47e22842f72ef4605a16ee3a99
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.7.2 36/137636/1 accepted/tizen/unified/20170710.154520 submit/tizen/20170707.024819 submit/tizen/20170710.010836
jongmyeongko [Fri, 7 Jul 2017 02:20:44 +0000 (11:20 +0900)]
Release version 0.7.2

Changes:
 - Remove posttrans requires
 - Redirect the output of 'pkgcmd -l' from stdout to stderr

Change-Id: I3139da40d2fd4be5dfd820acea7672d36b349c03
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRemove posttrans requires 23/137623/1
jongmyeongko [Fri, 7 Jul 2017 02:03:03 +0000 (11:03 +0900)]
Remove posttrans requires

IoT Core doesn't need pkgmgr-tool package in runtime.
But, this 'requries' leads to add pkgmgr-tool in binary.

Change-Id: I6354a10cc0064378080877aceaa88d5b0c67c712
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.7.1 79/137379/1 submit/tizen/20170705.114632
jongmyeongko [Wed, 5 Jul 2017 11:27:41 +0000 (20:27 +0900)]
Release version 0.7.1

Changes:
 - Redirect the output of 'pkgcmd -l' from stdout to stderr

Change-Id: I5367940530aff12c73b71b2b338c7cd9eb2e9ec0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRedirect the output of 'pkgcmd -l' from stdout to stderr 22/136922/2
jongmyeongko [Mon, 3 Jul 2017 12:31:36 +0000 (21:31 +0900)]
Redirect the output of 'pkgcmd -l' from stdout to stderr

Change-Id: I81671ea99ea81e8d4af6d9376d0399bf6e8f1c79
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.7.0 71/136471/1 accepted/tizen/unified/20170706.193116 submit/tizen/20170630.024412 submit/tizen/20170704.014215 submit/tizen/20170705.015812
Sangyoon Jang [Fri, 30 Jun 2017 02:06:23 +0000 (11:06 +0900)]
Release version 0.7.0

Changes:
 - Fix posttrans section in spec file
 - Change value of PKGMGR_CLIENT_STATUS_ALL
 - Revert "Add new error code for recovery process done"

Change-Id: I41c907885728bc9e18c5b001240a7d3fa10a3efc
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRevert "Add new error code for recovery process done" 97/134097/3
Bartlomiej Kunikowski [Wed, 14 Jun 2017 12:19:28 +0000 (12:19 +0000)]
Revert "Add new error code for recovery process done"

This reverts commit e39b707badcbed39b6e099279d75925a9c3393a2.

Change-Id: I3fcbdb8205aded3bb7f29348beb456e83fb835db

6 years agoChange value of PKGMGR_CLIENT_STATUS_ALL 40/135140/1
Junghyun Yeon [Wed, 21 Jun 2017 05:27:30 +0000 (14:27 +0900)]
Change value of PKGMGR_CLIENT_STATUS_ALL

- Change its value due to additional value, clearcache

Change-Id: Ia1da03f1bdc44c813aa974551482cc66ea766737
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix posttrans section in spec file 47/133547/1
Hwankyu Jhun [Tue, 13 Jun 2017 00:48:26 +0000 (09:48 +0900)]
Fix posttrans section in spec file

- Fix typo
- Add dependencies about tools

Change-Id: I35a2a593de4983e22da96b1108411c35b7eb3aad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.6.2 92/133092/1 accepted/tizen/unified/20170609.204212 submit/tizen/20170609.050739 submit/tizen/20170609.051007
Sangyoon Jang [Fri, 9 Jun 2017 02:15:51 +0000 (11:15 +0900)]
Release version 0.6.2

Changes:
 - Excute some scripts at posttrans section

Change-Id: I9babc84dc4aaee22a5d1f5c67c109adcd9adc05b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd scripts 63/131963/2
Junghyun Yeon [Wed, 31 May 2017 10:02:04 +0000 (19:02 +0900)]
Add scripts

- Move pkg_initdb related scripts from pkgmgr-tool
- Add scripts to execute label change

Change-Id: Ib826154fb0ac1622aec374e69ed10f3fa8755499
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.6.1 28/132028/1 accepted/tizen/unified/20170607.063211 submit/tizen/20170531.235759
Junghyun Yeon [Thu, 1 Jun 2017 00:27:53 +0000 (09:27 +0900)]
Release version 0.6.1

Changes:
 - Add new pkgmgr_installer_info API

Change-Id: Ie71b15307d17e0630789966b9e74e766af7c12ac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd new pkgmar_installer_info API 50/130050/2
jongmyeongko [Fri, 19 May 2017 02:36:16 +0000 (11:36 +0900)]
Add new pkgmar_installer_info API

to get privilege_level info of the package which
is being processing by installer currently.

Change-Id: Ic522a61c8b79c25e01f7e5c161dd8d2f91f3d572
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRelease version 0.6.0 10/126310/1 accepted/tizen/unified/20170421.113934 submit/tizen/20170421.005321 tizen_4.0.m1_release
Junghyun Yeon [Fri, 21 Apr 2017 01:59:35 +0000 (10:59 +0900)]
Release version 0.6.0

Changes:
- Add clinet functions for pkg update info

Change-Id: I8f7bc317effa660ee2ea0f0c3e90920fc84f1c4f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd client functions for pkg update info 68/122068/10
Junghyun Yeon [Thu, 30 Mar 2017 05:31:50 +0000 (14:31 +0900)]
Add client functions for pkg update info

- Add methods to be used to request register/unregister pkg update info

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/122067
[pkgmgr-info] : https://review.tizen.org/gerrit/121964

Change-Id: I2e6abbef46651967e17bfb6a12b7fed5894a6aa7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.5.2 00/123800/1 accepted/tizen/unified/20170407.190512 submit/tizen/20170407.042402
Sangyoon Jang [Fri, 7 Apr 2017 04:57:58 +0000 (13:57 +0900)]
Release version 0.5.2

Changes:
 - Use %license macro to copy license file
 - Remove unused build dependency & macro

Change-Id: I601d310fe3afbe3a365727fb277b86f608954399
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove a unused build macro 99/123799/1
Sangyoon Jang [Fri, 7 Apr 2017 04:57:08 +0000 (13:57 +0900)]
Remove a unused build macro

Change-Id: I37fe2129303047c22b4f99c1e473593bd08a984c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agopackaging: drop no longer used build dependency on security-manager 77/123477/1
Rafal Krypa [Wed, 5 Apr 2017 19:20:57 +0000 (21:20 +0200)]
packaging: drop no longer used build dependency on security-manager

The need for that dependency has been removed in commit 0a63eca034
(seperate tool and server from slp-pkgmgr (for sync with tizen2.4))

Change-Id: Ic0988a5ffb990397b8d6eea7a9f1b2c0172a98a5
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
7 years agoUse %license macro to copy license file 42/120442/1
Sangyoon Jang [Thu, 23 Mar 2017 02:14:12 +0000 (11:14 +0900)]
Use %license macro to copy license file

Change-Id: Id60e39add11af98b5685e408db9c4142328c7f45
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.5.1 97/119497/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170322.154007 accepted/tizen/ivi/20170323.000740 accepted/tizen/mobile/20170323.000240 accepted/tizen/tv/20170323.000519 accepted/tizen/unified/20170323.000817 accepted/tizen/wearable/20170323.000645 submit/tizen/20170317.070714 submit/tizen/20170320.224022 submit/tizen/20170322.050206 submit/tizen/20170322.091134
Junghyun Yeon [Fri, 17 Mar 2017 06:42:18 +0000 (15:42 +0900)]
Release version 0.5.1

- Get pkgtype from contents of file, not extension

Change-Id: I9fdef8ce77f1babf0b3cc20d200dba91ec9f7f26
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd new error code for recovery process done 12/118912/3
Bartlomiej [Tue, 14 Mar 2017 11:54:55 +0000 (12:54 +0100)]
Add new error code for recovery process done

It is needed for properly detection and handling when
recovery process is terminated.

Submit together:
 - https://review.tizen.org/gerrit/#/c/118914/

Change-Id: I9732e35098184e4d5225221f7911c64f7a5372a8

7 years agoGet pkgtype from contents of file 41/119241/2
Junghyun Yeon [Thu, 16 Mar 2017 06:15:18 +0000 (15:15 +0900)]
Get pkgtype from contents of file

- There are some wgt package packed as tpk file at store
so fix to get pkg type from contents of file.

Change-Id: Ie9fbf4df03134946631fb55ec0d135d92c33cc37
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.5.0 35/117335/2 accepted/tizen/common/20170306.165141 accepted/tizen/ivi/20170307.050438 accepted/tizen/mobile/20170307.050226 accepted/tizen/tv/20170307.050346 accepted/tizen/unified/20170309.032435 accepted/tizen/wearable/20170307.050413 submit/tizen/20170306.070018 submit/tizen_unified/20170308.100406
jongmyeongko [Sat, 4 Mar 2017 08:39:27 +0000 (17:39 +0900)]
Release version 0.5.0

Changes:
 - Add deactivate/activate apps internal APIs
 - Fix enable/disable app to return request id
 - Fix APIs to receive userdata for callback

Change-Id: Id27f363ba684b166607aa3239c23967f2023d9d1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAdd deactivate/activate apps internal APIs 31/117031/1
Junghyun Yeon [Wed, 22 Feb 2017 05:40:01 +0000 (14:40 +0900)]
Add deactivate/activate apps internal APIs

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/115924

Change-Id: I2fbbc40cde9bc840be20ee7f5c7b819e8f515096
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix enable/disable app to return request id 60/115460/2
Junghyun Yeon [Mon, 20 Feb 2017 05:04:28 +0000 (14:04 +0900)]
Fix enable/disable app to return request id

- Fix enable/disable internal APIs to return request id

Change-Id: I7e9dabc286e43b48fda7faa90a50f66947ef7fb5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix APIs to receive userdata for callback 38/114638/1
Junghyun Yeon [Tue, 14 Feb 2017 09:01:34 +0000 (18:01 +0900)]
Fix APIs to receive userdata for callback

Change-Id: Iffaf58933ae77c010168e9eb2975ed51456a77a3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.4.0 58/113858/2 accepted/tizen/common/20170209.122508 accepted/tizen/ivi/20170210.004215 accepted/tizen/mobile/20170210.003843 accepted/tizen/tv/20170210.004018 accepted/tizen/wearable/20170210.004113 submit/tizen/20170209.083108
Sangyoon Jang [Thu, 9 Feb 2017 06:37:23 +0000 (15:37 +0900)]
Release version 0.4.0

Changes:
 - Fix memory leak
 - Remove PM_RESTRICTION_REINSTALL

Change-Id: Ic72379533fceadc38409e022bc634656ebc38579
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove PM_RESTRICTION_REINSTALL 61/113061/1
Sangyoon Jang [Mon, 6 Feb 2017 01:31:09 +0000 (10:31 +0900)]
Remove PM_RESTRICTION_REINSTALL

Reinstall is a kind of update.

Change-Id: I692e183d698d6d3cedeb49c8f2429412c6a86dce
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix memory leak 67/111967/1
Junghyun Yeon [Wed, 25 Jan 2017 07:12:22 +0000 (16:12 +0900)]
Fix memory leak

Change-Id: I23853c597a9446e8e12d7f9ab211844be6d28ae2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease Version 0.3.0 86/110986/2 accepted/tizen/common/20170125.112743 accepted/tizen/ivi/20170119.222123 accepted/tizen/mobile/20170119.221606 accepted/tizen/tv/20170119.221839 accepted/tizen/wearable/20170119.222012 submit/tizen/20170119.070147
jongmyeongko [Thu, 19 Jan 2017 06:08:52 +0000 (15:08 +0900)]
Release Version 0.3.0

Changes:
- Apply MSG_NOSIGNAL to the api using 'send' system call
- Remove unused codes
- Fix coding violation

the changes are not signicant but let's start new minor version
as the first relase version.

Change-Id: I65e210a75491a23ef71cf0322d15bcb1470e97a6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoMake the library version to be same as the pakcage version 83/110983/3
jongmyeongko [Thu, 19 Jan 2017 06:04:08 +0000 (15:04 +0900)]
Make the library version to be same as the pakcage version

Change-Id: Ib5af69fc93cfd13eade47f8342ea8b84692f66e7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoApply MSG_NOSIGNAL to the api using 'send' system call. 21/110821/3
jongmyeongko [Wed, 18 Jan 2017 06:27:17 +0000 (15:27 +0900)]
Apply MSG_NOSIGNAL to the api using 'send' system call.

From a certain cause, if the pipe is broken, then the process will be aborted unexpectedly
and the remaining behavior of that process will be skipped.
The SIGPIPE signal cause this abort.
So, to prevent the unexpect abort, the MSG_NOSIGNAL flag can be the solution.
Becuase, this flag turns off the signaling caused by current system call.
Even though the signaling is off, the process could know the pipe error from errno(EPIPE).

Change-Id: Ifd35062947a24982b160f0774546a855332c7b94
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused codes 33/110833/2
Sangyoon Jang [Wed, 18 Jan 2017 07:24:26 +0000 (16:24 +0900)]
Remove unused codes

Change-Id: Ic44b93b1e36391b9ffd7578685ff4595637c171c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix coding violation 25/110825/2
jongmyeongko [Wed, 18 Jan 2017 07:11:53 +0000 (16:11 +0900)]
Fix coding violation

Change-Id: Iaab5aeae37c69d40eda00cc2c1eed41f6006de6e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>