[Stoq-devel] [Bug 2885] - MySQL support

bugzilla-daemon at async.com.br bugzilla-daemon at async.com.br
Sat Feb 3 18:26:34 BRST 2007


http://bugs.async.com.br/show_bug.cgi?id=2885  





--- Comment #3 from Johan Dahlin <jdahlin at async.com.br>  2007-02-03 18:26 BRT ---
Here's an fairly complete list of what needs to be done.
There might be places I missed.

I've heard that many bugs/issues related to MySQL support in 
SQLObject has been committed since we forked, so it's probably
wise to cherry pick them into stoqlib too.

stoq
====

stoq/gui/config.py:
postgres password caching

stoqlib
=======

setup.py:
    check for mysql python bindings
stoqlib/database/admin.py:
    check if the user can create databases
stoqlib/database/exceptions.py:
    import exceptions
stoqlib/database/database.py:
stoqlib/database/settings.py:
    PGHOST environment variable
    sqlobject url building
    OperationalError message parsing
stoqlib/database/synchronization.py:
    executing an sql schema
stoqlib/database/testsuite.py:
    port / database type
external/sqlobject/postgres/pgconnection.py:
    These methods needs to be implemented:
    def sequenceExists(self, sequence):
    def createSequence(self, sequence):
    def dropSequence(self, sequence):
    def bumpSequence(self, sequence, start, minvalue, maxvalue):
    def createDatabase(self, name, ifNotExists=False):
    def dropDatabase(self, name, ifExists=False):
    def databaseExists(self, name):
    def dbVersion(self):


More information about the Stoq-devel mailing list