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)

defect
Not set
normal

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
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.
Blocks: 821402
Component: General → Developer Pages
Whiteboard: p=3
I have updated the gist of the mock object: https://gist.github.com/csuwldcat/4273238
Blocks: 858314
No longer blocks: 821402
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"
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: nobody → robhudson.mozbugs
Target Milestone: --- → 2013-04-18
Target Milestone: 2013-04-18 → ---
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.