Closed Bug 446442 Opened 16 years ago Closed 16 years ago

Move projects and languages to database

Categories

(Webtools Graveyard :: Verbatim, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dschafer, Assigned: dschafer)

References

Details

Attachments

(2 files, 1 obsolete file)

Currently, projects and languages are stored in pootle.prefs; these should be moved to a database.
Blocks: 446443
First version of a patch moving language and project information to a database.  Thorough testing still needs to be done, but the major issue in this patch right now is the number of SQL queries.  Due to the removal of the "potree.languages" and "potree.projects" data structures, any and all accessing of project/language information requires a SQL query, so there are an absurd number of queries on most pages.
This improves upon the previous patch by storing a dictionary of languages and projects, to avoid unneeded SQL queries.  All of the major features have been tested with this code, and so it is committed in revision 7830.
Attachment #330831 - Attachment is obsolete: true
Changed the storage of user's projects, languages, uilang and altsrc lang to use relational database techniques.

This is in revision 7831.

This should cover everything related to languages and projects, so marking this FIXED.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Patch for above comment.
Attachment #330865 - Attachment description: Patch for above comment → Patch to add relational information between tables.
No longer blocks: 446443
Blocks: 444621
Blocks: 447680
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: