Last Comment Bug 855579 - Make Marketplace a packaged app on Gaia
: Make Marketplace a packaged app on Gaia
Status: RESOLVED FIXED
[fireplace] p=2
:
Product: Marketplace
Classification: Server Software
Component: Consumer Pages (show other bugs)
: 1.0
: All All
: P1 normal (vote)
: 2013-03-28
Assigned To: Christopher Van Wiemeersch [:cvan]
:
:
Mentors:
Depends on:
Blocks: 859511
  Show dependency treegraph
 
Reported: 2013-03-27 19:59 PDT by Christopher Van Wiemeersch [:cvan]
Modified: 2013-04-08 14:37 PDT (History)
3 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Christopher Van Wiemeersch [:cvan] 2013-03-27 19:59:49 PDT
"Yule Log" is the codename for the packaged-app version of the hosted Firefox Markeplace.

We store the packaged app `.zip` somewhere on the CDN (likely using `NETAPP_STORAGE`, like we do for `ADDONS_PATH`).

Create a view for /minifest.webapp à la /manifest.webapp: https://github.com/mozilla/zamboni/blob/master/mkt/site/views.py#L68 

Here's Rob's code for generating packaged-app mini manifests (minifiests):
https://github.com/mozilla/zamboni/blob/master/mkt/detail/views.py#L61
https://github.com/mozilla/zamboni/blob/master/mkt/webapps/models.py#L607

Based on `get_carrier()` (our middleware takes ?carrier=<carrier> and sets this using `set_carrier()`), it should return the appropriate `package_path` for the packaged app: `<carrier>.zip`

Questions? Ask.
Comment 1 Christopher Van Wiemeersch [:cvan] 2013-03-28 14:43:44 PDT
https://github.com/mozilla/zamboni/commit/1a38d52

.zip coming in a bit
Comment 2 Christopher Van Wiemeersch [:cvan] 2013-03-28 14:55:25 PDT
https://github.com/mozilla/zamboni/commit/4ff5717
Comment 3 Christopher Van Wiemeersch [:cvan] 2013-03-28 16:19:33 PDT
Final URL:
https://marketplace.firefox.com/minifest.webapp?carrier=telefonica

Note You need to log in before you can comment on or make changes to this bug.