couchdb tasks interoperatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Invalid
|
Wishlist
|
Unassigned | ||
Pytask |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Hello everybody.
It would be nice if tasks would be saved in couchdb in a standardized way by all the task-manager application that use couchdb.
That really means just pytask and GTG. Since we are the first, we can dictate the rules :)
The nice thing is that our record_types (which are the ubuntu's couchdb way of specifying the "class" of the data) are similar.
Take a look.
==Pytask couchdb entry (in "pytask" database) ==
_id = "37fb73f8978b43
_rev = "8-3de8c06138cf
record_type = "url"
---
complete = true
due = "2010-08-17"
name = "task name"
priority ="2"
project = "a project"
==GTG couchdb entry (in "gtg" database) ==
_id = "001b33d6-
_rev = "2-7e73e869caf9
record_type = "http://
---
closed_date = "later"
due_date = "2010-07-13"
modified = "2010-07-
start_date = "now"
status = "Active"
text = "<content>
title = "my title"
So, the related fields are the following:
Exact match (GTG, Pytask):
title <-> name
due_date <-> due
Kind-of match (GTG, Pytask):
Tags <-> project, priority
status <-> complete
GTG also *needs* the modified field to work properly.
So, a possible solution for that is a common template such as:
name (pytask)
due (pytask)
status: gtg has more complex status system, so it cannot be a boolean. pytask might just do a simple complete = (status == "Active") to have his "complete" field as before.
modified: pytask need to add that.
That's just a proposal, other solutions are possible. Well, comment!
I would like to make this possible in Pytask, it would be a great feature.