← Back to team overview

gtg team mailing list archive

[Bug 529817] Re: [gtg-refactor] DBus api is broken due to requester changes

 

I've updated the dbus commands on the 0.3 branch to work with the new
filters system.  I had to change the API a bit since some of the
internal functionality has changed around.

get_tasks_filtered() and get_task_ids_filtered() are the major changes.
Both routines are still present but their parameter signatures are
changed - they now use filters directly.  Unfortunately because of this
they no longer support searching by tags, but on the plus side they now
will work with any filter, so as new filters are added in the future,
this will all "just work".

get_task_ids() is dropped.  I decided if someone needs that, they can
just use get_task_ids_filtered().

I decided to keep get_tasks() as a convenience function.  Basically it
just calls self.get_tasks_filtered(['all'])

Also, I've implemented a command line tool gtcli in trunk which has been
quite handy in testing out the dbus API.  I plan to continue maintaining
this and adding to it, and patches for it are of course quite welcome!

** Changed in: gtg
       Status: In Progress => Fix Committed

** Changed in: gtg
     Assignee: Luca Invernizzi (invernizzi) => Bryce Harrington (bryceharrington)

-- 
[gtg-refactor] DBus api is broken due to requester changes
https://bugs.launchpad.net/bugs/529817
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!: Fix Committed

Bug description:
>From Lionel's status email today:

- DBus is broken, due to the huge change to the requester.

This affects the gtg_new_task tool and other consumers of the dbus service.





References