/srv/irclogs.ubuntu.com/2009/09/11/#ubuntuone.txt

ubuntuonehey guys11:08
ubuntuoneAnyone is using the web interface to ubuntu one?11:09
ubuntuoneI'm having issues with deleting folders.11:10
ubuntuoneany one?11:14
aquariuser, hello, ubuntuone11:17
aquariusthat's confusing :)11:18
ubuntuonewhat's confusing? :P11:18
aquariusubuntuone, there is, I believe, a known issue with deleting files through the web interface. You can get at the old web interface at https://one.ubuntu.com/files/old11:18
aquariusCardinalFang, you're up early. Or late. :)11:18
ubuntuoneaquarius: can you provide me a link to this issue in the launchpad bug area? I can't find it11:19
ubuntuoneaquarius: thanks for the link of the old web ui11:19
CardinalFangaquarius, 0600.  Early, most def.11:19
aquariusubuntuone, https://bugs.edge.launchpad.net/ubuntuone-servers/+bug/42289011:20
ubottuUbuntu bug 422890 in ubuntuone-servers "delete file on web ui does nothing" [High,Triaged]11:20
ubuntuonethanks!11:20
aquariusyou may want to say that this bug affects you too11:20
aquariusCardinalFang, I was highly relieved that you guys confirmed that design docs don't work under oauth. I thought I was going mad :)11:21
aquariusassuming that that doesn't reveal anything else weird, I believe my dc-records-oauth branch will be ready for merging and review, which is coolness11:21
CardinalFangWell, let's don't be hasty.  You may still be mad.11:22
aquariusat that point, dc.records will seamlessly handle oauth-required couchdb11:22
ubuntuoneaquarius: yes, that's why I asked for the bug link :) thanks aquarius11:22
aquariuswell, yeah, but now I can go back to my normal mad things rather than delusions about couch :)11:22
aquariusCardinalFang, what are you working on today? we are pretty darn close to being ready with DC, once all the outstanding branches get merged11:23
aquariusI'll re-review the branch with the error now I know that it requires your other branch :)11:23
CardinalFangaquarius, Yay, code.  I hope we can get it properly tested today.  Maybe we can get it packaged before too late in the day.11:24
aquariushope so11:24
CardinalFangI am working on:.11:24
aquariusthat gives the gang all of Monday to get it into a package and so on and then we can test it installed11:24
CardinalFang* requiring authentication.  Writing a new INI file somewhere.11:25
aquariusah, cool, I was going to look at that if no-one else was. I'm not sure how to do it in the test environment...11:25
CardinalFang* testing replication11:26
CardinalFang** new code needs to test against edge for its new API call to get db-name prefix11:26
CardinalFang** reconciling unpaired machines.  I'm sure I've written this code, I just don't remember if I've included it yet.11:27
CardinalFang** replication daemon is moved in to the desktopcouch-service.  I hope this is good enough.  Should it be more proactive?11:28
CardinalFang...about starting.11:28
aquariusno. It shouldn't start unless DC itself is started; dc-service does the starting11:29
aquariusquestion: does the replication daemon notice newly added pairings after it's started? or does it only read the paired list on startup?11:29
CardinalFangOkay.  So, there's no case for replicating before another app wants to access desktopcouch records.  Got it.11:31
CardinalFangWeird.11:31
CardinalFang"Okay.  So, there's no case for replicating before another app wants to access desktopcouch records.  Got it."11:31
CardinalFangaquarius, replication-daemon gets fresh information as soon as it can.  The only place it does not is in advertising the port number.  If that changes, it does not notice and destroy the zeroconf adverts and start new ones.  ..yet.11:33
aquariusthe core-dev team were very, very firm about how DC should not be eating any time or memory at all if someone doesn't use it. :)11:33
aquariushence the existence of desktopcouch-service at all11:33
* CardinalFang nods.11:33
aquariusI would imagine that said proclamation applies to the replication daemon too :)11:34
aquariushow does the daemon get fresh info? does it watch _changes?11:34
CardinalFangMakes sense.  I do rather like the dbus service firing it up.11:34
CardinalFangaquarius, on a timer, it iterates through everything occasionally.  It's not pretty.11:35
aquariusoh. OK. We shoudl make it watch _changes on the management DB instead, although that can certainly wait :)11:36
* aquarius teaches his grandmother to suck eggs. ;)11:37
CardinalFangaquarius, It's not doing continuous replication, so I don't think it's worthwhile to watch for new pairings to come and go.  Nearby hosts will come and go hundreds of times more often than pairing a new host.11:38
CardinalFangaquarius, Now, firing up replication when data changes in a data database, that's worthwhile.11:39
aquariusyeah, but if you've never paired anything then the replication daemon should basically be dormant; if it wakes up and polls every so often then it won't be dormant.11:39
aquariusif I could think of a way of doing it I'd have the daemon shut down if you've never paired anything, but then I can't think of a way of firing it up when you*do* pair something except by having a daemon watch _changes. Reductio ad infinitum :)11:40
CardinalFangaquarius, Er, I see.  They've accessed d-c once for something, they have no pairings.  That makes the d-c service program that's running connect to couchdb every 5 minutes and ask for a (empty) list of records.11:41
aquariusindeed.11:41
CardinalFangaquarius, File a bug, if you don't mind.  it's a good idea.11:42
aquariuswhereas if you watch _changes instead, and they never pair anything, the daemon basically waits forever and never does anything.11:42
* aquarius files bug :)11:42
CardinalFangI'm tickled to hear the grandmother saying.  I thought it was a local (to me) regional expression that was becoming rare.11:44
aquariusbug #427792 filed11:44
aquariusit *is* becoming rare, I think. But I have a duty to keep stuff like that alive :)11:45
aquariusI need to use the word "cockamamie" more as well.11:45
CardinalFangaquarius, try  https://code.edge.launchpad.net/~cmiller/desktopcouch/pair-with-oauth  again.13:33
CardinalFangaquarius, I think it's close to good enough.  I have some state problem at the end, and twisted really wants me to shut down the connection another way.13:34
thisfredaquarius: CardinalFang: statik: the eagle^H^H^H^H^Hpatch has landed, I repeat, the patch has landed!13:34
CardinalFangthisfred, rawk.13:35
aquariusthisfred, the fix-the-design-docs-with-oauth patch?13:35
thisfredyep13:35
aquariusI owe you guys beer for confirming that, btw :)13:35
CardinalFangYou owe thisfred two beers.  I did nothing.13:35
thisfredthe problem was that the / gets encoded, and the authentication was checked against the unencoded url, or somesuch13:36
aquariusI am sure he will not look at all smugly at you as he drinks his two beers and you go thirsty then :)13:36
thisfredI'll give CardinalFang the coaster13:36
thisfredto chew on13:36
CardinalFangSo generous.13:36
thisfredI'm not all bad13:36
CardinalFangYou guys see if you can pester statik into a new release today.13:36
thisfredI'll push his guilt button... ;)13:37
CardinalFang08:35.  AFK for 40 min.13:37
aquariusCardinalFang, pair-with-oauth doesn't show existing paired local servers in the already-paired box. Is it supposed to?13:41
aquariuser, you've gone, I'll wait until you get back ;)13:41
aquariusI've lost track of where the code to do that is :)13:41
statikgood morning13:56
thisfredmorning statik, the patch for the problem aquarius discovered yesterday has just landed13:59
statikthisfred, awesome! i'll get that packaged up today, is there an Ubuntu (couchdb) bug for it proposed for karmic? if not, can you make one?14:00
thisfredI will14:00
thisfredaquarius: we didn't yet make a bug for this, correct?14:01
aquariuscorrect, I think14:01
thisfredOk, I'm on it14:01
thisfredstatik: bug #427860, should I assign it to you?14:07
ubottuLaunchpad bug 427860 in couchdb "OAuth access to design documents is broken" [Undecided,New] https://launchpad.net/bugs/42786014:07
thisfredcorrection: I have assigned it to you,reassign where appropriate ;)14:08
CardinalFangaquarius, hi!  I'll look.14:20
=== thekorn_ is now known as thekorn
CardinalFangthisfred, did you remove the desktopcouch magic for making a new couchdb in tests?14:27
thisfredCardinalFang: no, I certainly hope not14:28
* CardinalFang tries harder to find it.14:28
thisfredCardinalFang: desktopcouch/tests/__init__.py14:29
thisfredIt's magic14:30
thisfreda little. As unmagical as I could make it14:30
thisfredtests that want to use it, should import something from that14:30
thisfredCardinalFang: what I have done is import xdg_cache, and then in Setup() assert_(xdg_cache).... Ugly, but less so than telling pylint the unused import is not a problem...14:31
CardinalFangAh!  My tests still  "from desktopcouch.records.tests import get_uri"14:31
thisfredah14:31
CardinalFangSo, now, just import that and it does enough?14:32
thisfredyou shouldn't have to do *anything* special in the tests themselves anymore14:32
thisfredyep14:32
aquariusand I've poked one of my branches to reimport local_files14:44
statikhey dobey, after the standup i have some UI changes to ask for, which will certainly involve requesting to break the freeze14:47
dobeyhrmm14:56
dobeyok14:56
urbanapeargh, stomp stomp stomp14:56
dobeyurbanape: agreed14:57
verterokurbanape: hi!14:57
verterokurbanape: I have a bug that might interest you :) #42762214:58
verterokBug #42762214:58
ubottuLaunchpad bug 427622 in bindwood "uses a HUGE amount of disk space (compared to the numer of bookmarks I have)" [Critical,New] https://launchpad.net/bugs/42762214:58
verterokurbanape: HUGE = 2.6GB :)14:58
urbanapedisk is cheap14:59
verterokurbanape: heh14:59
urbanapebut yeah, that seems a bit silly.14:59
urbanapehow many bookmarks do you have?14:59
verterokurbanape: and the .bookmarks_design/ folder is around 300MB14:59
verterokurbanape: let me check15:00
verterokurbanape: in the FF bookmark ~3415:01
verterokurbanape: fwiw, I have the delicious extension installed15:01
jblountMEETING BEGINS15:02
jblountThe drill, you know it.15:02
jblountme15:02
aquariusme15:02
statikme15:02
teknicome15:02
vdsme15:02
urbanapeme15:03
jblountdobey, CardinalFang ?15:03
jblountDONE: Start conversation with teknico about contacts front end stuff, got tabs up for review (and in line with trunk), got through some move to 2a weirdness15:03
jblountTODO: I seem to still be having some trouble with the move to 2a, need to make a few small changes to tabs branch for jdo and get that landed, review day, a bit of css for teknico15:03
jblountBLOCKED: Nope15:04
jblountaquarius: tag, as it were.15:04
aquarius⚀ DONE: discover bug in couchdb for fetching design docs under oauth; give thanks to thisfred and cardinalfang for chasing it for me (bug #427860)15:04
aquarius⚁ TODO: get dc-records-oauth tested and merged into trunk (bug #415375); fix UnknownLoginError and make it be known (bug #376087); turn on oauth for desktopcouch by default (bug #416413) unless CardinalFang is doing it; test android phone sync15:04
aquarius⚂ BLOCKED: well confused by the big bzr format change thing for ubuntuone15:04
aquarius⚃ BUG COUNT:https://bugs.edge.launchpad.net/~sil/+assignedbugs?field.tag=ubuntuone-karmic - 415:04
aquariusgo go gadget statik15:04
CardinalFangme15:04
ubottuLaunchpad bug 427860 in couchdb "OAuth access to design documents is broken" [Undecided,Confirmed] https://launchpad.net/bugs/42786015:04
statikDONE: bug #402736 and bug #424023, along with some other couchdb fixes. Walked mattgriffin through desktop UI for Ubuntu One and realized what we have now is not acceptable for Karmic launch.15:04
statikDONE: Redo fixes for bug #402736 and bug #424023. The new couchdb snapshot should also fix bug#427860. Talk to dobey and propose some UI changes and figure out the process for requesting a freeze break.15:04
statikBLCK: Nope. https://bugs.edge.launchpad.net/ubuntuone/+bugs?field.tag=ubuntuone-karmic  has a lot of bugs though!15:04
ubottuBug 415375 on http://launchpad.net/bugs/415375 is private15:04
ubottuLaunchpad bug 376087 in ubuntuone-client "UnknownLoginError during request for OAuth token" [High,Triaged] https://launchpad.net/bugs/37608715:04
statikteknico, your turn15:04
ubottuLaunchpad bug 416413 in desktopcouch "Create login details on initial desktopcouch setup" [Undecided,In progress] https://launchpad.net/bugs/41641315:04
ubottuLaunchpad bug 402736 in lazr-js "Buttons seem not hooked up to js in IE8" [Low,Invalid] https://launchpad.net/bugs/40273615:04
teknicoDONE: asked on #rhinos about js widgets for dynamic form handling, talked with jblount and markgsaye about the new contacts web ui (#399664), work on adding and editing contacts (#406315)15:04
teknicoTODO: more work on adding and editing contacts15:04
ubottuLaunchpad bug 424023 in desktopcouch "Crash dump on 'couchdb' invocation" [Medium,In progress] https://launchpad.net/bugs/42402315:04
teknicoBLOCK: none15:04
tekniconext: vds15:04
vdsDONE: still investigated log problems, a lot of code review15:04
vdsTODO: still try to fix log problems, more review15:04
vdsBLOCKED: no15:04
vdsurbanape: your turn15:04
urbanapeDONE: Worked more on bug #404193, bug # 396183, and bug #39618615:05
urbanapeTODO: See about running some of this in batch mode15:05
urbanapeBLOCK: None15:05
urbanapeCardinalFang is next.^C15:05
dobeymeh15:05
ubottuLaunchpad bug 404193 in bindwood "bookmark records only partially added" [High,Triaged] https://launchpad.net/bugs/40419315:05
ubottuLaunchpad bug 396186 in bindwood "Correctly observe Firefox bookmark manipulation events" [Undecided,In progress] https://launchpad.net/bugs/39618615:05
aquariusstatik, excellent, 427860 (the new patch from jasondavies) will be available soon?15:05
CardinalFangDONE: Work on pairing and replication bugs.15:05
CardinalFangTODO: Make pairing and replication work for desktopcouch.  Like, today.15:05
CardinalFangBLOCKED: couchdb package is buggy, but we're getting that fixed.15:05
aquariusCardinalFang, is there anything I can do to help with what you're doing?15:06
CardinalFangaquarius, if you want to take the bug of setting auth to be forced on, that would help.15:06
aquariusCardinalFang, no worries15:06
dobeyla la la15:07
aquariusCardinalFang, wouldn't mind a brief discussion with you and thisfred about how, if you have time15:07
statikdobey's turn?15:07
dobey☺ DONE: Finished #403243 #419365, Fixed #397331 #42096415:07
dobey☹ TODO: Finish complicated rollout, Release 0.95.015:07
dobey〠 BLCK: None.15:07
jblountdobey: Thanks!15:07
statikman i need better icons for my bullet items15:07
jblountMEETING ENDS15:07
dobeyheh15:07
aquariusurbanape, did you see verterok's bug about his bindwood DB being 3GB? :)15:07
CardinalFangRawk.15:08
statikaquarius, can I call you real quick about the bzr 2a stuff? dobey, can i call you a bit later about these depressing UI changes?15:08
dobeythe postal face character is kind of big15:08
aquariusstatik, yes, absolutely15:08
thisfredaquarius: I don't want to sound slutty, but I'm available15:08
dobeysure15:08
statikCardinalFang, yes, you will have a new couchdb package today that has whatever is in 0.10.x svn15:08
dobeyassuming 'later' is 'when i'm actually awake'15:08
thisfredaquarius:  although: we have a skype thing in 7 mins right?15:08
aquariusthisfred, s'pose we do, yeah15:08
aquariusCardinalFang's not in that though15:09
urbanapeaquarius, yes, were you not here in in channel when we were talking about it?15:10
urbanapeseems kinda crazy.15:10
CardinalFangaquarius, I think it's just a matter of making a new file and  updating setup.py to install it, yes?15:10
urbanapefor ~34 bookmarks.15:10
urbanapeverterok, are you making modifications to your bookmarks? Like, a lot?15:11
verterokurbanape: no, *but* I have the delicious extension (I don't know what that thing is doing :) )15:12
urbanapeI wonder if it creates local copies of your delicious bookmarks.15:12
thisfredI think it does15:13
thisfredstill. 3GB15:13
verterokurbanape: I don'y see the delicious bookmarks in the FF bookmarks15:13
verterok*don't15:13
urbanapeare they in the bookmarks menu?15:13
aquariusCardinalFang, not quite, because we need the tests to pick it up too15:13
verterokurbanape: no15:14
aquariusCardinalFang, thisfred, and that's the bit where I'm not sure of the best way to do it.15:14
verterokurbanape: I moved the bindwood couchdb to a bigger partition, let me know if I can help getting some info from it15:14
urbanapek, I'm installing it locally and I'll see if it pumps mine up.15:14
aquariusCardinalFang, thisfred, we could obviously have the code which constructs the couch exec line be different if you're running the tests, but I really don't like having tested code not be live code :(15:14
verterokurbanape: I installed it ~ 1 week ago (maybe 2)15:15
urbanapeverterok, do you see more than your 34 bookmarks in your local couch db web view?15:15
verterokurbanape: how do I view my local couchdb view? :)15:15
thisfredaquarius: me either but it's not always avoidable15:16
thisfredand if it's the same file, the location doesn't matter that much right?15:16
CardinalFangaquarius, We can make the INI creator write the same details.  Write INI to a temp file.  Concat them both to make the user's config file.15:16
CardinalFangI have no better idea.15:17
aquariusCardinalFang, but then that code will get run even if you're *not* running the tests15:17
CardinalFangYes?  We always want auth on.15:17
urbanapeverterok, if there's nothing personal in it, would be you willing to send your bookmarks.couch to me?15:17
aquariusverterok, xdg-open $HOME/.local/share/desktop-couch/couchdb.html15:17
urbanapeI haven't (yet) seen anything bloating from installing the delicious extension15:18
verterokurbanape: np, only my bookmarks?  but it's 2.6GB :)15:18
verterokaquarius: thanks15:18
aquariusI bet it'll gzip fantastically though ;)15:18
verterokaquarius: I'll try :)15:18
teknicoaquarius, it's still going to be 30MB at least :-)15:20
aquariusmm, true enough :)15:20
urbanapeput it in UbuntuOne and share it with me15:20
aquariusha!15:20
verterokjej15:20
urbanapeI hear it's good for that kind of thing15:20
verterokaquarius: looks like my local couchdb isn't running15:21
aquariusverterok, dbus-send --session --dest=org.desktopcouch.CouchDB --print-reply --type=method_call / org.desktopcouch.CouchDB.getPort15:21
aquariusalthough bindwood should have started it up for you, weirdly15:22
verterokaquarius: I uninstalled bindwood :/15:22
aquariussensible :)15:22
verterokaquarius, urbanape: ok, I'm looking my local couchdb bookmarks view15:23
verterok532 rows15:23
urbanapeso, the display view will filter the contents to only show those with valid URIs15:23
urbanapewow15:23
urbanapeand I'm willing to bet each of those has a couple revisions?15:23
verterokurbanape: the info the main view: size=2.6Gb, num of docs=532, update seq=6153015:24
urbanapeyeah, 61530 revisions15:25
urbanapewowzers.15:26
urbanapeaquarius, do we want to hold onto all revisions?15:26
urbanapeis there a pack gesture you can make for Couch?15:26
aquariusyes (couch cleans them up). We do not want to create extra revisions when we don't need to though :)15:26
CardinalFangErh, how many revisions are exactly the same?15:26
urbanapeaquarius, yeah, I'm trying to suss out using batch operations for our bookmark manipulations.15:27
verterokurbanape: I have a lot of docs for "toolbarFolder" that are deleted15:27
urbanapeto also keep down on the amount of round-tripping.15:27
aquariusbatch ops won't help -- it sounds like we're overwriting a doc with the very same identical doc if it hasn't changed :)15:28
urbanapebut it's a no op when we push bookmarks when the bookmark already exists15:28
aquariusdo we actually make it a no-op? or are we expecting couch to do so? because it sounds like it doesn't15:28
aquariusverterok, try going to http://localhost:(couchport)/bookmarks/_compact ?15:29
verterokok15:29
urbanapewe only save the doc to couch if it doesn't exist already.15:29
urbanapewe do a query on its local uuid.15:30
urbanapeif it's found we skip.15:30
urbanapedid you make a copy first?15:30
aquariusurbanape, I suspect that that's what we *think* we do :)15:30
verterokaquarius: {"error":"method_not_allowed","reason":"Only POST allowed"}15:30
urbanapewell, if you view the bookmarks database itself, there's a link for Compact Database...15:31
verterokaquarius: I have a "Compact Database.." link in _utils/database.html?bookmarks15:31
verterokurbanape: exactly :)15:31
verterokooh, taht's better, 0.6MB!15:31
aquariusrawk15:32
verterok*that's15:32
urbanapebut did you make a copy first?15:32
urbanapeI wouldn't mind dissecting it a bit15:32
verterokurbanape: errr... no :/15:32
urbanapehrm.15:32
aquariusverterok, right, file a bug which says: desktopcouch should add a cron job to compact its databases. :)15:32
verterokurbanape: I can install bindwood again :)15:32
urbanapeheh15:32
urbanapewhat aquarius said, though.15:32
verterokurbanape: I'll install it an let you know when it grows again15:33
verterokaquarius: instead of compacting, shouldn't this be avoided or at least minimize the noop changes?  (my contacts db is ~1MB)15:34
aquariusverterok, yes. :)15:34
aquariusbut we should compact too15:34
verterokok15:35
urbanapeso, part of it is we should be doing these records creations in a batch, otherwise we get a separate revision for bookmark creation and every subsequent property change.15:35
urbanapeand I'll double check the no-op15:35
urbanapebatch ops will help at least in that regard. One record for a newly created bookmark.15:36
aquariusmm, true15:37
verterokaquarius: filed Bug #42790515:39
ubottuLaunchpad bug 427905 in desktopcouch "desktopcouch should add a cron job to compact its databases" [Undecided,New] https://launchpad.net/bugs/42790515:39
verterokthanks guys!15:39
aquariusglad someone noticed that. pitti would have had us executed ;)15:39
CardinalFangaquarius,  https://bugs.edge.launchpad.net/desktopcouch/+bug/404087  What's left to do?15:40
ubottuLaunchpad bug 404087 in desktopcouch "Add pairing of desktop Couches to desktopcouch-tools" [Medium,In progress]15:40
aquariusCardinalFang, I think, once everything's landed, nothing?15:40
CardinalFangaquarius, you assigned it to me, and I have no idea.15:41
aquariusok, CardinalFang, thisfred, what code are we still *writing* as opposed to code that's written and not merged?15:41
aquariusI need to do the ini file turn-on-oauth stuff15:41
aquariusI think maybe we should concentrate on getting everything outstanding merged?15:41
CardinalFangaquarius, thisfred, I'm using "Fix Committed" to mean committed to trunk.15:42
thisfredright15:42
aquariusthat's useful15:42
CardinalFanghttp://bit.ly/rZRVe15:43
thisfredaquarius: so you're going to do that for server an desktopcouch both, or just dc?15:43
aquariusthisfred, just DC, because I'll be putting files in /etc and so on15:44
thisfredI'm doing the server side only, but we should coordinate,  obviously15:44
aquariusI am assuming that the server will have differences in the ini files15:44
thisfredaquarius: yeah, so that was what I meant on the call: I'm working on having the cloud end authenticated only and adding an admin user there15:44
aquarius*nod* gotcha15:44
CardinalFangSo, Bug #397663 and Bug #404087  -- I'm on it.  There's the bug of paired not showing up in the list.  Once that's fixed in trunk, I'll mark both  Fix Committed .15:45
ubottuLaunchpad bug 397663 in desktopcouch "make pairing program update couchdb" [High,Triaged] https://launchpad.net/bugs/39766315:45
ubottuLaunchpad bug 404087 in desktopcouch "Add pairing of desktop Couches to desktopcouch-tools" [Medium,In progress] https://launchpad.net/bugs/40408715:45
thisfredok, ubuntu insist that I reboot after upgrade, back in a sec15:46
aquariuskenvandine, ping15:49
aquariusCardinalFang, are you knowledgeable about the desktopcouch deb packages?15:49
urbanapeaquarius, is our desktop couch actually replicating out to the cloud yet?15:52
aquariusurbanape, not yet15:52
urbanapeverterok, did you manually set up replication with another instance?15:52
verterokurbanape: no, I not even touched anything related to  desktopcouch, just installed it and bindwood15:53
urbanapek15:53
CardinalFangaquarius, yes.15:55
kenvandineaquarius, pong15:55
CardinalFangaquarius, that is to say, I know .deb, and I'm responsible for the packaging.  I don't know if I'm actually knowledgeable yet.15:56
urbanapeverterok, you said some of those bookmarks represent bookmarks that you'd deleted previously?15:56
urbanapeI think I see a spot ripe for that kind of churn in the code.15:56
verterokurbanape: no, not me. looking at the document attributes they are deleted15:56
aquariusCardinalFang, kenvandine: couple of questions for you on packaging, then. If I want to add a new file which will end up as /etc/desktopcouch/auth.ini when installed, where should I put it in our source tree? Which changes shoudl I make to the packaging branch to include it? Should it live in /etc/desktopcouch, or somewhere else when installed?15:56
urbanapewell, they only get marked deleted if you delete them locally15:57
verterokurbanape: and also a lot of duplicates15:57
kenvandineaquarius, you need to put it anywhere and make sure setup.py knows how to install it15:57
urbanapeduplicates are interesting. That would suggest that the uuids are getting ignored/not found/skewed15:57
CardinalFangaquarius, yes, /etc/desktopcouch/15:57
kenvandinenow that we have reverted to the old school distutils :)15:57
aquariuskenvandine, right, so you don't care where it is in the source tree, I just pick somewhere and then tell setup.py about it? winner. :)15:58
kenvandineyes15:58
kenvandine:)15:58
CardinalFangaquarius, Everything is driven by setup.py, as kenvandin- said.15:58
verterokurbanape: I have "{    "Firefox": {;        "uuid": "{4f428ff6-2a16-4a92-aae5-94723135c896}",;        "list": "toolbarFolder";    }" more than once15:58
aquariusand I should be using /etc/desktopcouch rather than /etc/default/desktopcouch or /etc/xdg/desktopcouch or similar?15:58
verterokurbanape: all deleted=true15:58
CardinalFangnot /etc/default!15:59
aquariussee, this is why I'm asking ;)15:59
CardinalFangaquarius,  /etc/desktopcouch/default.ini  is best,15:59
aquarius/etc/xdg/desktopcouch would be interesting, actually. We could have it load all ini files in XDG folders for desktopcouch.15:59
verterokurbanape: I can send you the compacted DB if it helps you to debug this15:59
aquariusand then the tests would just add an extra folder from the source tree to the xdg folders16:00
CardinalFangaquarius, I don't know enough about the philosopy of XDG to answer about it.16:00
aquariusthat's the way I'm going to do it, I think, unless someone has a big reason for me to not do it that way?16:00
CardinalFangaquarius, I know  /etc/desktopcouch/  is right.16:00
CardinalFangThere may be something else that is just as right, but I do not know about it.16:02
aquarius*nod*16:03
aquariusI think the xdg folders are a good idea16:03
aquariusthisfred, where you check for a couch version and then do different chaining flag things depending on what the version is...why?16:09
thisfredaquarius: we no longer need that, actually: this was for when we had different versions on the server and in the developer deps16:09
thisfredthe -C was for 0.916:10
thisfredlet's kill it16:10
aquariusok, I'll kill it in my branch16:12
urbanapekenvandine, you got a sec?16:13
kenvandinesure16:13
urbanapeso, you were one who reported early on about the not-quite-all-the-way-there bookmark records.16:14
urbanapehow do you normally make bookmarks?16:14
urbanapebookmark this page?16:14
kenvandineyes16:14
urbanapeor create a new, blank bookmark16:14
urbanapeokay16:14
kenvandinei did both i think16:14
urbanapeyeah, that's why. I see it now.16:14
kenvandinewoot16:14
kenvandineok16:14
kenvandine:)16:14
urbanapeso, Firefox does different things for the different ways you can create a bookmark.16:14
urbanapeI kinda want to throw it off the room.16:14
urbanaperoof.16:14
urbanapeokay, I think I've sussed out the extent to which need belt, suspenders, and maybe some double-sided tape. And maybe staples.16:15
kenvandine:)16:16
kenvandinecool16:16
verterokurbanape: oh, I forgot to mention thet I use two profiles in FF16:41
* aquarius pushes lp:~sil/desktopcouch/load-many-ini-files for review :)16:51
urbanapeverterok, how many bookmarks in each profile? Or was the 34 total for the two?16:53
urbanapeaquarius, do we anticipate making schemas for things like folders and separators?16:54
urbanapethey seem common enough motifs for bookmark management16:54
verterokurbanape: don't know, let me check16:54
urbanapeGuess I can come up with faky record types in the mean while.16:54
aquariusevery record needs a record type; every record type should have a schema. So, yes, if separators get stored in the DB16:54
urbanapeIf we're going to preserve the real structure of bookmarks, we'll need to account for them, yes.16:55
aquariusare they firefox-specific?16:56
aquariusfolders may not be -- separators might be, though.16:56
urbanapeConceptually? I don't think so.16:57
urbanapedunno, though. Safari support separators of some sort16:57
urbanapeI'm sure Opera does16:57
aquariusi.e., should there be a separator document, or should some bookmarks have an application_annotations.Bindwood.separator_after_me = true ?16:57
urbanapeI'd say former16:57
aquariuskk, sounds good16:57
urbanapesince it has its own index (at least as far as Firefox is concerned)16:57
aquariusevery time I think "create a new record type" I am trying to teach myself to think "is this something that other people will use" just so I don't forget :)16:58
aquariuskenvandine, CardinalFang, I'd appreciate a review from one of you two on lp:~sil/desktopcouch/load-many-ini-files to confirm that I've done the setup.py stuff correctly, because I don't know how to test that16:59
verterokurbanape: default bookmarks, plus the ones that bindwood synchronized :)16:59
urbanapeyeah, because it doesn't know (yet) about multiple profiles16:59
urbanapebut I wonder if that accounts for some of the duplicates.17:00
verterokpossibly17:02
CardinalFangaquarius, revno 60 doesn't do what it says on the tin.17:12
CardinalFangaquarius, I mean, 59.17:12
CardinalFangaquarius, Ah!  Nevermind.  I found it.17:12
aquariusCardinalFang, it does, doesn't it? what does it do then?17:12
CardinalFangaquarius, I'd be happier if the setup saver-of-XDG-files found the location the same way as the loader of files does.17:14
aquariusCardinalFang, not sure I understood that17:14
CardinalFangaquarius, How do you know that  xdg.BaseDirectory.load_config_paths()  loads from /etc/xdg/... ?17:14
aquariusbecause that's defined by Ubuntu17:15
CardinalFangIs there no way to use  xdg.BaseDirectory  in setup.py?17:15
aquariusthere is, but that doesn't help.17:15
aquariusbecause it will tell you what xdg_config_paths is set to on the build machine, not the installation machine17:16
aquariusdeb packages don't have a good way, as far as I know, of saying "install this file in the system xdg folder, even if the lunatic who runs this computer has changed where the system xdg folder is"17:16
aquariusbecause you are Not Supposed To Change It17:17
aquariusin the same way, you can rename /etc to /Settings if you're a nutter, but it'll break deb installation :)17:17
CardinalFangsetup.py is bigger than Ubuntu.17:17
aquariushang on, just so I understand this -- setup.py gets run at build time, yes? not installation time?17:18
dobeysetup.py is run to do builds and installs17:18
aquariusor ar eyou thinking that people will grab the package and use setup.py to install it on random platforms?17:18
aquariusdoes XDG even exist on other platforms?17:18
dobeynot really17:19
dobeyi mean, using XDG on other platforms is doable17:19
aquariusI mean, yeah, it's XD, for cross-desktop, but it ain't X enough to work on Windows, I don't think17:19
dobeybut doesn't necessarily make sense17:19
dobeyit'll work on windows17:19
dobeywell, it'll work on cygwin17:19
dobeyi don't know about windows without cygwin17:19
aquariusI'm happy to change setup.py to dynamically pick up the system XDG folder rather than hardcode it, if people think it's a good idea.17:20
urbanapeaquarius, I don't think we need (just yet) specs for folder and separator.17:20
dobeybut why would you need it during setup.py anyway?17:20
urbanapeI'm happy coming up with generic records for that. If it comes up, we can migrate later on, yeah?17:20
dobeyaquarius: hrmm, i think the spec is broken17:21
dobey(xdg basedir spec)17:21
dobeywhat a mess17:22
aquariusdobey, CardinalFang's issue is: at the moment, setup.py hardcodes the system XDG folder (/etc/xdg/desktop-couch) rather than working it out, which will break if you use setup.py on another platform which defines the XDG base folder to be something else17:22
dobeyaquarius: no. the spec is broken17:22
dobeyaquarius: (and distutils/setuptools not providing a way to do sysconfdir is also broken)17:23
aquariusI think: that's just the same with all our other setup.py stuff, which merrily hardcodes /usr/share/dbus-1/services and so on, and so it is not worth changing17:23
aquariusdobey, sysconfdir would be /etc17:23
CardinalFangaquarius, my complaint is that you're using two different ways of referring to a file.17:23
dobeywell /usr/share isn't hardcoded. distutils/setuptools supports using a different prefix for that17:23
aquariusCardinalFang, so your proposed solution is, instead of hardcoding '/etc/xdg/desktop-couch/' in setup.py, use xdg.BaseDirectory.load_config_paths{"desktop-couch")[-1] ?17:24
Claudinuxsomeone can help me? ubuntuone-client don't connect to my account17:24
dobeyaquarius: anyone who breaks their system by saying XDG_CONFIG_DIRS doesn't include /etc/xdg deserves what they get... which is a broken system17:24
aquariusdobey, ah, people on Windows, for example, won't include /etc/xdg.17:24
CardinalFangaquarius,  zdg.BaseDirectory.save_config_path()  is what you want.  It's the sister of the load_config_paths() that you're using.17:24
dobeyClaudinux: what version of the package?17:24
dobeyaquarius: people on windows, for example, don't use XDG :)17:25
aquariusCardinalFang, nope. save_config_path is for finding a user-writable folder to put config in.17:25
dobeyaquarius: XDG spec is broken on windows anyway, because it requires : be the path spearator17:25
dobeyaquarius: which doesn't work when your paths include :17:25
dobeyaquarius: setup.py should install to /etc/xdg/whatever17:26
aquariusCardinalFang, It finds one, and only one, path, i.e., $HOME/.config/programname (or on my machine $HOME/Applications/Settings/programname), and creates it if it doesn't exist. It's not for finding all the config folders on your machine; that's exactly what load_config_paths is for17:26
Claudinux0.94.0 on karmic alpha 5 dobey17:26
aquariusand what I want to do is iterate through all the config paths17:27
CardinalFangaquarius, Alright, you win.17:27
dobeyaquarius, CardinalFang: you are never going to find where to put the file during install, by parsing an env var that is a list.17:27
aquariusI admit that setup.py hardcodes /etc/xdg/desktop-couch and *assumes* that later on load_config_paths will find that path, but that's an invariant on Ubuntu. Off ubuntu it might be a problem, though. I'll add a comment.17:27
dobeyaquarius: it's a problem because the spec is broken.17:28
dobey(as is setuptools/distutils)17:28
aquariushow is it broken?17:28
dobeyClaudinux: the firefox window never pops up?17:29
dobeyaquarius: because the spec says to only use /etc/xdg when the env var is not set17:29
aquariusdobey, what should it say?17:29
dobeyaquarius: when what it should say, is that /etc/xdg is ALWAYS THE LAST PLACE TO LOOK17:29
dobey(it should do similar for XDG_DATA_DIRS as well)17:29
Claudinuxdobey i can use ubuntuone with web interface without problems17:30
dobeyClaudinux: yes. but when you click on the ubuntu one icon, you never get the "authorize my computer" window in your browser?17:30
Claudinuxno dobey it don't work, don't do nothing17:31
dobeyClaudinux: does "grep 301 ~/.cache/ubuntuone/log/oauth-login.log" give you a bunch of output?17:32
dobeyClaudinux: i suspect so17:32
dobeyClaudinux: this is a known issue, due to our moving the domain to one.ubuntu.com from ubuntuone.com, and is fixed in the beta builds already, and will be fixed in 0.95.0 when it is uploaded for karmic later today, after we deploy a new server17:33
Claudinuxdobey, http://pastebin.ubuntu.com/269263/17:35
dobeyClaudinux: as i suspected :)17:35
dobeyClaudinux: you can either install the update from the beta PPA by adding it to your sources, or you can wait for the 0.95.0 release/update to show up in karmic sometime within the next 24 hours or so17:37
dobeyok, must go get lunch myself17:37
dobeybbiab17:37
Claudinuxthanks dobey17:37
CardinalFangaquarius, Okay:  my review:  remove those "chain =" lines at the top of couch_chain_ini  .  sort the output of os.listdir() and add a space after the comma.  Use  ini_files.extend() instead of adding.17:38
Claudinuxi think i wait the release/update dobey :)17:38
aquariusI didn't sort the output of os.listdir because I'm not sure that loading files in alphabetical order is a worthwhile thing to do. YOu think it is?17:39
aquariusalso, isn't somelist += [other, list] just the same as somelist.extend([other, list]) under the covers?17:39
CardinalFangWell, order seems to matter, yes?   I can't imagine random is good.17:40
aquariusyeah, I just couldn't think of a good order :) but you're right17:41
aquariuspushed17:42
CardinalFangaquarius, as for l.extend()  I do not know the internals.17:42
aquariusI changed it, anyway; I'm not wedded to += :)17:43
CardinalFangaquarius, do you have a problem with me combining those two views in finding the paired servers?17:46
aquariusCardinalFang, oh, byserver and byservicename? Not if you think it'll be less confusing. How are you planning to do it?17:47
leftyfbI have installed ubuntuone on karmic ... it never asked to add a computer. How do I do that after the fact?17:48
leftyfband it keeps saying it crashed17:48
leftyfbalthough it's still running17:48
CardinalFangleftyfb, there are two programs.  Are both still running?17:48
leftyfbleftyfb   3431     1  1 12:46 ?        00:00:01 /usr/bin/python /usr/bin/ubuntuone-client-applet17:48
leftyfbleftyfb   3433     1  1 12:46 ?        00:00:01 /usr/bin/python /usr/lib/ubuntuone-client/ubuntuone-syncdaemon17:48
CardinalFangYep.17:49
leftyfbwell, this time when it crashed I picked to restart it17:49
leftyfbno crash again so far17:49
leftyfbbut I still can't add my computer17:49
leftyfbshouldn't this option be in the preferences or menu?17:49
verterokleftyfb: what version do you have installed?17:50
leftyfb 0.94.0-0ubuntu117:51
verterokleftyfb: this is a known issue, due to our moving the domain to one.ubuntu.com from ubuntuone.com, and is fixed in the beta builds already,  and will be fixed in 0.95.0 when it is uploaded for karmic later today, after we deploy a new serve17:52
verterok*server17:52
verterokas dobey said ^17:52
verterokleftyfb: he also pointed: "you can either install the update from the beta PPA by adding it to your sources, or you can wait for the 0.95.0 release/update to  show up in karmic sometime within the next 24 hours or s17:52
leftyfbI just got here, missed anything dobey said17:53
leftyfbok, i'll try the ppa17:53
verterokleftyfb: that's why I'm copying it :)17:53
aquariusCardinalFang, are you fixing the problem where already-paired local servers don't show in the already-paired box inside the existing pair-with-oauth branch, or in a new branch?18:09
aquariusCardinalFang, if you're doing it in a new branch, then I'll approve pair-with-oauth -- I don't want to leave it as need fixing and then leave, meaning that you can't merge it18:09
CardinalFangaquarius, I am just testing it now.  Give me 3 minutes, please, and then pull pair-with-oauth18:15
aquariusCardinalFang, no worries, I shall wait :)18:15
CardinalFangaquarius, pushed18:20
aquariushrm, still isn't showing paired servers in the bottom pane :(18:21
aquariusI'll wait a little in case the push hadn't taken effect18:22
thisfredaquarius: we need to make some changes to desktopcouch: once again it will break the server if deployed as is,18:23
aquariusthisfred, kk18:23
thisfredaquarius: the OAuthCapableServer uses local_files18:23
thisfredI think18:23
aquariusthisfred, it does, to find the oauth tokens18:24
thisfredaquarius: right, that will not work on the server, I think18:24
thisfredso we maybe need to initialize that with an oauth_get function18:24
thisfredor make a different OAuthCapableServer, and make that class configurable in CouchDatabase18:25
aquariusthisfred, that code will be totally different on the server, though?18:25
thisfrednot sure18:25
thisfredaquarius: o wait we subclass couchdatabase anyway18:25
aquariusCardinalFang, aha, it works now. Why does it show the zeroconf ID in the pane? Users don't have to care about that, do they?18:25
aquariusthisfred, we do indeed18:26
thisfredWe do not call the super __init__ so we can do it there18:26
thisfrednever mind me18:26
thisfred:)18:26
thisfredeh no18:26
thisfredwe do call super18:26
CardinalFangaquarius, no, I just have nothing else to show.  Want just a hostname?18:27
aquariusCardinalFang, I think so, yeah. User-visible stuff should only be things that are relevant to users18:27
aquariusI wonder about even removing the .local off the end?18:27
aquariusso it's just the computer name18:27
aquariusthisfred, we need to call super, otherwise it ain't a couchdatabase ;)18:28
urbanapeaquarius, I know you've got your hair on fire with stuff but fixing Bindwood is raising questions about some of our assumptions. If you get a spare minute later today before you sign off, I'd like to bend your ear a bit.18:28
thisfredaquarius: yeah, so we need to modify couchdatabase's ini to take a server class18:28
thisfredI think that18:28
thisfreds the easiest18:28
aquariusurbanape, go for it.18:28
* thisfred makes trivial branch18:29
thisfredand once again I was tricked into doing dc stuff18:30
urbanapeaquarius, so, two things off the bat: Should we promote uuid to a top-level bookmark attribute? Seems like any consumer/producer is going to want/need to uniquely resolve bookmark records.18:33
aquariusurbanape, is uuid generated by bindwood? top-level attributes need to be shared by Bindwood and some Bindwood-equivalent that some other dude writes for Chrome, for example18:34
urbanapeyes, but the uuid standard is, well, pretty standard.18:34
urbanapesaying "Each bookmark will have a unique id. If your system does not provide one with the granularity of uuid, we suggest you create one to use as a foreign key."18:35
thisfredok, that was easy. You might want to merge this into your branch, aquarius: https://code.launchpad.net/~thisfred/desktopcouch/configurable-server-class/+merge/11615 and fix the inevitable conflict18:35
thisfredalso CardinalFang trunk is broken, correct? with that get_uri import?18:35
urbanapebut in answer to your question, yes, Bindwood establishes the uuid for bookmarks, albeit with Firefox's uuid service.18:35
kenvandineaquarius, setup.py looks fine18:35
aquariusurbanape, it needs to be clear that you must not use an ID which is generated by the browser itself, is the thing18:36
kenvandinebut i think you need to add the ini file to MANIFEST.in18:36
kenvandineaquarius, yeah... you do18:36
urbanapeyeah, I agree. Unless the browser does The Right Thing and actually internally identifies things that way, and won't reuse ids between profiles/instances.18:36
urbanapeaquarius, it's probably not a big deal, but I did think it was worth chatting about.18:37
aquariusurbanape, more that if you assume that the unique ID is your browser internal ID, you'll be screwed if you try in BindChrome to load a bookmark that was saved by Bindwood, becaus eit'll already have a unique ID set and you don't get to change it18:37
aquariusthis is why I think that IDs should be browser-specific18:38
aquariusrather than a top-level attribute18:38
aquariusso each browser can attach its own ID to a given bookmark18:38
urbanapefair enough18:38
urbanapethe other question that's arisen is about preserving hierarchy and ordering.18:38
urbanapethe somewhat braindead (although beneficial (more on which later)) behavior of Firefox when you move a bookmark is to generate a notification only for the bookmark being moved. However, all other bookmarks that were between, before, or after the bookmark in question also get their indexes updated.18:39
aquariuskenvandine, I've put the file in the source tree as etc/xdg/desktop-couch/compulsory-auth.ini. Do I add it to MANIFEST.in as "include etc/xdg/desktop-couch/compulsory-auth.ini", or "include etc/*"?18:40
urbanapeso, what I wondered about was treating all bookmarks as leaf-level objects in Couch, but also persisting a manifest reflecting the hierarchy.18:40
kenvandine"include etc/xdg/desktop-couch/compulsory-auth.ini"18:40
kenvandineaquarius, ^^18:40
aquariuscheers, kenneth :) pushed.18:41
thisfredaquarius: what branch of dc should I use to ensure that I'm not writing code that will break?18:42
urbanapeamong the downsides in that case (redundancy, more traffic of larger document payloads) is where in Couch would we store it? As a top level document, like the view? Even though it's also only pertinent to each browser.18:42
CardinalFangthisfred, I have it fixed here.  I'll be merging soon.18:42
aquariusthisfred, erm. This is a question I am not totally sure about myself18:42
thisfredI was afraid of that :)18:42
urbanapeunless we also want to preserve ordering and hierarchy between browsers as well (assuming they support folders and separators)18:42
aquariusurbanape, maybe store as a tree? so each folder maintains an ordered MergeableList of its children?18:43
dobeyhrmm18:45
aquariusthisfred, best place to work from is whatever CardinalFang's most recently touched, in my opinion. :)18:45
CardinalFang(Not generally, natch!)18:45
thisfredaquarius: ok, well, let's agree that CouchDatabase.__init__ has a new default argument server_class, with default value the Server (OauthCapable on your branch, regular on trunk) of your choice18:47
CardinalFangaquarius, I pushed new revision.18:47
urbanapeaquarius, yeah, I'd represent it as just a JSON object tree18:48
CardinalFangaquarius, Now, I'm storing the time we paired with the other end, and display it.18:48
aquariusthisfred, clever18:48
aquariusCardinalFang, clever18:48
urbanapemaybe a top-level "meta" document that had its own application_annotations object?18:48
aquariusyou're both clever :)18:48
aquariusurbanape, hrm18:48
aquariusurbanape, I'm not sure I like the idea of storing the structure separately from the bookmark records18:49
CardinalFangaquarius, does your machine show itself in the listening-host list?18:49
aquariusbecause then if you delete a bookmark you have to poke two documents18:49
CardinalFangMine does, and I don't yet know why.18:49
aquariusCardinalFang, yes. (because I changed it to allow local.)18:49
leftyfbdoes ubuntu one just go out on port 80?18:50
urbanapeyes, but if you delete a bookmark, you'd also need to update the index property of every other bookmark that came after it18:50
aquariusCardinalFang, dbus_io.discover_services(add_service_to_list, remove_service_from_list, show_local=True)18:50
urbanape2 is better than N18:50
CardinalFangAh.18:50
aquariusCardinalFang, in desktopcouch-pair. Change it to show_local=False, once we're happy :)18:50
CardinalFangaquarius, Rgr.18:50
aquariusurbanape, ah, that's what I mean, you don't store an index property18:50
urbanapehow else do we preserve ordering?18:51
aquariusurbanape, actually, hm. My way means that if you delete a bookmark you have to edit the bookmark record *and* its parent folder record.18:51
urbanapeyou mean store the actual bookmarks in a tree in COuch?18:51
aquariusnah, I meant that a bookmark-folder record contains a list of _ids of its children18:51
aquarius(ids of the records of its children)18:52
aquariusbut I'm not sure that actually buys you much18:52
aquariusand it makes it harder to reconstitute the tree18:52
aquariuscompared with your idea of One Tree Record To Rule Them All18:52
aquariusgood argument. I am convinced.18:52
CardinalFangaquarius, thisfred, Okay, I'm almost happy with the pairing tool.  Review this branch, and I'll work on the network state machine closing later.18:53
urbanapewell, it's good to talk it through. Ta18:53
CardinalFanghttps://code.edge.launchpad.net/~cmiller/desktopcouch/pair-with-oauth/+merge/1157618:53
aquariusbindwood has to become quite a lot cleverer at watching changes in that document, though :)18:53
urbanapewell, has to become clever at all. Currently it doesn't deal with any structure.18:53
aquarius:)18:53
urbanapewell, here's one thing:18:54
* aquarius approves pair-with-oauth18:54
urbanapeif we have a handy-dandy JSON object comparator, we can make the pullBookmarks only pull the manifest and check it against a cached local copy.18:54
urbanapethen we only have to pull one document + any that have changed18:55
urbanapeversus all of them.18:55
aquariuscan't do that, because the manifest won't change if you change the title of a bookmark18:55
urbanapegood point18:55
aquariusbecause the manifest records structure, and the structure hasn't altered18:55
urbanapeyup18:55
aquariuswhich is a shame because that was a good idea :)18:55
urbanapeokay, I think I've got a handle on this now. Thanks18:57
* urbanape goes heads-down again18:58
CardinalFangthisfred, new desktopcouch trunk for you.19:02
thisfredwicked19:02
aquariusthisfred, remember that the OAuthCapableServer stuff is from dc-records-oauth, which won't work until we have a new Couch with the design-docs fix.19:03
aquariusbut! once we have that new couch, dc-records-oauth should Just Work, I think19:03
aquarius(it is difficult to test this)19:03
aquariusand then load-many-ini-files turns on compulsory oauth19:04
thisfredaquarius: yeah, I won't propose my cloud server branch quite yet19:04
thisfredCardinalFang: Using saved parent location: bzr+ssh://bazaar.launchpad.net/~ubuntuone-control-tower/desktopcouch/trunk/19:04
thisfredNo revisions to pull.19:04
thisfredyou lied :'(19:04
thisfredor bazaar did19:05
* CardinalFang shrugs.19:06
CardinalFangIt's in the intertubes.19:06
thisfredwhy I oughtta! (wrings intertubes)19:07
CardinalFangthisfred, it just took 10 minutes.19:13
thisfredCardinalFang: yep, goddit19:13
thisfredlazy pigeons19:13
thisfredmy next venture is going to be TCP over lightning19:14
dobeyi tried that once19:19
dobeybut i ended up in 1955 with a HOST_UNREACHABLE error19:20
thisfredwhatever you do, don't kiss her, dobey! ;)19:20
thisfredalso, if you ever end up going the other way, bring me back one of those floating skateboards19:21
causasuiAll right, funny question. I installed ubuntu one. Now how the heck do I run it?20:00
jblountcausasui: It may already be running, what does 'ps aux | grep ubuntuone' in a terminal reveal?20:03
causasuinothing20:04
jblountcausasui: Do you have a 'Ubuntu One' item in your menu under Applications > Internet ?20:04
causasuino :|20:05
causasuiwhat's the name of the package in the repository?20:05
jblount'ubuntuone-client-gnome'20:06
jblountAre you running Jaunty or Karmic?20:06
aquariusdobey, can I get a re-review of lp:~sil/desktopcouch/load-many-ini-files? I've moved the etc/xdg folder a bit, as requested.20:09
* dobey stabs launchpad with a glowing red branding iron20:12
dobeyaquarius: in 5 years when launchpad is done updating itself, i'll look at it again, yeah :)20:12
aquarius:)20:13
dobeycausasui: how did you install ubuntu one?20:13
causasuijblount: jautny20:13
causasuijaunty820:13
causasuiwell what do you know, it wasnt installed weird20:13
jblountcausasui: dobey made some rocking insta-installer packages for Jaunty, you can get the low down here: http://ubuntuone.com/support/installation20:16
jblountIt basically amounts to 1. install ppa, 2. install software, 3. be awesome.20:17
causasuijblount: I just installed it from the repo and it worked. I guess I was hallucinating the last time I did that20:17
jblountcausasui: Happens to the best of us :)20:19
causasuiall right, how do I sync this thing20:21
leftyfbok, there needs to be some other way to get to the preferences window. By default, after you get it all going, it sets itself to not show the icon unless changes are being update. Other than that, there's no way to get to the preferences.20:27
jblountleftyfb: Agreed, any ideas for a way to make this work?20:31
leftyfbmaybe if it's already running, clicking the icon from the internet menu would bring up preferences. Or put a second icon in the preferences menu.20:32
leftyfbalso, a totally separate idea for installations, add link to the folder to the places menu might be nice20:32
leftyfb%s/link/a link/20:33
jblountleftyfb: That's a good thought. I think we have a bug describing a similar interaction, and I agree that it's irritating to not be able to get at the prefences (although I like that the icon hides itself when inactive)20:35
jblountleftyfb: There was a link in the places menu when the software was running before, I'm not sure if that was taken out on purpose, or if it was a regression.20:35
jblountdobey: ^^ ?20:35
dobeyque20:35
jblountdobey: places link for ubuntu one folder?20:36
leftyfboh, I see it, it's in bookmarks20:36
dobeyit's still there20:36
leftyfbhm20:37
leftyfbmaybe add it as it's own?20:37
dobeyif you have a lot of bookmarks though, they get compacted into a subfolder20:37
jblountdobey: I thought so, but didn't want to speak out of turn.20:37
leftyfbah20:37
dobeyleftyfb: we're not a "disk" so we don't show up as a "Place" as you're thinking of20:37
aquariusthisfred, bah, dc-records-oauth *still* fails, even with the new couch, with couchdb.client.ServerError: (500, ('unknown_error', 'function_clause')), whatever the hell that is. :(20:38
leftyfbwell, you sort of are. Instead of local disk or removable disk, you're a cloud disk :)20:38
thisfredaquarius: ouch20:39
aquariusthisfred, yeah, exactly. :(20:39
jblountleftyfb: One of the things we really like about Ubuntu One is that your stuff isn't stored in some weird one-off format. It's just a folder on your computer that we magically sync up to the storage space you have on our servers.20:39
thisfredthat sounds like they didn't test very well. OAuth sucks for testing... :(20:39
causasuiall right, I got files in the Ubuntu One folder, how do I sync this thing?20:39
aquariusthisfred, I agree entirely20:39
thisfredaquarius: lemme see if jasondavies is there20:40
aquariusthisfred, how much will you hate me if I leave you in charge of this? :(20:40
thisfredand that would be a no.20:40
thisfredon both counts :)20:40
jblountcausasui: There isn't a 'sync' button, if you copied files into ~/Ubuntu One/ they should start syncing.20:40
jblountcausasui: Do you see the logo in the notification area?20:40
dobeyleftyfb: but we're not a disk to the system. we're a regular folder20:40
aquariusdobey, oi! what are you still not happy about? although I appreciate the approve :)20:40
thisfredaquarius: I'll see what I can do20:40
aquariusthisfred, cheers, pal20:40
dobeyaquarius: empty directories20:41
aquariusdobey, which empty directories?20:41
dobeyaquarius: config/ is empty. it contains only a subdirectory20:41
dobeyaquarius: but i see why it's that way, as the code looks in foo/desktop-couch/20:41
aquariusdobey, that's the way xdg works; you give it the CONFIG_DIR and then it looks in it for an "appname" dir.20:41
dobeywell that's the way your code works20:41
aquariusto avoid that I'd need to monkeypatch xdg.BaseDirectory.20:42
dobeyyou're abusing xdg to make your tests work, yes20:42
dobey:)20:42
aquariusI certainly am not abusing it :)20:42
aquariusthat's how it's meant to be used ;)20:42
aquariusyour point is noted, mind :)20:42
dobeyit's not meant to be used in tests like that, really20:42
leftyfbdobey: I agree that it's a nice feature to not show up unless there's activity, but I do think there should be an easy way to get at the preferences menu if you want to change things... without having to throw a tmp file to get it to show up20:42
dobeyit's meant to be used by active-running systems, and wasn't designed around unit testing code in source trees :)20:43
dobeyleftyfb: yeah it's a bug20:43
aquariusnot really, I admit, but if you have code that reads things from the xdg folders, then unless you do something like that in tests, it's going to read from your *actual* xdg folders, which makes testing impossible.20:43
dobeyaquarius: you should be mocking xdg20:43
dobeythat's what mocker is for :)20:43
leftyfbdobey: how does this work on headless systems? Can you add a machine on the command line?20:43
aquariusdobey, I did an assessment, and it turns out that mocking xdg is exactly 2.8 million times more work ;-)20:44
dobeyleftyfb: not exactly, since oauth requires browser interaction20:44
dobeyaquarius: then in 3 years when you finishe, you would have gotten paid really well for it :)20:44
* aquarius grins20:44
aquariusgo team!20:44
aquariusright, I'm going away now. Have a good weekend, all20:45
thisfredaquarius: you only tested with our package right, not the 0.10 branch?20:46
aquariusthisfred, with the latest package20:46
aquariuswhich is up to date, I believe, with the 010 branch20:46
thisfredright, I'll test with the branch to make sure our packaging didn't break anything20:46
thisfredbefore I start stamping my foot in #couchdb20:47
dobeyleftyfb: and i don't think gnome-keyring works without X20:47
aquariusthisfred, cheers20:48
aquariusttfn, all20:48
leftyfbdobey: so are there any plans to come up with alternate solutions to use ubuntuone on servers?20:48
dobeyleftyfb: there is upstream work on having a cross-desktop keyring, which would solve most of the issues20:49
dobeyleftyfb: we'd just need a way to do the auth and get the token in the keyring, without X20:49
causasuijblount: yeah I see the logo20:50
jblountcausasui: That probably means something is going on, does hovering over it give any further info?20:51
causasuijblount: "Updating files..." so I guess this thing runs automatically?20:52
jblountcausasui: u1sdtool --current-transfers20:52
jblount^^ that may also prove useful20:52
jblountcausasui: Yeah, basically you put stuff in ~/Ubuntu One/ and the client software keeps it in sync on our servers. You may already be able to see some stuff at http://ubuntuone.com20:52
causasuijblount: Spiffy, thanks. Now when I get this integrated with conky it will rock20:53
jblountcausasui: :)20:54
statikcausasui, please blog some screenshots if you get that working with conky21:12
dobeycausasui: if you left-click on the tray icon, it says "Updating M of N files."21:13
urbanapeARGH21:20
urbanapeanswers lead to questions!21:20
urbanapeso, trying to handle the profile - it occurs to me: Without prior syncing of profiles, there's no easy way to ensure that profiles on different machines correspond with each other.21:21
urbanapethey (ff) have removed the ability to get the profile's human-sensical name.21:22
urbanapeYou can still get access to the randomly named directory where your profile exists, but that's, well, random. And isn't likely to be the same between machines.21:22
urbanapehowever, I've streamlined the initial push of bookmarks, so they at least all get pushed correctly and intact now.21:23
stlsainthello?21:31
dobeyhi21:33
stlsaintjust wanted to check up on the latest news about ubuntu one!21:36
stlsaintis there a final release date non beta21:36
CardinalFangstlsaint, Well, we have about ten stages of stuff we want to do with it.  It's not like we have a hard-and-fast destination in mind21:37
CardinalFangWe'll be working on it for a while.21:38
CardinalFangWe have some stage-one stuff we hope will be ready for the release of Karmic release.21:38
stlsaintCardinalFang, care to elaborate some?21:40
=== yofel_ is now known as yofel

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