Junghyun Yeon [Mon, 25 Nov 2019 08:21:47 +0000 (17:21 +0900)]
Release version 1.8.13
Changes:
- Revert "Fix recovery test's failure"
Change-Id: I2b38f1ff3b7506464f2e2f0a631f8ff2e2ac7489
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 19 Nov 2019 04:54:34 +0000 (13:54 +0900)]
Revert "Fix recovery test's failure"
This reverts commit
c6435c86d25654408945b09f1ad48723b38aaa67.
PkgQuery should not be used directly.
Change-Id: Ie90b8087d092bdf6917e0ef7a48e674ab7f72c1f
Ilho Kim [Tue, 12 Nov 2019 04:28:40 +0000 (13:28 +0900)]
Release version 1.8.12
Changes:
- Move implementation of virtual functions which does nothing
- Add capability and exec_label for recovery_test
- Fix build warning
- Change packages used in recovery test
- Adjust order of steps
- Fix coding rule
- Modify recovery test to handle cleanup type
Change-Id: I057e2abcf8c6d8ab2963dd0c66f7b34ee42948d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 8 Nov 2019 00:45:19 +0000 (09:45 +0900)]
Modify recovery test to handle cleanup type
When recovery file set cleanup, recovery package is updated
So in this case, it is necessary to compare updated content
-Reference
[app-installers]https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/216457/
Change-Id: Id005fcb3ec495822c90e00f7fd4a396b31f9ff56
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 5 Nov 2019 11:40:05 +0000 (20:40 +0900)]
Fix coding rule
Change-Id: Ia7c301b2ada2c3528d270cc064c8e06e52d390db
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 21 Oct 2019 08:35:06 +0000 (17:35 +0900)]
Adjust order of steps
Revert from '
ca625dadda76259cec5543a2c4096e1d39fbc15f'
Change-Id: Iad1907e2eb583a769db2abbb16472c1558144b33
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Oct 2019 08:45:59 +0000 (17:45 +0900)]
Change packages used in recovery test
Increase the package size
Change-Id: Ie3723b4e431a9e0abce29669a0d4a60c9d1df0b4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Oct 2019 04:52:56 +0000 (13:52 +0900)]
Fix build warning
Warning that "deprecated conversion from string constant to 'char*'"
Change-Id: I358e41d668af069b79e40ff353f3ce62339a9654
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 25 Oct 2019 04:08:21 +0000 (13:08 +0900)]
Add capability and exec_label for recovery_test
Install request requires some capability and smack label
Change-Id: I593a895d7f42009287497d76591b3582e6a6837e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 31 Oct 2019 07:49:52 +0000 (16:49 +0900)]
Move implementation of virtual functions which does nothing
Change-Id: I693a5cebff4b31ca013b765185f810837e36382b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Fri, 20 Sep 2019 01:38:22 +0000 (10:38 +0900)]
Release version 1.8.11
Changes:
- Fix StepTpkPatchIcons
Change-Id: Ic52a056a2e3b79e66a0b205cd62ab8b2f7a9b854
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 26 Jul 2019 07:25:20 +0000 (16:25 +0900)]
Fix StepTpkPatchIcons
- Fix coding rules.
- Fix possible static issue.
- Add error checking routines.
Change-Id: Ic7d8e7a3977a196c872cb55f8ec68116aeeb82ba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 29 Aug 2019 07:10:26 +0000 (16:10 +0900)]
Release version 1.8.10
Changes:
- Change order of StepRemoveTemporaryDirectory
- Add recover test for crash after unzip
Change-Id: Ic646ecf3d9ac41725c0af63a54db364e6172e91b
Signed-off-by: Ilho Kim <ilho159.kim@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 [Mon, 26 Aug 2019 05:32:10 +0000 (14:32 +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: I671090285767b7d2ecbe10e5f28e0772b14f18b1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 20 Aug 2019 01:36:36 +0000 (10:36 +0900)]
Release version 1.8.9
Changes:
- Fix static analysis issue
- Fix recovery test's failure
- Add GetDependencyInfo at TPK archive info
Change-Id: Id5fa83dbc4f59f86d38588e3cb2d1ec72c34552f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 30 Jul 2019 07:50:09 +0000 (16:50 +0900)]
Add GetDependencyInfo at TPK archive info
Related changes:
[slp-pkgmgr] : https://review.tizen.org/gerrit/211114
[pkgmgr-info] : https://review.tizen.org/gerrit/211111
Change-Id: I7c8fd6dcf8be0387c7fcd98f8018f0174044b873
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Mon, 29 Jul 2019 11:04:55 +0000 (20:04 +0900)]
Fix recovery test's failure
In testcase with repeat, PkgQuery has handle that made from singleton,
so there is a need to reset the singleton
Change-Id: If95e80525a7ed1763dc0bc58f3ca9086ce4652de
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 9 Aug 2019 04:17:46 +0000 (13:17 +0900)]
Fix static analysis issue
Fix NULL Pointer dereference when memory allocation fails
Change-Id: Id988582b90da46dffb799ac17414b3e9b2a7cdd9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 9 Aug 2019 08:15:54 +0000 (17:15 +0900)]
Release version 1.8.8
Changes:
- Implement recovery test for forced termination
- Fix coding style
Change-Id: I6f0a0072f85b9824f38118f7725d883d8b4b6389
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 31 Jul 2019 03:28:12 +0000 (12:28 +0900)]
Fix coding style
Change-Id: I9353b9beb35f888cb9d06c60d9475c6028b84b14
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 5 Jun 2019 07:45:54 +0000 (16:45 +0900)]
Implement recovery test for forced termination
Using time interval, kill install process and perform a recovery test
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/209477/
Change-Id: Ifa90cab0b5b0da70f620bfcfcb8f39a81d2ee180
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Mon, 22 Jul 2019 08:44:11 +0000 (17:44 +0900)]
Release version 1.8.7
Changes:
- Fix smoke test
- Revert "Fix smoke test"
Change-Id: I991fae939df464b24b711a2177f8b19b34990639
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
ilho kim [Mon, 22 Jul 2019 05:34:29 +0000 (05:34 +0000)]
Revert "Fix smoke test"
This reverts commit
554cc188a5a66e0642123905dfa690a20dc46dce.
Change-Id: I451e68ffcd413c3023a57d0fa53d9d2bdc29c290
Ilho Kim [Wed, 17 Jul 2019 08:11:15 +0000 (17:11 +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: I86de0dc31a08a26604eee7095469000d78a4f0b1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 12 Jul 2019 06:47:13 +0000 (15:47 +0900)]
Release version 1.8.6
Changes:
- Combine StorageDirectories Steps
- Unit tests for duplicated splash screen detection
Change-Id: I18c8a2d01b408e9251e6aae1f74c9eea3d5acee1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Michal Marszal [Mon, 29 Apr 2019 14:37:29 +0000 (16:37 +0200)]
Unit tests for duplicated splash screen detection
Patch requires: https://review.tizen.org/gerrit/#/c/205150/
Change-Id: I0c65e0e3e933f3dc1760417192c45ce3c7146acb
Signed-off-by: Michal Marszal <m.marszal@samsung.com>
Ilho Kim [Tue, 14 May 2019 01:47:19 +0000 (10:47 +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: I0de7d1c33cfd06619b130c988bc77c7a9dccbd9e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 26 Jun 2019 01:50:54 +0000 (10:50 +0900)]
Release version 1.8.5
Changes:
- Fix namespace of StepCreateRecoveryFile
- Fix smoke test helper
- Fix name of some steps
Change-Id: Iac924691ecaee45babed138825d27aae2abbfe32
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 11 Jun 2019 08:45:17 +0000 (17:45 +0900)]
Fix name of some steps
The name of class StepExampleClass should be "ExampleClass"
Change-Id: Ic6c72e66ea2868e998849d212a55fffe4edf1ef7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 23 Apr 2019 07:39:37 +0000 (16:39 +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: I8eadd437e8a1a2b20a34fa0a3d7f0cd8b75d0f96
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 29 May 2019 10:07:15 +0000 (19:07 +0900)]
Fix namespace of StepCreateRecoveryFile
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/206959
Change-Id: Ia36967a54acbc12a56883a1894a19abc1c1e5967
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Jun 2019 04:42:15 +0000 (13:42 +0900)]
Release version 1.8.4
Changes:
- Fix libtpk
Change-Id: I934aaae337e184904319e936201e08b2f9d14b67
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Jun 2019 02:31:33 +0000 (11:31 +0900)]
Fix libtpk
Add extern "C" to using at C module.
Change-Id: I1f8479346b22649368d58c2974cdb9113ed7002f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 31 May 2019 06:23:39 +0000 (15:23 +0900)]
Release version 1.8.3
Changes:
- Combine Signature Steps
- Remove visibility flag to export all classes
- Standardize use of STEP_NAME()
- Combine Plugin Steps
- Add comparing package attributes for ReadonlyUpdateUninstall test
Change-Id: I65eb04084b7fe4199d8e886a523044c7ff78ad49
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 16 Apr 2019 07:56:31 +0000 (16:56 +0900)]
Add comparing package attributes for ReadonlyUpdateUninstall test
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/app-installers/+/203612
Change-Id: I8f1def6d86993b411c856bc1dd168d134cb7d149
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 26 Apr 2019 05:57:26 +0000 (14:57 +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: I4a4730f20ab09c98e6040eda901258f94e050e21
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 16 May 2019 03:00:05 +0000 (12:00 +0900)]
Standardize use of STEP_NAME()
In case class name is StepExampleClass, Pass "ExampleClass" to STEP_NAME()
Change-Id: Id2bcb7c21b704a949613896527731c68ef8743ac
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 15 May 2019 11:14:57 +0000 (20:14 +0900)]
Remove visibility flag to export all classes
This flag was added to reduce binary size, but it doesn't meaningful at
this time. And we need to export all classes for custom backends.
- Binary size comparison
Before this patch: 1599404 Bytes
After this patch: 1616560 Bytes
Change-Id: I12b6680671c220488494df130f5245c97c3d57c3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho [Wed, 10 Apr 2019 06:22:45 +0000 (15:22 +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: Ie2e20c033f2663f08aab09e0f4810a19a6d4b174
Signed-off-by: ilho <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 18 Apr 2019 02:16:41 +0000 (11:16 +0900)]
Release version 1.8.2
Changes:
- Do not call Init() for initialize steps
Change-Id: I68a52673c76a252b2342e00d13d16e54c1dc58d3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Apr 2019 11:39:38 +0000 (20:39 +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: Ibf4bda5584432404397b2d757e9e7f21f7875315
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 16 Apr 2019 08:57:19 +0000 (17:57 +0900)]
Release version 1.8.1
Changes:
- Fix StepConvertXml
Change-Id: I3319dfc0410288687c3b6719751e62daf0af61f4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 27 Mar 2019 05:31:04 +0000 (14:31 +0900)]
Fix StepConvertXml
- Fail log will be printed only when remove has failed.
Change-Id: Ia91bd07f4b14a2e4213a93303a549a7b13becd53
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 15 Mar 2019 08:35:16 +0000 (17:35 +0900)]
Release version 1.8.0
Changes:
- Remove empty line for coding style
- Change visibility of steps to protected
- Add StepRegisterPluginInfo
- Add step StepCheckUpgradable
Change-Id: I4221da5735408c4735a74fe012962904334d8805
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 13 Mar 2019 06:29:02 +0000 (15:29 +0900)]
Add step StepCheckUpgradable
This step check the package upgradable using package dependency info.
Change-Id: I0c26e23d44c7325d2d0f94781304c575c3258682
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Wed, 19 Dec 2018 12:13:58 +0000 (21:13 +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: I5b0ec598a6c65eb8abc2ce34d5bbc18eb868dfdd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 21 Feb 2019 11:11:48 +0000 (20:11 +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: I75b65b68f8f2a93f2f0865ec8c3133aaf0acdd8e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 07:11:48 +0000 (16:11 +0900)]
Remove empty line for coding style
Change-Id: Ieb8e2ebcd362d55bdf6024d2c567199139f514da
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 02:32:27 +0000 (11:32 +0900)]
Release version 1.7.8
Changes:
- Add dependency explicitly
Change-Id: Idca504259accb37f470394a04ac2232daadee1e5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 18 Feb 2019 01:46:52 +0000 (10:46 +0900)]
Add dependency explicitly
Change-Id: Ie6d972c3dad8f5df6ee35eaa01c5de0eabdb2ebf
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
ilho [Fri, 15 Feb 2019 08:47:22 +0000 (17:47 +0900)]
Release version 1.7.7
Changes:
- Fix static analysis issue
Change-Id: I19e2b7c50ce102a680cf399f4c2076dfd11480d2
Signed-off-by: ilho <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 17 Jan 2019 10:21:33 +0000 (19:21 +0900)]
Fix static analysis issue
Change-Id: I99998235039fac7f78ce3a5f69be9ef7d61dd375
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 14 Aug 2018 07:42:26 +0000 (16:42 +0900)]
Release version 1.7.6
Changes:
- Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor
Change-Id: Iac731726932de9cde293ef8aa9f0cc7f35981370
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 7 Aug 2018 10:33:35 +0000 (19:33 +0900)]
Replace StepRegisterTrustAnchor into StepRecoverTrustAnchor
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/186122
Change-Id: Ief86c915f079415ec71f8378aba70a3e51666f13
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 23 Jul 2018 12:45:28 +0000 (21:45 +0900)]
Release version 1.7.5
Changes:
- Fix Recover request type
Change-Id: I70f81e725ac555bfcdd23621def611e4f6566ed9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 19 Jul 2018 07:49:48 +0000 (16:49 +0900)]
Fix Recover request type
- Remove StepManifestAdjustment.
Change-Id: Idbf00767b78e4c180f1c57ad9e3fef441a341886
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 18 Jul 2018 05:45:49 +0000 (14:45 +0900)]
Release version 1.7.4
Changes:
- Add RecoverDB step
Change-Id: I1762d937bb7747cad9586680ecbcb9dd6dad965f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 21 Jun 2018 06:16:19 +0000 (15:16 +0900)]
Add RecoverDB step
- This will be invoked when db has corrupted
Related changes:
[app-installers] : https://review.tizen.org/gerrit/182176
Change-Id: Ifbd28927721cc80b52010337f8ac39616976eaf0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 26 Jun 2018 01:35:10 +0000 (10:35 +0900)]
Release version 1.7.3
Changes:
- Supplement ParserPlugin
Change-Id: Icfd0e517b5e1e07a6834815d4f87fc8f6cbd6fba
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 15 May 2018 11:22:50 +0000 (20:22 +0900)]
Supplement ParserPlugin
- Adjust order of steps.
- Add StepRecoverParserPlugin.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/178962
Change-Id: I7bddab2ef30a9c6f4adc252bb41270f7559c2f86
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 11 May 2018 06:45:24 +0000 (15:45 +0900)]
Release version 1.7.2
Changes:
- Add StepSaveSignature at mount install or update
- Supress build warning
- Add StepRevokeTrustAnchor steps for several installation cases.
Change-Id: I930d2319fcf3ff98be449ddfce38fcd6aa232b2b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Sun, 5 Nov 2017 23:56:36 +0000 (08:56 +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: I02e39983e26129f8618ccb0329448c00afec7208
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 12 Apr 2018 04:22:10 +0000 (13:22 +0900)]
Supress build warning
Change-Id: I05e365f62f21af390a910717ce8958e4dda060cb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 6 Apr 2018 00:29:59 +0000 (09:29 +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: Ie55c10fff95954dabe54b75e11ad555ad60ac07f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 3 Apr 2018 10:57:34 +0000 (19:57 +0900)]
Release version 1.7.1
Changes:
- Fix static analyzer issues
Change-Id: I9ad239dd4a8b347699158b4a612336ff3f72a628
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 2 Apr 2018 11:06:55 +0000 (20:06 +0900)]
Fix static analyzer issues
- Fix uncaught exception.
Change-Id: I004cf553ecf9f96db1d2ab1642c3905cd8ea56ef
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 30 Mar 2018 08:13:48 +0000 (17:13 +0900)]
Release version 1.7.0
Changes:
- Add StepSaveSignature step
Change-Id: Ie2d4e12063b47d90b7340401c34da2ec1fc3342f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 6 Mar 2018 07:51:01 +0000 (16:51 +0900)]
Add StepSaveSignature step
- Add StepSaveSignature step to store signature data
needed to compare and retrieving signature data.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/171653/
Change-Id: Id1999fbdc3cf1b5ba3ef81d2019af2daabcf83d8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 27 Mar 2018 08:50:07 +0000 (17:50 +0900)]
Release version 1.6.5
Changes:
- Fix extensive smoke test
Change-Id: I8b27cf8fa3feb04f50b10f4df1855b62c9bcd35b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 22 Mar 2018 08:11:07 +0000 (17:11 +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: I33abc35c17be9a0502641cf97cc9acdc4141481d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 8 Mar 2018 06:03:24 +0000 (15:03 +0900)]
Release version 1.6.4
Changes:
- Fix ManifestDirectInstall for mount installed pkg
- Fix smoke test
- Remove user data when ReadonlyUpdateUninstall mode
Change-Id: Id6e24baa9d298a8e5a234e606b45f407c4b5e597
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 8 Feb 2018 09:08:57 +0000 (18:08 +0900)]
Remove user data when ReadonlyUpdateUninstall mode
Submit with:
- https://review.tizen.org/gerrit/169698
Change-Id: I81ab9482bcdea20c57d5bdf2332abedb64db7520
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2018 10:13:34 +0000 (19:13 +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.
Change-Id: I1d7fe19f94c80df4641b6d553332ebd4cb53d3f3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 15 Jan 2018 10:50:14 +0000 (19:50 +0900)]
Fix ManifestDirectInstall for mount installed pkg
- Add additional step to determine whether pkg is
mount installed or not.
- Signature files will be extracted.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/167144/
Change-Id: Iac19c7391265657c8b812a9424c9234dc58df179
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 2 Feb 2018 05:03:20 +0000 (14:03 +0900)]
Release version 1.6.3
Changes:
- Remove unnecessary step
Change-Id: I4c9a21c9d0ed06e7fcf8e1db7fc997ebf257bb1c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Seungha Son [Fri, 26 Jan 2018 02:38:47 +0000 (11:38 +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: I5207f3cb5592b683cc25b945cd3642b5750be530
Junghyun Yeon [Fri, 19 Jan 2018 07:50:40 +0000 (16:50 +0900)]
Release version 1.6.2
Changes:
- Refactoring ValidatePackage() functions parameter
- Add a step for recovering ReadonlyUpdateInstall mode
- Add StepPrivilegeCompatibility at RecoverySteps
- Add StepPrivilegeCompatibility at ReadonlyUpdateUninstallSteps
- Add StepCreateRecoveryFile at ReadonlyUpdateInstallSteps
- Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility
Change-Id: If590dcd8b535c98c7e0b3d203b7de95408ce3f09
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jinwoo.shin [Wed, 17 Jan 2018 06:53:44 +0000 (15:53 +0900)]
Replace StepPrivilegeCompatibility with StepRecoverPrivilegeCompatibility
Requires:
- https://review.tizen.org/gerrit/167411
Change-Id: If3c16e4b1a626df12239e4676cda3a016ce985ff
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Sangyoon Jang [Wed, 17 Jan 2018 12:00:46 +0000 (21:00 +0900)]
Add StepCreateRecoveryFile at ReadonlyUpdateInstallSteps
Change-Id: I6f5d28612171a3f9400b124d0125eaf0ddd84e94
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 17 Jan 2018 05:37:40 +0000 (14:37 +0900)]
Add StepPrivilegeCompatibility at ReadonlyUpdateUninstallSteps
To install internal privileges, StepPrivilegeCompatibility should be
added.
Change-Id: Ib31341771534ff6173f21e2b878f78f3b95cde3b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 16 Jan 2018 05:32:12 +0000 (14:32 +0900)]
Add StepPrivilegeCompatibility at RecoverySteps
To recover internal privileges, StepPrivilegeCompatibility should be
added.
Change-Id: Ie54f07f0354f85a504344914eee4486a581fecd2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 9 Jan 2018 01:59:35 +0000 (10:59 +0900)]
Add a step for recovering ReadonlyUpdateInstall mode
Requires:
- https://review.tizen.org/gerrit/158844
Change-Id: I01df76b005adb5542f312aba72397067d4eeb533
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Damian Pietruchowski [Thu, 9 Nov 2017 12:44:17 +0000 (13:44 +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/159540/
Change-Id: If103c44bc9ce0127861021edfa1c87d457da0690
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Sangyoon Jang [Fri, 8 Dec 2017 08:08:34 +0000 (17:08 +0900)]
Release version 1.6.1
Changes:
- Add new step for creating recovery file
Change-Id: I026c111eef66b949461abc12e0dedec223a6ccea
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Damian Pietruchowski [Wed, 11 Oct 2017 11:14:09 +0000 (13:14 +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/154906/
- https://review.tizen.org/gerrit/#/c/154908/
Change-Id: Ic1ab6e8b9897e36c94aba4d0ab765def7de6ddb9
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Junghyun Yeon [Mon, 27 Nov 2017 10:16:28 +0000 (19:16 +0900)]
Release version 1.6.0
Changes:
- AppInstaller logic export
- Replace pkg_path with GetPkgPath() method in InstallerContext
Change-Id: Ieb91d6a87c86977ab2d8623117bdffff0aec4cc8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Damian Pietruchowski [Wed, 15 Nov 2017 13:31:03 +0000 (14:31 +0100)]
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/154904/
Change-Id: I403ef165c458091bc71ca9c80175ea7666ba2254
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Piotr Ganicz [Tue, 25 Oct 2016 06:29:58 +0000 (08:29 +0200)]
AppInstaller logic export
This commit gather the logic of choosing proper steps sequence
to app-installer repository. All backends have to prepare their
own sequences for each pkgmgr request. The default implementation
of such methods is provided and there is no need for overriding
each function in backends.
Submit together:
- https://review.tizen.org/gerrit/#/c/93998/
- https://review.tizen.org/gerrit/#/c/94000/
Change-Id: I5cdf18ac0100437819b9cb7d6c435e4668ea3643
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Junghyun Yeon [Tue, 7 Nov 2017 02:14:53 +0000 (11:14 +0900)]
Release version 1.5.0
Changes:
- Apply new library for smoke utils
- Set smack exec label for extensive smoke tests
- Fix in ReinstallMode_Tpk test
- Fix for backup package directories
- Fix parameter of IsPackageInstalled
Change-Id: Ie2f0aa89b459b9701ccb534520373255fcbb1869
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Seungha Son [Thu, 2 Nov 2017 07:52:27 +0000 (16:52 +0900)]
Fix parameter of IsPackageInstalled
related patch : https://review.tizen.org/gerrit/#/c/157443/
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ifb4bcbee350e4d9587e4efcf89a5e924f2bcd2f2
Damian Pietruchowski [Thu, 21 Sep 2017 15:07:46 +0000 (17:07 +0200)]
Fix for backup package directories
The problem was that content of the entries was copied to backup path.
This content should be copied to the same entry in backup path.
Change-Id: I915d53d3c99c534a047b7073aa570d6d2db88dd3
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
kniedzielew [Wed, 25 Oct 2017 13:36:07 +0000 (15:36 +0200)]
Fix in ReinstallMode_Tpk test
Sdk directory where are files used for
update is changed.
Submit with:
https://review.tizen.org/gerrit/#/c/158034/
Change-Id: I84f0f28ee425f6684ba7449ed3387931cb30b911
Signed-off-by: kniedzielew <k.niedzielew@samsung.com>
Damian Pietruchowski [Fri, 22 Sep 2017 12:09:38 +0000 (14:09 +0200)]
Set smack exec label for extensive smoke tests
There were failures with Mount tests, because
TZIP cannot be used by process due to smack label.
Change-Id: Iab3c0b006c3202fa417234df4ba50cd3fa39958e
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Damian Pietruchowski [Tue, 12 Sep 2017 13:59:59 +0000 (15:59 +0200)]
Apply new library for smoke utils
Wgt-backend and tpk-backend have common util functions for smoke tests.
They should be exported to lib in app-installers.
Submit together:
- https://review.tizen.org/gerrit/#/c/149136/
- https://review.tizen.org/gerrit/#/c/149137/
Change-Id: I30046243f9a1fb5baac6f148edb7c409ab69bea3
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Junghyun Yeon [Tue, 17 Oct 2017 06:56:14 +0000 (15:56 +0900)]
Release version 1.4.2
Changes:
- Change StepUpdateTrustAnchor into StepRegisterTrustAnchor
- Add smoke test for extended storage installation
Change-Id: Icf0f8f95d72ef2f3131f0df7c2f4646d9aec463d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 13 Oct 2017 04:53:13 +0000 (13:53 +0900)]
Add smoke test for extended storage installation
Change-Id: Ie9ba9a90256f284959de4c9076240948054a06e4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Mon, 16 Oct 2017 11:59:23 +0000 (20:59 +0900)]
Change StepUpdateTrustAnchor into StepRegisterTrustAnchor
- Register and updating trust anchor has integrated into one step.
Related changes:
[app-installers] : https://review.tizen.org/gerrit/149836
Change-Id: Ib4c5fcf37a3a740ccadb30733d84f4a927119254
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Seungha Son [Thu, 28 Sep 2017 04:46:34 +0000 (13:46 +0900)]
Release version 1.4.1
Changes:
- Add step for privacy privilege
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I3c7fff27f5004848537cb4c4621ff5b8b5c8f783
Seungha Son [Thu, 31 Aug 2017 23:33:46 +0000 (08:33 +0900)]
Add step for privacy privilege
Related changes:
app-installers : https://review.tizen.org/gerrit/#/c/146903/
wgt-backend : https://review.tizen.org/gerrit/#/c/147038/
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I73be449557c61d8eb8ea79c276bd12366c5726a3