gtg team mailing list archive
-
gtg team
-
Mailing list archive
-
Message #03131
[Bug 623801] [NEW] couchdb tasks interoperatibility
Public bug reported:
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 = "37fb73f8978b436295d90a7e6d10055d"
_rev = "8-3de8c06138cf1afa7288a4312929f456"
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-f4b1-45e0-8b7d-b1574420d264"
_rev = "2-7e73e869caf942cb9d6fffb38b50b8bd"
record_type = "http://live.gnome.org/gtg/couchdb/task"
---
closed_date = "later"
due_date = "2010-07-13"
modified = "2010-07-13T21:14:27.139740"
start_date = "now"
status = "Active"
text = "<content>aloha</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!
** Affects: gtg
Importance: Wishlist
Status: Confirmed
** Affects: pytask
Importance: Undecided
Status: New
** Tags: backends
** Also affects: pytask
Importance: Undecided
Status: New
--
couchdb tasks interoperatibility
https://bugs.launchpad.net/bugs/623801
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.
Status in Getting Things GNOME!: Confirmed
Status in Pytask: New
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 = "37fb73f8978b436295d90a7e6d10055d"
_rev = "8-3de8c06138cf1afa7288a4312929f456"
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-f4b1-45e0-8b7d-b1574420d264"
_rev = "2-7e73e869caf942cb9d6fffb38b50b8bd"
record_type = "http://live.gnome.org/gtg/couchdb/task"
---
closed_date = "later"
due_date = "2010-07-13"
modified = "2010-07-13T21:14:27.139740"
start_date = "now"
status = "Active"
text = "<content>aloha</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!
Follow ups
References