Closed
Bug 446442
Opened 16 years ago
Closed 16 years ago
Move projects and languages to database
Categories
(Webtools Graveyard :: Verbatim, defect)
Webtools Graveyard
Verbatim
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dschafer, Assigned: dschafer)
References
Details
Attachments
(2 files, 1 obsolete file)
48.57 KB,
patch
|
Details | Diff | Splinter Review | |
4.82 KB,
patch
|
Details | Diff | Splinter Review |
Currently, projects and languages are stored in pootle.prefs; these should be moved to a database.
Assignee | ||
Comment 1•16 years ago
|
||
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.
Assignee | ||
Comment 2•16 years ago
|
||
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
Assignee | ||
Comment 3•16 years ago
|
||
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
Assignee | ||
Comment 4•16 years ago
|
||
Patch for above comment.
Assignee | ||
Updated•16 years ago
|
Attachment #330865 -
Attachment description: Patch for above comment → Patch to add relational information between tables.
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•