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)
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
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #730076 -
Flags: review?(fabrice)
Comment 2•12 years ago
|
||
The pseudocode makes sense to me. I like this approach.
Comment 3•12 years ago
|
||
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)
| Assignee | ||
Comment 4•12 years ago
|
||
We will do this work on bug 848604
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Comment 5•12 years ago
|
||
de-duplicate from bug 848604 because I would like to send two PR for those two changes.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 6•12 years ago
|
||
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 7•12 years ago
|
||
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+
| Assignee | ||
Comment 8•12 years ago
|
||
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+
| Assignee | ||
Comment 9•12 years ago
|
||
root cause is we added some code with |externalAppsDirs| after rebased to master.
| Assignee | ||
Comment 10•12 years ago
|
||
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)
Updated•12 years ago
|
Attachment #730076 -
Flags: review?(timdream) → review+
| Assignee | ||
Comment 11•12 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•