Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

I think I've seen this ORM somewhere before...

{5} Assigned, Active Tickets by Owner (Full Description) (30 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

fumanchu

Ticket Summary Component Milestone Type Created
Description
#69 SQLite fails tests in 'typeless' mode Storage 2.0 defect 08/12/06
Testing SQLite 'typeless'...
SQLite Version: 3.3.3
test_1_model (zoo_fixture.ZooTests) ... ok
test_2_populate (zoo_fixture.ZooTests) ... ok
test_3_Properties (zoo_fixture.ZooTests) ... ok
test_Aggregates (zoo_fixture.ZooTests) ... ok
test_DB_Introspection (zoo_fixture.ZooTests) ... FAIL
test_Editing (zoo_fixture.ZooTests) ... ok
test_Engines (zoo_fixture.ZooTests) ... ok
test_Expressions (zoo_fixture.ZooTests) ... ok
test_Iteration (zoo_fixture.ZooTests) ... ok
test_Multirecall (zoo_fixture.ZooTests) ... ok
test_Multithreading (zoo_fixture.ZooTests) ... ok
test_Subclassing (zoo_fixture.ZooTests) ... ok
test_autoclass (zoo_fixture.ZooTests) ... ok
test_autosource (zoo_fixture.ZooTests) ... ok
test_numbers (zoo_fixture.ZooTests) ... precision: 1 2 4 8FAIL
testzzzz_Schema_Upgrade (zoo_fixture.ZooTests) ... ok

======================================================================
FAIL: test_DB_Introspection (zoo_fixture.ZooTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\dejavu\test\zoo_fixture.py", line 814, in test_DB_Introspection
    self.assertEqual(s.db.python_type(idcol.dbtype), int)
AssertionError: <type 'str'> != <type 'int'>

======================================================================
FAIL: test_numbers (zoo_fixture.ZooTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\dejavu\test\zoo_fixture.py", line 1019, in test_numbers
    self.fail("%s != %s prec=%s scale=%s" %
AssertionError: -1L != 4294967295L prec=8 scale=1

FAILED (failures=2)
 Ran zoo suite in: 0:01:08.078000

#90 CachingProxy mixes "last recall" times codewalk/logic 1.5 defect 04/19/07

Dangit. CachingProxy? correctly uses a different bucket for each Unit class in its _caches dict; the _recallTimes dict should do the same, but doesn't. Should be an easy fix, but it needs a test.


#97 Move the on_* events from the sandbox into the SM's Misc 2.0 defect 09/09/07

In Dejavu 2, sandboxes are much more optional. The on_memorize, on_recall and on_forget methods should be moved into SM.xrecall and SM.destroy, if only to protect users from updating unit data and forgetting to execute those triggers.


#41 datetime.datetime should store microseconds Storage 2.0 defect 02/11/06

datetime.datetime objects are currently stored with 1-second resolution in most SM's. They should all support microsecond storage; if there are any that can't, they need to announce that in the docs.


#73 Write tests for legacy DB's Storage 2.0 defect 08/31/06

geniusql is designed to work with data types and formats as defined by the DB, but there's no real test yet for that--all the existing tests only cover the case where the Python model creates the DB schema, not the other way around.

Write some tests which exercise pulling the schema from the DB and making a model from that. The autoclass tests are a start, but don't cover e.g. what to do with a non-standard datetime format in SQLite.


#92 Non-RDBMS stores needs Modeler, DiscoveryTests Storage 2.0 defect 05/07/07

Currently, one can only make_source or make_classes from RDBMS stores. This should be extended to non-RDBMS storage managers.


#95 Move on_recall from sandbox to unit() Storage 2.0 defect 08/30/07

Now that sandboxes are not the only way to interact with stores, move on_recall out of the sandbox class and into each leaf store (whenever a new Unit is instantiated).


#96 Add offset support to Access, SQL Server Storage 2.0 defect 08/30/07

SQL Server may be able to use a stored procedure to fake offset logic. MS Access will probably have to not pass LIMIT so it can call self._paginate instead.


#100 Rewrite shelve store to use weakref locks instead of try-finally Storage 2.0 defect 09/23/07

#1 New concurrent constraint mechanism (triggers, cascade, etc) Misc 2.0 enhancement 10/05/05

Some triggers should be immediate, and some should be delayed until the end of a request. For example, changing either the FirstName? or LastName? of a directory record might send a notification, but if both are changed within the same transaction, we wouldn't want two notifications being sent. See the comments for more requirements.


#5 Assert unique ID on new object Misc 2.0 enhancement 10/05/05

Need to check each object on_memorize--make sure it isn't using an existing ID. This isn't a big problem for Units with Sequencers; it's those that don't have a Sequencer that need checking.


#7 Canonize update_* methods into "calculated fields" Misc enhancement 10/05/05

Lots of apps have properties which are calculated (aggregated) from the properties of their children or siblings. Dejavu should have a standard interface for those.


#8 Generic RSS2/Atom feeds from Dejavu queries Misc enhancement 10/05/05

Any engine should have a feed. How to display the output is an issue.


#22 Run tests on each commit Misc enhancement 11/09/05

Install all supported DB's on the Trac server, and use a post-commit hoook to run all tests (so all users don't have to have all DB's on their dev machines).


#24 Write a ZODB Storage Manager Storage enhancement 11/09/05

#59 Oracle Storage Manager Storage enhancement 04/05/06

#76 engines visit_TRANSFORM should use multirecall Misc 2.0 enhancement 09/19/06

The current one-unit-at-a-time lookup is really slow. Now that all stores support multirecall, we should change visit_TRANSFORM to use multirecall, maybe even a view, since all we need is the identity() of the far units at that time.


#81 Add multiview method Misc 2.0 enhancement 12/16/06

Just like multirecall, but for view.


#83 Support distributed transactions Misc 2.0 enhancement 01/11/07

Probably with two-phase commit. The sandbox transaction methods would prepare all stores, then commit all stores. Not sure if using a store that doesn't support PREPARE should raise a warning or error.


#102 Automatically choose default sequencers Misc 2.0 enhancement 10/06/07

When cls.identifiers possesses only str/unicode properties, it might be best to default cls.sequencer to dejavu.UnitSequencer().


#86 Add tests for multiple DBs in same store Storage 2.0 defect 01/30/07

See http://groups.google.com/group/turbogears/browse_frm/thread/c0a5bbfda0c3a6a7


#99 Rewrite RAM store to use weakref locks instead of try-finally Storage 2.0 defect 09/23/07

#9 Make a StackCalculator subclass of codewalk.Visitor codewalk/logic enhancement 10/05/05

Call it in Rewriter.code_object to get co_stacksize.


#12 Add a Storage Manager for PyTables Storage enhancement 10/05/05

http://pytables.sourceforge.net/html/WelcomePage.html


#17 Numeric-then-alpha UnitSequencer Misc enhancement 10/05/05

Some Units (e.g. Amor's vehicles) could use a sequencer which sorts all bare numbers to top, then alpha.


#28 Support semijoins in storeshelve Storage enhancement 11/26/05

The current storeshelve has a rather brute-force approach to multirecall. It could benefit greatly if the single expr were broken down into sub-expressions, which could then be attached to the join tree and invoked at each recall to reduce the search space.


#68 Automatically populate associations/properties lists? Misc enhancement 08/02/06

Writing chunks of code (like the following example) is somewhat redundant:

TripGroup._associations["MissionTrip"] = TripGroup.MissionTrip = GroupToTripAssociation()

Perhaps we could override Unit.__setattr__, __delattr__ to automatically add bound descriptors to Unit._associations and Unit.properties.


#75 Maintain referential integrity Storage enhancement 09/17/06

Dejavu doesn't make any checks on referntial integrity at the moment; that is, it doesn't assure that associations ("foreign keys") are applied in the right order, or do any validation that the far value is present.


#98 Add the 'sum' sandbox method to SM's Misc 2.0 enhancement 09/09/07

#15 Rewrite dis.dis as a codewalk.Visitor codewalk/logic enhancement 10/05/05

Note: See TracReports for help on using and creating reports.