Closed Bug 469410 Opened 16 years ago Closed 16 years ago

Personas JSON feed formats should be versioned

Categories

(Mozilla Labs Graveyard :: Personas Plus, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: cbeard)

Details

Personas JSON feed formats should be versioned, so when we update its format, the server can continue to publish data in the legacy format until enough clients have been updated to use the new format.

Versioning could be done by putting the feed into a subdirectory whose name is the version number or by inserting the version number into the name of the feed file.
file is now called index_1.json. I see no reason to make the versioning any more complex, though it's easy enough to do.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Thinking about this some more, versioning only the feed files will not be sufficient, since JSON data is embedded in the HTML files of the web directory as well.  So we would need to version the directory also.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Per discussion in person with Toby, we've decided to not address versioning of the HTML files themselves, focusing this bug just on versioning of the JSON feeds, thus reresolving fixed.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
QA Contact: nobody → personas
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.