/srv/irclogs.ubuntu.com/2011/09/18/#ubuntuone.txt

=== gatox is now known as gatox_vuelvo_en_
=== gatox_vuelvo_en_ is now known as gatox_brb
=== yofel_ is now known as yofel
hrwhi17:53
hrwdoes someone here uses oneconf package on headless machines?17:54
=== gatox_ is now known as gatox
=== m_conley_away is now known as m_conley
=== JanC_ is now known as JanC
=== m_conley is now known as m_conley_away
achianghello, i'm on natty, and right-clicking on folders in $HOME in Nautilus, i don't see the option to add the folder to U1 sync anymore...22:26
achiangany hints?22:27
achiangoh, i no longer seem to have ubuntuone-client-gnome installed22:28
achianglet me try that22:28
dobeyyeah you need that22:29
dobeyare you using nightlies?22:29
achianghm... i think i may have added the nightly PPA at one point, but that was pre-natty, and then i may have forgotten about it after upgrade. let me check sources.list22:30
dobeyapt-cache policy will tell you22:30
achiangah, i was using maverick nightlies, but they are now disabled22:30
achiangis it recommended to be on natty nightlies?22:31
dobeyi'm just wondering how that package got installed22:32
dobeyerr, uninstalled rather22:32
dobeyachiang: i'd say *you* should be running our nightlies, because you work at canonical, and you should use it and file bugs early and often :)22:33
=== achiang is now known as someotherachiang
someotherachianghow about now?22:34
dobeyheh22:34
=== someotherachiang is now known as achiang
dobeyyou need a better cloak than one that is aubergine ;)22:34
achiangheh22:34
dobeyand emacs needs to load this mode.el file already22:35
* achiang fixes up sources.list to grab nightlies22:35
dobeymeh; why does emacs not load this .el ?!22:42
dobeyah, typos22:47
achiangok, new question. let's say i tried to treat U1 as a normal file system. so i a) delete all local files from ~/Music, then b) go to one.u.c and say, "stop syncing this folder" via the GUI22:47
achiangthen, i re-add a bunch of files back into ~/Music22:48
achiangand now i tell nautilus to sync with U1 again22:48
dobeyi don't think you'd like the results, and i don't think that's how you'd treat a normal filesystem22:48
achiangthe question is, if i had, say, 1 million files in ~/Music (i don't, just an example), and then i did all that file manipulation, and now after re-adding the files, i have 1 million + 1 files, now what happens?22:49
dobeyyou wouldn't. if you delete the files, ubuntuone will also delete them22:49
achiangi see22:50
dobeyon the server and on all your other synchronized computers22:50
dobeywhich is actually like a normal filesystem22:50
dobeyif you delete all the files, then they are deleted :)22:50
achiangwhat about all the magic hashing in the background? that's simply to detect the case where files are moved around?22:50
achiangs/in the background/on the server/22:51
dobeywell we need to know what content goes where, and when it changed. you don't want to re-upload data every time you open and close a file (like play an mp3 for example); you only want to do it if the file data is actually different22:51
dobeywhich could happen if your player writes out play count into the file itself22:51
achiangok, makes sense22:52
dobeyand if you have the same file in two folders, you don't want to have to upload it twice. but you also don't necessarily want both to change, if you change one of them22:52
achianggot it22:52
achianglet's say i have a local folder that is synced, and it has 2 files, A and B22:53
achiangi delete B22:53
achiang(locally)22:53
achiangwhat should i expect to happen to my copy in the cloud?22:53
dobeyit will get deleted from every place that file has been synchronized. so the server, and any other computers you have that are synchronizing the folder it's in22:54
achiangok, cool, that is what i expected. :)22:54
dobeyhowever, we don't actually delete files on the computer itself. they will get moved to trash22:55
achiangwell, the bad news for me is that my hypothetical above is actually true... with about 60G of music. :-/22:55
dobeyyou deleted all your music?22:55
achianglet's say i learned a lot of things i don't like about banshee22:56
dobeyheh22:56
dobeywell, but the u1 support guys on the internal channel tomorrow and they might be able to help you22:57
achiangno, i think the problem was with me... although i don't think what i was trying to do was all that unreasonable22:57
achiangif you're curious, i can explain (but i'm not looking for you to fix my problems :)22:57
dobeywhat were you trying to do?22:57
achiangissue 1) U1 won't sync folders outside of $HOME; fine, i can live with that22:58
achiangso, in this world of interop, i have an external drive that i store all my music on. external because i occasionally reboot into windows and use iTunes22:59
achiangbut i also want music in the cloud22:59
achiangso i would rsync music from my external drive to $HOME when in ubuntu22:59
dobeyand you did rsync --delete while it was unmounted?23:00
achiangthe problem is that i made the mistake of allowing banshee to rearrange the folders, both upon import, and also other stuff. i also learned today that it has an option to write metadata back into the file23:00
achiangso the copy on the external drive is fine23:00
achiangbut the copy in $HOME, the stuff that is actually sync'ed with U1 was completely screwed up23:01
dobeyoh, so you didn't actually *lose* any music23:01
achiangno23:01
achiangbut i needed to rearrange it23:01
achiangand i didn't feel like writing code on a sunday to figure out which folders were screwed up23:01
dobeyah23:02
achiangso it was easiest to just delete ~/Music, and then rsync from external -> ~/Music again23:02
dobeybut you can copy the music back over from the external drive, and it will re-upload23:02
achiangright23:02
achiangso not a big deal, but now it's another 60G of data to push23:02
achiangwhich is mildly annoying23:02
achiang(and also 100% a problem of my own making)23:02
dobeywell, you probably don't have to upload all 60G of data23:02
achiangthis was partly because i didn't understand the U1 semantics23:03
dobeyso a good thing i told you to enable nightlies23:03
achiangwhen i tried to un-sync, and re-sync, the dialog that pops up uses the word "merge"23:03
dobeyupgrade to the nightlies version and restart ubuntuone-syncdaemon with u1sdtool -q; u1sdtool -c23:03
achiangas in, "would you like to merge this folder in the cloud with the folder on your machine?"23:03
dobeywell23:04
dobeydid it actually delete stuff from the server?23:04
achiangand that made me think that i would inherit the cloud's screwed up directories along with my good copy23:04
dobeyah, maybe23:04
dobeycheck on the web site to see what's still there23:04
dobeyhrmm, i need to get dinner23:05
achiangso i made sure to delete all the stuff from the server, because i saw my usage, as determined by the U1 web page, go from 230GB -> 180GB23:05
achiangi'm on the nightlies now, btw, and have restarted everything23:05
achiangno worries, i think conceptually i'm good now; it's just a matter of waiting, that's all. :)23:05
dobeyachiang: is the folder on the server still there, but just empty then?23:06
achiangchecking (but i think it's gone)23:06
dobeyachiang: if it's there and empty, 'merge' might just have popped up because the folder already exists on the server, but doesn't on the client23:07
achiangdobey: new empty folder now (but it was definitely gone before)23:07
dobeyachiang: if it's empty, then i think you probably want to click "yes" (or whatever it is) on that merge dialog in the control panel when you enable synchronizing that folder23:07
achiangdobey: maybe i'll bug the U1 guys tomorrow to blog about some U1 semantics, like what you explained to me earlier23:08
dobeyok23:08
dobeycheers23:08
achiangdobey: thanks for the help, go eat dinner. :)23:08
achiangcheers23:08

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