platform/core/appfw/wgt-backend.git
7 years agoRelease version 0.6.2 73/144873/1 accepted/tizen/4.0/unified/20170828.223934 accepted/tizen/unified/20170821.051158 submit/tizen/20170818.073144 submit/tizen_4.0/20170828.100002
Seungha Son [Fri, 18 Aug 2017 07:35:02 +0000 (16:35 +0900)]
Release version 0.6.2

Changes:
 - Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iaed04b854ee70dc556f28602ec8c3794521977fb

7 years agoFix memory leak 12/144812/2
Seungha Son [Fri, 18 Aug 2017 04:47:30 +0000 (13:47 +0900)]
Fix memory leak

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ic777cdeb6517bc87e56d1671cd810edf8babbf5c

7 years agoRelease version 0.6.1 47/143747/1 accepted/tizen/unified/20170816.160020 submit/tizen/20170811.063725
Seungha Son [Fri, 11 Aug 2017 06:32:21 +0000 (15:32 +0900)]
Release version 0.6.1

Changes:
 - Fix pkg regex for uninstalling apps
 - Fix the access issue to shared/res of web app
 - Fix ManifestDirectUpdate mode for hybrid package
 - Fix MountUpdateMode_Rollback packages
 - Fix uninstalling package installed at extended storage
 - Add new smoke tests
 - Add OOM exception handler

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iff0ea5366bc04c00f359eb2ffd23d664a2e21b0a

7 years agoAdd OOM exception handler 59/142959/6
Seungha Son [Tue, 8 Aug 2017 04:50:26 +0000 (13:50 +0900)]
Add OOM exception handler

Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Ic86db1a8e8e713effe6af78bf1979e382e3c9071

7 years agoAdd new smoke tests 63/135763/11
Bartlomiej Kunikowski [Mon, 26 Jun 2017 08:43:13 +0000 (10:43 +0200)]
Add new smoke tests

- SmokeTest.ManifestDirectInstallMode
- SmokeTest.ManifestDirectUpdateMode
- SmokeTest.ReadonlyUpdateInstallMode
- SmokeTest.ReadonlyUpdateUninstallMode
- SmokeTest.ManifestDirectInstallMode_Hybrid
- SmokeTest.ManifestDirectUpdateMode_Hybrid

Change-Id: I1da497ad98a582f28769a9347f163639cbc87c2a
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
7 years agoFix uninstalling package installed at extended storage 46/142346/3
Sangyoon Jang [Thu, 3 Aug 2017 12:05:00 +0000 (21:05 +0900)]
Fix uninstalling package installed at extended storage

Requires:
 - https://review.tizen.org/gerrit/142345

Change-Id: Ic48e5d6ba691d1209ecb917910fe75da1eb2c98d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoFix MountUpdateMode_Rollback packages 52/142552/5
Bartlomiej Kunikowski [Fri, 4 Aug 2017 07:55:59 +0000 (09:55 +0200)]
Fix MountUpdateMode_Rollback packages

There was problem with signatures in packages

Change-Id: If5708cfac610dd8db07b3bc10ba006ecc1ec4549

7 years agoFix ManifestDirectUpdate mode for hybrid package 44/142244/2
Bartlomiej Kunikowski [Thu, 3 Aug 2017 06:46:44 +0000 (08:46 +0200)]
Fix ManifestDirectUpdate mode for hybrid package

We should parse manifest directly from package installation
directory, not this one generated while application was installed

Change-Id: I112fabd42b27f3a7fe307599fca121a42478a33b
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
7 years agoFix the access issue to shared/res of web app 72/138972/12
jongmyeongko [Fri, 14 Jul 2017 12:06:58 +0000 (21:06 +0900)]
Fix the access issue to shared/res of web app

Other applications can't access the contents of ${pkg_path}/res/wgt/shared/res
because of SMACK denial.
So, the all contents of ${pkg_path}/res/wgt/shared/res should be in shared/res
to avoid SMACK error.

Also, we should consider delta update issue.
The issue is the signature validation check failure because of unsigned file.
In ${pkg_path}/shared/res, there can be generated files such as apps icon.
and there can be other application's data of shared/res in case of Hybrid package.
These files are unsigend one.
To fix the issue,
unlink and move back all original contents for ${pkg_path}/res/wgt/shared/res
before delta update.

Submit with :
https://review.tizen.org/gerrit/#/c/139133/

Change-Id: I83718f109fbe4614c41977f4d680e65f007dad86
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 1e4547168e14eb59fc18c6f586d9a67126587b04)

7 years agoFix pkg regex for uninstalling apps 39/140039/3
Damian Pietruchowski [Fri, 21 Jul 2017 11:35:34 +0000 (13:35 +0200)]
Fix pkg regex for uninstalling apps

Change-Id: I404ca74041e962127d0330837c5771c6a6462379
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoRelease version 0.6.0 90/142490/1 accepted/tizen/unified/20170807.150555 submit/tizen/20170804.060432
Junghyun Yeon [Fri, 4 Aug 2017 05:54:07 +0000 (14:54 +0900)]
Release version 0.6.0

Changes:
 - Fix wrong condition for checking shortcut info
 - Add new steps for trust anchor

Change-Id: I289fa8578509e323de1b74951e39a47525ee941f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd new steps for trust anchor 58/136858/12
Junghyun Yeon [Mon, 3 Jul 2017 07:58:48 +0000 (16:58 +0900)]
Add new steps for trust anchor

- Add StepRegisterTrustAnchor to install requests
- Add StepUnregisterTrustAnchor to uninstall requests
- Add StepUpdateTrustAnchor to 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-manifest-handlers] : https://review.tizen.org/gerrit/136866
[tpk-backend] : https://review.tizen.org/gerrit/137370

Change-Id: I3ff3dd724d444a7036746377b7c43da2788df2ac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoMerge "Fix wrong condition for checking shortcut info" into tizen
Semun Lee [Wed, 2 Aug 2017 09:11:49 +0000 (09:11 +0000)]
Merge "Fix wrong condition for checking shortcut info" into tizen

7 years agoRelease version 0.5.0 86/141586/1 accepted/tizen/4.0/unified/20170816.010534 accepted/tizen/4.0/unified/20170816.014518 accepted/tizen/unified/20170803.010445 submit/tizen/20170801.062239 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Sangyoon Jang [Tue, 1 Aug 2017 05:34:34 +0000 (14:34 +0900)]
Release version 0.5.0

Changes:
 - Unnecessary queries if pkg_id is empty
 - Add appdefined privilege feature

Change-Id: Iaef75ed201e0e649149152aac879506fe4230aca
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoFix wrong condition for checking shortcut info 25/141525/1
Semun Lee [Tue, 1 Aug 2017 02:46:02 +0000 (11:46 +0900)]
Fix wrong condition for checking shortcut info

Change-Id: I06467d12a59e8f2bdd452744f8a72575fb656d36
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoAdd appdefined privilege feature 82/139382/17
jongmyeongko [Tue, 18 Jul 2017 14:23:43 +0000 (23:23 +0900)]
Add appdefined privilege feature

Requires:
https://review.tizen.org/gerrit/#/c/136932/
https://review.tizen.org/gerrit/#/c/139373/

Change-Id: I185d5fe866b686152616cc20df79e80d8dbb7ea6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoUnnecessary queries if pkg_id is empty 69/123069/5
Damian Pietruchowski [Tue, 4 Apr 2017 09:55:59 +0000 (11:55 +0200)]
Unnecessary queries if pkg_id is empty

Change-Id: I825867e85142e704a50ecde510c4a8b72d97ae84
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoRelease version 0.4.6 03/139203/3 accepted/tizen/unified/20170719.131657 submit/tizen/20170718.044232
Junghyun Yeon [Tue, 18 Jul 2017 02:30:15 +0000 (11:30 +0900)]
Release version 0.4.6

Changes:
 - Skip reading icon in case there is no icon file actually
 - Invoke StepParsePreload when ReadonlyUpdateUninstall
 - Fix ReadonlyUpdateUninstall

Change-Id: I869d1f74712431ad22d298d965e11888bb5b699e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix ReadonlyUpdateUninstall 73/139073/1
Sangyoon Jang [Mon, 17 Jul 2017 07:25:12 +0000 (16:25 +0900)]
Fix ReadonlyUpdateUninstall

The original package is preloaded(readonly) so we need to switch
readonly mode before update security context.

Change-Id: Iaad59be0850bf68ffb9bde4bbdfed34ba2327494
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoInvoke StepParsePreload when ReadonlyUpdateUninstall 73/138173/2
Sangyoon Jang [Tue, 11 Jul 2017 10:26:03 +0000 (19:26 +0900)]
Invoke StepParsePreload when ReadonlyUpdateUninstall

StepParsePreload should be invoked for setting system attributes
properly.

Change-Id: I9d40710a2a6a056031d77eeca52de7f7e91bba21
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoSkip reading icon in case there is no icon file actually 15/138415/2
jongmyeongko [Wed, 12 Jul 2017 06:42:29 +0000 (15:42 +0900)]
Skip reading icon in case there is no icon file actually

Change-Id: I653a8ac1d6fa1d496060adfd68ad8b1757814144
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRelease version 0.4.5 85/137385/2 accepted/tizen/unified/20170710.154526 submit/tizen/20170705.114632 submit/tizen/20170710.010836
jongmyeongko [Wed, 5 Jul 2017 11:35:53 +0000 (20:35 +0900)]
Release version 0.4.5

Changes:
 - [SmokeTest] Fixes for smoke tests

Change-Id: Ic7c6e0fa3d64b9ffa0446c4b10f7e7e8355d8ce6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years ago[SmokeTest] Fixes for smoke tests 47/131047/6
Bartlomiej Kunikowski [Wed, 24 May 2017 10:13:30 +0000 (12:13 +0200)]
[SmokeTest] Fixes for smoke tests

Add "System" exec label to extensive smoke test.
Small fixes for RecoveryMode_ForDelta and MigrateLegacyExternalImageMode.

Change-Id: I5e342a9e397e5c0ce72680037b1dcb667828c1e3

7 years agoRelease version 0.4.4 05/133105/2 accepted/tizen/unified/20170609.204215 submit/tizen/20170609.050739
Sangyoon Jang [Fri, 9 Jun 2017 02:30:29 +0000 (11:30 +0900)]
Release version 0.4.4

Changes:
 - Supress build warnings
 - Fix logic of 'update' attribute
 - Fix for ManifestTests

Change-Id: Ief985c4e3f6e3320e88475697d2db506d55ffe86
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoFix for ManifestTests 73/132373/2
Piotr Ganicz [Fri, 2 Jun 2017 15:05:13 +0000 (17:05 +0200)]
Fix for ManifestTests

Both properties in config are mandatory, regarding the documentation.
So it is intuitive that te parsing process will fail in case
of lack of such properies.

Change-Id: I2f89a3aaa2098f942fb53002fb64fab54cb8c936

7 years agoFix logic of 'update' attribute 51/130951/3
jongmyeongko [Wed, 24 May 2017 12:35:05 +0000 (21:35 +0900)]
Fix logic of 'update' attribute

Requires and Refer to:
https://review.tizen.org/gerrit/#/c/130948/

Change-Id: I408ec32d9cabd161217e4a462188c27e6366d712
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoSupress build warnings 14/132114/1
Junghyun Yeon [Thu, 1 Jun 2017 06:18:01 +0000 (15:18 +0900)]
Supress build warnings

- Supress "unused parameter" build warnings

Change-Id: Ic27d2298556ccbce75fc6a6fe4f06c1f3a544a8d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.4.3 35/132035/1 accepted/tizen/unified/20170607.063244 submit/tizen/20170531.235759
Junghyun Yeon [Thu, 1 Jun 2017 00:47:27 +0000 (09:47 +0900)]
Release version 0.4.3

Changes:
 - Fix crash when parsing icon info from wgt archive
 - Add update step of directories

Change-Id: Id00bf427ae551510d7176b1c75f3ba8cf1f46019
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd update step of directories 09/130309/3
Junghyun Yeon [Mon, 22 May 2017 01:43:28 +0000 (10:43 +0900)]
Add update step of directories

- shared/data directory of package should be created/removed
when updating hybrid pkg

Change-Id: Ib3f7bd0091f79d42472cc505c5bcf7ad96f69875
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix crash when parsing icon info from wgt archive 11/130811/2
Sangyoon Jang [Wed, 24 May 2017 05:38:17 +0000 (14:38 +0900)]
Fix crash when parsing icon info from wgt archive

Change-Id: Ifa4866a495af0764be72eb4e5d68d016642b931f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
7 years agoFix crash issue when getting the locale was failed 58/125958/1 accepted/tizen/unified/20170515.154302 submit/tizen/20170515.085348 tizen_4.0.m1_release
jongmyeongko [Wed, 19 Apr 2017 09:15:56 +0000 (18:15 +0900)]
Fix crash issue when getting the locale was failed

Change-Id: Id4c860204b942a636bbd6f01b00ae99551cbddc7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years ago[SmokeTest] Fix restore backup 13/123913/3
Damian Pietruchowski [Fri, 7 Apr 2017 11:02:40 +0000 (13:02 +0200)]
[SmokeTest] Fix restore backup

When something goes wrong (for example unmount failed)
then backup is not restored.
After that fix, directory, which could not be removed,
will be renamed to path with "trash" extension. User
have to remove this directory manually..

Change-Id: Ie616f27f1bccbe2d5efbc31316f7b99cf6fec87b
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoFix Mount Installation Failure 43/124243/1
jongmyeongko [Sat, 8 Apr 2017 06:51:26 +0000 (15:51 +0900)]
Fix Mount Installation Failure

Requires :
https://review.tizen.org/gerrit/#/c/123947/

Change-Id: Icd0342eab4266467288d06cbe88f573e1a16ee63
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit 77476e84f50dd9b72a7e1cf2341c50dedd4d10cc)

7 years ago[SmokeTest] Add SIGINT and SIGSEGV handling 04/123704/1
Damian Pietruchowski [Thu, 6 Apr 2017 14:13:09 +0000 (16:13 +0200)]
[SmokeTest] Add SIGINT and SIGSEGV handling

Change-Id: I497435a6d89a7df26bbfe19e4fd308be2dd9b55d
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years ago[SmokeTest] Fix for recovery smoke tests 92/121292/1
Damian Pietruchowski [Mon, 27 Mar 2017 12:21:35 +0000 (14:21 +0200)]
[SmokeTest] Fix for recovery smoke tests

Change-Id: I464fd123c34ddd4dac14a319e586a6e1c45c4dea
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years ago[SmokeTest] Fixes for ParseRequestMode() function 61/120661/2
Damian Pietruchowski [Thu, 23 Mar 2017 14:11:17 +0000 (15:11 +0100)]
[SmokeTest] Fixes for ParseRequestMode() function

- Allow to parse unknown options.
- Return global request mode for unknown options.

Change-Id: I2f2c71820a6f5e8552842f4c3ee0378617176aa8
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoExtensive tests for Recovery and Rollback 02/120102/1
Piotr Ganicz [Mon, 20 Mar 2017 14:41:46 +0000 (15:41 +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/116059/
 - https://review.tizen.org/gerrit/#/c/119925/

Change-Id: Ib39dfd3df2f42ff33644904f682775a6a9b113f7

7 years agoExport Smoke Utils 25/119925/1
Piotr Ganicz [Mon, 20 Mar 2017 12:28:21 +0000 (13:28 +0100)]
Export Smoke Utils

This change exports utility functions to smoke_utils.h

Change-Id: I080275d4add34c417710f6c792fe0108780d284f

7 years ago[SmokeTest] Skip tests for preload request 22/119622/2
Damian Pietruchowski [Fri, 3 Mar 2017 13:40:57 +0000 (14:40 +0100)]
[SmokeTest] Skip tests for preload request

Tests for preload request should be skipped
when request mode is not global and when tests
are called by user different than root.

Change-Id: I9acd0ed5730162c30ab9a98fe02c8cdd92b8e507

7 years ago[SmokeTest] Add request mode choice 21/119621/2
Damian Pietruchowski [Wed, 22 Feb 2017 16:12:39 +0000 (17:12 +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: Ibf6e195dd21c78f1c7d19c45c4fa0753ec1baf7f

7 years agoChange order of StepRemoveTemporaryDirectory 28/118928/3
Damian Pietruchowski [Tue, 14 Mar 2017 14:52:23 +0000 (15:52 +0100)]
Change order of StepRemoveTemporaryDirectory

This step should be executed before parse manifest.
Package id is written to recovery file in StepParse
after StepUnzip. For example if installation is
terminated after StepUnzip and package id is not
written to recovery file then in StepParseManifest
recovery is terminated with status RECOVERY_DONE.
In this case unzipped directory is not removed
without this commit.

Commit, which adds recovery termination with status
RECOVERY_DONE:
- https://review.tizen.org/gerrit/#/c/118845/

Change-Id: Ieaf8bf3a9b7d1f1594afb876f14b479bf00e6b50
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoChange order of some steps 51/119051/3
Bartlomiej [Wed, 15 Mar 2017 08:43:27 +0000 (09:43 +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: Ic8c937d7cde3b06d492b16f982e73ad7e241d7c5

7 years agoRelease version 0.4.2 86/119586/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170322.154043 accepted/tizen/ivi/20170323.000754 accepted/tizen/mobile/20170323.000342 accepted/tizen/tv/20170323.000541 accepted/tizen/unified/20170323.000833 accepted/tizen/wearable/20170323.000700 submit/tizen/20170317.070714 submit/tizen/20170320.224022 submit/tizen/20170322.050206 submit/tizen/20170322.091134
jongmyeongko [Fri, 17 Mar 2017 11:03:41 +0000 (20:03 +0900)]
Release version 0.4.2

Fix build break in release version 0.4.1
All changes in the version 0.4.1 will be released as version 0.4.2 also.

Change-Id: I8762c6a63d6c64d0202daea941480a9f05b10778
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRevert "[SmokeTest] Add request mode choice" 80/119580/2
jongmyeong ko [Fri, 17 Mar 2017 10:30:30 +0000 (03:30 -0700)]
Revert "[SmokeTest] Add request mode choice"

This reverts commit e2687ca7eb39fc8aa1ba278199a2b641e376f4ab.

Change-Id: I830fd406565a3d43adc0fba3f752ba6348671bcd

7 years agoRevert "[SmokeTest] Skip tests for preload request" 82/119582/2
jongmyeong ko [Fri, 17 Mar 2017 10:36:49 +0000 (03:36 -0700)]
Revert "[SmokeTest] Skip tests for preload request"

This reverts commit ca83749c7b1f7e26f90e86f2145155a75033913a.

Change-Id: I7de10af58e13c46a7dc48916b3ade5dac316b029

7 years agoRelease version 0.4.1 01/119501/2
Junghyun Yeon [Fri, 17 Mar 2017 06:49:40 +0000 (15:49 +0900)]
Release version 0.4.1

- Fix smoke tests
- Rework widget's shared directory
- Change step order of StepRecoverApplication

Change-Id: If0c4113f6f43344833a34be9711f3b9506f17a69
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix query IsHybridApplication() 27/118927/5
Damian Pietruchowski [Tue, 14 Mar 2017 08:22:34 +0000 (09:22 +0100)]
Fix query IsHybridApplication()

Recovery file naming rule is changed to: wgt-recovery-<tmpstr>,
so argument of find() function should be changed to "wgt-recovery-"
for query is recovery request type.
If #is_recovery is true it should not trying to unpack recovery file

Change-Id: I37f9f31df602bab1a39702e6306082d8b10e2a03
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years ago[Smoke Test] Fix smoke test packages and other files 46/118846/2
Bartlomiej [Tue, 14 Mar 2017 08:34:06 +0000 (09:34 +0100)]
[Smoke Test] Fix smoke test packages and other files

This is fix for MigrateLegacyExternalImageMode and
MountUpdateMode_Rollback smoke tests.

Change-Id: I0eca0a6ae167edd63f16dfef3eb4b0a7e6bc40bc

7 years ago[SmokeTest] Skip tests for preload request 86/117286/6
Damian Pietruchowski [Fri, 3 Mar 2017 13:40:57 +0000 (14:40 +0100)]
[SmokeTest] Skip tests for preload request

Tests for preload request should be skipped
when request mode is not global and when tests
are called by user different than root.

Change-Id: I249c07794e713023fad6f21d1f621bcac3080621
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoMerge changes I06558231,I9423d78a into tizen
jaekuk lee [Tue, 14 Mar 2017 01:12:03 +0000 (18:12 -0700)]
Merge changes I06558231,I9423d78a into tizen

* changes:
  Change order of StepRecoverApplication
  Reworked sharing of widget's shared/res directory.

7 years ago[SmokeTest] Fix smoke test 43/117543/7
Bartlomiej Kunikowski [Mon, 6 Mar 2017 10:01:33 +0000 (11:01 +0100)]
[SmokeTest] Fix smoke test

Fix related to changes in recovery file name convention.

It repairs:
 SmokeTest.RecoveryMode_ForInstallation
 SmokeTest.RecoveryMode_ForMountInstall

And partially repairs:
 SmokeTest.RecoveryMode_ForUpdate;
 SmokeTest.RecoveryMode_ForDelta
 SmokeTest.RecoveryMode_ForMountUpdate

Change-Id: I836618dcca2a12f83a3b8d41ee3ce61998312880

7 years agoChange order of StepRecoverApplication 31/118631/5
Bartlomiej [Mon, 13 Mar 2017 09:47:07 +0000 (10:47 +0100)]
Change order of StepRecoverApplication

At this moment, in some situation StepRecoverSecurity needs
data from pkgmgr database, so unregister application
step should be done after StepRecoverSecurity.

Change-Id: I06558231cd65cdd214eb930937f344c0b2827e4c

7 years ago[SmokeTest] Add valid packages 72/117572/11
Damian Pietruchowski [Mon, 6 Mar 2017 12:13:36 +0000 (13:13 +0100)]
[SmokeTest] Add valid packages

Fix for this commit: https://review.tizen.org/gerrit/#/c/114671/

Change-Id: I4360fa127ce62703d611817f5388ec90db7ef5b5
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoReworked sharing of widget's shared/res directory. 55/88255/10
Piotr Dabrowski [Mon, 19 Sep 2016 13:43:16 +0000 (15:43 +0200)]
Reworked sharing of widget's shared/res directory.

./res/wgt/shared/res directory content was moved to ./shared/res
and then ./res/wgt/shared/res was symlinked to ./shared/res

This broke signatures check for delta update.

Now all items (files and directories) under ./res/wgt/shared/res
are symlinked into ./shared/res, and vice versa.
During delta update these symlinks are removed, so that the
signatures check can complete successfully, and later the symlinks
are recreated again.

Added smoke tests for symlinking shared/res contents in Tizen 3.0

To added tests pass requires:
- https://review.tizen.org/gerrit/#/c/117264/

Change-Id: I9423d78aba5cb338b14a9f8853754e0fa8980e0c

7 years ago[SmokeTest] Regex match for uninstall in tear down 66/118266/2
Damian Pietruchowski [Thu, 9 Mar 2017 14:07:45 +0000 (15:07 +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: If64970a49aa657df759de1173e1f1c96fe7e87ea
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years ago[SmokeTest] Fix rw filesystem validation 86/117786/2
Damian Pietruchowski [Tue, 7 Mar 2017 11:45:28 +0000 (12:45 +0100)]
[SmokeTest] Fix rw filesystem validation

Remove validation for files in rw directories

Change-Id: I25c22040609664d5f707f42f67ff53e813b05ca0
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years ago[SmokeTest] Add request mode choice 44/117244/6
Damian Pietruchowski [Wed, 22 Feb 2017 16:12:39 +0000 (17:12 +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

Requires:
- https://review.tizen.org/gerrit/#/c/116229/

Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
Change-Id: If59225a8fac3f4ed25277f31466549c0cc636c50

7 years agoRelease version 0.4.0 42/117342/1 accepted/tizen/common/20170309.175302 accepted/tizen/ivi/20170308.121747 accepted/tizen/mobile/20170308.121702 accepted/tizen/tv/20170308.121718 accepted/tizen/unified/20170310.075743 accepted/tizen/wearable/20170308.121734 submit/tizen/20170308.095023 submit/tizen_unified/20170310.011401
jongmyeongko [Sat, 4 Mar 2017 09:05:39 +0000 (18:05 +0900)]
Release version 0.4.0

Changes:
- Smoke tests- check if package dont exist in skel directory
- Fix rw filesystem validation
- Rename smoke test to new convention
- Add some missing error checking
- Add signature check step in RW partial request
- Add KillApp step in RW partial update
- Adjust some values in xml

Change-Id: I3f673fe1df183ba4bee8a140321c19c0c6417829
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRevert "[Refactor] AppInstaller logic export" 34/117234/1
jongmyeong ko [Fri, 3 Mar 2017 09:14:18 +0000 (01:14 -0800)]
Revert "[Refactor] AppInstaller logic export"

This reverts commit 90f7070f171e8abe145d30150b976f0a4e13bd86.

Change-Id: Iaaa68f8f60076803c49a5231b1be35478768846e

7 years ago[Refactor] AppInstaller logic export 00/94000/5
Piotr Ganicz [Fri, 21 Oct 2016 14:30:51 +0000 (16:30 +0200)]
[Refactor] 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/93999/
     - https://review.tizen.org/gerrit/#/c/93998/

Change-Id: I1f049c28908408a20db057bd36e246ba789c999b

7 years agoSmoke tests- check if package dont exist in skel directory 85/115585/2
Damian Pietruchowski [Mon, 20 Feb 2017 11:56:35 +0000 (12:56 +0100)]
Smoke tests- check if package dont exist in skel directory

This is required by:
DeinstallationMode
RecoveryMode_Tpk_Installation
RecoveryMode_ForMountInstall
InstallationMode_Rollback

Change-Id: Idd0a701702558a463ef86651886c66567e5670d0
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoFix rw filesystem validation 14/116314/4
Damian Pietruchowski [Thu, 23 Feb 2017 14:50:02 +0000 (15:50 +0100)]
Fix rw filesystem validation

Change-Id: I666994cd9fe8f57e9d98b319188e6b86a76eb3db
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoRename smoke test to new convention 71/114671/3
Piotr Ganicz [Mon, 13 Feb 2017 16:19:03 +0000 (17:19 +0100)]
Rename smoke test to new convention

This patch renames all smoke test packages to use new convention
('smokewgt' / 'smokehyb') because that is needed by the TearDown
process to work properly.

Change-Id: Ib996921bb88e7f5b1db6f0643774b17e909cfbf1

7 years agoMerge "Add some missing error checking" into tizen
jaekuk lee [Fri, 3 Mar 2017 01:13:19 +0000 (17:13 -0800)]
Merge "Add some missing error checking" into tizen

7 years agoAdd signature check step in RW partial request 15/117115/1
jongmyeongko [Thu, 2 Mar 2017 14:02:04 +0000 (23:02 +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: I71f8d0c5704275d8e167ff7303bc73d66b1efa4a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAdd KillApp step in RW partial update 81/117081/1
jongmyeongko [Thu, 2 Mar 2017 14:06:58 +0000 (23:06 +0900)]
Add KillApp step in RW partial update

Change-Id: I3e5f903d11624eb8deb153dac04872edfb5c608b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAdd some missing error checking 16/114616/2
Bartlomiej Kunikowski [Mon, 13 Feb 2017 11:55:25 +0000 (12:55 +0100)]
Add some missing error checking

Requires:
 - https://review.tizen.org/gerrit/#/c/114612/

Change-Id: I361068110fea571af6af6103a22dcf5b4d433d16

7 years agoAdjust some values in xml 24/116624/1
Bartlomiej Kunikowski [Mon, 27 Feb 2017 08:49:43 +0000 (09:49 +0100)]
Adjust some values in xml

- Onboot and autorestart features of service application
  has removed since 2.3.1 in wearable, 2.4 in all other profiles
- So change modified xml files if needed (hybrid)
- Change modified this options in context before generate
  manifest (wgt)

Requires:
 - https://review.tizen.org/gerrit/#/c/116622/

Change-Id: Ie539cc25b5f1628adcc9e816f3436b7e7fdc245b

7 years agoRelease version 0.3.1 79/114479/1 accepted/tizen/common/20170214.173614 accepted/tizen/ivi/20170214.225658 accepted/tizen/mobile/20170214.225600 accepted/tizen/tv/20170214.225621 accepted/tizen/unified/20170309.032738 accepted/tizen/wearable/20170214.225639 submit/tizen/20170213.123058 submit/tizen_unified/20170308.100406
Sangyoon Jang [Mon, 13 Feb 2017 11:21:48 +0000 (20:21 +0900)]
Release version 0.3.1

Changes:
 - Fix recovery mode
 - Fix smoke tests

Change-Id: Ib07fab46048673dd7dfcbbbeba1398261bbad582
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoMerge "Step Recover Per User Directories for Recovery Mode added" into tizen
jongmyeong ko [Fri, 10 Feb 2017 08:38:03 +0000 (00:38 -0800)]
Merge "Step Recover Per User Directories for Recovery Mode added" into tizen

7 years agoFix for wgt smoke tests 56/113956/2
Bartlomiej Kunikowski [Thu, 9 Feb 2017 10:49:25 +0000 (11:49 +0100)]
Fix for wgt smoke tests

There is a one conflict in pkgid and one pkgid which
is not compatible with pkgid name convention

Change-Id: I0b1b1ac66ec1bee0ab0bc888d55329d1bd096390

7 years agoUninstalling smoke packages to clear security context 60/111460/10
Bartlomiej Kunikowski [Fri, 20 Jan 2017 10:36:45 +0000 (11:36 +0100)]
Uninstalling smoke packages to clear security context

For properly work, every smoke package need to has
pkgid beginning with 'smoke', ex. 'smokeapp01', 'smokehyb01'

Requires:
 - https://review.tizen.org/gerrit/#/c/110900/

Verification:
 - please use 'find / -name "*smoke*" | grep rules' commend
   to see if there are no smoke tests entries in security rules

 - for now there are some bug in recovery mode for installation
   and there are some artifacts after this mode, but for other
   uninstallation works properly

Change-Id: Ib2d963a5323d41c2d4aaa2ba18b1d6483cd04bd9

7 years agoStep Recover Per User Directories for Recovery Mode added 75/113975/5
Damian Pietruchowski [Thu, 9 Feb 2017 11:16:34 +0000 (12:16 +0100)]
Step Recover Per User Directories for Recovery Mode added

Requires: https://review.tizen.org/gerrit/#/c/112049/

Verification: Run SmokeTest.RecoveryMode_ForInstallation

Change-Id: I6e19567b19d4057c7b51bec3e77239a07f631ed9
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoRelease version 0.3.0 59/113959/1 accepted/tizen/common/20170209.122533 accepted/tizen/ivi/20170210.004229 accepted/tizen/mobile/20170210.003912 accepted/tizen/tv/20170210.004031 accepted/tizen/wearable/20170210.004125 submit/tizen/20170209.083108
Sangyoon Jang [Thu, 9 Feb 2017 10:55:58 +0000 (19:55 +0900)]
Release version 0.3.0

Changes:
 - Fix a bug in StepWgtPatchStorageDirectory
 - Fix code style
 - Fix for a rollback of some update modes
 - Fix smoke tests

Change-Id: I3a2d0f33195f736c3ae62d2aa788e6e011cad5c7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoMerge "Smoke tests for preload installation, update and deinstallation" into tizen
jongmyeong ko [Thu, 9 Feb 2017 01:31:09 +0000 (17:31 -0800)]
Merge "Smoke tests for preload installation, update and deinstallation" into tizen

7 years agoRefactoring - smoke tests 46/112146/3
Damian Pietruchowski [Thu, 26 Jan 2017 10:05:26 +0000 (11:05 +0100)]
Refactoring - smoke tests

Change-Id: I2097bc121d475b096884724ac184d6138bed4236
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoSmoke tests for preload installation, update and deinstallation 00/110900/7
Damian Pietruchowski [Wed, 18 Jan 2017 12:31:29 +0000 (13:31 +0100)]
Smoke tests for preload installation, update and deinstallation

Verification: Run new smoke tests as superuser (root)

Change-Id: Ie63acb84ab811f14621180f0fbd40881996e1586
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
7 years agoSmoke tests for DeltaMode_Rollback and DeltaMode_Rollback_Hybrid 04/110704/8
Bartlomiej Kunikowski [Mon, 16 Jan 2017 13:53:08 +0000 (14:53 +0100)]
Smoke tests for DeltaMode_Rollback and DeltaMode_Rollback_Hybrid

Requires:
 - https://review.tizen.org/gerrit/#/c/110703/

Verification:
 $ /usr/bin/wgt-backend-ut/smoke-tests
        --gtest_filter=SmokeTest.DeltaMode_Rollback*

Change-Id: I7fd3eabdabab3ea9fac476a8840e603526d80320

7 years agoFix for rollback of some update modes 03/110703/6
Bartlomiej Kunikowski [Tue, 17 Jan 2017 12:35:18 +0000 (13:35 +0100)]
Fix for rollback of some update modes

This patch solves problem with rollback modes of
delta mode and manifest direct update mode for
hybrid packages

Change-Id: I1ece447536fa9ad6dd7a36d54b7340663188bc7c

7 years agoStyel check 17/112517/1
Piotr Ganicz [Fri, 13 Jan 2017 12:12:32 +0000 (13:12 +0100)]
Styel check

Change-Id: I102408c0f7ff520be398dbf102f5711954c283c5

7 years agoFix in StepWgtPatchStorageDirectory 55/108055/5
Bartlomiej Kunikowski [Mon, 2 Jan 2017 13:33:54 +0000 (14:33 +0100)]
Fix in StepWgtPatchStorageDirectory

There is one bug in checking if directory is created, and
second one in comment to this step

Change-Id: I02331ed4b40d3be9be4f217eb842a89f8b9bdfcb

7 years agoRelease Version 0.2.0 49/111049/1 accepted/tizen/common/20170125.113216 accepted/tizen/ivi/20170119.222159 accepted/tizen/mobile/20170119.221753 accepted/tizen/tv/20170119.221951 accepted/tizen/wearable/20170119.222051 submit/tizen/20170119.070147
jongmyeongko [Thu, 19 Jan 2017 08:26:12 +0000 (17:26 +0900)]
Release Version 0.2.0

Changes:
- Remove Profile Build Dependency
- Fix for smoke tests

Change-Id: Ic9ecaec3bc37890c1eaff6dd015b9f5d355c34d6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused versioning macro 46/111046/1
jongmyeongko [Thu, 19 Jan 2017 08:20:00 +0000 (17:20 +0900)]
Remove unused versioning macro

Change-Id: I945ac04615c8f9253ff4fdf3019c0ffa6812d237
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove Profile Build Dependency 86/95686/8
MyungJoo Ham [Fri, 4 Nov 2016 08:18:34 +0000 (17:18 +0900)]
Remove Profile Build Dependency

xwalk-launcher does not used any more.

Change-Id: I503804bb16c2f974e90f312391e3dd60fa317d49
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix for smoke tests 65/110465/1
Bartlomiej Kunikowski [Thu, 12 Jan 2017 15:10:38 +0000 (16:10 +0100)]
Fix for smoke tests

 - SmokeTest.InstallExternalMode
 - SmokeTest.MigrateLegacyExternalImageMode

Above test throws an exception when in device there
is no SD Card. This patch repairs it.

Change-Id: Id7e9e6da3b79193005818b5c84c20bc5f886bc8f

7 years agoFix StepWgtPatchIcons 57/109657/1 accepted/tizen/3.0/common/20170116.122559 accepted/tizen/3.0/ivi/20170114.000328 accepted/tizen/3.0/mobile/20170114.000230 accepted/tizen/3.0/tv/20170114.000256 accepted/tizen/3.0/wearable/20170114.000312 accepted/tizen/common/20170112.174504 accepted/tizen/ivi/20170112.222543 accepted/tizen/mobile/20170112.222434 accepted/tizen/tv/20170112.222500 accepted/tizen/wearable/20170112.222522 submit/tizen/20170112.013301 submit/tizen_3.0/20170113.111925
Sangyoon Jang [Wed, 11 Jan 2017 02:23:31 +0000 (11:23 +0900)]
Fix StepWgtPatchIcons

Set package's icon as same as app's icon.
We don't need icon file named as pkgid.

Change-Id: I11ed3246c7b1db29b29f357491beb4a67ebfb585
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRollback xml keep blanks support after parsing hybrid manifest 54/109454/1
Sangyoon Jang [Tue, 10 Jan 2017 05:45:35 +0000 (14:45 +0900)]
Rollback xml keep blanks support after parsing hybrid manifest

Hybrid installer set default blanks text node support off for
generating/merging manifest. However, this may cause unexpected result
at other library which is using libxml2. So hybrid installer should
rollback this support.

This patch fixes smoke test failures.

Change-Id: I89aa9b99a30e5068e93f44415829f94abca0ff40
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoMake wgt lib support hybrid package 47/108847/3 accepted/tizen/3.0/common/20170109.195923 accepted/tizen/3.0/ivi/20170109.073433 accepted/tizen/3.0/tv/20170110.055306 accepted/tizen/3.0/wearable/20170109.073230 submit/tizen_3.0/20170106.072144 submit/tizen_3.0/20170106.102334
Sangyoon Jang [Fri, 6 Jan 2017 04:55:10 +0000 (13:55 +0900)]
Make wgt lib support hybrid package

Change-Id: Id0fe7f2ed6a736104f1683547fe80a0010662b6a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRemove tmpdir when failed to getting icon info 46/108846/2
Sangyoon Jang [Fri, 6 Jan 2017 04:51:29 +0000 (13:51 +0900)]
Remove tmpdir when failed to getting icon info

Change-Id: I8b26603ac401f3eaae276da8dfe7dc4e4838aca1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSupport legacy image for backward-compatibility 85/108485/5
jongmyeongko [Wed, 4 Jan 2017 12:42:59 +0000 (21:42 +0900)]
Support legacy image for backward-compatibility

Refer to:
https://review.tizen.org/gerrit/#/c/104823/

Change-Id: I2e48c94def90181b6522fd8f3d9508ea636d693e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix smoke test 81/108481/1 accepted/tizen/3.0/common/20170109.083954 accepted/tizen/3.0/ivi/20170106.095024 accepted/tizen/3.0/mobile/20170106.094850 accepted/tizen/3.0/tv/20170106.094924 accepted/tizen/3.0/wearable/20170106.094952 accepted/tizen/common/20170110.085249 accepted/tizen/ivi/20170106.103702 accepted/tizen/mobile/20170106.103508 accepted/tizen/tv/20170106.103547 accepted/tizen/wearable/20170106.103625 submit/tizen/20170105.051706 submit/tizen_3.0/20170105.051635
Sangyoon Jang [Wed, 4 Jan 2017 12:01:11 +0000 (21:01 +0900)]
Fix smoke test

Check gid of cache dir is system_share.

Change-Id: I27ed49347fe4e46dd1331da0cd60d47eddda831c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix wgt lib to extract manifest and icon only 79/108479/1
Sangyoon Jang [Wed, 4 Jan 2017 11:50:04 +0000 (20:50 +0900)]
Fix wgt lib to extract manifest and icon only

Extracting whole files can cause memory issue.
Instead of extracting whole files, wgt lib will extract manifest first
and find icon file from manifest, and then extract icon file.

Change-Id: I2b7a5c1039dc94411e68c7bdffb61d139aa43ef9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRevert "Temporary fix for hybrid pkg installation" 39/107239/3
Sangyoon Jang [Tue, 27 Dec 2016 07:58:24 +0000 (16:58 +0900)]
Revert "Temporary fix for hybrid pkg installation"

This reverts commit 8c6fc81fabd0d348c8ab57af6ac6f7fd376e8cd1.

Conflicts:
src/wgt/step/pkgmgr/step_generate_xml.cc

Now hybrid installer can merge manifest completely.

Submit with:
 - https://review.tizen.org/gerrit/107236
 - https://review.tizen.org/gerrit/107237
 - https://review.tizen.org/gerrit/107238
 - https://review.tizen.org/gerrit/107239

Change-Id: Id054359ba9fb3a04cfee67ba1dbd8afd83ca8082
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix code style 28/107228/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.122116 accepted/tizen/3.0.m2/tv/20170104.122619 accepted/tizen/3.0.m2/wearable/20170104.122933 accepted/tizen/3.0/common/20161228.071626 accepted/tizen/3.0/ivi/20161228.021734 accepted/tizen/3.0/mobile/20161228.021602 accepted/tizen/3.0/tv/20161228.021648 accepted/tizen/3.0/wearable/20161228.021712 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161227.023045
Sangyoon Jang [Tue, 27 Dec 2016 07:48:27 +0000 (16:48 +0900)]
Fix code style

Remove errors/warnings from tools/check-coding-styles.

Change-Id: Idd2a1faca15b8ac48049c20ebfe758a4917f152f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix privilege handling on hybrid installation 21/107221/2
Sangyoon Jang [Tue, 27 Dec 2016 07:26:24 +0000 (16:26 +0900)]
Fix privilege handling on hybrid installation

To handle privileges properly, it should merge privileges first before
StepPrivilegeCompatibility.

Change-Id: I5e40ebb3374939652d89e258a23051b91cb1781a
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove unused string constant variable 20/107220/2
Sangyoon Jang [Tue, 27 Dec 2016 07:29:09 +0000 (16:29 +0900)]
Remove unused string constant variable

Change-Id: I1d78321f4d144fb2aff76057036b7cb02792b85d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove codes which refers deleted attribute 35/107035/2 accepted/tizen/3.0/common/20161227.181345 accepted/tizen/3.0/ivi/20161227.141655 accepted/tizen/3.0/mobile/20161227.141511 accepted/tizen/3.0/tv/20161227.141535 accepted/tizen/3.0/wearable/20161227.141631 submit/tizen_3.0/20161226.101740
Junghyun Yeon [Mon, 26 Dec 2016 07:32:44 +0000 (16:32 +0900)]
Remove codes which refers deleted attribute

Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/107032
[app-installers] : https://review.tizen.org/gerrit/107033
[tpk-backend] : https://review.tizen.org/gerrit/107034

Change-Id: I54b8508488321a67ef35733a1063496544f31b22
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
8 years agoAdjust step order of hybrid installer 31/106831/1
Sangyoon Jang [Fri, 23 Dec 2016 07:28:28 +0000 (16:28 +0900)]
Adjust step order of hybrid installer

Step for creating symlink should be called after merging manifest.

Change-Id: Ifdf323c5c0424c59cdbc99a0526f771050d5120d
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoFix smoketest 87/106787/3
Sangyoon Jang [Fri, 23 Dec 2016 05:28:03 +0000 (14:28 +0900)]
Fix smoketest

Smoketest should test both global/local case.
This patch make smoketest can test global/local test, but test only
global case because of current platform policy.
It should be test local case also later.

Change-Id: Ib9cb9754058a34a6fc18ba845c872ed819cd3050
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoRemove cleardata feature 01/106601/6 accepted/tizen/3.0/common/20161228.071542 accepted/tizen/3.0/ivi/20161226.030306 accepted/tizen/3.0/mobile/20161226.030138 accepted/tizen/3.0/tv/20161226.030212 accepted/tizen/3.0/wearable/20161226.030238 submit/tizen_3.0/20161223.043050
Junghyun Yeon [Thu, 22 Dec 2016 07:17:17 +0000 (16:17 +0900)]
Remove cleardata feature

- Cleardata will be handled by pkg_cleardata
so remove features related with it from backend

Related changes:
[pkgmgr-server] : https://review.tizen.org/gerrit/106486
[pkgmgr-tool] : https://review.tizen.org/gerrit/106485
[app-installers] : https://review.tizen.org/gerrit/105691
[tpk-backend] : https://review.tizen.org/gerrit/106603

Change-Id: I5df69fbe6416fae0188156b0af7d9657951ec32b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>