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
Sangyoon Jang [Tue, 29 Aug 2017 04:53:46 +0000 (13:53 +0900)]
Release version 1.4.0
Changes:
- Modify order of StepConvertXml for manifestdirect steps
- Fix pkg regex for uninstalling apps
- Fix uninstalling package installed at extended storage
- Add new smoke tests
- Perform code style checking fixes
- AppQueryInterface logic export
- Adapter interface for external PkgMgr module
Change-Id: Ief09e4f6c826032693c437f06441469e75087223
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Damian Pietruchowski [Tue, 18 Jul 2017 11:36:30 +0000 (13:36 +0200)]
Adapter interface for external PkgMgr module
Submit together:
- https://review.tizen.org/gerrit/#/c/138998/
- https://review.tizen.org/gerrit/#/c/139347/
Change-Id: Ib692ed8c6306c67ed70594637c27067944154699
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Damian Pietruchowski [Mon, 12 Jun 2017 14:03:42 +0000 (16:03 +0200)]
AppQueryInterface logic export
IsPkgInstalled() and GetPkgId() have the same implementation for
wgt-backend and tpk-backend, so only GetPkgIdFromPath() should
be overrided in each backend.
Submit together:
- https://review.tizen.org/gerrit/#/c/133518/
- https://review.tizen.org/gerrit/#/c/133519/
Change-Id: I280e6d6c2bc718c34238bb3a96c81b4584e5d964
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Bartlomiej Kunikowski [Fri, 11 Aug 2017 08:43:00 +0000 (10:43 +0200)]
Perform code style checking fixes
Change-Id: I3745fddee0bc058ad73c272fcc4bcb61b8d31beb
Bartlomiej Kunikowski [Thu, 6 Jul 2017 07:49:19 +0000 (09:49 +0200)]
Add new smoke tests
- SmokeTest.ManifestDirectInstallMode
- SmokeTest.ManifestDirectUpdateMode
- SmokeTest.ReadonlyUpdateInstallMode
- SmokeTest.ReadonlyUpdateUninstallMode
Change-Id: Iefbcc49561afe238feef4a560c4d0492ad2537e0
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
Sangyoon Jang [Thu, 3 Aug 2017 12:01:42 +0000 (21:01 +0900)]
Fix uninstalling package installed at extended storage
Requires:
- https://review.tizen.org/gerrit/142344
Change-Id: I8767f9a95282e5f68ba5b7dc03757a1f98bcfdee
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Damian Pietruchowski [Fri, 21 Jul 2017 11:38:55 +0000 (13:38 +0200)]
Fix pkg regex for uninstalling apps
Change-Id: Ia9a14aa1413d2bd7dafaef20bb69cbe726d8b971
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Junghyun Yeon [Mon, 31 Jul 2017 09:20:00 +0000 (18:20 +0900)]
Modify order of StepConvertXml for manifestdirect steps
- Modify order of StepConvertXml to be performed after
StepParsePreload to apply modification of manifest data
into modified xml
Related changes:
[pkgmgr-tool] : https://review.tizen.org/gerrit/#/c/141034/
Change-Id: I7b556f559f5325141556b784abd269a2b444ca49
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 4 Aug 2017 05:51:17 +0000 (14:51 +0900)]
Release version 1.3.0
Changes:
- Add new steps for trust anchors
Change-Id: I8dc680236eaee521143dd66bfd0a55cc39f69498
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 5 Jul 2017 10:50:54 +0000 (19:50 +0900)]
Add new steps for trust anchors
- Add StepRegisterTrustAnchor step for install requests
- Add StepUnregisterTrustAnchor step for uninstall requests
- Add StepUpdateTrustAnchor step for update requests
Related changes:
[tpk-manifest-handlers] : https://review.tizen.org/gerrit/136315
[app-installers] : https://review.tizen.org/gerrit/136316
[pkgmgr-info] : https://review.tizen.org/gerrit/136317
[wgt-backend] : https://review.tizen.org/gerrit/136858
[wgt-manifest-handlers] : https://review.tizen.org/gerrit/136866
Change-Id: I1cdd078b4833174458ea08811dab0afee3556cfd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 1 Aug 2017 05:34:10 +0000 (14:34 +0900)]
Release version 1.2.0
Changes:
- Supress build warning
- Add appdefined privilege feature
- Change StepTpkPreparePackageDirectory
Change-Id: I65a5494a68e1b4f91c8791a5c22f123fc380ec31
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Wed, 26 Jul 2017 11:58:24 +0000 (20:58 +0900)]
Change StepTpkPreparePackageDirectory
- make backup directory and store existing data
to preserve previous data.
- backup directory will be removed whether request has
succeed or not. But it will be used if request has failed.
Change-Id: I3a2a89add859d05e89f15bdb625f5e7f8aef3d24
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 19 Jul 2017 13:51:11 +0000 (22:51 +0900)]
Add appdefined privilege feature
Requires:
https://review.tizen.org/gerrit/#/c/136932/
Change-Id: I110062ff57ad98a130f9edfaed043ecbf655b8f3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Tue, 18 Jul 2017 00:27:13 +0000 (09:27 +0900)]
Supress build warning
- remove build warning at smoke test
Change-Id: Ic7e9c258145e269a79c7ed6dc69616cb1e43717b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 18 Jul 2017 02:29:12 +0000 (11:29 +0900)]
Release version 1.1.8
Changes:
- Skip reading icon in case there is no icon file actually
- Invoke StepParsePreload when ReadonlyUpdateUninstall
- Fix ReadonlyUpdateUninstall
Change-Id: Ic9bbd8099d859f0012ba41fac2fc233d78cf129c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 17 Jul 2017 05:19:02 +0000 (14:19 +0900)]
Fix ReadonlyUpdateUninstall
The original package is preloaded(readonly) so we need to switch
readonly mode before update security context.
Change-Id: I5efa5e4089dd8e5f1046c921e4c7835dc3676561
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 11 Jul 2017 10:23:49 +0000 (19:23 +0900)]
Invoke StepParsePreload when ReadonlyUpdateUninstall
StepParsePreload should be invoked for setting system attributes
properly.
Change-Id: I71dad2ac2dda086aad7ce0a682acd66edacc8069
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jongmyeongko [Wed, 12 Jul 2017 06:41:19 +0000 (15:41 +0900)]
Skip reading icon in case there is no icon file actually
Change-Id: I0a009854533c3ed37906de8452c7385cd62b0125
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 5 Jul 2017 11:34:35 +0000 (20:34 +0900)]
Release version 1.1.7
Changes:
- Extensive tests for Recovery and Rollback
Change-Id: Ic420a7609b6981d841331a3bb0bef91293b177db
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Piotr Ganicz [Thu, 16 Mar 2017 10:03:23 +0000 (11:03 +0100)]
Extensive tests for Recovery and Rollback
This commit creates new executable (extensive-smoke-test) for new type of tests
which will be testing recovery and rollback modes after each step in each
installation mode.
Requires:
- https://review.tizen.org/gerrit/#/c/119323/
- https://review.tizen.org/gerrit/#/c/116059/
Change-Id: I0a7023e89edb60c400e808535b780a57469e3c5b
Sangyoon Jang [Fri, 30 Jun 2017 02:13:52 +0000 (11:13 +0900)]
Release version 1.1.6
Changes:
- Add condition for external installed pkgs
- Fix build warning
Change-Id: I1a027949509d4b089c4dde9ebe55779ae1b7136d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 13 Jun 2017 10:06:02 +0000 (19:06 +0900)]
Fix build warning
Change-Id: I79f7ce319253fb5a9f46933585d5f7e92bbdde7f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 13 Jun 2017 09:35:49 +0000 (18:35 +0900)]
Add condition for external installed pkgs
- Skip making bin directories when dest directory is symlink
Change-Id: Iebb3df57b62d5239ec43b5db7c365dfa815de1f2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 9 Jun 2017 02:28:36 +0000 (11:28 +0900)]
Release version 1.1.5
Changes:
- Fix smoke tests
- Supress build warnings
Change-Id: I136b83ae67eb3135aef831812e8c48c864625fc4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 1 Jun 2017 06:08:39 +0000 (15:08 +0900)]
Supress build warning
- Supress "unused parameter" build warning
Change-Id: I9329088fffc01483ed1055f39b1f4354495bd37a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Damian Pietruchowski [Tue, 21 Mar 2017 10:15:39 +0000 (11:15 +0100)]
[SmokeTest] Regex match for uninstall in tear down
After all tests, apps are uninstalled based on names of directories
in globalapps or apps_rw directory. It should avoid trying to uninstall
apps like "tmp" or "pkgdid.bck".
Change-Id: Iebf0f903c62c250e09ea282ec085a14126a35302
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Damian Pietruchowski [Mon, 20 Mar 2017 11:56:30 +0000 (12:56 +0100)]
[SmokeTest] Skip tests for preload request
Change-Id: I78231a9bb8edf43db8ae71f7828aa7d82fa0d5ee
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Damian Pietruchowski [Mon, 20 Mar 2017 10:05:33 +0000 (11:05 +0100)]
[SmokeTest] Add request mode choice
Smoke tests can be run with normal or global user.
Normal user is created in environment SetUp() and
is deleted in TearDown() method. Normal user name
is "smokeuser".
You can run tests by normal user with flags:
-u or --request_mode=user
You can run tests by global user with flags:
-g or --request_mode=global
Without above flags tests are run with global user
by default
Change-Id: I776e26e27ffe670328293fb01bd0dd35549cfe11
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Damian Pietruchowski [Mon, 20 Mar 2017 11:35:03 +0000 (12:35 +0100)]
[SmokeTest] Fix rw filesystem validation
Requires:
https://review.tizen.org/gerrit/#/c/119323/
Change-Id: I623fb15084b8b25fdad9e923b53cf2f3badb6221
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Junghyun Yeon [Fri, 19 May 2017 04:55:03 +0000 (13:55 +0900)]
Release version 1.1.4
Changes:
- Add update step of directories
- Change order of some steps
- Export Smoke Utils
Change-Id: Idad13368d6976e524774f34a543fdb87f79ec33d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 4 May 2017 00:31:15 +0000 (09:31 +0900)]
Add update step of directories
Related changes:
[app-installers] : https://review.tizen.org/gerrit/#/c/126628/
Change-Id: Id2c2ec97d33a213fcd3b0643588b28cf4fe047f5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Bartlomiej [Wed, 15 Mar 2017 08:47:06 +0000 (09:47 +0100)]
Change order of some steps
There is a case in recovery, when security manager need
information from pkgmgr database, so we need to ensure that
information about package are stored in pkgmgr database
before the security registration/update step.
Change-Id: I801edb4a6d40be8ae1e4d619409b1580a29795ec
Piotr Ganicz [Fri, 17 Feb 2017 13:11:30 +0000 (14:11 +0100)]
Export Smoke Utils
This change exports utility functions to smoke_utils.h
Change-Id: I5035f0775af2749dbd07fe3d2970446f877d522d
Junghyun Yeon [Fri, 21 Apr 2017 01:56:15 +0000 (10:56 +0900)]
Release version 1.1.3
- Fix crash issue when getting locale has failed
Change-Id: I310dbe709c9af9fc0d3a98aa3038611b77c413fa
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Wed, 19 Apr 2017 11:20:24 +0000 (20:20 +0900)]
Fix crash issue when getting the locale was failed
Change-Id: Ic115f69df765d454288ad8259d959992297387fe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Tue, 18 Apr 2017 11:58:08 +0000 (20:58 +0900)]
Release version 1.1.2
Changes :
- Fix mount installation failure
Change-Id: Id4c9449c57f5b931af92f9a9d7d36697812bb624
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Sat, 8 Apr 2017 06:50:14 +0000 (15:50 +0900)]
Fix Mount Installation Failure
Requires :
https://review.tizen.org/gerrit/#/c/123947/
Change-Id: I5afbb796b8287f3a5c33d5c6e576cac96890854c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit
f5f78a937741588fa21e11d203cf6706e8af2157)
Sangyoon Jang [Fri, 7 Apr 2017 04:53:53 +0000 (13:53 +0900)]
Release version 1.1.1
Changes:
- Fix compile flag for debug build
- Add removing xml for installation rollback
- Add missing step for delta update
- Fix a static analyzer issue
Change-Id: I11e04e448241ecf275671dc4698785258de19dba
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 31 Mar 2017 12:09:04 +0000 (21:09 +0900)]
Fix a static analyzer issue
Change-Id: I60d506a3f952577ab96cb2d857b6548faed48a4c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Mon, 3 Apr 2017 02:12:58 +0000 (11:12 +0900)]
Add missing step for delta update
Adjusting step is necessary also for delta update.
Because the manifest file is converted newly from the tizen-manifest.xml
of delta package.
Change-Id: I4d2cb6de6a7d992ef281c0873534bda63fde6e02
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Damian Pietruchowski [Thu, 16 Mar 2017 10:45:19 +0000 (11:45 +0100)]
Add removing xml for installation rollback
For installation request, backup_path_ do not exist
in StepConvertXml, but xml file should be removed
in rollback.
Change-Id: I984b9a44af0e0e6c4f51b0769f0f877a197b99ed
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Bartlomiej Kunikowski [Thu, 16 Mar 2017 10:24:32 +0000 (11:24 +0100)]
Remove optimization flag for debug build
Change-Id: Id22f4ee1775367bdad1e73cf83a36529ca46fab7
jongmyeongko [Wed, 8 Mar 2017 08:38:52 +0000 (17:38 +0900)]
Release version 1.1.0
Changes:
- Fix build error
- Add some missing error checking
Change-Id: I577390952870bafc06706a41263e628f4ef945fc
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 8 Mar 2017 08:57:37 +0000 (17:57 +0900)]
Fix build error
Change-Id: I0ffa906cd4bffe40816ca5dc2fd74f7744413bb5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Bartlomiej Kunikowski [Tue, 14 Feb 2017 08:05:22 +0000 (09:05 +0100)]
Add some missing error checking
Requires:
- https://review.tizen.org/gerrit/#/c/114612/
Change-Id: Ia78c272c9f3a2ec8f69993bf6ac2484e28855fb1
jongmyeongko [Sat, 4 Mar 2017 09:01:24 +0000 (18:01 +0900)]
Release version 0.4.0
Changes:
- Export API of StepManifestAdjustment
- Fix smoke test
- Add signature check step in RW partial request
- Add KillApp step in RW partial update
- Fix StepConvertXml
Change-Id: I0402833622cb1d261501e84e63dcff9d458e112c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Bartlomiej Kunikowski [Mon, 27 Feb 2017 08:52:59 +0000 (09:52 +0100)]
Export API of StepManifestAdjustment
It is needed for coming hybrid installer changes
Change-Id: I262732fc65b25558fbcaca57a33e4cdadf6be828
Sangyoon Jang [Fri, 3 Mar 2017 02:30:57 +0000 (11:30 +0900)]
Fix smoke test
Recovery file format was changed.
Change-Id: I378f6c70535342b24328303401a14208d7d2c7ba
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 2 Mar 2017 13:59:34 +0000 (22:59 +0900)]
Add signature check step in RW partial request
The certificate info was not stored properly in cert db.
Require :
https://review.tizen.org/gerrit/#/c/117077/
Change-Id: I58fe5e96492369ec34af9dd1a2c7c059e7dee459
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 14 Feb 2017 04:39:23 +0000 (13:39 +0900)]
Add KillApp step in RW partial update
A step for killing app was missed.
Change-Id: I48481e3fe7443a6d1410e3cb97d9f1990d78ea19
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Tue, 14 Feb 2017 12:05:07 +0000 (21:05 +0900)]
Fix StepConvertXml
Backup and restore original manifest file if needed.
Change-Id: Ib5aba7f85c624242ec4ee9320b907322eb73a700
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Piotr Ganicz [Mon, 13 Feb 2017 11:10:57 +0000 (12:10 +0100)]
Remove TODO
There are no privilege duplications because they are stored in set.
And set can contain only unique keys.
Change-Id: I0e3c066cdc5f2de3ab3ca46af92e7e13f8eddc53
Sangyoon Jang [Mon, 13 Feb 2017 11:24:51 +0000 (20:24 +0900)]
Release version 0.3.1
Changes:
- Fix recovery mode
- Fix a bug in ManifestDirectInstall
- Fix smoke tests
Change-Id: Ic7010879017814dc4703ffdf771771905d24c2f4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeong ko [Fri, 10 Feb 2017 08:40:03 +0000 (00:40 -0800)]
Merge "Perform check-signature before manifest-adjust" into tizen