Closed
Bug 755495
Opened 14 years ago
Closed 14 years ago
make DEFAULT_WEBAPP_AMO_URL a list
Categories
(Marketplace Graveyard :: Validation, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
2012-06-14
People
(Reporter: clouserw, Assigned: basta)
Details
From bug 747252 people are having trouble installing apps off marketplace-dev because the installs_allowed_from is marketplace.m.o. The DEFAULT_WEBAPP_AMO_URL constant would let us adjust that, but it would override marketplace.m.o. The goal of this bug is to allow installs on marketplace.m.o from '*' and 'marketplace.mozilla.org' and on marketplace-dev.a.o from '*', 'marketplace-dev.a.o', and 'marketplace.mozilla.org'
Effectively the whitelist should be a list instead of a string. I see the validator tries to load from a constants_local file - what is the best way to get this list from the marketplace config into the amo-validator on the servers?
| Assignee | ||
Comment 1•14 years ago
|
||
I can make a parameter in the validate.validate() function, if it would work best that way. That's probably most in line with what we've done for other settings constants (like the path to Spidermonkey).
I'll get started on converting that constant to a list, though.
| Assignee | ||
Comment 2•14 years ago
|
||
Updated to a list here:
https://github.com/mattbasta/amo-validator/commit/144e3ac878be3df86428ae42a67f6463db55a691
| Reporter | ||
Comment 3•14 years ago
|
||
Still in progress or are you blocked?
Priority: -- → P4
Target Milestone: 2012-05-17 → 2012-06-14
| Assignee | ||
Comment 4•14 years ago
|
||
Just added the new parameter this morning:
https://github.com/mattbasta/amo-validator/commit/6e45e922912099aea56f735d1109c9743447362b
| Assignee | ||
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•