/srv/irclogs.ubuntu.com/2009/08/10/#ubuntuone.txt

jblountMorning everyone!13:34
jan____hi, how is file-storage / file backup handled in the ubuntuone backend? (say I want to create custom client) are there docs I should read?14:00
Chipacajan____: less than I would like14:05
Chipacajan____: there is the protocol spec, and the clients are free software, and you can ask here14:05
jan____Is there somebody I can talk to? :)14:05
Chipacajan____: me, for starters14:06
Chipacaif anybody else volunteers, it's up to them :)14:06
jan____alright, what's the underlying design? something like webdav? or are files managed by ubuntuone-client?14:06
Chipacajan____: by underlying design, you mean the protocol?14:07
jan____Chipaca: more like how the user interacts with the client software and how the client software interacts with the user's system14:08
Chipacajan____: I ask because there is no "underlying design" common to the two free software clients in existence14:08
Chipacajan____: and webdav has no underlying design of the type you describe, so I don't follow :(14:09
jan____sorry14:09
jan____let's start over14:09
Chipacame too :)14:09
Chipacajan____: let me start14:10
jan____I already started!14:10
jan____(just preflight checks, basically) I understand that ubuntuone lets me backup personal files from my ubuntu system. it also syncs contact data and bookmarks, but that I am not interested in, right now.14:11
jan____is that correct?14:11
Chipacaah14:11
Chipacathose are two different beasts: the file sync is one, contact and bookmarks is another14:11
jan____that's what I thought14:11
jan____I'd like to know about the fil sync14:11
Chipacaat some point they might share more infrastructure (that is the Plan, or was), but for now, no14:11
jan____(I work on CouchDB, I think I understand the bookmark sync :)14:11
Chipacajan____: at the lowest level, the protocol is a binary protobuf protocol, described in protocol.proto, which you can find in the source package for ubuntuone.storageprotocol14:11
Chipacajan____: i.e., right now, file sync uses no couchdb at all14:12
jan____Chipaca: right14:12
Chipacajan____: in fact, ubuntuone.storageprotocol is all you theoretically need to write your own client, in your language of choice (as long as it's supported by protobuf)14:13
jan____I'm more interested in higher level things. Like how the protocol works as opposed to the details of its implementation. Are you basically re-inventing (no offence!) rsync?14:14
Chipacano, because rsync has no concept of sharing14:14
Chipacaand,  also, the protocol doesn't require both ends to be fully synchronized14:15
jan____right, how does that work with ubuntuone then?14:15
Chipacathe clients don't implement it (yet!), but you could have a directory partially downloaded14:15
jan____makes sense14:15
Chipaca(i.e. only download files smaller than 1M, or whatever)14:15
jan____sorta like rsync with excludes, but user-friendly :)14:15
Chipaca...more or less14:16
Chipacaalso with the ability to throttle or reorder the transfer of data14:16
Chipacabut that's all done client-side14:16
Chipacacould you give me an example of "how the protocol works"?14:16
jan____right, cool.14:16
jan____hu?14:17
jan____I don't know how the protocol works :)14:17
jan____oh14:17
Chipacaright, but I'm not going to read protocol.proto in english to you :)14:17
Chipacaand there's not much more to it than that14:17
jan____I think I now know all I wanted14:17
jan____or not.14:18
Chipacaah, ok :)14:18
dobeythe "protocol" is just some special messages using Google Protocol Buffers14:18
Chipacayes14:18
Chipacathings like14:18
jan____does the ubuntuclient track changes on on the client's machine or14:18
dobeythe syncdaemon uses inotify to watch for changes to files, yes14:18
jan____are files placed in a special folder that the u1client maintains?14:18
dobeyu1sync works a bit differently14:19
Chipaca"get this file/directory", "create this file/directory", etc14:19
jan____okay, thanks a lot!14:20
Chipacajan____: as dobey mentioned, we use inotify in syncdaemon; u1sync works more like ftp14:20
dobeyfile watching/etc... are really extra details of how one might implement some extra features on the client side though, and really don't have anything to do with ubuntuone itself14:20
Chipacajan____: you could for example write a client that used fuse to do that instead of inotify14:21
jan____right, got it, that's pretty smart design14:21
jan____the memcached approach ("I store stuff") and the smarts are in the clients.14:22
dobeywell no, fuse doesn't do file change notification really. you have to implement the inotify stuff on top of your fuse backend, so that inotify queries to your filesystem work correctly14:22
dobeybeen there, done that, it's not fun :)14:23
Chipacadobey: you're thinking of notifying out from fuse, not getting notifications of file creation from inside fuse :)14:23
Chipacadobey: yes, that was why we dropped fuse, wasn't it14:23
dobeywell yes, but you need to send proper notifications back out, so that eg. nautilus will work correctly14:25
dobeyit might work better if done in C, though. not sure14:25
Chipacaaccording to a friend who did his thesis with fuse, the problem is the synchronous fuse wrappers, not fuse itself14:34
dobeyyou mean the Python bindings? i think there might have also been some issue in the kernel14:37
tcolehi14:39
tcolethe issue was that the kernel interface provides no way for a fuse filesystem to push inotify notifications back out14:39
tcolefull stop14:40
jblount MEETING BEGINS15:00
jblountA "me" will get you in to this, Monday edition of the Ubuntu One Desktop(+) developers standup. DONE/TODO/BLOCKED is the format, and you get bonus points for witty hand off phrases.15:00
dobeymeh15:00
vdsme15:00
teknicome15:01
jblountme15:01
jblountCardinalFang, urbanape ?15:01
urbanapeme15:01
CardinalFangme15:01
jblountdobey: tag15:02
dobey☭ DONE: Chat with Martin, Reviews, Lots of bug triage, #37668715:02
dobey☭ TODO: UI Hacking, Tarmac AMI15:02
dobey☭ BLCK: 1.0a on server side (pending oauth.py upstream 1.0a patch approval)15:02
dobeyvds: ciao15:02
vdsDONE: code review, landed branches to fix some FX production params and finally the snapshot one.15:03
vdsTODO: next branch15:03
vdsteknico: go15:03
teknicoDONE: one week holiday, put the stuff back on the acer notebook because the dell one has been delayed further :-/15:03
teknicoTODO: testing the subscription check when syncing a phone15:03
teknicoBLOCKED: none15:03
tekniconext: jblount15:03
jblountDONE: Lots of review, a little code.15:03
jblountTODO: Move a few bugs to new milestone (w15 ended last Friday btw), try to knock some more of the ui into shape for /files/new/, write some javascript to truncate stuff for the interface because firefox is lame15:03
jblountBLOCKED: Nope.15:03
jblounturbanape: Oh you delightful monkey, what have you been up to?15:03
urbanapeDONE: So long ago, I don't even remember. Instrumenting the hell out of bindwood, with an optional DEBUG flag that we can turn off to keep console messages from overflowing on a release.15:03
urbanapeTODO: Trying to track down the not-fully-fleshed-out bookmarks getting into Couch.15:03
urbanapeBLOCK: None15:03
urbanapeCardinalFang, the comfy CHAIR!15:03
CardinalFangNo!15:03
CardinalFangDONE: Finished, hopefully, Spawning and Gwibber desktopcouch patches.  Proposed for merging.15:03
CardinalFangTODO: Fix Gwibber icon caching bug, necessary for karmic release.15:03
CardinalFangBLOCKED: None15:03
CardinalFangjblount, end?15:03
jblountCardinalFang: cnfrm15:04
jblountMEETING ENDS15:04
jblountThanks everyone, you are the true heroes.15:04
shadeslayerhey,in KDE whats the command to start the ubuntuone-client?15:35
jblountshadeslayer: does ubuntuone-client work?15:36
shadeslayernope15:36
* shadeslayer wonders if theres a Qt client15:37
* jblount hides because he is out of ideas15:37
jblountteknico: ping ^^15:37
teknicojblount, hi :-)15:38
dobeyshadeslayer: we don't have one yet right now. ubuntuone-client-gnome is required15:38
shadeslayerdobey: but how do i run this client in KDE ?15:39
teknicoshadeslayer, jblount, I use "ubuntuone-client-applet"15:39
joshuahoovershadeslayer: i've run the ubuntu one client in kubuntu in the past...haven't tried it recently, but it has worked just fine in the past for me15:39
shadeslayerand why are you guys partial to KDE :)15:39
dobeyshadeslayer: it should be in the menu, and the applet is ubuntuone-client-applet15:39
shadeslayerdobey: cant find it15:40
dobeyshadeslayer: do you have ubuntuone-client-gnome installed?15:40
shadeslayer:o15:40
shadeslayernope15:40
shadeslayerstill doesnt work :P15:41
dobey?15:41
shadeslayerbash: ubuntuone-client-gnome: command not found15:41
shadeslayerdobey: i installed bash: ubuntuone-client-gnome: command not found15:41
dobeyshadeslayer: apt-get install ubuntuone-client-gnome15:41
shadeslayerdobey: i mean i installed the package15:41
shadeslayerits alreadyt there15:42
dobeyshadeslayer: ok...15:42
dobey10:39 < dobey> shadeslayer: it should be in the menu, and the applet is  ubuntuone-client-applet15:42
shadeslayerdobey: found it15:42
dobey:)15:42
shadeslayerw00t15:43
jblountHooray!15:43
* jblount pats dobey on the back15:43
shadeslayerthanks every one :)15:44
shadeslayerhope you can get a qt client out15:44
teknicojblount, ehi, no pat for me? ;-P15:44
jblountteknico: For you too!15:44
dobeypat.fwd(teknico)15:44
* jblount gives the double pat on the back for teknico 15:44
teknicojblount, thanks, that's better ;-)15:45
jblountteknico: I'm right in remembering that your rock KDE on your laptop, yeah?15:45
teknicojblount, right sir, it's been ten years now :-)15:45
dobeyi used kde about 10 years ago15:46
dobeyactually no, i think it might have been longer than that15:46
jblountKDE for me is similar to what happened with emacs15:46
jblountI tried to rock vi for 6 months, then try emacs for 6 months and couldn't do the switch.15:47
* jblount needs more brain-power15:47
teknicojblount, don't get me started about vi ;-P15:48
jdoFor some reason, I no longer have the menu item Applications > Internet > Ubuntu One...and reinstalling does not resolve this issue (Karmic)16:27
dobeyjdo: you missing ubuntuon-client-gnome?16:36
jdodobey, got it16:37
dobeyjdo: it's installed and the menu entry is still missing?16:37
jdoit's fixed16:38
dobeyah ok16:39
statikhello hackers17:35
urbanapehello, mr. video card17:39
dobeyi wish my ibook would power on17:41
dobeybut alas17:41
jblountShould we be keeping a list of archs / distros that the client has been successfully used on?17:49
dobeyprobably not17:52
jblountdobey: Any reason to avoid documenting that?17:53
dobeyat least, i probably wouldn't put it on ubuntuone.com... maybe on the wiki.ubuntu.com/UbuntuOne page, or a sub-page of that17:53
jblountdobey: Yeah, I was thinking of putting it somewhere on the dev.ubuntuone.com site I've been thinking about. Not on the front-facing site. Good thought.17:54
=== ink_away is now known as inkvizitor68sl
dobeyanywhere on ubuntuone.com, i think we should only list things we actually provide packages for17:55
jblountI mostly agree.17:57
BUGabundoboas20:06
=== inkvizitor68sl is now known as ink_away
=== BUGabundo1 is now known as BUGabundo
sdgHi.23:10
sdgIs Ubuntu One free?23:10
jblountsdg: There are many different definitions of this word 'free', which one are you talking about?23:11
sdgjblount: Gratis.23:11
jblountsdg: There is a gratis and a paid subscription available: https://ubuntuone.com/plans23:12
statiksdg: all the client and protocol code is open source, there are some closed server bits23:12
sdgjblount: Yeah, I guess I should read the FAQ.23:12
jblountsdg: I'm happy to answer questions, dinner is taking a long time in the oven :)23:12
sdgjblount: And my Karmic installation is taking some time.23:13
sdgjblount: Would my data be secure with Ubuntu One?23:13
jblountstatik: How secure are we?23:13
statiksdg: all the data is transmitted securely over SSL, there is a high-priority bug open right now about adding additional levels of encryption in the server side to defend customers against anyone who broken into the servers, and for max security you would encrypt the files yourself before putting them into ubuntu one, i've heard that some people are using encfs23:14
sdgWhat is the free storage capacity?23:15
jblountsdg: 2GB23:15
statiki gotta run for now, have fun trying it out23:15
sdgHmmm I'm thinking of how I can use it.23:16
sdgIt's too small for an online music collection.23:16
sdgI wouldn't trust it with a backup of my documents.23:16
jblountsdg: Unless you like really, really, really short songs!23:16
sdgUnless maybe if I encrypt it myself.23:16
sdgjblount: I have lots of FLAC music.23:16
sdgjblount: It'd need to be at least 100GB to serve as an online music collection for me.23:17
jblountsdg: I'm pushing 120GB at this pint, I feel your pain.23:17
sdgjblount: I did have quite a few songs, but Musicbrainz Picard couldn't find a perfect match for everything so it filtered 1/3 of my collection.23:18
sdgBut I'm about to acquire lots more music soon enough.23:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!