/srv/irclogs.ubuntu.com/2010/09/04/#ubuntuone.txt

=== vds_ is now known as vds
=== jumpa is now known as JUMPA
=== JUMPA is now known as jumpa
=== dendrobates is now known as dendro-afk
=== jumpa is now known as JUMPA
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
seif_hey guys07:22
seif_why cant i see the "ubuntu-one" button in my "me-menu" in 10.1007:22
duanedesignhello seif08:39
duanedesignseif: this is the bug report on that issue. bug 62665908:42
ubot4Launchpad bug 626659 in ubuntuone-client (Ubuntu) (and 2 other projects) "[maverick] Ubuntu One entry is not present in MeMenu (affects: 2) (heat: 12)" [Undecided,New] https://launchpad.net/bugs/62665908:42
=== JUMPA is now known as jumpa
somethingintereshi all, running Lucid is there any icon given to a file to indicate it is publicly shared.. I don't see one10:59
duanedesignhello somethinginteres11:08
somethingintereshi duanedesign11:10
duanedesignsomethinginteres: their is no emblem in nautilus to designate which you have published. Yo11:13
duanedesignYou can look on the website and all public shared items are blue11:13
somethinginteresduanedesign: righto, I wonder if I should wishlist this? Maybe the tick could be blue if its shard11:14
=== jumpa is now known as JUMPA
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
jetienneq. is there an API for ubuntu one ? like if i, or rather my code, wants to store small files for my ubuntu users. is it possible ?13:48
mkarnickijetienne: what do you mean by store files for your ubuntu users?13:49
mkarnickijetienne: each user can have his/her own Ubuntu One account13:50
jetiennemkarnicki: the application would store small amount of data. similar to the bookmark stuff available by default.13:50
mkarnickijetienne: U1 uses ubuntuone-storage-protocol to exchange file data between client and server, if that's what you're asking13:50
mkarnickiaaah13:50
jetiennemkarnicki: is there an public API for this ?13:50
mkarnickijetienne: you can store that in couchDB and it will sync up to the cloud -- that's what you probably want to do13:51
mkarnickithere's no 'api' for this, you can implement stuff using the protocol yourself. however, you may store some data in DekstopCouch database instance13:51
jetiennemkarnicki: and this couchDB is the same as ubuntu one ? aka ubuntu one handle all the username/password for me ?13:51
mkarnickiwhich replicates over to U113:51
kklimondajetienne: something like this: http://blogs.gnome.org/rodrigo/2010/07/06/ubuntu-one-syncdaemon-api/ ?13:51
mkarnickijetienne: if you register a user within Ubuntu One, you get an instance of CouchDB database as well as file storage13:52
jetiennekklimonda: thanks will look13:52
mkarnickibookmarks and other configuration/lightweight data is kept in DesktopCouch13:52
jetiennemkarnicki: excelent this is the info i was looking for13:52
mkarnickijetienne: you're welcome13:53
jetienneand a friend of mine just got hired by couchio.. uber nice13:53
mkarnickijetienne: and locally, you have an instance of DesktopCouch that syncs up with CouchDB on U1 servers on per user basis13:53
mkarnicki:)13:53
mkarnickikklimonda: very cool :)13:54
jetiennedesktopcouch = ? a couchdb running on my local box13:54
mkarnickiyes, that's right13:54
mkarnickiin detail, it's a local couchDB manager I think13:54
jetienneanother question, more by curiosity than anything13:55
jetiennehow do you handle the conflict if one instance of desktopcouch conflict with another ?13:55
kklimondajetienne: there is only once instance of desktopcouch per account and if you mean synchronization between computers then it's probably up to the application itself - desktopcouch is just couchdb underneath13:56
mkarnickijetienne: you could ask that over #couchdb :)13:56
mkarnickikklimonda++13:57
kklimondajetienne: the only thing desktopcouc actually does is making it easier for applications to detect on which port couchdb is running and pass authorization token from Gnome Keyring to couchdb13:57
jetiennekklimonda: oh so it is more about forwarding my data to a remote db, than actually storing them locally. correct ?13:58
jetiennelike if im offline, can i update this desktopcouch ?13:58
jetiennei guess i will have to learn more about couchdb13:59
mkarnickijetienne: you can update it off-line, it will sync when you connect13:59
mkarnickijetienne: it is storing them locally (too)14:00
kklimondajetienne: your personal couchdb is running locally and then syncs with ubuntu one14:00
kklimonda(the syncing part is disabled atm)14:00
jetiennehmm ok14:00
kklimondajetienne: the problem desktopcouch solves is discoverability - for example it provides a dbus interface that applications can query to get the port couchdb is running on (because it's random)14:02
kklimondaand port is random because every user on a given computer has his own couchdb instance14:03
jetiennekklimonda: this port could be written in a file. or be a well known port14:03
jetienneok so no well known port14:03
jetiennelike in ~/.config/ubuntuone/.couchdbport14:03
kklimondajetienne: it coulch be written in a file probably but dbus interface is working just as well. Using DBus is probably also ensuring that couchdb actually runs (but this bit is just my assumption)14:04
jetienneok i will look more at couchdb and ubuntuone dbus binding14:05
jetienneubuntu one seems to use "ubuntu single sign on". Which proto is that ? openid ?14:05
kklimondaOAuth14:05
kklimondajetienne: you can use couchdb-glib and desktopcouch-glib for that - no need to touch dbus yourself :)14:07
jetiennekklimonda: oauth oh nice. and this is public ? i mean can my application be identified by OAuth ? users hate username/password14:09
mkarnickijetienne: yes it is :) ubuntuone-client uses it, you can browse it's python sources to find details :)14:12
jetienneok will do14:13
mkarnickijetienne: that's how i pulled OAuth into my app :)14:14
jetienne:)14:14
jetiennedo you know the cmdline to discover current port of ubuntuone couchdb on my destkop ?14:20
kklimondajetienne: you should be able to get it (and auth token) from ~/.local/share/desktop-couch/couchdb.html14:23
kklimondait actually doesn't work in my case.. ;)14:23
jetiennekklimonda: it worked here :)14:23
kklimondaprobably because it wasn't really running..14:26
kklimondajetienne: you can get the port directly using "dbus-send --session --type=method_call --print-reply --dest=org.desktopcouch.CouchDB  / org.desktopcouch.CouchDB.getPort"14:26
kklimondajetienne: but I don't think there is an easy way (without using Gnome Keyring API) to access auth token required for login14:27
duanedesignalso visiting Futon will reveal the port in the address bar of FF.   ~/.local/share/desktop-couch/couchdb.html14:27
duanedesignoopss14:28
kklimondaduanedesign: should desktopcouch be running all the time? It wasn't on my computer14:28
duanedesignfile:///home/<username>/.local/share/desktop-couch/couchdb.html14:28
jetienne~/.local/share/desktop-couch/couchdb.html <- some grep in there can give username/passwd there is even a special token14:28
kklimondaduanedesign: only after I've actually used dbus-send has it started"14:29
kklimondajetienne: but it's ugly ;)14:29
duanedesignkklimonda: yeah it does not start till some application asks for it14:32
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== yofel_ is now known as yofel
bnixy7how do i add computers on ubuntu one?  I cannot find this option.19:21
duanedesignbnixy7: hello19:29
duanedesignbnixy7: their is a bug affecting some users when adding their computers.19:29
duanedesignbnixy7: fortunately their is an easy workaround19:29
duanedesignsee http://bit.ly/caHbOf19:30
bnixy72 nights19:31
bnixy7whoops, ok, duanedesign, i will try that, i might need some help.19:31
bnixy7duanedesign: I tried that command line and did not work19:32
duanedesignbnixy7: sure19:32
duanedesignbnixy7: are you using maverick?19:32
bnixy7duanedesign: using my terminal19:33
duanedesignbnixy7: which release of Ubuntu are you running? 10.04 Lucid, 10.10 Maveric, or an older one19:34
bnixy7duanedesign, i seem to have figured it out.  i forgot you could copy/paste.  i did get a web browser.19:34
bnixy7duanedesign: I got it to connect.  Thank you for the workaround help.  I was not sure weather to trust that work around or not.19:35
duanedesignyeah a lot of people get the u1sdtool typed in as ulsdtool19:36
duanedesignbnixy7: ok, great19:36
bnixy7I can see where that 1 and l can be mis-understood!19:36
duanedesignmee too :)19:37
duanedesign /1219:37
=== smarter__ is now known as smarter
CkhiKuzadHow do i configure Ubuntu one on my system, it's 10.04/23:09
CkhiKuzadah, nevermind. i found it.23:11

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