Re: [Tomdroid-dev] Snowy synchronization branch

2009-08-24 Thread Olivier Bilodeau
That's awesome!
As far as the switch from note directory to the database goes, do you feel
that your code has any regression? If not, i'll review that portion quickly
then merge it and start looking at the editing problem.

I'll try to have a full day of tomdroid hacking in the near future..

On Mon, Aug 24, 2009 at 6:44 AM, Benoit Garret 
benoit.garret_launch...@gadz.org wrote:

 Hi list,

 I'm currently trying to have Tomdroid synchronize with Snowy. I've set
 up a branch at https://code.launchpad.net/~benoit.garret/tomdroid/web-sync
 which contains the work so far. I've reached a stage where things are
 testable, meaning a bit useful but still not ready for the everyman.
 It is not doing any synchronization per se, but it fetches all remote
 notes and inserts them in the tomdroid database. As notes currently
 aren't editable, I don't think we would benefit from much more than
 that at the moment.

 If anyone is interested and is willing to download, compile and test,
 I'm open to feedback and suggestions about code, bugs, UI design,
 features or whatever you think could be useful. I would also be happy
 to help if someone has a problem setting up a local instance of the
 snowy server to test the code.

 Cheers,

 Benoît Garret

 ___
 Mailing list: https://launchpad.net/~tomdroid-dev
 Post to : tomdroid-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~tomdroid-dev
 More help   : https://help.launchpad.net/ListHelp




-- 
Olivier Bilodeau oliv...@bottomlesspit.org
___
Mailing list: https://launchpad.net/~tomdroid-dev
Post to : tomdroid-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~tomdroid-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Tomdroid-dev] Snowy synchronization branch

2009-08-24 Thread Benoit Garret
On Mon, Aug 24, 2009 at 3:59 PM, Sandy
Armstrongsanfordarmstr...@gmail.com wrote:
 Out of curiosity, does your web-sync branch handle server-side
 deletes?  I'm guessing not, since a quick grep in the source code
 indicates that you're not tracking the last sync revision.  This also
 means that every time you sync, you are getting every single note on
 the server.  You could save bandwidth by tracking the last sync
 revision, and only getting note updates since that revision (this
 would also allow you to process deletes if you wanted to).

You're right, it doesn't support that at the moment. I will handle
that as soon as I get the note guid stored in the database. There's
still one thing I didn't quite get about the remote note deletion. The
examples of GET requests on http://domain/api/1.0/user/notes don't
mention note deletion. Is that an omission or should I be able to
infer the deleted notes from the response (in that case, I don't see
how I could do that)?

Cheers,

Benoit

___
Mailing list: https://launchpad.net/~tomdroid-dev
Post to : tomdroid-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~tomdroid-dev
More help   : https://help.launchpad.net/ListHelp