Ticket #1050 (assigned task)

Opened 6 years ago

Last modified 5 years ago

create proposal for new OSyncDB interface

Reported by: dgollub Owned by: bricks
Priority: normal Milestone:
Component: OpenSync: Plugin API Version: 0.38
Severity: critical Keywords:


Create proposal for new OSyncDB interface. Current interface is based on a "file"-database (e.g. sqlite3). To be able to switch on compile-time the database-backend, the file-component needs to be removed from the API.

Additionally instead of providing a SQL-query interface, we just prive some key-value set/get functions for now. Providing a SQL-query method can be introduced later - if there is really demand. But due to potential issues with database-compatibility this get postponed for future releases.

Currently the only plugin using OSyncDB is:

  • SyncML

For this plugin key-value get/set function should be enough.

Change History

comment:1 Changed 6 years ago by dgollub

  • Owner dgollub deleted

comment:2 Changed 6 years ago by bricks

  • Owner set to bricks

comment:3 Changed 6 years ago by bricks

  • Status changed from new to assigned

comment:4 Changed 5 years ago by dgollub

(In [5300]) Dropped public osync_db_ interface. The public osync_db_ interface needs a redesing - which is not mandatory for 0.40.

(partial commit facing issues with webserver)

refs #1050

comment:5 Changed 5 years ago by dgollub

(In [5301]) Unexexport osync_db interface

refs #1050

comment:6 Changed 5 years ago by dgollub

  • Milestone OpenSync 0.39 deleted

This no longer blocks 0.40 milestone - since the old osync_db interfaces got unexported.

comment:7 Changed 5 years ago by bricks

(In [5304]) created a new branch for opensync db rewrite refs #1050

comment:8 Changed 5 years ago by bricks

(In [5305]) copy of current trunk for db rewrite refs #1050

comment:9 Changed 5 years ago by bricks

(In [5544]) Merged trunk changes 5304:5542 into new db branch refs #1050

Note: See TracTickets for help on using tickets.