summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 13:39:21 +0000 (14:39 +0100)]
Add tests for Privilege element in config.xml
Change-Id: Ic0bd88aa5fa8c7024d2756cea9ec84dfd6d0c9fd
Tomasz Iwanek [Thu, 25 Feb 2016 09:26:51 +0000 (10:26 +0100)]
Adjust moving storage directories - 'shared/' -> 'shared/res/'
Requirement changed. We need to copy only 'shared/res/'.
To verify install, update, uninstall wgt package that
contains files in /shared/res/ and check if they were moved
properly to install location's shared/res/.
Change-Id: I20b8fcc174423ce74dcba5c9f6c116b1443f452e
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 12:17:17 +0000 (13:17 +0100)]
Add tests for Application element in config.xml
Change-Id: I195ed3e15dff2655327ec0a12064c701427f2220
Tomasz Iwanek [Mon, 8 Feb 2016 09:40:47 +0000 (10:40 +0100)]
Adjust wgt-backend to plugin changes
Following changes should be submitted together:
- https://review.tizen.org/gerrit/#/c/59029/
- https://review.tizen.org/gerrit/#/c/59028/
- https://review.tizen.org/gerrit/#/c/59030/
- https://review.tizen.org/gerrit/#/c/59031/
Change-Id: Ic9811af492e2f15bc1fb24e5a69b0aa0530fc02f
Tomasz Iwanek [Wed, 2 Mar 2016 15:13:41 +0000 (16:13 +0100)]
Fix GetPackageVersion()
Version of widget (defined in w3c spec) is less strict than tizen
package number. This commit fixes GetPackageVersion() to set
default version if conversion of version number is not possible.
To verify, install/update wgt package which version is "1.2.3 Beta".
"Beta" keyword should be trucated so that manifest contains valid
version of tizen package -> "1.2.3".
Change-Id: Iab5eed29f8cb7c8a0a52cb515c16ce0ab5d1ac91
Arkadiusz Szulakiewicz [Tue, 1 Mar 2016 11:04:03 +0000 (12:04 +0100)]
Add tests for Widget element in config.xml
Change-Id: I27e3ad033c00a1169e37d3010695b55fe1369486
Tomasz Iwanek [Thu, 11 Feb 2016 11:51:14 +0000 (12:51 +0100)]
Manifest testcase skeleton
Testcase skeleton for tests which parse manifest and
set fields in manifest_x structure.
Verification: /usr/bin/wgt-backend-ut/manifest-test
Change-Id: I4fde4bdcdcf38b2fb23979d3c8eef67d40f92d9d
jongmyeongko [Wed, 24 Feb 2016 06:33:19 +0000 (15:33 +0900)]
modification for seperation of RO/RW location
Requires:
https://review.tizen.org/gerrit/#/c/60194/
https://review.tizen.org/gerrit/#/c/60200/
Change-Id: I03e256854ffa6812952b7fb1e3f1e029f6c030ea
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Arkadiusz Szulakiewicz [Tue, 16 Feb 2016 09:12:14 +0000 (10:12 +0100)]
Add StepRemovePerUserStorageDirectories to uninstall step
Change-Id: If257ec6319f69c04e7fe6c6f6610d300398eb822
Arkadiusz Szulakiewicz [Tue, 16 Feb 2016 09:07:24 +0000 (10:07 +0100)]
Add StepCreatePerUserStorageDirectories to installation step
Change-Id: If0a11756e3cafdc7aa8805c675b0e07f571625ff
Tomasz Iwanek [Wed, 17 Feb 2016 09:35:29 +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/wgt-backend-ut/smoke-test
Change-Id: I76cb751ce13d88528de2da6e20ea3dd848e492a8
jongmyeongko [Tue, 16 Feb 2016 07:08:13 +0000 (16:08 +0900)]
remove not-used attribute (name of icon, name of image)
Requires:
https://review.tizen.org/gerrit/#/c/59508/
Change-Id: I884f00fcd00cbce4c1d808c6ecc3f0c217dd34bd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Tue, 9 Feb 2016 13:33:21 +0000 (14:33 +0100)]
Smoke tests for hybrid package
Verify by running new testcases:
/usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.InstallationMode_Hybrid
/usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.UpdateMode_Hybrid
/usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeinstallationMode_Hybrid
/usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.DeltaMode_Hybrid
Change-Id: I2e29b9fbf4d0e6fdfa79ad5ecf8741dfb984d8b7
Tomasz Iwanek [Tue, 16 Feb 2016 09:18:31 +0000 (10:18 +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/wgt-backend-ut/smoke_test
# install, update, uninstall and wgt package by wgt-backend directly
Change-Id: I89c72f9be7d6695d629c6e9d292c4f8e82a7d138
Tomasz Iwanek [Thu, 11 Feb 2016 16:17:02 +0000 (17:17 +0100)]
Code cleanup
Given TODO is outdated. StepParseManifest re-reads
all necessary information.
Change-Id: I1486de660ef9019e57ba39f76987e0d5843b60f8
Lukasz Wartalowicz [Wed, 20 Jan 2016 13:22:56 +0000 (14:22 +0100)]
Add StepRunParserPlugin to wgt-backend
Requires:
- https://review.tizen.org/gerrit/#/c/57334/
Add StepRunParserPlugin to wgt-backend
Change-Id: I82179c534894f11de8e812e5d4c9fb9f4e8abfc1
Arkadiusz Szulakiewicz [Mon, 8 Feb 2016 14:52:31 +0000 (15:52 +0100)]
Move step remove manifest to app-installer
Requires:
https://review.tizen.org/gerrit/59034
https://review.tizen.org/gerrit/59035
Change-Id: I0ecb72b1b9ea005c7beef34e35cfcef4fb884b04
Arkadiusz Szulakiewicz [Thu, 4 Feb 2016 16:39:14 +0000 (17:39 +0100)]
Minor improvements for force-uninstall step
Change-Id: Ide952d967df1978cff123b14c2375557155031b9
jongmyeongko [Thu, 4 Feb 2016 07:59:03 +0000 (16:59 +0900)]
modify codes related to getting app_path.
Requires:
https://review.tizen.org/gerrit/#/c/58863
Change-Id: I1b971a87a8aa534a4a6526d9c3b6a70046a986d0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Arkadiusz Szulakiewicz [Mon, 1 Feb 2016 15:01:43 +0000 (16:01 +0100)]
Modify Uninstall procedure to allow force-uninstall
Change-Id: Ib8336c4ecf53d96d3508d13e37776bd06487538d
Tomasz Iwanek [Thu, 28 Jan 2016 13:09:20 +0000 (14:09 +0100)]
Implement PKGMGR_REQUEST_TYPE_CLEARDATA for wgt-backend
Verify by running: pkgcmd -t wgt -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: I56a3435bbda9f2034784a52e0f0ab81a1e1f9ca8
Sangyoon Jang [Tue, 2 Feb 2016 10:34:12 +0000 (19:34 +0900)]
Check the given package is blacklisted when install
Requires:
- https://review.tizen.org/gerrit/#/c/58457/
Change-Id: I995b132ff5c3498187fba37cfbf4b088310d24ce
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Tomasz Iwanek [Tue, 2 Feb 2016 15:48:25 +0000 (16:48 +0100)]
Remove SmokeTest.DeinstallationMode_Rollback test
According to force deinstallation requirement, there
is no need for rollback of deinstallation. Deinstallation
should never fail and remove as much of package installation
as possible.
Change-Id: Ia818e1174b2ff6518fb55a9320217403d31a94fa
Tomasz Iwanek [Mon, 18 Jan 2016 09:31:48 +0000 (10:31 +0100)]
Recovery mode for hybrid application
Requires:
- https://review.tizen.org/gerrit/58104
Change-Id: I174cd185ad12bb97b406d250b3d339568e79345f
Tomasz Iwanek [Fri, 15 Jan 2016 12:38:56 +0000 (13:38 +0100)]
Fix recovery smoke test
Requires:
- https://review.tizen.org/gerrit/45316
Verify by:
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RecoveryMode_ForInstallation
$ /usr/bin/wgt-backend-ut/smoke_test --gtest_filter=SmokeTest.RecoveryMode_ForUpdate
Change-Id: Iac901289fcbd17315a9d3ba4d73c1c06dbb3b18f
Arkadiusz Szulakiewicz [Mon, 25 Jan 2016 15:18:49 +0000 (16:18 +0100)]
Add default value for preload attribute
Change-Id: Ia03197d404e4735797825a3a153f55766aa05712
Tomasz Iwanek [Fri, 22 Jan 2016 09:38:45 +0000 (10:38 +0100)]
Switch parsing procedures to StepParseManifest
Run smoke tests to verify.
Requires:
- https://review.tizen.org/gerrit/57749
Change-Id: I1818cafd32f5347418f3f5b298b3cc4bcb62c2fc
Lukasz Wysocki [Thu, 21 Jan 2016 12:15:37 +0000 (13:15 +0100)]
Fix lib name for wgt-manifest-handlers
Following commits should be merged together:
- https://review.tizen.org/gerrit/#/c/57676/
- https://review.tizen.org/gerrit/#/c/57677/
- https://review.tizen.org/gerrit/#/c/57681/
Change-Id: I41d5e2adbbfd9606adeccd10ff703ff4a674412f
Lukasz Wysocki [Fri, 15 Jan 2016 11:50:16 +0000 (12:50 +0100)]
Fix WGT handlers includes
This change require following changes:
- https://review.tizen.org/gerrit/#/c/57153/
Changes should be merged together
Change-Id: I2bf7b13f47b57e5585addc10acbc686ae6752137
Tomasz Iwanek [Mon, 18 Jan 2016 09:31:48 +0000 (10: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: I8c5d3ba513bb47eed571c3363f657eacb429f82f
Lukasz Wysocki [Fri, 15 Jan 2016 10:11:29 +0000 (11:11 +0100)]
Style and code fix
Change-Id: I2579598545e3539944c78fcf0bc93f220eaf3512
Tomasz Iwanek [Thu, 14 Jan 2016 14:14:57 +0000 (15:14 +0100)]
Clean up of storage dirs code - fix update in hybrid app installation
Fixes some issue in code handling storage directories.
Due to requirement of copying wgt's shared/ directory is addition,
situation where:
- common create storage directories step - create directories for tpk
- wgt create storage directories step - create directories for wgt
should be changed to:
- common create storage directories step - create directories for tpk and wgt
- wgt create storage directories step - only patches shared/ directory with
widget shared/ before common step
Change-Id: I10f94eafbe31497ad5216f1f5e1ce1abf81bbd44
Tomasz Iwanek [Fri, 8 Jan 2016 11:32:18 +0000 (12:32 +0100)]
Implement hybrid webapplication installation
Implemenation of hybrid package installation uses both
tpk and wgt steps, composing information from tizen
manifest file and w3c config.xml file. Installation
of hybrid has different flow so there is new installer
class introduced to avoid branching in steps. Instead
there is "hacky" branch in wgt-backend main() to choose
which step sequence to choose.
Requires:
- https://review.tizen.org/gerrit/56503
- https://review.tizen.org/gerrit/56506
- https://review.tizen.org/gerrit/56795
- https://review.tizen.org/gerrit/56918
- https://review.tizen.org/gerrit/56920
- https://review.tizen.org/gerrit/56921
- https://review.tizen.org/gerrit/56724
Graph of targets (dependencies) changed to following:
common_lib <-- tpk_lib
common_lib <-- wgt_lib
tpk_lib <-- hybrid_lib
wgt_lib <-- hybrid_lib
wgt_lib <-- wgt_backend
hybrid_lib <-- wgt_backend
tpk_lib <-- tpk_backend
Recovery for hybrid package will be added later
if possible.
Change-Id: I433f6030630f47c9f49025d89e267e5912bc78d9
Lukasz Wysocki [Fri, 8 Jan 2016 12:00:06 +0000 (13:00 +0100)]
Web app icon path change
This change will copy Web app icons into {HOME}/.applications/icons
, and {APP_ROOT}/shared/res directories
When some projects will be changed and stop using {HOME} directory,
this change can be reworked.
This commit require following changes:
- https://review.tizen.org/gerrit/#/c/56488/
Change-Id: I9343adf5af1228a0b8ee660f50012eb7ac9b3bee
Tomasz Iwanek [Thu, 14 Jan 2016 10:31:51 +0000 (11:31 +0100)]
Add overlaod for StepCreateIcons::GetAppTypeForIcons
Needs to be submitted with:
- https://review.tizen.org/gerrit/#/c/56920
Change-Id: Ic0f5a18513b4157df06e5c411011ef64f283127e
jongmyeongko [Mon, 11 Jan 2016 23:24:18 +0000 (08:24 +0900)]
change some returning error-codes
Change-Id: I4beb6ffa93969228db64d0f8de714733ac1f747c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Tomasz Iwanek [Thu, 7 Jan 2016 15:05:28 +0000 (16:05 +0100)]
Fix paths in smoke tests
Change-Id: Ie186f82dd997567e3850150a090f399bd717ba24
Tomasz Iwanek [Mon, 14 Dec 2015 12:58:10 +0000 (13:58 +0100)]
Move wgt-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: I30347bd6ca66026d3e363bb16000a44e2d791f39
Pawel Sikorski [Fri, 18 Dec 2015 09:50:50 +0000 (10:50 +0100)]
Adding initial files to repository
Adding:
* LICENSE, AUTHORS
* check-coding-style tool
* packaging spec file (now empty)
Change-Id: I15e52b9c6af8741fc06513290ca93210f703a8c6
KyungMi Lee [Thu, 17 Dec 2015 23:16:19 +0000 (15:16 -0800)]
Initial empty repository