Closed Bug 444621 Opened 16 years ago Closed 16 years ago

Pootle needs to use a mysql database

Categories

(Webtools Graveyard :: Verbatim, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Unassigned)

References

Details

Pootle looks for .stats files right and if those don't exist it looks for the sqlite db that pocount makes.  We need to make it use mysql.
Blocks: 444627
Priority: -- → P1
In as much as I can see bug 444620 will address this entirely. The only issue might be to specify database connection information. The statistics code is really shared between pocount and Pootle. There should be very little work necessary on the Pootle side.
Depends on: 444620
As I envision it, part of this is moving as much data storage as possible from flat files to the database.  For example, the information in project .prefs files in each directory, pootle.prefs, and users.prefs should all be in the database.  I've arbitrarily been using bug 444620 for patches involving stats; we could use this bug for non-stats patches.
Priority: P1 → P2
From Bug 446443:

Users, projects, stats, languages, rights and goals should all be converted
from flat files to databases; since this is such a large task, these are all
listed in sub-bugs.

All but the rights / goals / assigns are done, and those are fairly minor features, so I'm removing the priority from this.
Depends on: 442055, 446441, 446442
Priority: P2 → --
Depends on: 447819
Depends on: 449132
Depends on: 449133
bug 446441, bug 447819, and bug 449132 cover the remaining issues.  Since pootle+django can use mysql I'm closing this.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.