This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

<boyd> sandy: so i think we just need to decide which option for sync is gonna give us the most bang for the buck

<sandy> well, Alex's idea was to have a webdav server that was exposed by Avahi

<boyd> yeah ...

<sandy> you mean for all Tomboy users to use? <boyd> i'd hate to see someone be forced to understand ftp/webdav/etc.

<sandy> true <boyd> and we'd get 90% of the users happy <sandy> I guess if I'm doing note sync

<boyd> not sure <everaldo> google notes support <sandy> I have an account but I've never used it * everaldo watching discussion ;) <boyd> the prob. with google notes ... they don't have an api

<sandy> yeah, bad idea

<boyd> well <everaldo> humm... google notes dont have tag, just sessions <boyd> i think one of the issues there would be ... <sandy> backpackit has pages, and each page can have notes, files images, etc <boyd> backpackit.com has a bunch of things that tomboy notes don't

<sandy> yup <boyd> checkboxes

* boyd wonders if there are free hosted webdav services around <boyd> or ftp/etc. <sandy> so we have people come in with various homegrown solutions

<boyd> what do you mean? <sandy> do we know if most people who are trying to use sync can do it on the same subnet? <sandy> people use unison to sync their .tomboy <sandy> for example

<boyd> ah, right...and ifolder

<sandy> right <boyd> that would be nice to figure out a solution there

<sandy> well, but it's more than that

<boyd> yeah, i don't like the idea of people/other processes mucking with ~/.tomboy <sandy> but they could be trying to sync between different Tomboy versions, for example <boyd> it wasn't really designed for that

<sandy> we could handle that automatically

<boyd> agreed <sandy> but techinically, if we version our note XML, we can handle it automatically in the other case, too <boyd> well, not as easily if they just wholesale replace all the *.note files * boyd has a new resolution to spend any available "tomboy time" on sync <boyd> :) <sandy> so I know we've talking about merging/conflicts

<boyd> well, one thing that i think would be nice ... if we could guarantee a master server ... <sandy> yes <boyd> we could have it manage revisions like SVN does, for example

<sandy> the patch we got last year? <boyd> it was kind of clever

<sandy> I did awhile ago <boyd> it was interesting

<sandy> in all honesty

<sandy> d HAVE to use the same Tomboy version <boyd> not necessarily though <sandy> *and* Tomboy sync would require them to have the svn client installed <boyd> well...

<sandy> yes...it's just more work :-) <boyd> oh yeah! ;) <sandy> but it at least seperates us from the implementation a bit

<boyd> btw, one thing i like abt. ftp / webdav ... is that ...

<sandy> yes <boyd> and all we have to do is find a good webdav/ftp service

<sandy> do such things exist?

<boyd> you'd think so

<sandy> right <boyd> if someone wanted to have their desktop machine to be the "master" <sandy> requires user to open port, etc <boyd> i think having multi-masters would be a nightmare <sandy> if they want to sync outside the subnet <boyd> so i like the idea of one and only one master * boyd checks his os x server to see if a webdav server is built-in <sandy> so about versions...

<sandy> "warning, you are syncing notes that come from an older version of Tomboy. This may cause data loss" <boyd> yeah something like that

<sandy> yeah, I hardly even know what webdav *is* <boyd> well, i guess in my simplistic view, it's a file push/pull api that goes over http(s) <sandy> is that what you think our hypothetical hosted web service would be?

<boyd> well, if we use webdav ... we wouldn't use webservices

<sandy> right <boyd> so when a client sync'd ...

<sandy> okay, now I'm seeing your picture

<boyd> right <sandy> so you could know if there might be notes with conflicting changes <boyd> well...

<sandy> oh <boyd> maybe on the client, auto-rename and then push it up

<sandy> actually, this sounds pretty good

<boyd> yeah. in this case the server is always the "trusted" copy

* boyd wonders what sort of webdav library is available for c# <sandy> well, worst case scenario

<boyd> sweet ... looks like there's a standard dav_module for apache (which runs on osx server...which is what i have installed @ home)

<sandy> so we could have an "advanced" option where you setup up on Tomboy instance as your server <sandy> and it broadcasts a webdav service over Avahi? <boyd> sandy: exactly

<sandy> that should be "one Tomboy instance" <sandy> hmm

<boyd> yeah, so ...

<sandy> well, certainly there should be some sort of manifest file on the server <boyd> and previously existing notes that already had a version on them ...

<sandy> this sounds good

<boyd> no, but similar concept <sandy> since svn has revisions for the entire repository, not for individual files

<boyd> a note revision could be stored in a note file just like any other note metadata

<sandy> yeah, either a number or a "last commit date"

<boyd> after notemanager reads in all the notes, it'd know it's overall "revision"

<sandy> true

<boyd> i would think the first step in implementing this would be to build the revisioning into tomboy

* sandy processes it <boyd> ...at least this is how i've been thinking it ought to work ... there's likely many other good ways to do it <sandy> it just came to mind that svn has webdav access

<boyd> what does it do? i mean, how exactly does that work? <sandy> I think you mount a webdav share

<boyd> ah, i see. <sandy> but anyway, reviewing what you just said

<boyd> oh, i see what you're saying ... <sandy> I was thinking we don't want to up revision numbers unless we differ from our last sync <boyd> the sync manager would be the one managing the revisions

* sandy thinks <boyd> if it's not in the middle of the sync (i.e., connected to the server with a lock file in place), it couldn't make an increment <sandy> quick question

<boyd> could work either way

<sandy> I imagine there are a lot of disconnected laptop/device scenarios that we want to optimize for

<boyd> to start with, we'd leave the autosync out

<sandy> good

<boyd> right <sandy> and then incremement the number when sycning the modified note <boyd> it just gets added to the sync manager's "notes to be synchronized" queue

<sandy> that's one reason I like dates, but I understnad the inherent problems

<boyd> what benefit would dates give?

<sandy> now we have to either maintain a mapping of rev numbers to dates

<boyd> to show the user ? <sandy> for our own knowledge <boyd> that should be okay <sandy> so that we know what is modified without having to compare against the server <boyd> we could just mark a metadata tag to indicate that it's been modified

<sandy> although maybe all we need to do is remember (on the client side) when we last did a sync

<boyd> true

<sandy> okay

<boyd> yeah... <sandy> I mean, I have the IRC log <boyd> for starters we could just post the IRC log on our sync wiki

<sandy> yeah

<boyd> i guess the hardest part for tomboy users would be to just get a webdav acct. somewhere <sandy> yup <boyd> ...which we could have someone step up and provide a free service somewhere <sandy> is Novell interested in providing that sort of thing? <boyd> for the sole purpose of tomboy note sync

<sandy> I hate to put more burden on the gnome sysadmins <boyd> i have a server i could donate ...

<sandy> quick question

<boyd> note UIDs? <sandy> right <boyd> well, in theory, a UID that's generated on one computer should not ever be able to be created by any other computer <sandy> is it possible for client A and client B to generate two notes with the same UID, and then tryto sync....

<boyd> i believe in practice it works that way too <sandy> sounds good <boyd> the one issue though

<sandy> oh? <boyd> so the 2nd computer in would have all their duplicate notes renamed

<sandy> but that might change

<boyd> well, once two clients are synchronized ...

<sandy> okay, I see <boyd> i.e., no potential of name conflicts <sandy> there could potentially be name conflicts <boyd> yep <sandy> so the client has to check note titles

<boyd> and i think in that case, on the clien that has the conflicts, we either rename the conflicting note to "NotD (2)" or prompt the user to rename it or take care of it <sandy> if you're not careful, you could try to add a new one twice

<boyd> i think as we get into it more, it'll make more since (i hope) and we'll likely discover other issues like this <sandy> and have checkbox "automatically rename for me next time"

* sandy wonders if he can host webdav stuff on his dreamhost domains... <boyd> i think all you really need is an apache server

<sandy> apps? <boyd> ASP.NET <sandy> ASPs?

<boyd> so a user could go "register" for an account <-- Shingo-- has quit (Leaving.) <sandy> http://blog.dreamhosters.com/kbase/index.cgi?area=2882 <boyd> something else someone could eventually do is ... <sandy> webdav can do automatic locking <boyd> write an ASP.NET that accesses the notes in WebDav

<sandy> yeah, that would be great <boyd> which is why it would be nice to tie in with one of these existing online note services <sandy> we already have a simple xsl to do that for the export * boyd wonders if any of them expose their notes via webdav <sandy> the cool kids write fuse filesystems for that sort of thing <boyd> if we can capture this stuff down in a way that makes sense, we could mail it out to the mailing list and ask for support/suggestions

<sandy> yeah

<boyd> but this follows right along with the plan we laid out in our RoadMap <sandy> and that's fine

<boyd> agreed

<sandy> exactly <boyd> since it just does everythign via http <sandy> I can write something up to send to the list if you're busy (you're better at writing this stuff than I am) <boyd> i'm modifying the Tomboy/Synchronization wikipage right now <sandy> okay, awesome


2024-10-23 10:58