Closed Bug 855210 Opened 12 years ago Closed 12 years ago

use same process to handle app in 'apps', 'external-apps' and others

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yurenju, Assigned: yurenju)

Details

Attachments

(1 file)

Now we use two arrays to store apps and external-apps in |Gaia| of build/utils.js, we should use same way to process those two directories and other like showcase_apps, test_external_apps, dogfood_apps, etc. main idea is put apps, external-apps and others to GAIA_APP_SRCDIRS and detect type by APP/metadata.json and APP/update.webapp. below is pseudocode: if metadata.json exists: if update.webapp exists: return TYPE_APP_EXTERNAL_PACKAGED else: return TYPE_APP_EXTERNAL_HOSTED else: return TYPE_APP_CORE
The pseudocode makes sense to me. I like this approach.
Comment on attachment 730076 [details] pull request: https://github.com/mozilla-b2g/gaia/pull/8845 Let's see if we can merge that with what's being done in bug 848604
Attachment #730076 - Flags: review?(fabrice)
We will do this work on bug 848604
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
de-duplicate from bug 848604 because I would like to send two PR for those two changes.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment on attachment 730076 [details] pull request: https://github.com/mozilla-b2g/gaia/pull/8845 rebase to master and set review again.
Attachment #730076 - Flags: review?(timdream)
Comment on attachment 730076 [details] pull request: https://github.com/mozilla-b2g/gaia/pull/8845 r+ with one variable rename.
Attachment #730076 - Flags: review?(timdream) → review+
Comment on attachment 730076 [details] pull request: https://github.com/mozilla-b2g/gaia/pull/8845 Tim, I found a build failed bug with distribution dir. Cancel review flag and investigating...
Attachment #730076 - Flags: review+
root cause is we added some code with |externalAppsDirs| after rebased to master.
Comment on attachment 730076 [details] pull request: https://github.com/mozilla-b2g/gaia/pull/8845 Okay, I updated PR again with variable rename. root cause is we added some code with |externalAppsDirs| on bug 838098 after I rebased to master on last Thursday.
Attachment #730076 - Flags: review?(timdream)
Attachment #730076 - Flags: review?(timdream) → review+
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: