dee

Dee should support simple transactions

Bug #894023 reported by Mikkel Kamstrup Erlandsen on 2011-11-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
dee
High
Mikkel Kamstrup Erlandsen
dee (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

DeeModel should have a simple transaction concept. We'll build this around what DeeSharedModel already uses under the hood, which should make it straight forward.

The concrete plan is to implement a DeeChangeSet which extends DeeSerializableModel. This will in essence be like a "patch" you can apply to any old model with the correct schema.

Doing it this way also makes DeeSharedModel more deeply testable, so it's not only the more advanced API that is the benefit here.

Related branches

Changed in dee:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → 1.0.0
status: New → Triaged
status: Triaged → In Progress
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → 5.0.0
status: New → In Progress

DeeTransaction is in trunk and working now. Before marking this bug as fixed we need to figure out how we want to wire it up generically in DeeModel so change listeners can inspect when transactions are finished.

Changed in dee:
status: In Progress → Fix Committed
Changed in unity:
status: In Progress → Fix Committed
Didier Roche (didrocks) on 2012-01-12
Changed in dee:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dee - 1.0.0-0ubuntu1

---------------
dee (1.0.0-0ubuntu1) precise; urgency=low

  * New upstream release.
    - DeeModel support insert_sorted() and find_sorted() (LP: #913128)
    - Dee should support simple transactions (LP: #894023)
    - DeeSequenceModel optimized getters (LP: #900629)
    - DeeFilter and DeeFilterModel can not work properly with GI and/or PyGI
      (LP: #904293)
    - DeePeer and DeeSharedModel should support peer-2-peer DBus connections
      (LP: #904299)
    - Implement a DeeTreeIndex (LP: #622446)
    - DeeSharedModel should signal on remote transactions (LP: #912675)
    - Unable to use ModelTag from Vala with owned variables (LP: #911667)
    - DeeSequenceModel optimize signal emissions (LP: #901098)
    - DeeModel needs a benchmark suite (LP: #901100)
  * debian/rules:
    - enable documentation building (for daily build)
  * Do not use source 3 as doesn't work well with bzr merge-upstream
    when upstream is in bzr.
  * debian/control:
    - build-dep on gobject-introspection 0.10.2
    - readd Bzr-Vcs to be able to point to this branch
  * debian/dee-tools.install, debian/control:
    - add dee-tools package
  * debian/rules, debian/control, debian/*symbols, debian/*install:
    - handle ABI break and gir bump naming. Replaces: the right packages
      for the gir override file
    - update with new symbols
 -- Didier Roche <email address hidden> Thu, 12 Jan 2012 17:48:20 +0100

Changed in dee (Ubuntu):
status: New → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers