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

screamIs the backed data encrypted?02:29
=== facundobatista_ is now known as facundobatista
=== thekorn_ is now known as thekorn
=== rodrigo_ changed the topic of #ubuntuone to: File Sharing for Ubuntu | https://ubuntuone.com | https://launchpad.net/ubuntuone | Current Beta Client Revno is 203, Protocol Revno is 69 | Release 0.93.0 (protocol) 0.94.0 (client) | Help contact: rodrigo_
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
CardinalFangaquarius, hi.12:34
aquariusCardinalFang, heya12:34
CardinalFangaquarius, I'm going to get pairing peers working this morning.  Kindly explain what oauth information must be exchanged and whence it comes.12:36
CardinalFang/dev/random?12:36
aquariusit comes from the desktopcouch.ini file12:38
aquariusto give a remote server access to this server, the remote server needs to have the consumer key, consumer secret, token, token secret, and which port you're running on12:39
aquariusI assume you're already dealing with the port thing :)12:39
aquariusso you need to pass back those four things12:39
aquarius(and maybe some sort of unique identifier so you can find the port again later)12:39
aquariusthose bits of info are stored (a) in the keyring and (b) in the ini file; you can get them from either place, whichever is most convenient.12:40
CardinalFangYes.  All four parts?  So, there's no assurance that one host is not malicious.  It can take the four parts of any paired peer and pretend to be that peer to others.12:41
aquariusbasically, yes12:41
aquariusthis is the issue with two-legged oauth; it's basically a complicated password12:41
CardinalFangI guess that was my block.  I decided that was too dumb to be true.12:42
aquariusCardinalFang, this is why three-legged oauth is normally the idea12:42
aquariusthisfred, I have Worked Something Out. The desktopcouch xdg changing stuff wasn't all being picked up by tests because desktopcouch is imported by "trial desktopcouch" *before* the xdg stuff happens, so local_files was imported first.12:43
aquariusthisfred, so I have, in the branch I'm working on, reloaded desktopcouch.local_files when we do the xdg override stuff12:43
thisfredaquarius: aha, but why did it work sometimes/at all then?12:43
aquariusand now it seems to work, I think.12:43
thisfredaquarius: ah, this I may have also done on my branch12:43
thisfredlast night it all seemed to work12:44
aquariusah, ok :)12:44
thisfrednot sure though, so let's compare notes!12:44
thisfredCardinalFang, aquarius I do think I found the gremlins in my system:12:44
thisfredWhen testing adam's fix, I installed a version of couchdb from source12:45
CardinalFangAh.12:45
thisfredand when that didn't change any behavior I was puzzled12:45
thisfredthen I realized (actually, I was told) that installing from source of course installs to /usr/local12:45
thisfredbut our startup scripts (at least for the server couch) seem to ignore that location and go directly to /usr/bin12:46
CardinalFang...as it should.12:46
thisfredas it, indeed, should, but I'm still pretty much a linux newbie even after 5 years or so. That's the one downside of ubuntu: it makes it easy not to know/remember such things.12:47
thisfredI should have stuck with debian for a little longer ;)12:47
thisfredbut now the funny part:12:48
thisfredstarting couchdb in background should/can result in two processes, since the script recursively calls itself again (that explains the double processes on my system, but not that you guys don't see them)12:49
thisfredbut the one in /usr/bin seemed to not start itself, but the one in /usr/local/bin12:49
thisfredwhich resulted in *really* strange behavior12:50
thisfred(this is mostly theory, but I did see them behave differently)12:50
thisfredanyhow, I think I may have had an earlier install in usr/local I forgot about that was messing with me sometimes12:50
thisfredafter getting rid of that and applying the patch manually to /usr/bin/couchdb, I got chaining to work (after also fixing desktopcouch, because we were doing it wrong) and chaining now works again. Or at least it will when a new couchdb is packaged, and it will not break worse than it is now until then.12:52
thisfredelementary12:52
CardinalFangAh.  Of course.12:52
aquariusgrrrr! how can *some* but not *all* write accesses to an authenticate-required couchdb fail?13:29
teknicoaquarius, is some load balancing among differently configured servers going on?13:32
teknico:-)13:32
aquariusteknico, this is talking to localhost :)13:32
* rodrigo_ -> lunch13:37
aquariusthisfred, CardinalFang: we need to talk about turning on oauth by default13:45
thisfredaquarius: yeah we need quite a bit of work on the server side though13:46
aquariusah, I mean in desktopcouch13:46
thisfredaquarius: ah for LAN repl13:46
CardinalFangRgr.  aquarius, thisfred, can it wait 40 minutes?  I have to go afk.  It approaches 0900 here.13:47
thisfredIt sucks, I had hoped to have the server done two days ago, except I've been wildly chasing geese. Or chasing wild geese.13:47
aquariuscheezit, I didn't realise it was so early13:47
aquariusgo and do things and we'll talk in a bit :)13:47
CardinalFangYah, The Kid wakes up now.  Brb.13:47
urbanape_morning, all13:55
=== urbanape_ is now known as urbanape
urbanapeaquarius, in case you didn't know about it: http://ted.mielczarek.org/code/mozilla/extensiondev/13:57
urbanapein-freaking-valuable.13:58
aquariusurbanape, heh. nice13:58
urbanapegives you a js shell with access to the FF internals13:58
lucaphi13:58
urbanapeso you can interactively get the bookmarks, manipulate them, &c.13:58
lucapI have a problem with ubuntuone13:59
=== kenvandif is now known as kenvandine
lucapon my account https://one.ubuntu.com/files/ I can't delete a file13:59
lucapwhy?13:59
urbanapelucap, I believe that's a known bug14:01
clio_ah14:02
ChipacaI think /files/old/ takes you to the old interface14:02
Chipacaand there you can14:02
urbanapeyes, that works as well.14:02
urbanapefor the time being14:03
clio_thank's guy14:03
clio_I am lucap14:04
urbanapeyeah, I was gonna say you look like twins14:04
clio_by old interface I delete the file14:04
* jblount thinks urbanape 's humor is underappreciated14:19
urbanape'sokay14:22
urbanapedry, like a martini14:22
didrocksaquarius, thisfred: statik denounced you that you may have some doc on desktopcouch. I'm interested in it if it's the case :)14:27
aquariusdidrocks, what would you like documented? :)14:27
didrocksaquarius: just some kind of getting start (apart from quickly's tutorial) and what's the functions available, etc. :)14:28
aquarius/usr/share/doc/python-desktopcouch-records/api/records.txt14:28
statikaquarius, didrocks is unstoppable and dangerous, one of the quickly developers along with many other things14:30
didrocksstatik: dangerous is the right word ^^14:31
didrocksthanks aquarius and statik, I'll read this :)14:32
aquariusyep, I have discussed quickly with him before :)14:33
CardinalFangaquarius, thisfred, I'm ready to talk about desktopcouch auth.14:38
thisfredtalk to me about desktopcouch14:38
thisfredwhile my tests silently weep14:39
CardinalFang"gently weep" would be better.14:40
thisfredah yes14:40
thisfredalthough I prefer silent, especially in the case of weeping guitars14:41
aquariusright, good :)14:41
aquariusmy thought is this: we need to turn on compulsory auth.14:41
aquariusthis means doing three things: 1. make dc.records talk oauth, which I am doing right now14:42
aquarius(and is mostly done)14:42
aquarius2. enable it in ini file creation14:42
aquarius3. alter existing ini files14:42
aquariusmy question is: do we need to do 3?14:43
thisfrednah14:43
aquariusso just tell existing DC users to delete their ini file?14:43
thisfredor at least: we shouldn't spend much time on it14:43
thisfredaquarius: yeah all three of em ;)14:43
thisfredor just do a hardcoded rm that we'll take out in the next release14:44
thisfredbut that's sort of dangerous ground14:44
thisfredso no14:44
thisfredlet's let em do it manually14:44
CardinalFang3 is easy, right?  It should take less time than aquarius' #1.14:44
CardinalFangAt start time, when we test ini existence, load it, if not set then set it.14:45
aquariusCardinalFang, it is if we bodge it. The thing is: we may need to alter ini files later. So, do we think about a better way of doing it, now?14:46
thisfredwell a merge is gonna be tricky. Adding new options or deleting options should be doable14:47
thisfredperhaps the ini should live in a json document14:47
CardinalFangMaybe we should also consider that a user doesn't want oauth required.  Do we want to forece his preference to be disabled?14:47
aquariusyes.14:48
thisfredI would say giving the user that choice is a refinement we can add later14:48
aquariusNo choice. in the same way, ssh does not give you the option of not having a password to log in.14:48
thisfredeh, I log into ssh without a password all the time ;)14:49
thisfredmuch more secure14:49
aquariusyou know what I mean :)14:49
thisfredyes, I was being an ass14:50
aquariusI don't believe that people should have the option to not have oauth turned on.14:51
aquariusthisfred, have you totally disabled chaining?14:51
aquariusor can we chain to other ini files in our folder without chaining to /etc/* ini files?14:52
thisfredaquarius: interestingly no, because that breaks everything too14:52
thisfredwe need default.ini14:52
thisfredso what I do is -n -a /etc/default.ini -a our.ini14:52
aquariusok14:52
thisfredthe hardcoded /etc/default.ini being rather horrid14:52
aquariusso we could do -a our.ini -a our-extra.ini or something?14:53
thisfredbut I don't see a way round it14:53
thisfredaquarius: yes that would totally work14:53
CardinalFangaquarius, You anticipate needing to update the INI file later.  What problem or ugliness do you want to avoid?14:54
aquariusI want it to be relatively easy to do updates later on14:54
aquariusi.e., not having to read a file and alter certain lines, which, as  you say, will be tricky14:55
CardinalFangNot me.14:55
thisfredwhat I would like to prevent is to have -a original.ini -a 0.1.ini -a 0.2.ini -a adinf.ini14:55
CardinalFangI think it's easy.14:55
* CardinalFang reads up on the ConfigParser module again.14:56
aquariusis the ini file in configparser format? I forget14:56
thisfredI believe so yes14:56
CardinalFangaquarius, your local_files.get_oauth_tokens() thinks so.  :)14:58
* aquarius grins. I'd forgotten I did that :)14:58
jblountMEETING BEGINS15:00
jblountDESKTOP+ SAY ME SRSLY15:00
urbanapeME SRSLY15:00
teknicoME FCTSLY15:01
aquariusME RLY15:01
rodrigo_ME SRSLY15:01
statikME EHLO15:01
jblountME O RLY?15:02
dobeymeh15:02
vdsme15:02
aquariusboring boring vds!15:02
CardinalFangME! MEMEMEMEME!15:02
vds:)15:02
urbanapeDONE: Marked #397390 as Fix Committed. Made some progress on each of #404193 #396186 #39618315:02
urbanapeTODO: Finish up the branch for complete syncing of bookmarks, and hopefully move onto folder structure.15:02
urbanapeBLOCK: None15:02
urbanapeteknico, if you please15:02
teknicoDONE: more upgrades to the 2a repo format, sorted the contacts name list in the web ui (#405915), work on adding and editing contacts (#406315)15:02
teknicoTODO: talk with jblount about the new contacts web ui (#399664), more work on adding and editing contacts15:02
teknicoBLOCK: none15:02
tekniconext: aquarius15:03
aquarius⚀ DONE: allow unpairing of servers (bug #419975)15:03
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); talk to thisfred and CardinalFang about that last one; test android phone sync15:03
aquarius⚂ BLOCKED: well confused by the big bzr format change thing for ubuntuone15:03
aquarius⚃ BUG COUNT:https://bugs.edge.launchpad.net/~sil/+assignedbugs?field.tag=ubuntuone-karmic - 415:03
aquariushit it, rodrigo_15:03
ubottuLaunchpad bug 419975 in desktopcouch "for pairing, do not display hosts or servers that are already paired" [Medium,In progress] https://launchpad.net/bugs/41997515:03
ubottuBug 415375 on http://launchpad.net/bugs/415375 is private15:03
rodrigo_• DONE: IM addresses move to top level contact record. Released couchdb-glib and evo-couchb and submitted to Karmic. Face duty15:03
rodrigo_• TODO: Start upstream discussion for adding social services accounts config to about-me. Talk to Ara about writing mago tests for evo-couchdb. Propose couchdb-glib/evo-couchdb for GNOME 2.29. Store UUIDs for postal addresses. Conflict resolver tool in pair tool. Look at becoming a MOTU (https://wiki.ubuntu.com/UbuntuDevelopers). openSUSE/Fedora packaging with aquarius. More tomboy syncing fixes. Vacation, back on Tuesday15:03
rodrigo_• BLOCKED: no15:03
ubottuLaunchpad bug 376087 in ubuntuone-client "UnknownLoginError during request for OAuth token" [High,Triaged] https://launchpad.net/bugs/37608715:03
ubottuLaunchpad bug 416413 in desktopcouch "Create login details on initial desktopcouch setup" [Undecided,In progress] https://launchpad.net/bugs/41641315:03
rodrigo_statik: go15:03
statikDONE: Upgraded branches to bzr 2a format and broke the world.15:03
statikTODO: bug #402736 and bug #424023, along with some other couchdb fixes. Today is couchdb day for me.15:03
statikBLCK: Nope. https://bugs.edge.launchpad.net/ubuntuone/+bugs?field.tag=ubuntuone-karmic  has a lot of bugs though!15:03
ubottuLaunchpad bug 402736 in lazr-js "Buttons seem not hooked up to js in IE8" [Low,Invalid] https://launchpad.net/bugs/40273615:03
ubottuLaunchpad bug 424023 in desktopcouch "Crash dump on 'couchdb' invocation" [Medium,In progress] https://launchpad.net/bugs/42402315:03
statikjblount, your turn15:03
jblountDONE: tabs, upgrading to 2a stuff15:03
jblountTODO: teknico chat, figure out how to get tabs work into the correct format, onto lp for review15:03
jblountBLOCKED: Nope15:03
jblountdobey: tag15:03
dobey☺ DONE: Spent half a day upgrading bzr formats on server branches, Worked on #403243 #41936515:03
dobey☹ TODO: Finish #403243 #419365 (complicated rollout), Fix #397331, Release 0.95.015:04
dobey〠 BLCK: None.15:04
dobeyvds: ciao15:04
vdsDONE: updated working copy, updated wiki, sent email to support, investigated log problem15:04
vdsTODO: fix log problems15:04
vdsBLOCKED: no15:04
vdsis that it?15:04
CardinalFangDONE: nearly finished with desktopcouch.  Merged aquarius' approved branch to local.15:04
CardinalFangTODO: Exchange oauth tokens among peers.  Commit and propose for merge.  Start using bug numbers here.  :)15:04
CardinalFangBLOCKED: '()15:04
CardinalFang- FIN -15:05
jblountMEETING ENDS ZOMGROFLMAO15:05
jblountteknico: skype?15:05
teknicojblount, skype it is15:05
CardinalFangaquarius, thisfred, I can handle #3.15:06
statikjblount, to get your work from an old-format branch out and into a new format branch, you have two options: 1) bzr upgrade --2a your in-progress branch. 2) bzr diff, save to a patch, go to a new branch in the new format and bzr patch to apply it, and do a new commit15:06
aquariusCardinalFang, having some good easy way to integrate/add new changes to it later would be nice15:06
aquariusI wonder if we should put files in /etc/desktopcouch/*.ini and chain to them? rather than merging.15:07
CardinalFangaquarius, It's trivially simple to add.  YAGN-an-infrastructure.15:07
thisfredaquarius: that would keep it more debuggable15:07
aquariusCardinalFang, it is, but you want some good way of specifying "this is the change to be merged in", which still makes sense six months from now when there are 25 such changes.15:08
rodrigo_aquarius: you could do something like gconf, look in the local file, and if the setting is not there, read it from the system wide one15:09
thisfredaquarius: I don't know about merge history: just keep the latest state of our official ini in /etc/desktopcouch, and chain the user's .ini in after that, so they get the last say/a chance to break stuff but also easily fix it15:10
dobeydoesn't configglue do that for you?15:10
aquariussee, this is why I want to talk about it, since there are 82 ways we could attack the problem :)15:10
dobeyoh or you can do that i guess15:10
CardinalFangaquarius, You're thinking like it's a diff and we want to avoid conflicts.  This is a data structure, and we can poke and update without problems.  I can't imagine anything more complex needed than to test to see whether there exists the key/value and if not then to add it.15:10
aquariusCardinalFang, changing an existing value; deleting an existing value15:11
aquariusthisfred, chaining is a little more awkward in the test environment, since you can't just hardcode /etc/desktopcouch15:11
vdsjdo: what is the config file used in production  by the webui django instance?15:11
thisfredwell we need to solve that problem then anyway15:11
thisfredaquarius: since we now hardcode /etc/couchdb/default.ini ;)15:12
aquariusthisfred, that's different -- that's a couch file, not a desktopcouch file.15:12
CardinalFangaquarius, config.set(section, option, value) , and  config.remove_option(section, option) , respectively.15:12
thisfredI think the only problem is when we set/remove an option that the user has changed locally15:13
CardinalFangAnd those are for operations we are only imagining we'll need someday.15:13
aquariusCardinalFang, yeah, I know how to actually make the changes, but I think there should be a better way of expressing what changes need to be made than lines of code15:13
thisfredwe'll have no way to detect this (or we shouldn't want to) so we can either let the user win or let our change win15:13
aquariussince otherwise, to work out what our ini file ought to loo like, you need to walk throught he code by hand to see what it does.15:14
thisfredI say let the user win: if they broke it, they can fix it in their ini15:14
thisfredIf we know we're breaking stuff in an update for a lot of people, we can tell them15:14
aquariusthisfred, agreed. this is why I'm thinking of chaining /etc/couchdb/default.ini, /etc/desktopcouch/default.ini, user ini15:14
thisfredaquarius: +115:14
CardinalFangaquarius, So, does that solve the #3 problem, too?  Just put the requirement in the system, non-user-writable INI file?15:15
aquariusCardinalFang, I think so, yes. the stuff in the user ini that we generate is there because it's user-specific (actual oauth tokens, usernames, etc). I can't think of any other user-specific settings we'll need -- the rest are all system-wide things like oauth=ON15:16
aquariusand it solves the "what if a user doesn't want oauth, because security happens to other people" problem, because they just override it in their local ini15:17
statikhi CardinalFang, aquarius, thisfred: i have demands :) i would like an email today listing when the next desktopcouch upload to karmic will be, who is the core-dev sponsor that you have talked to in order to upload it, and the list of bugs that will be fixed in that upload. One of the things that I want to see fixed in that upload is that desktopcouch-tools is not installed by default, and this should not be the case - people can't pair wi15:22
statikthout that package. You probably need a new bug filed for that. I am available to answer questions you may encounter while dealing with my annoying demands ;)15:22
CardinalFangAiee!15:23
statikyou will probably want to consult the ubuntu release schedule when figuring all this out15:27
jblountstatik: 2a == brisbane-core == super awesome fast new default format, yeah?15:28
statikjblount, yes. it's also rich root, so you no longer have to do the symlink tricks to keep desktopcouch, ubuntuone-client, ubuntuone-storage-protocol, and bindwood in a separate shared repo from the other branches15:28
statikeverything can go in the same shared repo now15:28
jblountstatik: My upgrade is running right now, given no new problems I should have your tabs up for review in minutes.15:29
statikjblount, i will press reload on  http://peopleofwalmart.com/ until i have your branch to review15:30
jblountheh15:31
LordMetroidCouchDB isn't particularly good for dependent files, right?15:34
rodrigo_LordMetroid: what do you mean?15:36
statikLordMetroid, couchdb does support attachments, but it's not really intended as a blob store. I think we need to figure out a good and standard way of referring to a binary blob stored as a file outside of couchdb from within a couch record15:37
LordMetroidI was watching this presentation by Chris Anderson at the London 2009 Erlang Factory15:37
statiklike, i want to be able to have records in desktopcouch that refer to files i have in ubuntuone15:37
LordMetroidI personally would like my Couch to contain my software project workspace15:38
statiki think that would work, and would be a really interesting thing to do15:38
LordMetroidHaving different versions of my files is something I should try to avoid.15:38
statikit starts to have some confusing overlaps with version contorl15:38
urbanapebrb, rebootie after update15:39
statikand couchdb itself has versioning15:39
rodrigo_LordMetroid: sorry, but you mean storing source code files?15:40
LordMetroidyes15:40
rodrigo_hmm15:40
LordMetroidHmm, I might need to write my own webapp/file server daemon for my needs anyway15:41
rodrigo_if the source is stored in couchdb, you'll need to retrieve them locally for editing them15:41
rodrigo_which is the same as having the code in git/bzr/svn/etc15:42
dobeywell, you'll need to extract for compiling/running anyway15:43
rodrigo_right, that's what I mean15:43
aquariusCardinalFang, are you OK to take charge of producing the email for statik? I'm happy to help, but I'll be gone in a bit over an hour :(15:43
dobeyso developing an ide that just stores everything in a couchdb seems a bit overkill15:43
rodrigo_yes15:43
statikaquarius, CardinalFang: tomorrow is fine for that email. my point mostly is that these things need figuring out15:44
aquariusstatik, agreed that they need figuring out15:45
aquariuskenvandine, are you core-dev? I believe you were heading in that direction?15:45
CardinalFangaquarius, Er, maybe.  I will try, and if I don't have enough I will relay to you for tomorrow.15:45
aquariusCardinalFang, that sounds good15:45
kenvandineaquarius, not yet :)15:46
aquariuskenvandine, darn :) Who do we talk to to find a core-dev sponsor for a desktopcouch upload to karmic? Do we talk to you? ;)15:46
LordMetroidHmm, yes it might be better to just have a git server running on my file server15:47
kenvandinepitti15:47
kenvandineaquarius, is it proposed?15:48
aquariuskenvandine, not yet. We're putting together what it will need to be, and one of the things we want to get sorted is who will be the sponsor. :)15:48
rodrigo_LordMetroid: or use gitorous or launchpad to store it15:48
LordMetroidBut that would nullify one of the reasons to have my own file server...15:49
rodrigo_LordMetroid: then don't use a server, just git/bzr locally, and backup that to your file server15:57
rodrigo_LordMetroid: I do that for some private data15:58
LordMetroidI am traveling around so that is why I want my workspace to be accessible from wherever on the internet15:58
statikaquarius, CardinalFang: i recommend working with james_w or pitti, keeping in mind that they are in a european timezone16:01
rodrigo_so you want to access your files from everywhere?16:01
rodrigo_LordMetroid: in that case, the file storage of u1 might be of help, I guess16:01
rodrigo_LordMetroid: or do you want to access them in your local file server?16:02
LordMetroidYes, I think I will want to do that16:02
LordMetroidI want someway to conviently have my files on the internet and just start coding wherever I am16:02
rodrigo_LordMetroid: you'll need to write a web page on top of it to access it from windows machines, I guess16:03
statikthisfred, was there a launchpad ubuntu bug # for the -n fix in couchdb?16:42
thisfredstatik: yes, lemme look16:43
thisfredstatik: bug #42433016:43
ubottuLaunchpad bug 424330 in desktopcouch "Admin users in the system couchdb are inherited by desktopcouch couchdbs" [High,Confirmed] https://launchpad.net/bugs/42433016:43
statikthisfred, thanks! we're preparing the new package now16:44
thisfredcool, thanks!16:44
thisfredI linked it against both dc and couchdb16:44
=== w4ett_ is now known as w4ett
* aquarius throws all his toys out of the pram. I hate programming16:50
dobeyheh16:53
urbanapehmm, I just updated a bunch of packages and now Firefox, Bindwood, and Desktopcouch seem, erm, crashy.17:06
urbanapeis desktopcouch crashing a currently known thing, or should I apport it?17:07
urbanapedon't want to contribute noise17:07
dobeybugs aren't noise17:07
dobeyunless you already know it's a duplicate, and you just set the summary to be the bug # your bug is a duplicate of...17:08
urbanapespeaking of launchpad (peripherally to a tangent), how soon is "very very soon"?17:09
dobeycontext?17:09
urbanapeLaunchpad tells me it's going offline for maintenance "very very soon"17:09
dobeyoh17:10
dobeyweird17:10
urbanapeseems gone?17:11
urbanapeweird. oh wel/17:11
dobeyi don't see that message17:11
dobeyand i don't see any mail about lp going down for maint17:12
urbanapeyeah, it's gone. maybe I had something cached?17:12
urbanapeanyway.17:12
dobeyheh, must have been cache, or just supe weirdness17:12
urbanapehmm, apparently, I have  outdated desktopcouch, &c.17:17
urbanapeah, I didn't do a dist-upgrade.17:18
urbanapewheeeeee17:18
aquariusaha!17:22
aquariusthisfred, CardinalFang, ping.17:22
thisfredpong17:22
CardinalFangaquarius, j0!17:22
aquariushave thought of a problem with the tests17:23
thisfreduhoh17:23
aquariuswhen you create a new couch (like the tests do) it writes a new ini file, and stashes the keys for that ini file in the keyring17:23
* CardinalFang minimizes xchat and has a nice cup of tea.17:23
aquariusand then the tests read those keys back17:23
aquariusthat's not gonna work, though.17:23
thisfredshoot17:24
urbanapetea solves most ills17:24
aquariusso...17:24
aquariusI think the tests need to get the oauth keys for this server back and then pass them to couchdatabase17:24
aquariusunless anyone's got a better idea17:24
aquariusmy only potential better idea: couchdatabase doesn't hit the keyring. Instead, it parses the ini file17:25
aquariussince there is already a function for that.17:25
CardinalFangThat's better, INI only.17:25
CardinalFangThe replication daemon would like that.17:25
aquariusshitsticks.17:26
aquariusI've just tried it.17:26
thisfredI thought the keyring was only used once, to get the u1 keys out?17:26
aquariuswe need to do what I've just described anyway, since running the tests will *override* your keyring keys17:27
aquariusbut it doesn't actually solve my problem. damn17:27
urbanapeand rebootie time again.17:27
dobeyoh yeah17:27
dobeytests sticking stuff in user's keyring == fail :)17:27
aquariusdobey, yes, yes, I know :)17:28
aquariusdobey, it wasn't a problem before :)17:28
thisfredI didn't even realize we were stuffing keys in at all. They are stored in each user's .ini file, right? That sort of bypasses the keyring anyway?17:29
thisfredI'm probably misunderstanding in a new and exciting way :)17:30
dobeythisfred: no, or at least, the u1 token is in the user's keyring17:30
aquariusthisfred, desktopcouch.records retrieves keys from the keyring; it does not parse the ini file17:30
thisfreddobey: yes, but that's not the one I'm talking about17:30
dobeydon't know why it's actually sticking stuff in my keyring though17:30
aquariusthisfred, because that's how other libraries like couchdb-glib will need to do it17:30
thisfredaquarius: right yeah17:31
aquariusand it's best to be consistent between libraries17:31
thisfredaquarius: why can't we be the only consumer! :)17:31
thisfredunderstood17:31
aquariusthisfred, if I could make everyone only write programs in Python I'd do it tomorrow.17:31
aquariushave to shoot dobey first though :)17:31
thisfredgag him, at least17:31
* CardinalFang curses ^W in xchat.17:31
thisfredCardinalFang: works like in every other tabbed app, doesn't it?17:32
CardinalFangaquarius, thisfred, let's nail down the release.  I figure we must release 0.4 on Monday or before, before late in GMT.17:33
thisfredat least the ones I use, but that's not very many17:33
thisfredright17:33
CardinalFangaquarius, thisfred, I have a list of bugs I think we do fix or are about to fix.  What is missing?17:34
CardinalFanghttps://bugs.edge.launchpad.net/desktopcouch/+bugs?field.searchtext=&orderby=status&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=INVALID&field.status%3Alist=WONTFIX&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.status%3Alist=FIXRELEASED&assignee_option=any&field17:34
CardinalFang.assignee=&field.bug_reporter=&field.bug_supervisor=&field.bug_commenter=&field.subscriber=&field.omit_dupes.used=&field.omit_dupes=on&field.has_patch.used=&field.has_cve.used=&field.tag=cmiller-k-alpha6&field.tags_combinator=ANY17:34
CardinalFang(Eek.)17:34
CardinalFangrmcbride can not handle the ampersands!  Buh bye.17:35
thisfredCardinalFang: care to tiny that up? :)17:36
aquariusI think that's right17:38
CardinalFanghttp://bit.ly/rZRVe17:38
CardinalFangaquarius, not on that list, I'm going to wrap your pairing-removal in a "O RLY?" dialog so it doesn't scare people.17:44
aquariuss'pose17:44
aquariusyou don't need to for cloud ones -- they reappear in the top box17:44
CardinalFangYes, but consistency says I must anyway, regardless of locality of other end.17:45
aquariusI think that's bad17:46
aquariusthere's no reason to be consistent if it's easily undoable.17:46
aquariusthisfred, OK, am going mad. I'm getting 401s when requesting design documents but *not* when requesting ordinary documents.17:52
thisfredCardinalFang: I'm not sure that everything is on there17:53
thisfredshould I have tagged stuff with cmiller-k-alpha6 ?17:53
aquariusthisfred, I need to get going, but if you get a chance can you try running an oauth-required couch and requesting (a) an ordinary document from it (b) a design document from it?17:53
CardinalFangthisfred, I did miss https://bugs.edge.launchpad.net/desktopcouch/+bug/397663  That's in now.17:53
ubottuUbuntu bug 397663 in desktopcouch "make pairing program update couchdb" [High,Triaged]17:53
CardinalFangthisfred, I just made that tag up to make this list.  What else?17:54
thisfredso how did you come up with the original list?17:54
CardinalFangthisfred, I looked at d-c bugs by mtime and picked them out.  I have no sure way.17:55
CardinalFangthisfred, These should be new changes since 0.3.117:55
thisfredok, well I think bug #424330 should be on there17:55
ubottuLaunchpad bug 424330 in couchdb "Admin users in the system couchdb are inherited by desktopcouch couchdbs" [Undecided,In progress] https://launchpad.net/bugs/42433017:55
CardinalFangthisfred, Yes.  Okay, so that will be fixed?  I'll add it.17:56
thisfredCardinalFang: yeah, elliot is packaging a new couchdb today17:56
thisfredand my proposed branch fixes the dc end17:56
aquariusCardinalFang, or if you get a chance can you try the above request-a-design-doc-from-an-oauth-required-couch?17:57
CardinalFangaquarius, I will try to get to it, but I'm pretty swamped.  :(17:57
aquariusCardinalFang, yeah, I know, soz :(17:58
aquariusI am startig to believe it is a real couch bug, though17:58
CardinalFangaquarius, We need help.  statik!  We need debuggers. ^17:58
aquariusplease god don't let it be a couch bug17:59
thisfredaquarius: design docs are admin only right?17:59
aquariusthisfred, yeah, but the oauth token is tied to an admin user17:59
thisfredah17:59
thisfredaquarius: so you can't view the design doc, or execute the view? or both?18:00
aquariusthisfred, trying to request /db/_design/viewname18:00
aquariusand getting a 40118:00
thisfredis there a bug for this with reproducable setup? (I think I know the answer) ;)18:01
thisfredaquarius: also: it does work as expected with a regular authed admin?18:02
* aquarius files a bug18:02
aquariusactually, I don't want to file a bug, because it's against a branch, not trunk.18:03
thisfredaquarius: ok, so I check out your branch, and then?18:03
aquariusin lp:~sil/desktopcouch/dc-records-oauth, run trial desktopcouch.records.tests.test_server.TestCouchDatabase.test_get_view_by_type_new_but_already18:03
aquariusit fails18:03
aquarius(I've made it print a shitload of stuff)18:03
aquariusbut it's failing when it does self.db[doc_id]["views"] with a 40118:04
aquariuswhere doc_id is "design/anythingyouwant"18:04
thisfredaquarius: I get 15 errors all unauthorized, looks like when running plain trial desktopcouch. and a lot of printing yes18:06
aquariusyeah, that one test is a good one to run, since they all fail for the same reason18:07
aquariusit seems to be a problem with views18:08
aquariusbut I don't know exactly what the problem is18:08
aquariusand I have to go :(18:08
aquariusif you get a chance to look I'd be dead grateful :)18:08
aquariusright, bye all, back tomorrow, later.18:08
aquariussorry to bail.18:08
CardinalFangaquarius, we have no bug for forcing auth on, do we?18:09
dobeyboooo18:09
dobeyquitter.18:09
CardinalFangdang.18:09
dobeyhttp://twitter.com/qZsYFa <- not at all a spam bot. obviously this person is real18:10
urbanapealmost surely18:13
urbanapeah, good old qZsYFa. The times we used to have.18:13
dobeyhrmm18:14
urbanapeick. I feel gross just having that page open.18:14
* dobey stabs pulseaudio/totem18:14
* dobey puts on fhqwhgads.mp318:15
dobeyurbanape is to the limit18:17
dobeycome on fhqwhgads18:17
urbanapeWonder if we could dress Lex up as Cheat for Halloween. I could be Homestar and Amber could be Marzipan.18:18
urbanapealthough, as a Supervillain, he'd make a good Strong Bad, too.18:18
dobeythat would be awesome18:18
CardinalFangthisfred, so, we decided to put the auth requirement in a system desktopcouch INI file?18:25
CardinalFangthisfred, Who's taking care of that?  Is that a packaging task?18:26
thisfredCardinalFang: not sure, I didn't think about it yet18:26
thisfredCardinalFang: it ties into packaging, yeah, since the install needs to put it there18:27
CardinalFangThat file is new, I suppose.  Okay.18:27
thisfredCardinalFang: yeah we've used a local ini only up to now18:27
CardinalFangthisfred, Okay.  I'll own putting the file in /etc .  What path?  /etc/desktopcouch/default.ini  ?18:28
thisfredsetup.py install can write the file to /etc/desktopcouch/ but I don't know what policies we need to follow there18:28
thisfredCardinalFang: that path sounds perfect18:28
CardinalFangRgr.18:28
dobeyurbanape: you should dress him up as mini-Lex Luther18:28
urbanapeI've got a Superman tee-shirt.18:30
urbanapeAmber could go as Lois Lane18:30
urbanapebut I'd have to shave.18:30
urbanapeNot sure if a couple hours of Halloween fun is worth itchy face for another month.18:31
urbanapeI could be Zod18:31
urbanapeAnd Amber could be Ursa18:32
dobeynow you're thinking18:33
statikCardinalFang: the new package of couchdb has been prepared, and I've notified slangasek who agreed to sponsor if for me yesterday, so it should hit karmic later today. Additionally, I've dput ppa:ubuntuone/hackers couchdb_0.10.0~svn813472-0ubuntu1~ppa1_source.changes , so you can get early access to that package if it helps your debugging now18:38
urbanapeanyone know if you can get Firefox's console to only show errors and messages? I really couldn't care less about CSS warnings and the like.18:39
CardinalFangstatik, Okay, thanks.  aquarius smells a bug in couchdb, but I don't have details.  It may be bad news.18:40
statikawesome, i love bad news18:40
statikurbanape, one day i would love to do a screen sharing session with you and you can teach me all this firefox extension debugging stuff you do18:41
urbanapethat reminds me.18:44
urbanapeI'm gonna try to write up a bunch of this stuff on my blog.18:44
jblounturbanape: ++18:45
urbanapeIf only to help lay down a narrative for tackling what's left18:45
jblount(also note that mentally I still pronounce 'urbanape' as 'urban Ah-pay'18:45
urbanape"That Jim Williams went and shot himself someone. Urbanape?"18:46
urbanapeGetting out the house for a bit.18:46
leonelupdated today to the 0.94.0+r203-0ubuntu1~ppa1~jaunty and  I'm still getting  emtpy files18:57
thisfredCardinalFang: I can reproduce aquarius' oauth bug, but after deep pdb-ing I do fear it's in couchdb itself. Sent a mail to you both, and asked jasondavies on #couchdb19:28
thisfredOAuth is really unpleasant to debug, with the 20000 headers to get exactly right and that work only for a limited time and a single request19:29
thisfredOther than talking to jason, I'm giving up. Yet again more than half my day has been taken up with desktopcouch when I swore I would get to authentication on the server19:29
* statik hugs thisfred19:33
thisfred:)19:42
jdoCardinalXiminez_, chad?19:45
jdothisfred, are we having problems sending oauth requests to coucdb?19:46
thisfredjdo: not sure, it *seems* like couchdb is having the problem. When we do a GET to any design document, whether existing or no, we get a 401, while any request to a regular document succeeds.19:48
dobeyjdo: i don't think he was expecting a spanish inquisition19:48
jdodobey, nobody expects....19:48
=== urbanape` is now known as urbanape
jdothisfred, is the handler different?19:49
dobeythisfred: oauth is fun... like shoving broken shards of glass in your ass, and sitting in a tub of tobasco sauce kind of fun.19:49
jdothisfred, i mean between a design document and a regular document, is a different handler used19:49
urbanapenice visual19:49
urbanapeahhhhh, back to ERC.19:49
dobeyheh19:50
thisfredjdo, I don't think so: I think it's related to admin vs non-admin rights. To be sure we authenticate as admin, (or so aquarius assures me) but it won't let us at _design/foo19:50
jdo_design is the handler :)19:50
thisfredI really don't know what you mean by handler, but I've never looked at the source code :)19:51
dobeythisfred: i wonder if it has separate tokens for those documents?19:51
jdothisfred, _design = {couch_httpd_db, handle_design_req}19:51
thisfreddobey:  should not19:51
dobeythisfred: in any case, i'm happy to just blame aqu19:52
dobeyarius19:52
CardinalXiminez_jdo, thisfred, sorry -- afk for 30 min.19:52
CardinalXiminez_I had wonky ISP and now I have to go anyway.  :(19:53
thisfreddobey: hehe, afraid he'd be pinged huh?19:53
dobeythisfred: no, sometimes my fingers type faster than my brain realizes tab complete will fail :)19:53
* thisfred makes chicken sounds19:54
* dobey turns on Smack My Bitch Up19:54
* dobey also patiently waits for his $25 amazon e-certificate19:56
jtatumHi U1 folks :) FYI... the retracer is incorrectly marking some U1 package bugs as dupes. I wrote this up against apport (bug 427488). Oauth failures should prolly be tweaked to return unique exceptions though. Should I write that up?19:56
ubottuLaunchpad bug 427488 in apport "Retracer incorrectly marked bugs as duplicates" [Undecided,New] https://launchpad.net/bugs/42748819:56
dobeyjtatum: hrmm19:58
dobeyjtatum: well if it's not a duplicate, it should be unmarked as such (which i just did)19:59
jtatumThere have been other dupes. The two oauth failures I know about are clock skew and the domain name change. Apport treats both of these as the same issue and dupes everything to bug 42338320:00
ubottuLaunchpad bug 423383 in ubuntuone-client "ubuntuone-client-applet crashed with AttributeError in from_token_and_callback()" [Undecided,Confirmed] https://launchpad.net/bugs/42338320:00
dobeywell the failure is the same20:00
jtatumAnd if yet another oauth exception happens, apport will probably do the same thing20:00
dobeythe token string is empty20:00
jtatumBut they are different causes and fixes....20:00
dobeywell, the problem with the redirection was that the code wasn't handling redirections (which weren't getting raised as errors from pycurl)20:01
jtatumright20:04
jtatumdobey: I guess I'm just saying it would be a much better user experience if users filing bugs through apport with clock skew got duped to the clock skew bug (which has the problem and a workaround in the comments) and users experiencing the domain issue got duped to their own bug which would similarly explain the issue in the comments...20:05
dobeyso there is no unique error case for that, as the fix is to handle redirection20:05
jtatumas it stands, users experiencing the domain issue get duped into a clock skew bug and comment that their clocks are fine20:06
dobeyjtatum: i'm not disagreeing20:06
jtatumok :)20:06
dobeyi'm just saying, that's not really going to happen, as releasing the fix for the domain bug just means the bug is gone, and nobody is going to see it unless they're running the old version, which is going to get dup'd wrong anyway :)20:06
jtatumdobey: gotchya. I guess I was just thinking towards the future when any subsequent oauth null tokens are going to get duped in the same place, even if the server returns a different message.20:08
dobeyjtatum: well, it already raises a different error when the server sends back an error code. the problem is that HTTP 30x isn't an error :)20:09
jtatumdobey: So is the server not sending back an error code in the clock skew case?20:13
dobeyjtatum: i don't know where the log message for the clock skew is coming from, i have to look and see20:14
jtatumdobey: OK thanks :) Just trying to help.20:16
thisfredhttp://www.readwriteweb.com/archives/facebook_open_sources_friendfeeds_real-time_web_fr.php20:21
dobeyjtatum: hrmm. weird21:10
dobeyand "pydoc pycurl" isn't helpful21:14
dobeywell meh21:18
urbanapehmm, live music here at the coffee shop. Maybe I'd best walk back home.21:18
dobeyhmm21:19
CardinalFangthisfred, should we panic yet?21:26
CardinalFangthisfred, any news from couchdb folks?21:26
thisfrednever to early to panic. No response whatsoever on #couchdb21:26
thisfredI think jason is afk21:27
dobeyjtatum: will have to chat with aquarius about it tomorrow i guess... he's supposed to fix another issue in that code, and part of the problem is that python-oauth does stupid blanket try:except: clauses, and just raises OAuthError for everything, so we can't really tell what it is, unless we go around parsing complex strings :(21:30
CardinalFangthisfred, trying to pull some personal strings there.21:31
thisfredI see, pinging damien directly, wow. Brave man :D21:32
urbanapeokay, heading home. This is way too distracting.21:35
jtatumthanks for looking, dobey. You rock21:35
dobeyjtatum: i try :)21:40
thisfredthere is no try, there is only rock :)21:42
jdoCardinalFang, in trunk: ./utilities/web_api_tool.py  --url https://edge.one.ubuntu.com/api/account/21:59
jdocouchdb_root https://couchdb.one.ubuntu.com/u/45c/48c/921:59
CardinalFangjdo, You are a rock star, sir.21:59
jdowell that's mine! hands off everyone!22:00
thisfredCardinalFang: statik bug confirmed, fix confirmed, jasondavies is writing a testcase22:00
thisfredthe problem was encoding of slashes22:00
thisfredshame we couldn't have found this before packaging a new couchdb today...22:01
CardinalFangthisfred, rawk.22:03
statikthisfred, it's fantastic that the bug is found and fixed and testable22:19
thisfredyes, I agree, it's the next best thing to not having the bug :)22:20
thisfredCardinalFang:  statik: hmm, jason has trouble writing a test (seeing as the tests are all in browser, doing auth is hard) but he sent the patch http://friendpaste.com/5iB7rxvilb4TM1EKwUzOwR22:37
thisfredhe doesn't have commit access himself, so hopefully someone else will land this ASAP22:38
thisfredstatik: patch will be committed by tomorrow €morning latest22:49
jdothisfred, it's good we're tickling these bugs now and not later22:49
thisfredjdo oh yes, couldn22:49
thisfredt agree more22:49
=== rodrigo_ changed the topic of #ubuntuone to: File Sharing for Ubuntu | https://ubuntuone.com | https://launchpad.net/ubuntuone | Current Beta Client Revno is 203, Protocol Revno is 69 | Release 0.93.0 (protocol) 0.94.0 (client)

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