platform/core/appfw/tpk-backend.git
8 years agoFix icon copying 59/57259/4 accepted/tizen/mobile/20160122.032617 accepted/tizen/tv/20160122.032703 accepted/tizen/wearable/20160122.032713 submit/tizen/20160120.112210
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

8 years agoStepCreateSymbolicLink - ignoring non-tpk apps 18/56918/3 accepted/tizen/mobile/20160115.010735 accepted/tizen/mobile/20160115.010918 accepted/tizen/tv/20160115.010747 accepted/tizen/tv/20160115.010932 accepted/tizen/wearable/20160115.010806 accepted/tizen/wearable/20160115.010953 submit/tizen/20160114.141522 submit/tizen/20160114.224350
Tomasz Iwanek [Tue, 12 Jan 2016 11:33:10 +0000 (12:33 +0100)]
StepCreateSymbolicLink - ignoring non-tpk apps

Change-Id: I2c6b0ec90762c39751553647e5b09c8a87af582b

8 years agoRefactoring UI, Widget and Service Application Handlers 15/54915/3
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

8 years agoExport devel package 24/56724/3
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

8 years agoRemove unnecessary code 46/56746/2
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

8 years agoFix getting icon path 31/55731/5
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>
8 years agochange some returning error-codes 60/56660/2
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>
8 years agoDirect manifest installation should not check signature 36/55236/5 accepted/tizen/mobile/20160108.064848 accepted/tizen/tv/20160108.064908 accepted/tizen/wearable/20160108.064936 submit/tizen/20160108.020058
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>
8 years agoFix paths in smoke tests 12/56412/2
Tomasz Iwanek [Thu, 7 Jan 2016 10:38:00 +0000 (11:38 +0100)]
Fix paths in smoke tests

Change-Id: I60006bf059b131fda7c8f82ef436754d9b66f12b

8 years agofix codes to manifest direct install works properly for preload apps 07/55107/2 accepted/tizen/mobile/20151224.063317 accepted/tizen/tv/20151224.063350 accepted/tizen/wearable/20151224.063430 submit/tizen/20151224.015514 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
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

8 years agoMove tpk-backend implementation from app-installers 87/54887/3 accepted/tizen/mobile/20151219.044134 accepted/tizen/tv/20151219.044545 accepted/tizen/wearable/20151219.044842 submit/tizen/20151218.151823
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

8 years agoAdding initial files to repository 71/54871/1
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

8 years agoInitial empty repository master
KyungMi Lee [Thu, 17 Dec 2015 23:18:08 +0000 (15:18 -0800)]
Initial empty repository