Bo-Keep - Tasks: task #11223, Support for gnucash backends other...
You are not allowed to post comments on this tracker with your current authentication level.
task #11223: Support for gnucash backends other than XML
Submitter: | Mark Jenkins <markjenkins> | ||
Submitted: | Thu 07 Jul 2011 04:05:17 PM UTC | ||
Should Start On: | Thu 07 Jul 2011 05:00:00 AM UTC | Should be Finished on: | Tue 31 Jul 2012 05:00:00 AM UTC |
Category: | None | Priority: | 5 - Normal |
Status: | In Progress | Privacy: | Public |
Assigned to: | markjenkins | Percent Complete: | 0% |
Open/Closed: | Open | Effort: | 30.00 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2012-06-13 | markjenkins | Should be Finished on | 2011-07-31 | 2012-07-31 | |
Assigned to | samuelpauls | markjenkins |
Powered by Savane 3.13-caa5.
Corresponding source code
As a first step, line 51 in tests/test_gnucash_backend.py should be removed, its a cheat line:
SQLITE3 = XML
So that the tests that use sqllite actually end up using XML.
Test suite fails with that.
With SQLITE3 working, we should add a tests/test_gnucsh_backend_rdbms.py that using inheritance and overiding of the tests/test_gnucash_backend.py tests and does mysql and postgres with a tests username/password/database name, but is excluded from being run from setup.py seeing how most won't have that.
Once the lower level issues that these test reveals are addressed, we could add support in the bokeep default shell's config dialog to either allow entry of any gnucash backend URL (e.g. sqllite://... mysql:///...) or provide a four-way radio for the four backends with a separate u.i.; some other design or a mix of both.