Closed
Bug 821115
Opened 13 years ago
Closed 12 years ago
Create a model in MySQL for storing app compat data
Categories
(Marketplace Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-04-25
People
(Reporter: dbuchner, Assigned: robhudson)
References
Details
(Whiteboard: p=3)
We need an object that will represent the feature profile for apps submitted to the Marketplace. The feature profile object will be compared to the user's device feature profile object to only present the apps that are compatible with their device/runtime.
The app feature object shall include *at least* the following: https://gist.github.com/4273238
Comment 1•13 years ago
|
||
For `device_types` https://gist.github.com/4273238#file-app-feature-profile-L4 do we not want to get more specific like "phone": Firefox OS vs. Firefox for Android phone?
It's a shame we can't store all this info in the manifest (because we already keep a copy of that in the DB), but this structure looks good.
Updated•13 years ago
|
Component: General → Developer Pages
Whiteboard: p=3
Reporter | ||
Comment 2•13 years ago
|
||
I have updated the gist of the mock object: https://gist.github.com/csuwldcat/4273238
Updated•12 years ago
|
Comment 3•12 years ago
|
||
The example profile cannot be done as it is. Each field must be a boolean flag.
> {
> "packaged": false,
This will not be in the profile since this is a marketplace limitation, not an app limitation.
> "certified": false,
Certified apps cannot be submitted to the Marketplace (and never will), so this does not belong in the profile.
> "screen_size": ["small", "medium", "large"],
This should be broken into "supports_narrow", "supports_wide", "supports_large", etc.
> "input_types": ["pointer", "touch"],
"supports_touch", "supports_click"
> "payments": {
> "types": ["free", "subscription"],
> "providers": ["bango", "paypal"]
> },
"navigator.mozPay"
The payment provider is not something that the app need be concerned with. Payment type is not something that's even specced.
> "web_apis": {
> "mms": {},
> "flash": {}
> }
> }
"navigator.mozMms", "supports_flash"
Comment 4•12 years ago
|
||
https://etherpad.mozilla.org/mkt-buchets
"One column per "feature", one column for version id"
Summary: Define an app feature profile object → Create a model in MySQL for storing app compat data
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → robhudson.mozbugs
Target Milestone: --- → 2013-04-18
Updated•12 years ago
|
Target Milestone: 2013-04-18 → ---
Assignee | ||
Comment 5•12 years ago
|
||
https://github.com/mozilla/zamboni/commit/23cac3c
The features are hanging off the app version. E.g. `app.current_version.features.has_sms` will return True or False.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-04-25
You need to log in
before you can comment on or make changes to this bug.
Description
•