platform/core/appfw/pkgmgr-tool.git
3 weeks agoRelease version 0.11.8 53/309353/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen/unified/20240411.142614 accepted/tizen/unified/x/20240412.023833
Sangyoon Jang [Tue, 9 Apr 2024 05:53:06 +0000 (14:53 +0900)]
Release version 0.11.8

Changes:
 - Add error handling when failed to parse pkgid
 - Fix db upgrade script

Change-Id: Icd2694fd4bcd92f7b9bb4bdefb96c522471bb025
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 weeks agoFix db upgrade script 42/306742/3
Sangyoon Jang [Tue, 27 Feb 2024 05:13:35 +0000 (14:13 +0900)]
Fix db upgrade script

The lib rpk feature is moved to db version 30011.

Change-Id: Ia97f262b5e01f25e929933282783a1a194e80405
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 weeks agoAdd error handling when failed to parse pkgid 13/308113/2
Sangyoon Jang [Mon, 18 Mar 2024 06:49:03 +0000 (15:49 +0900)]
Add error handling when failed to parse pkgid

Change-Id: Ie0bdf38348483d7f2432068a4edf9fda98c76f3a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 weeks agoRelease version 0.11.7 07/308307/1 accepted/tizen/unified/20240322.174257 accepted/tizen/unified/x/20240326.073220
Sangyoon Jang [Thu, 21 Mar 2024 07:26:01 +0000 (16:26 +0900)]
Release version 0.11.7

Changes:
 - Remove execute label from pkg_upgrade
 - Set cpu boosting wheh pkg_getsize

Change-Id: I39c4d8d8fb209fcbe243818865d50fa6797724e4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 weeks agoSet cpu boosting wheh pkg_getsize 98/308298/1
Sangyoon Jang [Thu, 21 Mar 2024 00:22:39 +0000 (09:22 +0900)]
Set cpu boosting wheh pkg_getsize

Change-Id: Ie9afc666bddcdda055a6cd5ff0f057e38c0b0c4a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 weeks agoRemove execute label from pkg_upgrade 21/308121/1
Sangyoon Jang [Mon, 18 Mar 2024 08:22:01 +0000 (17:22 +0900)]
Remove execute label from pkg_upgrade

Change-Id: Iea465753486d41bd5b48774052bbeb87a3cec741
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 weeks agoRelease version 0.11.6 34/307634/1 accepted/tizen/unified/20240313.134103 accepted/tizen/unified/20240313.135329 accepted/tizen/unified/x/20240314.073220
Hwankyu Jhun [Tue, 12 Mar 2024 05:15:14 +0000 (14:15 +0900)]
Release version 0.11.6

Changes:
 - Fix lcov option

Change-Id: Id07e3860f2679fe0f404118ed2b0e86da080409a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 weeks agoFix lcov option 16/307616/1
Hwankyu Jhun [Tue, 12 Mar 2024 04:55:14 +0000 (13:55 +0900)]
Fix lcov option

"mismatch,unused" options are added.

Change-Id: I0194a474bf03136cc44e0c09e6e3fadde5abe87d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 months agoRelease version 0.11.5 33/306133/1
Sangyoon Jang [Fri, 16 Feb 2024 08:24:46 +0000 (17:24 +0900)]
Release version 0.11.5

Changes:
 - Remove boost dependency

Change-Id: If27c5f211548b07ae7caef3737f54f82689dd17f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 months agoRemove boost dependency 53/303753/4
Sangyoon Jang [Thu, 4 Jan 2024 08:06:24 +0000 (17:06 +0900)]
Remove boost dependency

Change-Id: Id66232cb8414dd71c21c30809be65590a94f1169
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoRelease version 0.11.4 87/305387/1 accepted/tizen_unified_toolchain accepted/tizen/unified/20240202.170009 accepted/tizen/unified/toolchain/20240311.064810 accepted/tizen/unified/toolchain/20240312.012643 accepted/tizen/unified/x/20240205.063813
Hwankyu Jhun [Thu, 1 Feb 2024 05:19:03 +0000 (14:19 +0900)]
Release version 0.11.4

Changes:
 - Use aul-rsc-mgr library

Change-Id: I24716aeb45b21b7ab04dfedb27ade092a2e52edf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoUse aul-rsc-mgr library 66/305366/1
Hwankyu Jhun [Thu, 1 Feb 2024 01:43:40 +0000 (10:43 +0900)]
Use aul-rsc-mgr library

The aul-rsc-mgr library is added to separate the package from aul library.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/305365/

Change-Id: Ifd934fcdc44c901b8b2172812afcae2b7eac2165
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
3 months agoRelease version 0.11.3 03/305203/1 accepted/tizen/unified/20240131.064108 accepted/tizen/unified/20240131.064207 accepted/tizen/unified/20240131.064259
Ilho Kim [Tue, 30 Jan 2024 05:21:57 +0000 (14:21 +0900)]
Release version 0.11.3

Changes:
 - Fix static analysis issue

Change-Id: Ib7133354578c8335562ceed16cdeeef4b4a6395e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 months agoFix static analysis issue 54/305154/3
Ilho Kim [Mon, 29 Jan 2024 08:46:32 +0000 (17:46 +0900)]
Fix static analysis issue

Fix uninitialized member variable
Use of auto that causes a copy

Change-Id: I82802ced0e02ca4db7473f929323b28ae4f4d2c4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
3 months agoRelease version 0.11.2 12/304812/1 accepted/tizen/unified/20240129.163400
Sangyoon Jang [Wed, 24 Jan 2024 03:40:37 +0000 (12:40 +0900)]
Release version 0.11.2

Changes:
 - Fix upgrade script for cert db

Change-Id: I83f9fa7b48b3ee7680147bf1dc54fcaf287e7341
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoFix upgrade script for cert db 17/304517/1
Sangyoon Jang [Thu, 18 Jan 2024 09:26:00 +0000 (18:26 +0900)]
Fix upgrade script for cert db

Change-Id: I5fdf5a4138791f301f0d87a30c0796819ab0b4d4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
3 months agoRelease version 0.11.1 97/304097/1 accepted/tizen_unified_riscv accepted/tizen/unified/20240111.074617 accepted/tizen/unified/riscv/20240115.113647
Sangyoon Jang [Wed, 10 Jan 2024 04:36:43 +0000 (13:36 +0900)]
Release version 0.11.1

Changes:
 - Add upgrade script for pkg db version 30010

Change-Id: I6598ebbc82d59493ef6c324766d5cb723b7a9da8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoAdd upgrade script for pkg db version 30010 00/303800/1
Sangyoon Jang [Fri, 5 Jan 2024 01:49:37 +0000 (10:49 +0900)]
Add upgrade script for pkg db version 30010

Attribute "lib" is added to package_res_info table.

Change-Id: Ic4b4e53d1019e530c649ec01b3218f5bb32b7967
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoRelease version 0.11.0 14/303014/1 accepted/tizen/unified/20231219.160414 accepted/tizen/unified/riscv/20231226.211101
Sangyoon Jang [Tue, 19 Dec 2023 00:38:39 +0000 (09:38 +0900)]
Release version 0.11.0

Changes:
 - Implement priority list feature in pkg_upgrader
 - Send pkg upgrade signal
 - Add priority list test
 - Fix to install preload-rw packages first

Change-Id: I0be95f174fb49b4dcdb639cfeb981f5140d5b180
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 months agoFix to install preload-rw packages first 78/302878/5
Sangyoon Jang [Fri, 15 Dec 2023 04:03:13 +0000 (13:03 +0900)]
Fix to install preload-rw packages first

Install preload-rw packages first to make more free space in the RO partition
during installation.

Change-Id: I5a208aba8e4149b84daa2717ea22a5e920397a88
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 months agoAdd priority list test 16/300716/10
Sangyoon Jang [Wed, 1 Nov 2023 07:00:43 +0000 (16:00 +0900)]
Add priority list test

Change-Id: I5d97c2f5abf345ce4c779fd3e8f574e7c84bc437
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 months agoSend pkg upgrade signal 34/300534/11
Sangyoon Jang [Tue, 24 Oct 2023 08:08:18 +0000 (17:08 +0900)]
Send pkg upgrade signal

Change-Id: I117e850f6e32ea90e83d88fe4b9b889262d30446
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 months agoImplement priority list feature in pkg_upgrader 68/298668/7
Sangyoon Jang [Tue, 12 Sep 2023 07:18:50 +0000 (16:18 +0900)]
Implement priority list feature in pkg_upgrader

Change-Id: I4e3e922cf0c8d4a4e7472039976391ddecf99c04
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 months agoRelease version 0.10.9 00/301200/1 accepted/tizen/8.0/unified/20231212.161335 accepted/tizen/unified/20231114.041307
ilho kim [Fri, 10 Nov 2023 07:41:41 +0000 (16:41 +0900)]
Release version 0.10.9

Changes:
 - Add fsync after creating backup flag
 - Remove log of printing file name
 - Add errno when chsmack failed
 - Remove the use of removed api

Change-Id: I1a202ebc47881487da6c9859e43b11d8892ce40f
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
5 months agoRemove the use of removed api 72/301172/1
ilho kim [Fri, 10 Nov 2023 04:23:08 +0000 (13:23 +0900)]
Remove the use of removed api

Related:
 [pkgmgr-info]https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/301171/

Change-Id: I86ca65de7b6e408295df9b844e3b9d3d7f36b4ce
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
6 months agoAdd errno when chsmack failed 73/300673/1
Sangyoon Jang [Tue, 31 Oct 2023 06:33:48 +0000 (15:33 +0900)]
Add errno when chsmack failed

Change-Id: If5b979e282a07acfb93a92b9e3ee135c3d6ca63f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 months agoRemove log of printing file name 04/300604/2
Sangyoon Jang [Sun, 29 Oct 2023 23:36:19 +0000 (08:36 +0900)]
Remove log of printing file name

Change-Id: I421de026977ddbbc0aa24e8c4acbfb8613a5fd4c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 months agoAdd fsync after creating backup flag 35/300535/2
Sangyoon Jang [Thu, 26 Oct 2023 23:53:31 +0000 (08:53 +0900)]
Add fsync after creating backup flag

Change-Id: I00030561a5d91b459702a3b97d30d56543c5ffec
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 months agoRelease version 0.10.8 49/300249/1 accepted/tizen/unified/20231024.112156
Sangyoon Jang [Thu, 19 Oct 2023 07:57:53 +0000 (16:57 +0900)]
Release version 0.10.8

Changes:
 - Return error when smack_setlabel() failed

Change-Id: I062ae4357c7402166a5e9b4b46e2fa13c3ceeed6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 months agoReturn error when smack_setlabel() failed 23/300123/1
Sangyoon Jang [Tue, 17 Oct 2023 06:36:20 +0000 (15:36 +0900)]
Return error when smack_setlabel() failed

Change-Id: I08935eaea00aec98ac0c619c57fb6c764034e91c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 months agoRelease version 0.10.7 67/298567/1 accepted/tizen/8.0/unified/20231005.093058 accepted/tizen/unified/20230912.171557 tizen_8.0_m2_release
Sangyoon Jang [Mon, 11 Sep 2023 00:44:50 +0000 (09:44 +0900)]
Release version 0.10.7

Changes:
 - Check whether PkgFinder::Find() failed in PkgUpgraderFactory::MakeList()
 - Set dlog tag of pkg_upgrader
 - Set pkgmgr client socket timeout before upgrade

Change-Id: Ibd5a1f89bfed9a5507ca31f54b3d395d12ebe8c1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 months agoSet pkgmgr client socket timeout before upgrade 35/298335/2
Sangyoon Jang [Thu, 24 Aug 2023 06:22:49 +0000 (15:22 +0900)]
Set pkgmgr client socket timeout before upgrade

Change-Id: I398322489634f26faede2621f4ab6f0cb0850470
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 months agoSet dlog tag of pkg_upgrader 36/297736/2
Sangyoon Jang [Wed, 23 Aug 2023 10:10:24 +0000 (19:10 +0900)]
Set dlog tag of pkg_upgrader

Change-Id: Ia9a6778b7a1c045886f98cc85e8d6e5f7512d7ae
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 months agoCheck whether PkgFinder::Find() failed in PkgUpgraderFactory::MakeList() 35/297735/1
Sangyoon Jang [Wed, 23 Aug 2023 09:28:09 +0000 (18:28 +0900)]
Check whether PkgFinder::Find() failed in PkgUpgraderFactory::MakeList()

Change-Id: Id98de814d67f81807802663e0c7c577baba60011
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
8 months agoRelease version 0.10.6 19/297319/1 accepted/tizen/unified/20230818.102954
ilho kim [Thu, 17 Aug 2023 00:57:28 +0000 (09:57 +0900)]
Release version 0.10.6

Changes:
 - Fix static analysis issue

Change-Id: Iace8748c472e6fafb715cc0c4be12e84923aabf3
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
8 months agoFix static analysis issue 68/297268/1
ilho kim [Wed, 16 Aug 2023 05:55:30 +0000 (14:55 +0900)]
Fix static analysis issue

Remove of unnecessary copy operation of shared_ptr

Change-Id: I2213ed9e69fbf59813cc6576c1d1c3297cdfad3a
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
10 months agoRelease version 0.10.5 37/294337/1 accepted/tizen/unified/20230620.022447
Sangyoon Jang [Fri, 16 Jun 2023 07:28:27 +0000 (16:28 +0900)]
Release version 0.10.5

Changes:
 - Remove unnecessary assigns
 - Add ROU to RW case to pkg_upgrade

Change-Id: Iff2d4105979e08c9a5f3392e2f6d9f1bed2fa352
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
10 months agoAdd ROU to RW case to pkg_upgrade 44/285844/6
Sangyoon Jang [Tue, 20 Dec 2022 06:05:31 +0000 (15:05 +0900)]
Add ROU to RW case to pkg_upgrade

old_pkg: RO updated pkg
new_pkg: RO removed, only RW remained

Change-Id: I51e820e96fa6eed18bff0561565f446cf4699059
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months agoRemove unnecessary assigns 02/291802/1
Sangyoon Jang [Fri, 21 Apr 2023 09:26:31 +0000 (18:26 +0900)]
Remove unnecessary assigns

Change-Id: I447ef01387730ebdfced77cc3307d645244f27d2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months agoRelease version 0.10.4 89/291789/1 accepted/tizen/unified/20230425.175845 accepted/tizen/unified/20230426.172123
Sangyoon Jang [Fri, 21 Apr 2023 07:35:34 +0000 (16:35 +0900)]
Release version 0.10.4

Changes:
 - Fix grant ownership when perfoming resource coping
 - Supprot RPK package

Change-Id: Id886379f8d8e5bfe9ef0d6f6a6876f3fc4f32cb1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months agoSupprot RPK package 59/291059/5
Sangyoon Jang [Fri, 7 Apr 2023 06:07:37 +0000 (15:07 +0900)]
Supprot RPK package

Change-Id: I6443f1ddb731de472e8f5c12c031f8a995d675e7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
12 months agoFix grant ownership when perfoming resource coping 57/291557/1
ilho kim [Tue, 18 Apr 2023 08:40:40 +0000 (17:40 +0900)]
Fix grant ownership when perfoming resource coping

When copying the directory, ownership was not granted

Change-Id: Ie77919296eaef5a92b3994efdb52be9ec9003189
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
13 months agoRelease version 0.10.3 73/289473/1 accepted/tizen/unified/20230310.062638 accepted/tizen/unified/20230314.093337
Hwankyu Jhun [Wed, 8 Mar 2023 08:22:58 +0000 (08:22 +0000)]
Release version 0.10.3

Changes:
 - Support rpk installation for MIC

Change-Id: I81b20223af237a32fb691d857ea4c7f72a8b09da
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
13 months agoSupport rpk installation for MIC 72/289472/1
Hwankyu Jhun [Wed, 8 Mar 2023 08:15:59 +0000 (08:15 +0000)]
Support rpk installation for MIC

The NUIGadget is packed using rpk. The rpk package MUST be installed in MIC step.

Change-Id: Iee1d10977aff0afc588b044d5cb0c0e124580f32
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
15 months agoRelease version 0.10.2 98/286798/1 accepted/tizen/unified/20230117.140524
Sangyoon Jang [Fri, 13 Jan 2023 04:27:09 +0000 (13:27 +0900)]
Release version 0.10.2

Changes:
 - Protect access to parent folders
 - Revise CMakeLists.txt of unittests
 - Add upgrade script for pkg db version 30009

Change-Id: Ib10b740df9a0f7d2b48ab06d3c59cfa35942ff1d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
15 months agoAdd upgrade script for pkg db version 30009 93/286793/2
Sangyoon Jang [Fri, 13 Jan 2023 02:28:45 +0000 (11:28 +0900)]
Add upgrade script for pkg db version 30009

package_metadata table was added.

Change-Id: I076aadf3bdd06769eb381459d2b524515769417a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoRevise CMakeLists.txt of unittests 90/285790/1
Sangyoon Jang [Tue, 20 Dec 2022 07:44:37 +0000 (16:44 +0900)]
Revise CMakeLists.txt of unittests

Change-Id: I7fed7d87108acea46df8a132ad1c6864d3e9878f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
16 months agoProtect access to parent folders 45/285245/6
Changgyu Choi [Thu, 8 Dec 2022 05:29:32 +0000 (14:29 +0900)]
Protect access to parent folders

If file_path is the relative path to the upper folder (e.g., "../") put in,
the operation will be authorized more than API intention.
This patch prevents access to parent folders than the user data folder.

Change-Id: I75852ac321d6b661da91b25cd1c429512d59e7c5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
16 months agoRelease version 0.10.1 44/285144/1
Changgyu Choi [Wed, 7 Dec 2022 00:44:19 +0000 (09:44 +0900)]
Release version 0.10.1

Changes:
 - Fix wrong filename paremeter

Change-Id: Ib00ae79f08e577c713fb34d363d6c68b85e1c1a1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
17 months agoFix wrong filename paremeter 47/285047/1
Changgyu Choi [Mon, 5 Dec 2022 08:19:54 +0000 (17:19 +0900)]
Fix wrong filename paremeter

If tool try to remove the directory, the parameter is wrong.
This patch changes the parameter by correcting it.

Change-Id: If0332966b94d0520f50d1143812449104959f248
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
18 months agoRelease version 0.10.0 92/283692/1 accepted/tizen/unified/20221104.082306
Changgyu Choi [Wed, 2 Nov 2022 02:20:26 +0000 (11:20 +0900)]
Release version 0.10.0

Changes:
 - Add to remove file command

Change-Id: I7d2568288e2055bf7caf94c70022fd0c3c1b8c65
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
18 months agoAdd to remove file command 99/283399/7
Changgyu Choi [Wed, 26 Oct 2022 02:36:46 +0000 (11:36 +0900)]
Add to remove file command

Change-Id: I047fe640e1b9b1bc8f4f5553c56251171e888698
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
18 months agoRelease version 0.9.7 88/283088/1
Sangyoon Jang [Tue, 18 Oct 2022 02:30:23 +0000 (11:30 +0900)]
Release version 0.9.7

Changes:
 - Fix static analysis issue

Change-Id: I7e0be783d0050dc7e51188d9b4b385a778d82f8f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
18 months agoFix static analysis issue 21/283021/1
Sangyoon Jang [Sun, 16 Oct 2022 23:53:05 +0000 (08:53 +0900)]
Fix static analysis issue

Fix wrong type.

Change-Id: Ifcc20a54b080450a3f055089854951b66be6afc6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
19 months agoRelease version 0.9.6 37/281637/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060942 accepted/tizen/7.0/unified/hotfix/20221116.105039 accepted/tizen/unified/20220921.091811 tizen_7.0_m2_release
Sangyoon Jang [Tue, 20 Sep 2022 06:10:22 +0000 (15:10 +0900)]
Release version 0.9.6

Changes:
 - Fix static analysis issue

Change-Id: I64926173491692eb115e768651283d2dd5672e10
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
19 months agoFix static analysis issue 23/281623/1
Sangyoon Jang [Tue, 20 Sep 2022 05:15:10 +0000 (14:15 +0900)]
Fix static analysis issue

Change-Id: Ibc6d05ba96f732dd2d62468b585d32cb28bac151
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
19 months agoRelease version 0.9.5 21/280921/1 accepted/tizen/unified/20220908.013404
Changgyu Choi [Wed, 7 Sep 2022 00:29:25 +0000 (09:29 +0900)]
Release version 0.9.5

Changes:
 - Fix worng return value
 - Add pre sending pkg event to amd

Change-Id: Ie4ae6a76a2f3fa0eccf0e58087133bb35291dbab
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
20 months agoAdd pre sending pkg event to amd 77/280377/9
Changgyu Choi [Mon, 29 Aug 2022 06:50:31 +0000 (15:50 +0900)]
Add pre sending pkg event to amd

Requires:
 - https://review.tizen.org/gerrit/c/platform/core/appfw/aul-1/+/280292

Change-Id: I3c5c2f1b498818edfd59d6a13ad0a072bc6dcda5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
20 months agoFix worng return value 61/279961/1
Ilho Kim [Fri, 19 Aug 2022 10:08:54 +0000 (19:08 +0900)]
Fix worng return value

Change-Id: I524e1f1607168357f2edc5f629ddcdf429041213
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
23 months agoRelease version 0.9.4 15/275615/1 accepted/tizen/unified/20220530.140630 submit/tizen/20220527.073732
Ilho Kim [Fri, 27 May 2022 07:12:49 +0000 (16:12 +0900)]
Release version 0.9.4

Changes:
 - Fix spec file for coverage measurement

Change-Id: I9de3611f5bc5d1941cb1b3672544c60cf0c77f7d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
23 months agoFix spec file for coverage measurement 08/275608/1
Ilho Kim [Fri, 27 May 2022 05:39:24 +0000 (14:39 +0900)]
Fix spec file for coverage measurement

To measure code coverages automatically, a run-unittest.sh is needed

Change-Id: I0b6065e52c7318d8b2b69d78ec64001bfb15de10
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
23 months agoRelease version 0.9.3 58/275258/1 accepted/tizen/unified/20220526.143649 submit/tizen/20220525.035932
Ilho Kim [Thu, 19 May 2022 06:39:35 +0000 (15:39 +0900)]
Release version 0.9.3

Changes:
 - Modify database backup sequence

Change-Id: If523915afccfebb7b8987b9e8dfbd2cd0077cb16
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
23 months agoModify database backup sequence 11/275211/2
Ilho Kim [Wed, 18 May 2022 07:18:31 +0000 (16:18 +0900)]
Modify database backup sequence

If there is a forced termination before erasing the backup flag
and applying the smack label, there is a problem of using the backup database
which the smack label is not applied in the next upgrade
so modify the smack label setting of the backup database
before removing the backup flag

Change-Id: I5201ef7b3c24e5f79abb32f030908a5d2e026c43
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.9.2 51/274151/1 accepted/tizen/unified/20220425.055024 accepted/tizen/unified/20220426.132202 submit/tizen/20220422.070818 submit/tizen/20220423.050208 submit/tizen/20220423.124820 submit/tizen/20220425.070152
Junghyun Yeon [Fri, 22 Apr 2022 06:38:44 +0000 (15:38 +0900)]
Release version 0.9.2

Changes:
 - Add upgrade script

Change-Id: I59f42bd9f911362c7c1504d246fb1f43a73683e3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoAdd upgrade script 08/274008/1
Junghyun Yeon [Wed, 20 Apr 2022 04:32:10 +0000 (13:32 +0900)]
Add upgrade script

Upgrade script for adding lightuser column

Change-Id: Id0df89a85a71edfb6ef9b236e0418a614e047196
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.9.1 90/271590/1 accepted/tizen/unified/20220224.125744 submit/tizen/20220223.080756
Ilho Kim [Wed, 23 Feb 2022 07:36:26 +0000 (16:36 +0900)]
Release version 0.9.1

Changes:
 - Fix static analysis issue

Change-Id: I015599c20db94ef230e6a8762e2ef1b651f6f082
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoFix static analysis issue 04/271204/2
Ilho Kim [Thu, 17 Feb 2022 01:47:25 +0000 (10:47 +0900)]
Fix static analysis issue

- Remove the use of large stack

Change-Id: Ic24d7d09d3423043dd6d3dbe68657b05a0b29923
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.9.0 08/270208/1 submit/tizen/20220126.231421
Junghyun Yeon [Wed, 26 Jan 2022 10:29:40 +0000 (19:29 +0900)]
Release version 0.9.0

Changes:
 - Change preload and preload-rw package installation order

Change-Id: I5da506b3b95a57a838ac5201d0da7099735bb8b7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoChange preload and preload-rw package installation order 09/270109/4
Junghyun Yeon [Wed, 26 Jan 2022 01:24:11 +0000 (10:24 +0900)]
Change preload and preload-rw package installation order

Change installation order to install larger package prior than samller one.
install_preload_pkg tool deletes package file when its installation has done.
So if there are not enough space left in image,
installation will be failed due to lack of storage.
So change install larger package first to prevent this.

Change-Id: Ia1cc3ced1b0213f63f84eca8634016be3f889448
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.8.8 44/269744/1 accepted/tizen/6.5/unified/20220125.123306 accepted/tizen/unified/20220124.020946 submit/tizen/20220120.064930 submit/tizen/20220120.083417 submit/tizen/20220120.231448 submit/tizen_6.5/20220120.064818 submit/tizen_6.5/20220121.000129 submit/tizen_6.5/20220123.222508
Ilho Kim [Thu, 20 Jan 2022 05:18:12 +0000 (14:18 +0900)]
Release version 0.8.8

Changes:
 - Change gcov installation path

Change-Id: I2d329053a608d7fe08c9a3490e28018e9f7111d1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoChange gcov installation path 91/269691/1
Ilho Kim [Thu, 20 Jan 2022 04:19:23 +0000 (13:19 +0900)]
Change gcov installation path

Change-Id: I1a22143365590c408d5a102a25092c7f1b01f409
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.8.7 92/268992/1 accepted/tizen/unified/20220106.124729 submit/tizen/20220106.054937
Junghyun Yeon [Thu, 6 Jan 2022 05:17:39 +0000 (14:17 +0900)]
Release version 0.8.7

Changes:
 - Fix static analysis issue
 - Remove unnecessary script

Change-Id: I0566558eb16d241ca8372fe2e1020f7ddc5da385
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRemove unnecessary script 48/268948/1
Junghyun Yeon [Wed, 5 Jan 2022 06:26:28 +0000 (15:26 +0900)]
Remove unnecessary script

Change-Id: I6b169e3dcba6a416bf2c5cc5d124d974a34365d7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoFix static analysis issue 81/268881/2
Ilho Kim [Tue, 4 Jan 2022 06:13:15 +0000 (15:13 +0900)]
Fix static analysis issue

Change to check destination path's size of strncpy

Change-Id: Iad8a0f0fb7ca7777e663cb2f058975473fd0ee2e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.8.6 31/267131/1 accepted/tizen/6.5/unified/20211129.211907 accepted/tizen/unified/20211129.120734 submit/tizen/20211126.050722 submit/tizen_6.5/20211126.050714
Sangyoon Jang [Fri, 26 Nov 2021 05:04:31 +0000 (14:04 +0900)]
Release version 0.8.6

Changes:
 - Print error log when opt.zip not found
 - Fix Rw2RoUpgrader

Change-Id: Ie4effa699ae7df251f32d7ac8c32fc08cf2bcd11
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoFix Rw2RoUpgrader 89/267089/1
Sangyoon Jang [Thu, 25 Nov 2021 07:44:37 +0000 (16:44 +0900)]
Fix Rw2RoUpgrader

In case of RO-updated rw -> preload ro, ro package does not need to be
installed again(uninstalling RO-updated rw package installs preload ro package
again automatically), but In case of preload rw -> preload ro, ro package
should be installed by ManifestDirectInstall mode.

Change-Id: I1fcc5c4559d9c0cd7eb2da4fac92b3fb59447b54
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoPrint error log when opt.zip not found 88/267088/1
Sangyoon Jang [Thu, 25 Nov 2021 06:37:54 +0000 (15:37 +0900)]
Print error log when opt.zip not found

Change-Id: Ic51973255bdea286895ee08020784cf18a7bae7f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
2 years agoRelease version 0.8.5 13/266913/1 accepted/tizen/6.5/unified/20211124.060346 accepted/tizen/unified/20211123.143758 submit/tizen/20211122.092115 submit/tizen/20211123.001718 submit/tizen_6.5/20211123.111544
Junghyun Yeon [Mon, 22 Nov 2021 09:16:06 +0000 (18:16 +0900)]
Release version 0.8.5

Changes:
 - Remove unused script

Change-Id: I6ad85bff6beb55c4c27fd9825f38628882646621
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRemove unused script 56/264856/1
Junghyun Yeon [Fri, 1 Oct 2021 08:05:03 +0000 (17:05 +0900)]
Remove unused script

Change-Id: I1e44866a443800f34080c1bc64d94a00bc74918f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.8.4 93/263893/1 accepted/tizen/6.5/unified/20211028.100243 accepted/tizen/unified/20210914.085014 submit/tizen/20210913.073852 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
Junghyun Yeon [Mon, 13 Sep 2021 07:19:07 +0000 (16:19 +0900)]
Release version 0.8.4

Changes:
 - Adjust upgrade script

Change-Id: I96b6e9e19283ee48efdb92b66759b703b1a55a17
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoAdjust upgrade script 22/263822/1
Junghyun Yeon [Fri, 10 Sep 2021 09:43:39 +0000 (18:43 +0900)]
Adjust upgrade script

- Move contents of script 30006 to 30007.
- Add pkg db user version set script to 30007.
- Change 30006 scripts to handle priv_shared_res directory creation.

Change-Id: I28ddcd4b660ef31704902dea4a0603c4f1d71636
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.8.3 74/263674/1 accepted/tizen/unified/20210909.002403 accepted/tizen/unified/20210910.120714 submit/tizen/20210908.042905 submit/tizen/20210909.100919
Ilho Kim [Wed, 8 Sep 2021 04:13:49 +0000 (13:13 +0900)]
Release version 0.8.3

Changes:
 - Handle path state in resource event signal

Change-Id: I84fd04ed7f3a7fadb39a00fa03086962075055b9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoHandle path state in resource event signal 15/263615/4
Ilho Kim [Tue, 7 Sep 2021 04:51:33 +0000 (13:51 +0900)]
Handle path state in resource event signal

Change-Id: I9c9c8de57bdf70ec71c9ab4e85e1e89f379f8087
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoRelease version 0.8.2 39/263639/1 accepted/tizen/unified/20210908.011418 submit/tizen/20210907.080459 submit/tizen/20210908.013707
Junghyun Yeon [Tue, 7 Sep 2021 08:01:52 +0000 (17:01 +0900)]
Release version 0.8.2

Changes:
 - Change res-copy behavior when handling uninstall request

Change-Id: I4648d5e3092b32d7255ed87012a11bc5072371f9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoChange res-copy behavior when handling uninstall request 38/263638/1
Junghyun Yeon [Tue, 7 Sep 2021 07:54:04 +0000 (16:54 +0900)]
Change res-copy behavior when handling uninstall request

Change it to proceed uninstall requests even if there are no
package information on database.

Change-Id: I494b7879d6dd66079c81cd6c387f4b952d86dbf4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.8.1 16/263516/1 submit/tizen/20210906.013143
Junghyun Yeon [Mon, 6 Sep 2021 01:25:29 +0000 (10:25 +0900)]
Release version 0.8.1

Changes:
 - Fix coding rule
 - Change permission of directories being created or copied
 - Send event signal for user
 - Fix static analysis issue
 - Improve code readability.
 - Fix send resource signal api

Change-Id: Id759b2169679d459a901675b01b1af2a3a771d39
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoFix send resource signal api 62/263362/2
Ilho Kim [Wed, 1 Sep 2021 05:51:45 +0000 (14:51 +0900)]
Fix send resource signal api

Related:
 [slp-pkgmgr]https://review.tizen.org/gerrit/#/c/platform/core/appfw/slp-pkgmgr/+/263354/

Change-Id: Id05fd4759ac9cdb1dfe5eee81ce47b6a66c8a45b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoImprove code readability. 46/262246/5
Junghyun Yeon [Thu, 5 Aug 2021 02:56:06 +0000 (11:56 +0900)]
Improve code readability.

- Add some empty lines for readability.
- Reduce indentation depth.
- Extract codes into function.

Change-Id: I7e3b3199632f71632b9e7311aaf35ea7ed4037a2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoFix static analysis issue 61/263361/1
Junghyun Yeon [Wed, 1 Sep 2021 05:48:33 +0000 (14:48 +0900)]
Fix static analysis issue

Change-Id: I1def0214172a8e0b6d7a49c7a2c8d7bbf7b5ed61
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoSend event signal for user 97/263297/4
Ilho Kim [Tue, 31 Aug 2021 05:33:22 +0000 (14:33 +0900)]
Send event signal for user

Change-Id: I69c2ca4ce2897c84f77a10f0094d867b611e6ff7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoChange permission of directories being created or copied 96/263296/1
Junghyun Yeon [Tue, 31 Aug 2021 02:23:56 +0000 (11:23 +0900)]
Change permission of directories being created or copied

Change-Id: I2b72706dfd2f95f779d2446e5cc83ef0ac35a480
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoFix coding rule 81/263081/3
Junghyun Yeon [Thu, 26 Aug 2021 02:40:20 +0000 (11:40 +0900)]
Fix coding rule

Change-Id: I87a5643b67f94381ae8466e009587c579685037a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoRelease version 0.8.0 97/263097/1 accepted/tizen/unified/20210830.104017 submit/tizen/20210826.063234 submit/tizen/20210830.020619
Ilho Kim [Thu, 26 Aug 2021 06:30:12 +0000 (15:30 +0900)]
Release version 0.8.0

Changes:
 - Set smack label of pkg_upgrade
 - Implement request handlers
 - Fix static analysis issue
 - Change prefix rsc to res
 - Add DB backup unit test for pkg_upgrade
 - Merge "Set smack label of pkg_upgrade" into tizen
 - Implement CreateDir request handler
 - Add checking routine to prevent path traverse attack
 - Implement EventSignalSender
 - Implement EventSignalSender unit test
 - Change directory policy

Change-Id: I9cc80a51d2ecf8307f3a4908f7a040f381933b18
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoChange directory policy 57/263057/7
Junghyun Yeon [Wed, 25 Aug 2021 02:33:31 +0000 (11:33 +0900)]
Change directory policy

- Create root directory when installing RPM package.
- Change codes to set uid/gid with designated user and group.
- Cleanup unit test for reduce duplicated codes.

Change-Id: Id7621cced36340e045a7864b1b5e9e3756d3d36e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoImplement EventSignalSender unit test 73/262973/4
Ilho Kim [Tue, 24 Aug 2021 06:20:53 +0000 (15:20 +0900)]
Implement EventSignalSender unit test

Change-Id: I473f648fd6182ac3d7ab191a5cad55c89c7767bd
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoImplement EventSignalSender 99/262899/8
Ilho Kim [Mon, 23 Aug 2021 01:29:02 +0000 (10:29 +0900)]
Implement EventSignalSender

Change-Id: Ie9caa2fa8d39272132a100cbcd0930da49d5c4f5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
2 years agoAdd checking routine to prevent path traverse attack 46/262946/3
Junghyun Yeon [Tue, 24 Aug 2021 01:41:02 +0000 (10:41 +0900)]
Add checking routine to prevent path traverse attack

Change-Id: Ie90df0c9d1075725870cdce7c86f7c1a6c5b703a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoImplement CreateDir request handler 03/262803/7
Junghyun Yeon [Fri, 20 Aug 2021 03:33:08 +0000 (12:33 +0900)]
Implement CreateDir request handler

Implement CreateDir request handler which responsible for creating new directories.

Change-Id: Ib5dba75b3f2d8975917eeb248fcd7cdf15afad95
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
2 years agoMerge "Set smack label of pkg_upgrade" into tizen
Sangyoon Jang [Mon, 23 Aug 2021 04:55:47 +0000 (04:55 +0000)]
Merge "Set smack label of pkg_upgrade" into tizen

2 years agoAdd DB backup unit test for pkg_upgrade 23/261923/5
Ilho Kim [Thu, 29 Jul 2021 02:29:55 +0000 (11:29 +0900)]
Add DB backup unit test for pkg_upgrade

Change-Id: I3f0e55c4736b1ee4f24c8409ed14660985ec86c5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>