Closed
Bug 539733
Opened 15 years ago
Closed 13 years ago
Individual persona json file images not pointing to cdn
Categories
(Websites Graveyard :: getpersonas.com, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: rdoherty, Unassigned)
Details
https://www.getpersonas.com/static/3/3/33/index_1.json Each persona has a json file that needs to point to images on the cdn (personas-cdn.mozilla.net)
Reporter | ||
Updated•15 years ago
|
Target Milestone: 2.2 → 2.3
Reporter | ||
Comment 1•15 years ago
|
||
Toby, is there any easy way to regenerate every json file for all personas?
Comment 2•15 years ago
|
||
Not sure if this is in the current repository, but there used to be a migration.php script. It looked like this: require_once 'server/lib/personas_constants.php'; require_once 'server/lib/personas_functions.php'; require_once 'server/lib/storage.php'; $db = new PersonaStorage(); $ids = $db->get_all_active_ids(); foreach ($ids as $id) { echo "$id\n"; $persona = $db->get_persona_by_id($id); file_put_contents(make_persona_storage_path($id) . '/index_1.json', json_encode(extract_record_data($persona, null, true))); }
Reporter | ||
Comment 3•15 years ago
|
||
Considering that this will affect all persona json files, I'm bumping this to after 3.6. It shouldn't have any adverse affects since we can change it soon after.
Target Milestone: 2.3 → 2.4
Reporter | ||
Updated•14 years ago
|
Target Milestone: 2.4 → 2.5
Reporter | ||
Updated•14 years ago
|
Target Milestone: 2.5 → 2.6
Reporter | ||
Updated•14 years ago
|
Target Milestone: 2.6 → 2.7
Reporter | ||
Updated•14 years ago
|
Target Milestone: 2.7 → ---
Comment 4•13 years ago
|
||
If we still need these files when we move to AMO, we'll handle this then.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•11 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•