Junghyun Yeon [Fri, 22 Nov 2019 04:25:36 +0000 (13:25 +0900)]
Release version 0.12.14
Changes:
- Fix static analysis issue
Change-Id: I8489d7691b59361c1a388cde6b105a2795fdc47c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 22 Nov 2019 02:12:48 +0000 (11:12 +0900)]
Fix static analysis issue
Change-Id: I4d81482d873169e2839537dc69f8bac9d6a826cc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 14 Nov 2019 12:01:29 +0000 (21:01 +0900)]
Release version 0.12.13
Changes:
- Fix ManifestDirectInstall/Update on Hybrid pkg
Change-Id: Idcb2344459d620c6dadda786ac7aa71bf6076543
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Wed, 13 Nov 2019 05:33:39 +0000 (14:33 +0900)]
Fix ManifestDirectInstall/Update on Hybrid pkg
Previous implementation did not consider if modified manifest has deleted.
Merging WGT and TPK configs with "OVERWRITE" option
will remove WGT application data so fixing it by merge it and
to consider modified manifest's existance, CONCAT works as merge,
not direct concat to remove duplication.
Change-Id: I5ae4f085b0e33dde2a8408fa4a525806e9321b09
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 12 Nov 2019 04:28:49 +0000 (13:28 +0900)]
Release version 0.12.12
Changes:
- Fix installing privileges of hybrid package
- Add StepSetMainapp
- Adjust order of steps
Change-Id: I5363d57c62a442862fdfb1788b017502117fb9d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 21 Oct 2019 08:31:45 +0000 (17:31 +0900)]
Adjust order of steps
Revert from '
192eddd5a83d207a760c025c328e3096f8debdca'
Change-Id: I81c2d69752e2734d53b15bfe8bb851a9a5014b51
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 1 Oct 2019 06:54:24 +0000 (15:54 +0900)]
Add StepSetMainapp
Add StepSetMainapp for some request types to set mainapp attribute properly.
Change-Id: I23717ba8edc9da81ce2c33ddfcd432dcfabcbc29
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 15 Oct 2019 07:02:04 +0000 (16:02 +0900)]
Fix installing privileges of hybrid package
Change-Id: Ic8db846e8ffd2b09327f81778036e62c751584be
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 20 Sep 2019 01:38:15 +0000 (10:38 +0900)]
Release version 0.12.11
Changes:
- Fix StepMergeTpkConfig for application attribute
Change-Id: I99d9ea3a3a30d21a17b1c2ee71e7e7650df4a5f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 9 Aug 2019 08:30:55 +0000 (17:30 +0900)]
Fix StepMergeTpkConfig for application attribute
Mainapp attribute should be modified at here to
set mainapp as true for webapp.
Change-Id: I94aa9e482a2550fefa1378f1fa3e961f0636ad0c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 5 Sep 2019 07:31:36 +0000 (16:31 +0900)]
Release version 0.12.10
Changes:
- Add recover test for crash after unzip
- Fix static analysis issue
Change-Id: I57de64914b46fc66e820100b323c5d5916dd63ef
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 4 Sep 2019 06:30:29 +0000 (15:30 +0900)]
Fix static analysis issue
Remove unnecessary null checking.
Change-Id: I7c86b64e0cfe496c6b361f696b546a7ac7707438
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 22 Aug 2019 11:57:30 +0000 (20:57 +0900)]
Add recover test for crash after unzip
requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/212535/
Change-Id: I842ef743a815a4ff040c554e1795d3bc5d443b93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 29 Aug 2019 07:12:25 +0000 (16:12 +0900)]
Release version 0.12.9
Changes:
- Change order of StepRemoveTemporaryDirectory
Change-Id: Ia8ff88f389b4680247727ff835e9fa6a2d2a34d5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 26 Aug 2019 05:38:00 +0000 (14:38 +0900)]
Change order of StepRemoveTemporaryDirectory
In case installation terminated after StepUnzip,
recovery file doesn't have pkgid,
and then StepParseManifest will return RECOVERY_DONE,
and temporary file doesn't be removed
Change-Id: I8102692624a27768c28beb665c851eb3f4d2fd1f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Aug 2019 01:36:41 +0000 (10:36 +0900)]
Release version 0.12.8
Changes:
- Fix coding rule
- Parse 'addon' element
Change-Id: I451b302f7ad8c256da80c1e60884363dfadaabd5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghoon Park [Wed, 10 Jul 2019 11:13:11 +0000 (20:13 +0900)]
Parse 'addon' element
- Requires :
https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-manifest-handlers/+/209520/
https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/210406/
Change-Id: Icd20bf982b0cd7107bbbbaa9ec6d971df000847d
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghyun Yeon [Fri, 9 Aug 2019 07:06:50 +0000 (16:06 +0900)]
Fix coding rule
Change-Id: I9d8b2d03d5829278a5451db42a19393e2137eb0a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 9 Aug 2019 08:16:02 +0000 (17:16 +0900)]
Release version 0.12.7
Changes:
- Add StepRecoverParserPlugin at Hybrid recovery requests
- Add StepPrivilegeCompatibility at some hybrid requests
- Fix wgt, hybrid installer issues
- Add StepMergeTpkPrivilege at ManifestPartialInstall/Update steps
- Add StepWgtPatchIcon at ManifestPartialInstall/Update steps
Change-Id: I7b5983f72991ca2cba0377cce7df112cf99abea5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 2 Aug 2019 08:30:43 +0000 (17:30 +0900)]
Add StepWgtPatchIcon at ManifestPartialInstall/Update steps
Fix Icon path change after manifest partial install/update
Change-Id: I6d8b55e38192a8cb89ac3b7468265d0c7454e092
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 8 Aug 2019 09:25:23 +0000 (18:25 +0900)]
Add StepMergeTpkPrivilege at ManifestPartialInstall/Update steps
Change-Id: I9a169422bfd8375c9f61828b4f63d1a67dbab72c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 25 Jul 2019 05:12:41 +0000 (14:12 +0900)]
Fix wgt, hybrid installer issues
- Signature will not be saved on requests listed below :
Hybrid - ManifestPartialInstall, ManifestPartialUpdate
Wgt - ReadonlyUpdateUninstall, ManifestPartialInstall,
ManifestPartialInstall, ManifestPartialUpdate
- Change security-related steps from
StepUpdateSecurity to StepRegisterSecurity
for some install requests to not trying registration on readonly files
when partial-rw option has given.
Change-Id: Id0ebad383cbfd2dab6539fff2ba85bf2971a287d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 23 Jul 2019 06:46:51 +0000 (15:46 +0900)]
Add StepPrivilegeCompatibility at some hybrid requests
Add missing step for ManifestPartialInstall and ManifestPartialUpdate requests.
Change-Id: I53a021953985acaa7a41e6b34a4a76e53f33c8d0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 31 Jul 2019 06:09:06 +0000 (15:09 +0900)]
Add StepRecoverParserPlugin at Hybrid recovery requests
Change-Id: Ib388c8eb4372da646c21a640305f20a57099e462
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Jul 2019 08:44:31 +0000 (17:44 +0900)]
Release version 0.12.6
Changes:
- Fix smoke test
- Revert "Fix smoke test"
Change-Id: I0c5e4dcabfc945a0fe9afdf5a140cf8ab354e6ee
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
ilho kim [Mon, 22 Jul 2019 05:35:02 +0000 (05:35 +0000)]
Revert "Fix smoke test"
This reverts commit
1f7868218392268ec8c4b102f0a1c59f2dbc1a58.
Change-Id: I0d442b650f0d8eab06e197ec34f7d09164076968
Ilho Kim [Wed, 17 Jul 2019 08:04:16 +0000 (17:04 +0900)]
Fix smoke test
Add process to initialize DB for test
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/210253/
Change-Id: I492d2fe68b2c50c7adffb000442d6f6be0f08ac3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 12 Jul 2019 06:48:06 +0000 (15:48 +0900)]
Release version 0.12.5
Changes:
- Combine StorageDirectories Steps
Change-Id: I722ee780dd90927abca44a69c2a564bbc5f2c171
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 14 May 2019 08:13:32 +0000 (17:13 +0900)]
Combine StorageDirectories Steps
Combined step :
- StepCreateStorageDirectories and StepCreatePerUserStorageDirectories
- StepUpdateStorageDirectories and StepUpdatePerUserStorageDirectories
- StepRecoverStorageDirectories and StepRecoverPerUserStorageDirectories
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/206075/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/206194/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/206193/
Change-Id: I2a23cede0e634a844868c8910e2440c0f34fd552
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 26 Jun 2019 01:51:06 +0000 (10:51 +0900)]
Release version 0.12.4
Changes:
- Fix namespace of StepCreateRecoveryFile
- Fix smoke test helper
- Fix name of some steps
Change-Id: Idccf26c9ac8fe5f08e49dab2ca1dc9338e46d8c1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 11 Jun 2019 08:37:07 +0000 (17:37 +0900)]
Fix name of some steps
The name of class StepExampleClass should be "ExampleClass"
Change-Id: I4aac55bf8fc15e8c41a4542865d1888a7f408c07
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 23 Apr 2019 10:06:30 +0000 (19:06 +0900)]
Fix smoke test helper
To use custom step, we need to derive a new class.
(refer: https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203760)
Change-Id: I5d4eff6403f22b2ee081df5e412d073d27827944
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 29 May 2019 10:08:21 +0000 (19:08 +0900)]
Fix namespace of StepCreateRecoveryFile
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/206959
Change-Id: Ib2f20b2e44b97136349be85a2edfcafc95a63fd0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 31 May 2019 06:28:22 +0000 (15:28 +0900)]
Release version 0.12.3
Changes:
- Combine Signature Steps
- Standardize use of STEP_NAME()
- Combine Plugin Steps
- Fix ManifestDirectInstall mode of hybrid installer
Change-Id: Ib440faba650a08e45f7f4b20299fb7914c936aa1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Fri, 26 Apr 2019 05:55:58 +0000 (14:55 +0900)]
Fix ManifestDirectInstall mode of hybrid installer
Installer should parse modified (tpk & wgt combined) manifest.
(Some information such as preload are needed)
Change-Id: Iefee0992f526de4fa2d5f5cbc56e1a78bfd80782
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 26 Apr 2019 06:32:57 +0000 (15:32 +0900)]
Combine Plugin Steps
StepRunParserPlugin combines below steps
- StepRegisterPluginInfo
- StepUpdatePluginInfo
- StepUnregisterPluginInfo
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/204652/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/204757/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/205385/
Change-Id: Ib430c9b0c71c82fc2ccf73e4af8bd1f3db66a470
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 16 May 2019 03:01:04 +0000 (12:01 +0900)]
Standardize use of STEP_NAME()
In case class name is StepExampleClass, Pass "ExampleClass" to STEP_NAME()
Change-Id: I94effc1c0d26e1498483bf941d2bf0d0af6f84ba
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
ilho [Mon, 15 Apr 2019 09:41:10 +0000 (18:41 +0900)]
Combine Signature Steps
StepCheckSignature and StepSaveSignature are combined
Related changes
[app-installers] https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/203140/
[tpk-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/tpk-backend/+/203141/
[wgt-backend] https://review.tizen.org/gerrit/#/c/platform/core/appfw/wgt-backend/+/203513/
Change-Id: I5385c1503e3d55eb291f0c7d6455c21a07fe4301
Signed-off-by: ilho <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 05:44:45 +0000 (14:44 +0900)]
Release version 0.12.2
Changes:
- Fix build error on hybrid backend
Change-Id: I9cdbb2ec99f10c7f1c72ca12b0159cbb1837582a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 04:51:30 +0000 (13:51 +0900)]
Fix build error on hybrid backend
Change-Id: I78e6da2e672a2a903dc09cb4897c76a739807603
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 02:16:49 +0000 (11:16 +0900)]
Release version 0.12.1
Changes:
- Fix double free
- Do not call Init() for initialize steps
Change-Id: I24802f28ff828fa6d9944d80714d377b4dca8d89
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Apr 2019 11:41:20 +0000 (20:41 +0900)]
Do not call Init() for initialize steps
Init() will be called internally by AppInstaller class. (inside Run())
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203760
Change-Id: I394b98ee0eebc6abba220d619108da15822e43d6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Apr 2019 08:35:05 +0000 (17:35 +0900)]
Fix double free
Change-Id: I724a8e0a7bd8ab6608ba511daff41b2796f4fab8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 15 Mar 2019 08:35:33 +0000 (17:35 +0900)]
Release version 0.12.0
Changes:
- Change action type when enable wgt pkgs
- Change visibility of steps to protected
- Add StepRegisterPluginInfo
- Add step StepCheckUpgradable
Change-Id: I22faea5e03bb136d257be058f7b0b97b54ab913a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 13 Mar 2019 06:30:42 +0000 (15:30 +0900)]
Add step StepCheckUpgradable
This step check the package upgradable using package dependency info.
Change-Id: Iff3753104596ebd347adf8b1ba80575cd9819de2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 15 Feb 2019 05:11:07 +0000 (14:11 +0900)]
Add StepRegisterPluginInfo
- By adding procedure for storing plugin execution info,
additional Step for storing it to db is needed.
Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/195920/
[app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/195744/
Change-Id: I7a970d0cd482f722ab7a0c83a1b073b05b0c6104
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 21 Feb 2019 11:10:35 +0000 (20:10 +0900)]
Change visibility of steps to protected
For extensibility, change visibility to protected.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/200321
Change-Id: Ic1e3cfe37e83e0afd479cdcb5b4cdf7852bc2c64
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 11:19:24 +0000 (20:19 +0900)]
Change action type when enable wgt pkgs
- When wgt pkg being enabled, plugin should be executed as "Install".
Change-Id: If47320cbe7b022c68c7658fa91369e8a5982b9bb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 02:32:45 +0000 (11:32 +0900)]
Release version 0.11.1
Changes:
- Add dependency explicitly
Change-Id: I552e71e47d81268af4d82a9b01dbad022dbe89fe
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 01:54:06 +0000 (10:54 +0900)]
Add dependency explicitly
Change-Id: I8e1bdf8da1dc6019f58746af201fcaaa5986637a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Hwankyu Jhun [Tue, 22 Jan 2019 07:30:02 +0000 (16:30 +0900)]
Release version 0.11.0
Changes:
- Add ReadonlyUpdateInstall/Uninstall mode for hybrid-backend
- Fix ManifestDirectPartialUpdate mode
- Add attribute 'id' on app-control element
Change-Id: I1092e736cdb7a8fb9ce992850f0d8040c761e234
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Jan 2019 06:56:26 +0000 (15:56 +0900)]
Add attribute 'id' on app-control element
Change-Id: I0b9bacb23ecdc062b76a6e71150d339acfc7de3f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Tue, 15 Jan 2019 08:32:14 +0000 (17:32 +0900)]
Fix ManifestDirectPartialUpdate mode
Fix manifest file location for update. The manifest which is located at
ManifestLocation::INSTALLED(where is /usr/share/package/) contains all
apps in package.
Change-Id: I1b81f07145646f40f773df90525b796483091f02
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 29 Nov 2018 12:41:02 +0000 (21:41 +0900)]
Add ReadonlyUpdateInstall/Uninstall mode for hybrid-backend
Change-Id: I3007a3bcd696a100cc8c2b0374656d81ba6f47bb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 14 Aug 2018 07:42:48 +0000 (16:42 +0900)]
Release version 0.10.6
Changes:
- Fix RecoverDB request
- Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor
Change-Id: I69867c8382c531dc5421a6ae02f16d0f8a04029d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 7 Aug 2018 10:38:17 +0000 (19:38 +0900)]
Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor
Related changes :
[app-installers] : https://review.tizen.org/gerrit/#/c/186122
Change-Id: I97036bf8d5b2fd88b0655e0e27c728bd4a842030
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 23 Jul 2018 08:53:38 +0000 (17:53 +0900)]
Fix RecoverDB request
- Remove StepManifestAdjustment steps.
Change-Id: I059c3db97e5d77ae9b5c09e28e87ba734a45d5ea
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 18 Jul 2018 05:45:56 +0000 (14:45 +0900)]
Release version 0.10.5
Changes:
- Add RecoverDB step and fix codes for it
Change-Id: Ie28f4871ce62eac68e8c8f09ac496d3880770801
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 21 Jun 2018 10:46:06 +0000 (19:46 +0900)]
Add RecoverDB step and fix codes for it
- This will be invoked when db has corrupted
- Operations like ManifestDirectInstall will parse merged manifest so
it does not have to merge configurations for hybrid pkg, so add options
to determine merge or overwrites configurations.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/182176
Change-Id: I5c7f96ab6b98ad751e08ef8ada75d5c63245e331
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 26 Jun 2018 01:35:21 +0000 (10:35 +0900)]
Release version 0.10.4
Changes:
- Supplement ParserPlugin
Change-Id: I4c29dc1f9f1b01030b4879fb4951c74444e381bb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 15 May 2018 11:29:49 +0000 (20:29 +0900)]
Supplement ParserPlugin
- Adjust order of steps.
- Add StepRecoverParserPlugin.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/178962
Change-Id: I1754f5b733b02da58135f40817dcbd8dac51eb0a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 17 May 2018 11:19:31 +0000 (20:19 +0900)]
Release version 0.10.3
Changes:
- Set default value of app-control visibility attribute
Change-Id: I5c9987ab8c7efefaae6d9c3866551bf46025b07e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 17 May 2018 11:06:49 +0000 (20:06 +0900)]
Set default value of app-control visibility attribute
Change-Id: I1567d0e729f3c47cfdf30fae003799198e9dc9ed
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 11 May 2018 06:45:57 +0000 (15:45 +0900)]
Release version 0.10.2
Changes:
- Add StepSaveSignature at mount install or update
- Add signature removal process for hybrid pkg
- Fix coding rule by including header
- Add StepRevokeTrustAnchor steps for several installation cases.
Change-Id: I5f87775ba01b93d8cd8fb47534bf5e03b01be9c4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 11 Dec 2017 02:11:47 +0000 (11:11 +0900)]
Add StepRevokeTrustAnchor steps for several installation cases.
- When updating pkg has failed, trust anchor should be revoked.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/158351/
Change-Id: Ifaf443083b8ba4b3130cc6db3d145f7e5386e334
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 12 Apr 2018 04:22:40 +0000 (13:22 +0900)]
Fix coding rule by including header
Change-Id: Ia2e3f0ff6e31c3be0a7a134b707e7579f0a6f9f5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 10 Apr 2018 10:34:36 +0000 (19:34 +0900)]
Add signature removal process for hybrid pkg
Change-Id: I748d38a05f91822df41d692ace94981eb732f3a2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 6 Apr 2018 04:17:17 +0000 (13:17 +0900)]
Add StepSaveSignature at mount install or update
- Distributor signature don't have to be extracted because its value will be
stored at separated directory.
Related changes: [app-installers] : https://review.tizen.org/gerrit/174993
Change-Id: I132f25356912e7f34894c1761f8a1bac2ac27303
Sangyoon Jang [Tue, 3 Apr 2018 10:57:39 +0000 (19:57 +0900)]
Release version 0.10.1
Changes:
- Fix static analyzer issues
Change-Id: I095a9771cac2e8386c42f087a650f9dd62321742
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 2 Apr 2018 11:08:08 +0000 (20:08 +0900)]
Fix static analyzer issues
- Fix uncaught exception.
Change-Id: Ica139ffdff375bbbaf9345787744f167dc79c788
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 30 Mar 2018 08:14:03 +0000 (17:14 +0900)]
Release version 0.10.0
Changes:
- Add StepSaveSignature step
Change-Id: I9a34653ed2a30bd7d6ee86fccd0dbff23e4f4aea
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 8 Mar 2018 08:01:56 +0000 (17:01 +0900)]
Add StepSaveSignature step
- Add new step to store distributor signatures into separate files.
- Existing distributor signature files will be removed to prevent
extract package and re-packaging it.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/171653/
Change-Id: I01b3c9882db400203470595bc3c0950544312e69
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 27 Mar 2018 08:50:14 +0000 (17:50 +0900)]
Release version 0.9.6
Changes:
- Fix extensive smoke test
- Fix static analyzer issues
Change-Id: I1de6a3d07816cb0aca0fcc69c1b308ae19635729
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 22 Mar 2018 06:52:28 +0000 (15:52 +0900)]
Fix static analyzer issues
- Fix memory leak
- Fix using uninitialized variables
- Fix dereferencing before null check
Change-Id: I119e803a3e9acb9e63abc1f28c2fbd93f7e92699
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 22 Mar 2018 08:06:20 +0000 (17:06 +0900)]
Fix extensive smoke test
Cast global environment object just once when allocating.
Use static_cast for downcasting, because we know obviously that
SmokeEnvironment class is derived from testing::Environment class.
Change-Id: I89629f81453235f7dfc526a1e796bf7396cafe89
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 8 Mar 2018 06:03:36 +0000 (15:03 +0900)]
Release version 0.9.5
Changes:
- Add codes to enable ManifestDirectInstall for mount intalled pkg
- Fix smoke test
- Remove user data when ReadonlyUpdateUninstall mode
Change-Id: I615e6db7f24d8e0c886865366b19675071508050
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 9 Feb 2018 02:24:29 +0000 (11:24 +0900)]
Remove user data when ReadonlyUpdateUninstall mode
Submit with:
- https://review.tizen.org/gerrit/169698
Change-Id: Ia7c6f140e4d48e2d10de16c0bb25925d0b127dd1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2018 10:08:05 +0000 (19:08 +0900)]
Fix smoke test
- Cast global environment object just once when allocating.
Use static_cast for downcasting, because we know obviously that
SmokeEnvironment class is derived from testing::Environment class.
- Remove unused variables.
Change-Id: If5865c60aed4047cce7824a4e94f6379102d8767
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 18 Jan 2018 02:14:38 +0000 (11:14 +0900)]
Add codes to enable ManifestDirectInstall for mount intalled pkg
- Some files should be extracted.
- Add Step to determine whether given pkg is mount installed or not.
- Override undo() to enable undo operation.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/167144
Change-Id: I03d22721135e8b3607c5a18f11dc06e9b82ef070
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 2 Feb 2018 05:03:32 +0000 (14:03 +0900)]
Release version 0.9.4
Changes:
- Fix RecoverySteps of hybrid backend
- Remove unnecessary step
Change-Id: Iac1f21516fe6709a5f3e4e1631a27b0ac71a7a2d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Seungha Son [Fri, 26 Jan 2018 02:39:29 +0000 (11:39 +0900)]
Remove unnecessary step
StepRollbackDeinstallationSecurity is meaningless.
It is meaningless to rollback in undo() because removing the security
is done after uninstall process() steps have been compelted.
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I8aeae5000320b7707b252f496aedfe6e19dada2e
Sangyoon Jang [Wed, 24 Jan 2018 05:14:27 +0000 (14:14 +0900)]
Fix RecoverySteps of hybrid backend
Add missing steps.
Change-Id: I1aa19c050223689869954b9f0e55e18d3bf151c4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 19 Jan 2018 07:51:44 +0000 (16:51 +0900)]
Release version 0.9.3
Changes:
- Refactoring ValidatePackage() functions parameter
- Set nodisplay attribute of widget application as manifest value
- Add a step for recovering ReadonlyUpdateInstall mode
- Add condition to check nullptr
- Add StepPrivilegeCompatibility at RecoverySteps
- Add StepPrivilegeCompatibility at ReadonlyUpdateUninstallSteps
- Add StepCreateRecoveryFile at ReadonlyUpdateInstallSteps
- Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility
Change-Id: I5e16453f2a10c961091582a4471c26d1fe4f6a4f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 17 Jan 2018 12:14:51 +0000 (21:14 +0900)]
Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility
Requires:
- https://review.tizen.org/gerrit/167411
Change-Id: I1ba4b0461d42657516584f4c09a68fa7dedae705
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Jan 2018 12:00:04 +0000 (21:00 +0900)]
Add StepCreateRecoveryFile at ReadonlyUpdateInstallSteps
Change-Id: Ia4a0335c3c43b5f3222c98b958deb0cd677b5601
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Jan 2018 05:41:45 +0000 (14:41 +0900)]
Add StepPrivilegeCompatibility at ReadonlyUpdateUninstallSteps
To install internal privileges, StepPrivilegeCompatibility should be
added.
Change-Id: I7c6b3042d8729c78906d6982b4ce4d4239c9fa2d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 16 Jan 2018 05:34:52 +0000 (14:34 +0900)]
Add StepPrivilegeCompatibility at RecoverySteps
To recover internal privileges, StepPrivilegeCompatibility should be
added.
Change-Id: I4a162bfc3f2fd00ccbf6724f691e6bf98c4b4262
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Seungha Son [Thu, 11 Jan 2018 09:54:46 +0000 (18:54 +0900)]
Add condition to check nullptr
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I4557bbb36ede24d897f80f38dd488c07f4320736
Sangyoon Jang [Tue, 9 Jan 2018 02:06:39 +0000 (11:06 +0900)]
Add a step for recovering ReadonlyUpdateInstall mode
Requires:
- https://review.tizen.org/gerrit/158844
Change-Id: Ib5483a13729787be094cd0a0144aaa32450a0ae1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 8 Dec 2017 08:07:53 +0000 (17:07 +0900)]
Set nodisplay attribute of widget application as manifest value
Change-Id: I8271e692d104325c268a5dc42f229bcb8b700bf9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Damian Pietruchowski [Thu, 9 Nov 2017 12:43:13 +0000 (13:43 +0100)]
Refactoring ValidatePackage() functions parameter
Tpk package has different binary name than appid.
So we need to pass appid and exec name to ValidatePackage()
functions.
Submit with:
- https://review.tizen.org/gerrit/#/c/159539/
- https://review.tizen.org/gerrit/#/c/159542/
Change-Id: I2bd70f55e14c5aea07a9c9f7a628ab8a255fc225
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Junghyun Yeon [Fri, 22 Dec 2017 06:12:11 +0000 (15:12 +0900)]
Release version 0.9.2
Changes:
- Skip undo operation in StepGenerateXml for ManifestDirectUpdate
Change-Id: Ic75a06e38383f96cde76a03e386c53be1d78944b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Damian Pietruchowski [Wed, 4 Oct 2017 12:49:15 +0000 (14:49 +0200)]
Skip undo operation in StepGenerateXml for ManifestDirectUpdate
Change-Id: Icec22bb6b8ac1d7dd34afdb4a2e0ec04f0ff0369
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Sangyoon Jang [Fri, 8 Dec 2017 08:08:25 +0000 (17:08 +0900)]
Release version 0.9.1
Changes:
- Fix code formatting
- Add new step for creating recovery file
Change-Id: Ieba6b74a091dcc29b08da3a3583901e325233dd9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Damian Pietruchowski [Wed, 11 Oct 2017 11:16:00 +0000 (13:16 +0200)]
Add new step for creating recovery file
Creating recovery file was moved from StepConfigure
to new step: StepCreateRecoveryFile
Submit together:
- https://review.tizen.org/gerrit/#/c/154907/
- https://review.tizen.org/gerrit/#/c/154906/
Change-Id: Iab03c201c6978d6b2e1ad6a639e0be5de221de5c
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Lukasz Pik [Thu, 23 Nov 2017 10:34:04 +0000 (11:34 +0100)]
Fix code formatting
Change-Id: Idbfbaaf22c4ada9515f7b9a0fea01788a61257a5
Signed-off-by: Lukasz Pik <lu.pik@samsung.com>
Junghyun Yeon [Mon, 27 Nov 2017 10:16:52 +0000 (19:16 +0900)]
Release version 0.9.0
Changes:
- Fix logic to store api version at application structure
- Change name of OpenRecoveryFileForPath to OpenRecoveryFile
- Add update steps of directories at wgt installer
- Add patch icon steps at ManifestDirectInstall of hybrid installer
- Revert "Revert "[Refactor] AppInstaller logic export""
- Replace pkg_path with GetPkgPath() method in InstallerContext
Change-Id: Idb05dc912fea4b35634589e38b2055bcb013c99b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Damian Pietruchowski [Wed, 11 Oct 2017 11:07:12 +0000 (13:07 +0200)]
Replace pkg_path with GetPkgPath() method in InstallerContext
pkg_path is always equal to root_application_path + pkgid.
Storing this information in separate variable is problematic,
because it requires to remember to update pkg_path after
root_application_path or pkgid is changed.
Submit with:
- https://review.tizen.org/gerrit/#/c/154196/
- https://review.tizen.org/gerrit/#/c/160353/
Change-Id: I3a1a3ddccb041e93f2aa633b19174f1c67a4ff96
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
jongmyeong ko [Tue, 16 May 2017 05:11:27 +0000 (05:11 +0000)]
Revert "Revert "[Refactor] AppInstaller logic export""
This should be submitted with:
- https://review.tizen.org/gerrit/#/c/93998/
- https://review.tizen.org/gerrit/#/c/93999/
This reverts commit
35519ad818702263ead855736499c174b3e97dbe.
Change-Id: Ied92513c761f8c52c42b854d74d49eef72fc3144
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Mon, 20 Nov 2017 02:10:16 +0000 (11:10 +0900)]
Add patch icon steps at ManifestDirectInstall of hybrid installer
Change-Id: I57e351b43aaca6e5429d23b1c92c506e844c64b7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>