Closed
Bug 399588
Opened 18 years ago
Closed 16 years ago
Need to migrate existing bouncer data to use newly supported locales
Categories
(Webtools :: Bouncer, defect)
Webtools
Bouncer
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: wenzel, Assigned: justdave)
References
Details
Attachments
(2 files)
We need to run a script, and some SQL (or so) to convert all current entries in the locations table to properly localized entries, one per supported locale.
| Reporter | ||
Comment 1•18 years ago
|
||
This is the languages table, containing the locales from http://lxr.mozilla.org/mozilla/source/browser/locales/all-locales plus en-US.
| Reporter | ||
Comment 2•18 years ago
|
||
This marks all existing location table entries as en-US, then for each of them creates entries for each other locale too.
Though not all files are present in all locales, this probably won't hurt as they shouldn't be linked anywhere then and they would result in a 404 just as well if they were not present in bouncer at all.
Problem with this: In my tests, the locations table ended up with well over 35.000 entries. I assume this won't harm the bounce speed because it's well indexed (and cached IIRC), but this will make the admin interface in its current form hardly usable.
| Reporter | ||
Updated•18 years ago
|
Attachment #284771 -
Attachment mime type: application/octet-stream → text/plain
| Reporter | ||
Updated•18 years ago
|
Attachment #284772 -
Attachment mime type: application/octet-stream → text/plain
| Reporter | ||
Comment 3•16 years ago
|
||
Justdave: are we using the locale stuff in production? Has this been run / is it not needed anymore?
Assignee: fwenzel → justdave
Status: ASSIGNED → NEW
| Reporter | ||
Comment 4•16 years ago
|
||
To answer my own question, this is not in production yet. I'll file a bug to get us on going on deploying the languages patch that's been sitting on bouncer trunk for quite some time now.
| Reporter | ||
Comment 5•16 years ago
|
||
This has been rotting away and I merged this SQL into http://github.com/fwenzel/tuxedo/tree/master/sql/ today, with instructions in http://github.com/fwenzel/tuxedo/blob/master/README.md .
We'll need a general "migrate to tuxedo" bug later.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•