summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Tomasz Iwanek [Wed, 17 Feb 2016 09:35:23 +0000 (10:35 +0100)]
Rework smoke tests
Reimplement smoke tests so that they don't use gtest's
EXPECT_DEATH. This will fix problems that are sourced
in forking test binary. "smoke-test-helper" binary is
introduced purely for recovery tests to provide crash
test scenario.
Verification:
- /usr/bin/tpk-backend-ut/smoke-test
Change-Id: I1ba39f7fa84a7bd1cf2c9d7bca5dd21d20905fe6
jongmyeongko [Tue, 16 Feb 2016 08:38:02 +0000 (17:38 +0900)]
support installation of TPK as preload app.
Requires:
https://review.tizen.org/gerrit/#/c/59513/
Change-Id: Id640d6bfe65061a89d8bad279a6e59e855ede42a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 16 Feb 2016 07:06:48 +0000 (16:06 +0900)]
remove not-used attribute (name of icon, name of image)
Requires:
https://review.tizen.org/gerrit/#/c/59508/
Change-Id: I0cc0afc947fc66802e3ed9f87abd0fc4d715cd41
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Tue, 16 Feb 2016 08:57:43 +0000 (09:57 +0100)]
Adjust to change in PkgmgrInterface
Following changes need to be submitted together:
- https://review.tizen.org/gerrit/59442
- https://review.tizen.org/gerrit/59443
- https://review.tizen.org/gerrit/59444
To verify:
$ /usr/bin/tpk-backend-ut/smoke_test
# install, update, uninstall and tpk package by tpk-backend directly
Change-Id: If10851e17dace1610a75f571b750dbf3bbfd80ca
Lukasz Wartalowicz [Wed, 20 Jan 2016 13:38:56 +0000 (14:38 +0100)]
Add StepRunParserPlugin to tpk-backend
Requires:
- https://review.tizen.org/gerrit/#/c/57334/
Add StepRunParserPlugin to tpk-backend
Change-Id: I53637957d88273a06e520548cec795df852b6c7a
Arkadiusz Szulakiewicz [Mon, 8 Feb 2016 14:53:25 +0000 (15:53 +0100)]
Move step remove manifest to app-installer
Requires:
https://review.tizen.org/gerrit/59033
https://review.tizen.org/gerrit/59034
Change-Id: I3fe3bd6429a0e048ac934987132c617f457a96cb
jongmyeongko [Thu, 4 Feb 2016 07:42:22 +0000 (16:42 +0900)]
modify the way of preload decision
Requires:
https://review.tizen.org/gerrit/#/c/58863
Change-Id: Ic9109f137237fd26973033093c677f213604fdbf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 3 Feb 2016 11:10:21 +0000 (20:10 +0900)]
add symlink for ui-gadget application
Change-Id: I85486ac70ac4d2ed78077b76b52035349228000a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Thu, 28 Jan 2016 13:11:05 +0000 (14:11 +0100)]
Implement PKGMGR_REQUEST_TYPE_CLEARDATA for tpk-backend
Verify by running: pkgcmd -t tpk -c -n $pkgid_of_installed_package
and check if all content of apps_rw/$pkgid/data/ was removed.
Requires:
- https://review.tizen.org/gerrit/58245
Change-Id: Ia68cf1269f46b4a5306eed43ecc7f8673aa00f7e
Tomasz Iwanek [Mon, 1 Feb 2016 12:54:47 +0000 (13:54 +0100)]
Ignore icon copy error for preload apps
Preload apps may have absolute icon->text value pointing to
non existing file. We intentionally ignore this to make them
able to be installed.
Change-Id: Id6b9982b84e64931d5cc92dc6f65ad4d2159fa08
Sangyoon Jang [Mon, 1 Feb 2016 08:09:40 +0000 (17:09 +0900)]
Check the given package is blacklisted when install
Requires:
- https://review.tizen.org/gerrit/#/c/58457/
Change-Id: If6c53d2afcecc5280ad80a84eef0598b81219397
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Lukasz Wysocki [Tue, 2 Feb 2016 09:03:03 +0000 (10:03 +0100)]
Write preload attribute in application manifest
Change-Id: Ic08b466f1cbedcf62e23f4f85386a00eb4e72496
Lukasz Wysocki [Mon, 1 Feb 2016 11:46:37 +0000 (12:46 +0100)]
Hide error message for root user
Change-Id: Ia0aae587c8b10f83027ab7fd68c3593ff46a364b
Tomasz Iwanek [Thu, 28 Jan 2016 14:54:56 +0000 (15:54 +0100)]
Icon fix
Application icon will be copied to shared/res/ if application->icon refers
to icon from outside of package (some preloaded apps may declare absolute path of icon).
Requires to be submitted with:
- https://review.tizen.org/gerrit/#/c/58360/
Change-Id: I7cfc8726565a9fb7e65a2d2a3eefe40d20d1edb3
Tomasz Iwanek [Wed, 27 Jan 2016 12:17:40 +0000 (13:17 +0100)]
Set exec permission only for tpk apps in StepCreateSymbolicLink
Change-Id: I8d9e7bd296222129fca45baf9259c0a597a76795
Tomasz Iwanek [Fri, 15 Jan 2016 12:32:08 +0000 (13:32 +0100)]
Fix recovery smoke test
Requires:
- https://review.tizen.org/gerrit/45316
Verify by:
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.RecoveryMode_Tpk_Update
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.RecoveryMode_Tpk_Installation
Change-Id: I5f6696f668ea4b8149840b36c25d9e2bc15e1063
Arkadiusz Szulakiewicz [Wed, 20 Jan 2016 08:53:28 +0000 (09:53 +0100)]
Add StepParsePreload
This change is dependant on the following patches:
https://review.tizen.org/gerrit/57463
https://review.tizen.org/gerrit/57647
Change-Id: I260435ac4dacad2f527dce1aac99afa5c6ed079e
Sangyoon Jang [Tue, 26 Jan 2016 05:52:11 +0000 (14:52 +0900)]
Set executable permission before creating symlink
The executable file must get execute permission even if the app type is
not 'capp' type.
Change-Id: I348016776cc36a3386556cb2c81dcdcfe3bf46ea
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Thu, 21 Jan 2016 14:20:49 +0000 (15:20 +0100)]
Switch parsing procedures to StepParseManifest
Run smoke tests to verify.
Requires:
- https://review.tizen.org/gerrit/57750
Change-Id: Iae12506595ad9e86c9e8aa18627472d4a19ad5cf
Tomasz Iwanek [Mon, 18 Jan 2016 10:31:05 +0000 (11:31 +0100)]
Fix icon copying
Icons element are receiving full path in StepParse from now
for both wgt and tpk backend and all modes.
Steps:
- StepCreateIcons
- StepBackupIcons
- StepRecoverIcons
- StepRemoveIcons
handles icon files only outside package directory (those in: $HOME/.applications/icons/*)
Icons within application directories are copied together with whole package directory (StepCopy)
and are not managed by those steps.
To handle copying icons within package directory new steps are introduced:
- StepWgtPatchIcons (copy to $package/shared/res/ from widget content directory)
- StepTpkPatchIcons (copy to $package/shared/res/ if they are in different location, e.g. preload apps)
Following changes needs to be submitted together:
- https://review.tizen.org/gerrit/57258 (wgt-backend)
- https://review.tizen.org/gerrit/57257 (app-installers)
- https://review.tizen.org/gerrit/57259 (tpk-backend)
Verify by:
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Tpk
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Tpk
$ /usr/bin/tpk-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode_Tpk
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RDSMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Rollback
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Rollback
Change-Id: Ib4d9c86f76b4308eb4258cef1882cc8fe79965fb
Tomasz Iwanek [Tue, 12 Jan 2016 11:33:10 +0000 (12:33 +0100)]
StepCreateSymbolicLink - ignoring non-tpk apps
Change-Id: I2c6b0ec90762c39751553647e5b09c8a87af582b
Lukasz Wysocki [Fri, 18 Dec 2015 15:39:26 +0000 (16:39 +0100)]
Refactoring UI, Widget and Service Application Handlers
This change depend on:
- https://review.tizen.org/gerrit/#/c/54456/
Change-Id: Ib0350bcf1c844999a3035ec9e6e76915038cf033
Tomasz Iwanek [Tue, 12 Jan 2016 09:14:43 +0000 (10:14 +0100)]
Export devel package
This will be used in wgt-backend to use some of steps
Change-Id: I589b605930b7ef9aa7fa01abb7384759596d54e2
Lukasz Wysocki [Tue, 12 Jan 2016 10:14:36 +0000 (11:14 +0100)]
Remove unnecessary code
This change depend on following commits:
- https://review.tizen.org/gerrit/#/c/56745/
Change-Id: I6722b582bb5db8f11920948fdf5580690e40a1c5
Sangyoon Jang [Tue, 29 Dec 2015 04:47:47 +0000 (13:47 +0900)]
Fix getting icon path
- get icon path from tpk package also
- check if the file exists from unpacked dir
- check from shared directory first
Change-Id: Ifd30f1f28d52bc1344b8a9ed7800612ac0960a60
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Mon, 11 Jan 2016 23:20:36 +0000 (08:20 +0900)]
change some returning error-codes
Change-Id: If855478dc5aeb010173aca84b2d7b484ac40b517
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Tue, 22 Dec 2015 08:43:17 +0000 (09:43 +0100)]
Direct manifest installation should not check signature
There is no signature in those packages. Privilege level = PLATFORM
is automatically granted for directly installed packages.
Change TpkAppQueryInterface::IsAppInstalledByArgv according to other
changes.
Change-Id: Ie6c5e906aa6e60b71b3ebb8cfa9897a6c080da99
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Thu, 7 Jan 2016 10:38:00 +0000 (11:38 +0100)]
Fix paths in smoke tests
Change-Id: I60006bf059b131fda7c8f82ef436754d9b66f12b
Junghyun Yeon [Tue, 22 Dec 2015 02:57:35 +0000 (11:57 +0900)]
fix codes to manifest direct install works properly for preload apps
[app-installers][tpk-backend]
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: I08ea4f838e00a9e7a0a261a9eb619133b54deca8
Tomasz Iwanek [Mon, 14 Dec 2015 13:23:59 +0000 (14:23 +0100)]
Move tpk-backend implementation from app-installers
Requires to be submitted with:
- https://review.tizen.org/gerrit/#/c/54291/
Aligned with app-installer's commit:
532a4707928d6d137c2cb93ae3523f25f0ac06ee
Change-Id: I9aa00bf8e150e9d2b01fbcb3753d0927d98cebeb
Pawel Sikorski [Fri, 18 Dec 2015 09:55:13 +0000 (10:55 +0100)]
Adding initial files to repository
Adding:
* LICENSE, AUTHORS
* check-coding-style tool
* packaging spec file (now empty)
Change-Id: I44e5db00d6c7c01c7849dfa1e42ad569640a5e82
KyungMi Lee [Thu, 17 Dec 2015 23:18:08 +0000 (15:18 -0800)]
Initial empty repository