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

urbanapeheya, statik01:29
statikhey01:29
urbanapeso, what's the word in the new world order about merging bindwood branches to trunk?01:29
urbanapenow that it's under the auspices of ubuntuone-control-tower01:30
statikyou just propose for merge to trunk and set the commit message, and then it gets marked approved after reviews01:30
urbanapek, did that01:31
statikwe don't have tarmac in cron yet, so i have to kick it off manually01:31
statiki can do that now01:31
urbanapenot sure about the commit message, though.01:31
urbanapedoes it need to be formatted specially?01:31
statiknope, nothing special01:31
statikjust hopefully somewhat descriptive01:31
statikso if you set the commit message here https://code.edge.launchpad.net/~urbanape/bindwood/thorough-debugging/+merge/10928 i can run tarmac on it01:32
statikhuh, the ancestry on that branch is odd01:33
statikit looks like it was branched from the packagebranch rather than from trunk01:33
urbanapehrm.01:33
urbanapealso, should I be able to edit the commit message? I see no edit icon or link01:34
statikyeah, there should be a pencil icon next to the commit message, at least if you are logged in01:34
statikhttps://code.edge.launchpad.net/~urbanape/bindwood/thorough-debugging/+merge/10928/+edit-commit-message01:34
urbanapeah, weird. yeah, somehow I got logged out.01:35
urbanapek01:36
urbanapeI recall branching after we had done some changes, but I thought it was still cut from trunk.01:37
statiki don't think it will hurt anything01:38
statikpackaging branches are basically a long-lived branch from trunk01:38
statikthat never gets merged to trunk01:38
statikbut trunk is merged to it for every release01:38
statikin this branch, we're merging the packaging branch to trunk but you've deleted the packaging stuff from it01:39
statiki think bzr will be smart enough to handle it01:39
statikurbanape, alright, tarmac has merged it. thanks for the great branch!01:40
urbanapeso, for my local copy of trunk, its source is...01:41
urbanape~ubuntuone-control-tower/bindwood/ubuntu/01:42
urbanapeis that correct?01:42
statikyep, that should be right01:42
statikthe shortcut for that is lp:bindwood01:42
statikit's entirely possible that i had already made the branch history funky, i'll run bzr qviz on it tomorrow01:42
statikurbanape, do you know if it's possible to put 8gb of ram in the older macbook pros, or only the new ones?01:44
urbanapehow much older?01:45
CardinalFangstatik, I'm pushing desktopcouch my changes to lp now.01:46
urbanapethe first unibody MBP could take 8, I believe.01:46
statikah, mine won't work then01:46
statikCardinalFang, awesome!01:46
urbanapethe previous MBP I think maxed out at 6GB01:46
CardinalFangurbanape, statik,  https://code.edge.launchpad.net/~cmiller/desktopcouch/get_port_not_stale01:46
CardinalFangI think it's close to right.  My brain is mush now.01:47
CardinalFangPlease eyeball it if you have any cycles left.01:47
* CardinalFang sends message to aquarius to see it.01:47
statikCardinalFang, sure. want to propose it for review? or you just want a pre-review review?01:48
CardinalFangstatik, proposed for merge, so reviews are online.01:49
CardinalFangThx!01:49
CardinalFangGood night, all.01:49
statikgnight01:49
CardinalFangOh, and beware that teh test suite screws around with couchdb and leaves one running that isn't what you expect.  the port-finding code freaks out at it half the time.  :(  Much time wasted there. :(01:50
* CardinalFang collapses.01:50
=== CardinalFang is now known as CardinalFangZzzz
urbanapeWhat's the best way to run the desktopcouch tests?02:28
Chipacaurbanape: first, you take a young rooster02:35
Chipacaurbanape: I'm not too sure how it goes from there, but you should probably not wear a suit02:36
desertedChipaca: I think it involves vaseline and a pair of electric shears02:40
Chipacaand... that's probably why I blanked it out02:40
urbanapeHmm, all my Tyvek suits are at the cleaners. From the last time I ran hairy tests.02:42
dobey"trial desktopcouch"02:44
urbanapelots of waiting for couch to start...02:57
urbanapewill noodle on it in the morning.03:03
urbanapenight, folks.03:03
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
thisfredgoedemorgen13:14
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
jblountYo, yo, yo, yo14:07
aquariusyoyo.14:13
jblountaquarius: yo yo, yo?14:15
aquariusjblount, Yo. Yo-yo, ya?14:16
jblountaquarius: yo. :)14:19
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
CardinalFangZzzzaquarius, has thisfred convinced you that d-c log reading isn't as good?14:24
aquariusCardinalFangZzzz, not quite. I'd like to hear your reasoning too :)14:26
CardinalFangZzzzaquarius, the absolute best approach is to make couchdb emit its info on request.  -b starts,  -k kills,  -I (!) prints JSON information about the running process, including ports and addresses used.  TODO: implement -I14:26
=== CardinalFangZzzz is now known as chad
=== chad is now known as CardinalFang
aquariusCardinalFang, yes. The couch people have talked about that, too, but it hasn't happened yet, and it won't for karmic :(14:27
thisfredbrb, have to reboot14:27
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
CardinalFangaquarius, We never know if the port is correct.  The log file can be stale; it always exists, regardless of process' existence.  We can add the additional check of trying to connect to a port, but we don't even know if we really connect to someone else's couchdb (unless we check auth too).14:33
aquariusbut you have to wait to see if couch started up properly *anyway*, before doing anything to establish the port.14:34
aquariussince we need to do that regardless, if you've done that check, then you know the logfile won't be stale14:35
=== gafton_ is now known as gafton
=== yofel_ is now known as yofel
CardinalFangaquarius, I don't know if I need to start couchdb at all.  Log file is there.  Is it from last month?14:36
aquariusthat's what find_pid is for.14:36
aquariusyou need to check the pidfile, and see if it's stale, and if it is, then start couch.14:37
=== teknico is now known as teknico_away
thisfredCardinalFang: that's where I messed up: I thought I kept the calling structure intact, and that I checked that everywhere find_port was called, find_pid was called first, but apparently I messed up14:38
thisfredPerhaps I should have let find_port continue to require a pid argument, even though it's not used14:39
CardinalFangthisfred, I added that.14:39
=== teknico_away is now known as teknico
thisfredCardinalFang: aquarius and I discussed earlier that we (I) need to fix the tests, so that they use the find_port and find_pid again, while not starting up the real couchdb, by hacking into local_files in a different way. Have you tested your branch manually, because the current tests don't actually exercise the find_port and find_pid code at all...14:44
thisfredwhich is how I managed to slip up and create logfilegate14:45
aquariusCardinalFang, my suggested approach is to lie to xdg about where your base directory is. That's what the start_local_couchdb test does. and then everything shoudl work :)14:45
thisfredaquarius: yeah, that part I'm starting a branch for now. My concern is that we should get CardinalFang's branch landed ASAP if we know for sure it works, since the current code doesn't14:46
aquariusagreed14:46
aquariusbut...having the code landed doesn't actually help, since what we need to do is get that code into a package and then into a PPA so people can start testing it14:47
thisfredBut I do want to know it works. I'm not having much luck with importing find_port14:47
aquariusand I don't want to hassle kenvandine into building a package more than he has to, since he's busy :)14:47
thisfredtrue14:48
thisfredaquarius: ok, then I'm starting the branch to fix the tests first, since we need to get that landed at the same time, and then package14:49
thisfredaquarius: CardinalFang  and we can use it to verify the correctness of any solution to the find_port issue you guys come up with14:50
=== teknico is now known as teknico_away
=== teknico_away is now known as teknico
kenvandineaquarius, thisfred, CardinalFang: if you have some proposed branches... i can merge them together into a ppa build for testing14:54
thisfredaquarius: open question: starting couch before, and stopping it after each test will be too slow, I think. Any good suggestions on a testcase wide 'teardown'?14:55
CardinalFangYou didn't like my stochastic method.14:56
* CardinalFang hugs the word 'stochastic'.14:56
thisfredCardinalFang: no, randomness in tests, I dislike :)14:56
thisfredCardinalFang: I prefer having a single test that tests the stopping and restarting14:57
thisfredCardinalFang: then run all the other tests against a running couch14:57
thisfredCardinalFang: also, the stochastic method leaves the couch running at the end of the tests, so it doesn't solve this problem14:57
aquariusthisfred, teardown is just stopping couch. call desktopcouch-stop, that's what it's for14:59
thisfredis it madness to stop couch from the testcase class' __del__ ?14:59
CardinalFangthisfred, yes it is.14:59
thisfredaquarius: teardown is run after each test15:00
CardinalFangthisfred, There's a container for test cases.  Can 'trail15:00
jblountMEETING BEGINS15:00
CardinalFang'trial' use test suite code?15:00
jblountZOMG! If you are a desktop+ person, this is your time. "me" get's your voice heard, hopefully your voice sounds like "DONE / TODO / BLOCKED"15:00
CardinalFangdagn.15:00
CardinalFangme15:00
aquariusthisfred, what? no it isn't, is it? setup runs at the start, teardown runs at the end15:00
thisfredaquarius: of each test15:00
jblountme15:00
aquariusme15:00
teknicome15:00
rodrigo_me15:00
thisfred(continue after)15:01
statikme15:01
urbanapeme15:02
jblountCardinalFang: It's go time15:03
CardinalFangDONE: desktopcouch replicate to u1.  desktopcouch getPort() fixups.  desktopcouch pairing fixups.  reviewed aquarius' talk notes.15:03
CardinalFangTODO: get reviews.  package d-c?15:03
CardinalFangBLOCKED: Nein.15:03
CardinalFangaquarius, if you please....15:03
aquarius⚀ DONE: bank holiday, reviewed chad's port branch; work with jan to fix oauth problem15:03
aquarius⚁ TODO: continue piston oauth in snowy; finish DC talk for Ubuntu Developer Week; look at doing username URL at U1; discussions with thisfred/cardinalfang about DC port stuff15:03
aquarius⚂ BLOCKED: nothing (woo!)15:03
aquariusdoo-do-do-do, doo-doo, doo-doo, you can't touch jblount15:03
jblountDONE: Tiny branch to fix tiny bugs, resolved (and landed) weird issue with pqm not liking my overlays-skin branch, slapping my VMs into shape.15:04
jblountBLOCKED: Nope (although need statik to tell me if I should submit a RT about hooking up blog.ubuntuone.com or some other address setup DNS style)15:04
jblountTODO: Add tabs to website (again) with some re-thinking about nav, get wordpress.com blog into shape15:04
jblountteknico: rocknroll15:04
teknicoDONE: worked on a Funambol deployment problem with pfibiger and mattgriffin, implemented the list_all template tag for the contacts CRUD web ui, improved the options handling of the create_couch_contacts.py script15:04
teknicoTODO: implement the details view for the contacts CRUD web ui15:04
teknicoBLOCKED: none15:04
tekniconext: rodrigo_15:04
rodrigo_DONE: More tomboy syncing fixes. oAuth request signing in couchdb-glib. Attended some ubuntu developer week talks. Prepared couchdb-glib basic info for Wednesday's aquarius talk15:04
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).15:04
rodrigo_• BLOCKED: none15:04
rodrigo_next aquarius15:04
rodrigo_ugh next statik15:04
rodrigo_or thisfred, sorry :D15:04
aquariusrodrigo_, fail :)15:05
statikDONE: New snapshot package of  couchdb 0.10.x with a handful of bugfixes including cascading auth.15:05
statikTODO: desktopcouch bugfix release and packaging branches reorg15:05
statikBLCK: not-blocked-just-yet but anxiously awaiting versions of desktopcouch, bindwood and couchdb-glib which use oauth by default. And a version of couhcdb with SSL!15:05
dobeyme15:06
jblountdobey: Your turn15:06
dobey☭ DONE: Released poauth 0.1, Packaged poauth 0.1, Pushed poauth to REVU, Fixed some small issues in poauth, Fixed ubuntuone-client to use poauth, Fixed ubuntuone-storage-protocol to use poauth15:06
dobey☭ TODO: Backport poauth to jaunty/hardy, Fix ubuntuone-storage-server to use poauth, Fix #40928115:06
dobey☭ BLCK: None.15:06
urbanapeerm, okay15:06
dobeyyou lied15:06
urbanapeDONE: Most of the way through the design for Bindwood to talk to Couch via OAuth.15:06
urbanapeTODO: Finish that up and push and propose. Also, I'm Face and On-Call Reviewer today.15:06
urbanapeBLOCK: Getting my desktopcouch branch to actually expect OAuth. Need a little help.15:06
urbanapestandup.next() -> StopIterationError15:06
aquariusurbanape, I can help with that15:06
thisfredaquarius: Zope TestCases have a way of doing testcase wide initialization and cleanup, but I don't think basic python unit tests do. (which is more in keeping with unit testing as it's meant to be, but a pain in cases like this)15:06
urbanapeaquarius, I'd like that.15:07
jblounturbanape: hugs, sorry I get confused keeping things in order.15:07
urbanape*sniff* it's okay.15:07
jblountMEETING ENDS (somewhat tentatively)15:07
aquariusoh, I missed: talk to someone who's interested in DC but uses fedora, so there might be some work to make that happen going on over the next week or so. :-)15:08
=== urbanape changed the topic of #ubuntuone to: Help contact: urbanape | File Sharing for Ubuntu | https://ubuntuone.com | https://launchpad.net/ubuntuone | Current Beta Client Revno is 191, Protocol Revno is 69 | Release 0.93
rodrigo_aquarius: the opensuse build service builds stuff for fedora also, so we could try finishing my work there and provide packages for all those RPM distros15:09
aquariusrodrigo_, rawk! really? I didn't know t hat.15:09
rodrigo_aquarius: yes, and for debian and ubuntu also15:09
rodrigo_although for .deb it needs more work, and it doesn't make sense for us15:10
aquariusrodrigo_, certainly DC doesn't do anything Ubuntu-specific, so it shold work elsewhere, assuming you have a hysterically up-to-date couchdb ;-)15:10
rodrigo_but for RPMs, we should be able to do one .spec with very few changes for both15:10
rodrigo_aquarius: yeah, I was a bit blocked on my opensuse packaging work because of erlang and couchdb15:10
aquariusI'm looking forward to the results of someone running DC on fedora to confirm that it works, work out which dependencies are required, etc15:10
rodrigo_but once that is done, it should be easy to package the client stuff15:11
rodrigo_aquarius: so when you're going to work on it, let me know and we'll see how to do it there if you want15:11
aquariusrodrigo_, someone else is working on it, I hope, rather than me, but yeah :)15:13
rodrigo_aquarius: ah, cool, we can just then publish the .spec in OS build service, and have the packages for both distros built there15:14
aquariusnice :)15:14
thisfredaquarius: so, if I poke the right XDG values into env, and force reload xdg.BaseDirectory (siC(amelCase)) it just works? And *that* doesn't mess with the rest of my system? Really?15:15
aquariusit doesn't mess with the rest of your system because the environment you've set goes away once the process ends. (doesn't it? it does, right?)15:15
CardinalFangaquarius, Rgr.15:16
thisfredI hope so, because they're not explicitly unset :) SO, probably we would have found out15:16
aquariusyep. So we're golden. :)15:16
thisfredaquarius: coolness15:16
thisfredthat's simple enough, wish I'd seen that15:17
CardinalFangaquarius, this process and all its children, (unless exec* is packed with a explicit environment).15:17
aquariusCardinalFang, that's what I thought. (Sudden clenching fear that I might have been wrong ;))15:17
thisfredonly open problem: how/when to stop the test couchdb15:17
aquariusin shutdown.15:17
CardinalFangthisfred, How evil do you want to be?  "import atexit"15:17
aquariusalthough I admit for that we need test-suite-wide setUp and tearDown. Someone must surely have solved this problem though!15:17
thisfredaquarius: indeed, zope testcase has, perhaps twisted as well15:18
thisfredCardinalFang: evil in tests I can live with15:18
aquariusif it doesn't, then have each setUp call test_suite_wide.setUp, which starts couch and then sets an envar. If the envar is set, don't start couch again15:18
CardinalFangi was just checking for suite setUp and tearDown, and didn't find it.  :(15:18
thisfredaquarius: yeah, the starting is easy15:19
aquariuswe need to be a little cleverer because you might want to run a subset of the test suite15:19
thisfredaquarius: the *stopping* however15:19
CardinalFangthisfred, "atexit" will let you stop at exit.15:19
thisfredCardinalFang: I'm fine with that15:19
aquariusah, yeah, stopping is harder because an individual tearDown can't look into the future to know whether there are other tests coming. atexit is probably the way, although it's horrid :)15:19
thisfredI'll leave refining it to people with more developed sensibilities ;)15:19
thisfredbeing Dutch means never saying sorry, even if you have to :)15:20
* aquarius applies for a dutch passport.15:20
aquariusso...thisfred, you're redoing the tests?15:21
thisfredaquarius: yes, should not be much work, mostly throwing code away15:21
thisfredaquarius: you can never go on holiday again15:21
aquariusthisfred, cool15:21
aquariusthisfred, I am beginning to get that impression. I suck at organising things :(15:22
thisfredaquarius: nah, I should have dug 1 mm farther15:22
CardinalFang(hrmpf!  does "couchdb -s" do nothing?)15:23
aquariusdpends on your definition of nothing15:24
urbanapeaquarius, so, I'm modifying the script that we had been using that generates the CouchDB port (dbus.sh) to get our overall environment necessary. So that script will spit out the port and the OAuth bits we need to communicate with Couch.15:30
aquariusurbanape, cool. Can you talk to the keyring from the shell?15:31
urbanapeI've got your dc-records-oauth branch checked out, but there's nothing that's seeding my keyring.15:31
urbanapeyes, I can, but there's no match (obviously)15:31
aquariusah, you want DC trunk, I think :)15:32
urbanapek, I can do that, too.15:32
urbanapealso, I seem unable to kill my system-installed desktopcouch. should I remove the package altogether while this is under development?15:33
aquariusrun desktopcouch-stop15:34
aquariuser, /usr/lib/desktopcouch/desktopcouch-stop15:34
urbanapeyeah, did that.15:34
aquariuskillall beam.smp is the nuclear option :)15:34
urbanapekilled it hard and dead15:35
CardinalFangthisfred, aquarius, so what's the state of getPort fixing?  Testing, and if pass, merge, and then release as 0.3.1?15:41
thisfredyes, that would have my +1, I'm working on the testing now15:42
aquariusCardinalFang, if we can get the tests in before releasing a 0.3.1 I'd lie that15:44
thisfredaquarius: fail15:45
thisfredaquarius: the xdg stuff looks nice in theory, but it doesn't quite work yet15:45
aquariuswhat doesn't work?15:45
thisfredeverything, including the test_design docs, still talks to .cache15:45
thisfredit's probably an import order problem.15:46
aquariusmight have to explicitly override xdg.cache_dir or whatever it is too15:46
thisfredI think local files is loaded before the tests start poking15:46
thisfredand so the dirs are never recomputed15:46
thisfredlet's see what effect moving the imports around has15:48
thisfredaquarius: I don't understand: why do you use a mocker if the tests are supposed to talk to a fake database?16:03
thisfredI mean real database, but not the user's16:03
dobeylook at the client tests. we override some env vars so stuff gets written to _trial_temp/foo instead of ~/.foo16:05
thisfreddobey: thanks, will do16:05
aquariusthisfred, I'm using the mocker for belt-and-braces security. We'll need to actually start a real couch for testing couch-startup16:05
dobeyor rather, our problem was that it was trying to write to /.cache, because the env was empty for the tests, given the way we run them in ubuntuone-client16:06
thisfredaquarius: so the one test that does this poking to start up a new database doesn't actually talk to it, right?16:08
aquariusI knew we'd need it...16:08
thisfredaquarius: oh yeah, and I think it works almost, or sometimes, so I'm happy you did most of the work ;)16:09
dobeyeh, i don't think "can we actaully start a db" is a particularly good test16:10
thisfredI just should learn to never ever say again in any context: "should not be much work" ;)16:10
dobeyheh16:10
thisfredlicense revoked :)16:11
aquariusdobey, why?16:12
thisfreddobey: starting a database in itself is a good test, because we do it in a very complicated way. Also: that's not so much at issue here, since that test doesn't actually exist: we need to start a database for all the tests to talk to.16:12
dobeyaquarius: because it's going to fail for anyone that doesn't have a specific version of couchdb, and might fail due to configuration differences16:13
aquariusdobey, that's the point. We want to know that the startup scripts properly cope with bad situations, and properly actually start up couch, so we know that we haven't broken them with a checkin.16:13
dobeyi am quite happy that in poauth, i completely avoided using a BaseHTTPServer to test the code/protocol16:15
thisfredaquarius: we should totally use what the client does. Shame we can't depend on it, so I'm gonna steal its testcase runner16:17
thisfreddobey: yes of course, faking and mocking is great for unit tests, but we're talking functional/integration tests here, really16:18
aquariusdobey, this isn't testing the protocol (I mock CouchDatabase, and we can continue doing that). This is testing that the scripts that start up couchdb actually work16:19
thisfredaquarius, chad: stupid question: what actually is 'trial' and why do we use that rather than the five million other arbitrary ways to run tests? (I'm not saying we shouldn't, it works just fine, genuinely curious since I hadn't come across it before)16:21
thisfredis it twisted?16:22
aquariustrial is the twisted test runner16:22
thisfredright16:22
thisfredubuntuone client seems to actually patch that into the regular test runner16:23
thisfredaquarius: I'm also asking since I think we may set the env vars at the start of the test run, and do  cleanup at the end, but I need to find out where I can hook in16:24
dobeythisfred: ubuntuone-client has its own test runner which inherits from the twisted one16:25
dobeythisfred: trial has nicer output than just running the standard python unit test thing16:26
thisfreddobey: no, it does not inherit from it, it imports it and uses it though16:26
dobeythisfred: well that's what i mean by "inherits". we don't just run "trial" but imported the twisted test runner independently16:27
dobeyand do some other stuff on top16:27
dobeylike the env magic and start up a dbus session bus16:27
CardinalFangthisfred, not to be too much of a distraction, but where is the service I use to map OAUTH to usernames or database-names ?16:27
thisfredCardinalFang: this jdo would know :)16:27
jdoCardinalFang, it has not been deployed yet16:28
thisfredCardinalFang:  I can also look up the branch in my mail16:28
thisfredah16:28
CardinalFangjdo, okay.  Out of curiosity, what does it yield?16:29
jdoCardinalFang, User info: ID, username, first/last name16:32
jdoemail16:32
CardinalFangaquarius, SteveA, thisfred: did we decide on a naming scheme for the desktopcouch database names on U1?  "%(username)s/%(databasename)s" ?16:36
aquariusCardinalFang, I think it's a bit more complex than that, for easier HTTP sharding. thisfred knows though :)16:36
thisfredaquarius: the http sharding is an open issue. We're using u/xxx/xxx/[userid]/[databaseid] where the xxxs are the first six characters of the hash of the user id. this is to spread the dbs evenly over directories, but I don't know that it will scale out over multiple servers as is16:38
thisfredso anyone have any idea how I can hook into the start of a twisted trial run? are there plugins you can register or something?16:39
dobeythisfred: you probably want to do stuff in setUp() normally, but dbus seems to fail at that16:40
thisfreddobey: but there should be a way to hook into the test run, rather than each individual test, right?16:41
dobeyso if you need to start a dbus session bus, then you basically need to do what ubuntuone-client does (which is have its own test script), and run that instead of trial16:41
thisfredyeah, I was afraid that was the answer16:41
dobeyyou might be able to do less work in a shell script, instead of python, but i'm not sure what all you need to do exactly16:42
dobeyand i'm off to get some lunch :)16:42
* aquarius ahahahahas at thisfred and CardinalFang over tcole's comment about the logfile on CardinalFang's branch :)16:43
aquariusso, for reading port info from the logfile: me and tcole. For reading it from /proc: CardinalFang and thisfred. And tcole's got the coolest beard, so he wins.16:49
tcolethe main thing is dealing appropriately with stale information16:50
tcoleonce we get the info from the log file, actually try talking to the process to verify16:50
tcoleironically, I shaved the beard off some time ago16:51
thisfredaquarius: and I'm working on mine, or at least have been too lazy to shave since I moved. Also: I'm totally +1 on logfile, but +10 on what we can get working now. Which in my case seems to be absolutely nothing, mostly.16:52
aquariusCardinalFang, thisfred: it would be interesting to get tcole's perspective on your technical issues with using the logfile16:54
thisfredaquarius: no technical issues, AFAIK: we just reverted to the working proc file, because the logfile code was broken16:55
CardinalFangaquarius, thisfred, I'm happy with using the logfile if you can get it working as well.17:08
CardinalFangLunch! Back in 1h!17:08
aquariusthisfred, I need to get going -- have to meet up with some people this evening :(17:13
thisfredaquarius: ok, keep you posted by mail17:13
aquariussorry to have to bail17:14
thisfredaquarius: no problem, I will sort it! I'm sure17:19
=== yofel_ is now known as yofel
urbanapestatik, you about?17:55
urbanapeor anyone else hip to the new Couch DB + OAuth?18:12
CardinalFangj0!18:35
urbanapeheya, CF18:36
=== teknico is now known as teknico_away
thisfredCardinalFang: heads up: I think I'm near a solution for the tests, at least it's now completely broken, and not seemingly working but talking to the wrong db. I understand you will be working on the packaging, so I will tell you when I'm done, and hopefully get some other people to review it.18:49
CardinalFangthisfred, Roger.18:49
thisfredCardinalFang: bah: I think the problem may be: 1. tests poke in env settings to point to test couchdb 2. tests initiate code that talks to couchdb 3. code that talks to couchdb gets info from DBUS 4. DBUS finds couchdb not running and starts it, but at this point I'm not sure it looks at the test ENV anymore19:05
thisfredIt's a Kind of Magic19:06
CardinalFangthisfred, well, the dbus call only works because bin/desktopcouch-service is running.19:06
thisfredCardinalFang: ah, right, I could start my own from the tests. That would break the user's normal operations, but at least we don't screw up their real data, though they could screw up our test data, or lose some writes to our temporary db19:07
thisfredMan, this is a fine ball of twine though.19:09
thisfredI want test driven development. At least for everyone else's code! :)19:09
CardinalFangthisfred, I say just kill your running desktopcouch-service and start it where you're testing.  Don't get bogged down in making trial work directly.  Just make a shell script, "run-tests" that does what you need.19:29
kenvandinethisfred, any eta on a dc release?19:30
* gafton_ begs xchat to stop quitting19:30
thisfredCardinalFang: yeah, I'll do that, I think.19:30
thisfredkenvandine: not sure no, but I'm not sure how much work we'll be bugging you for, as CardinalFang and statik have changed the release process for dc substantially, so probably CardinalFang can answer your question better than I19:32
thisfredkenvandine: if we're all waiting on my tests fix, then, eh, as soon as I get a clue... :(19:32
kenvandinei am mostly concerned with getting it in time to have an uploader still awake19:33
thisfredright19:33
kenvandinestatik, CardinalFang: when you guys work on the packaging branch... make sure you merge in my changes in ~ubuntu-desktop19:33
kenvandinethisfred, yeah... it's pitti who is in germany19:33
=== rmcbride changed the topic of #ubuntuone to: Help contact: urbanape | File Sharing for Ubuntu | https://ubuntuone.com | https://launchpad.net/ubuntuone | Current Beta Client Revno is 194, Protocol Revno is 69 | Release 0.93
kenvandinegetting late there now19:33
thisfredCardinalFang: the critical bugs are fixed yes?19:34
thisfredCardinalFang: perhaps we should let perfecting the tests not keep us from releasing then19:34
CardinalFangkenvandine, I think we've done that.  Thanks!19:36
kenvandineCardinalFang, good... just make sure desktopcouch depends on python-desktopcouch-records :)19:36
CardinalFangkenvandine, It does.19:37
kenvandinegood19:37
kenvandinethisfred, so are the tests at least passing?19:41
thisfredkenvandine: the tests always pass, and test the real code, the only part that is undertested  is the stuff that starts couch. That is how the logfile reading bug slipped through.19:43
kenvandineah19:43
thisfredCardinalFang: can I get an ack on the portnumber issue being done?19:44
thisfredow, it's still waiting on review19:44
thisfredI wish stuart hadn't abstained. That resulted in everyone else avoiding  it19:44
thisfredCardinalFang: I'll do a review, but can you tell me the best way to manually test that the code actually finds the port and if not starts couch?19:46
CardinalFangthisfred, confirming.19:48
CardinalFang...19:48
kenvandinethisfred, fwiw... i did build a deb of your branch and ran it... seemed fine19:52
thisfredkenvandine: mine, or chad's?19:54
kenvandineoh19:54
kenvandinechad's19:54
kenvandinelp:~cmiller/desktopcouch/get_port_not_stale19:55
thisfredright, that's good news. I'll look through the code, and approve asap, and cajole someone else into doing the same19:55
dobeyhrmm19:56
CardinalFangthisfred, Okay:  Confirmed that  https://bugs.edge.launchpad.net/desktopcouch/+bug/420911  is avoided with /proc searching.19:59
ubottuLaunchpad bug 420911 in desktopcouch "Cannot getPort - desktop-couchdb.log doesn't exist" [Critical,New]19:59
CardinalFangAdded comment about it.19:59
CardinalFangSo, the other bug, hrm....20:00
CardinalFanghttps://bugs.edge.launchpad.net/desktopcouch/+bug/422127   Added comment.20:02
ubottuLaunchpad bug 422127 in desktopcouch "getPort succeeds when desktopcouch isn't running" [Critical,New]20:02
CardinalFangkenvandine, Are those  ^  the two very big bugs we should fix now?20:02
kenvandineyes20:02
CardinalFangRock.20:03
thisfredCardinalFang: branch is approved as you probably noticed, but if not, now  you know20:15
thisfred;)20:15
thisfredand let me know what else I can do to help20:15
CardinalFangthisfred, Okeh!  Dank.20:16
CardinalFangstatik, You around?20:27
statikhi CardinalFang, i am now. did my mail go through this time?20:32
CardinalFangstatik, Yes.  Now I see both.  Weird.20:33
CardinalFangThanks!20:33
kenvandinestatik, i need to run out pretty soon... can you prepare the upload for the dc release?20:48
kenvandineand ping pitti if he is still around?20:48
CardinalFangstatik, I can't find where to upload the orig.tar.gz .  Should it be a link on  https://edge.launchpad.net/ubuntu/karmic/+source/desktopcouch  ?20:49
kenvandinestatik, ok... pitti is still around and awaiting your ping :)20:54
kenvandinewhen you guys are ready20:54
urbanapeI am a horrible Face.20:56
kenvandinestatik, i am heading out for a bit.. call my cell if you have any urgent needs20:56
CardinalFangkenvandine, I'm uploading.20:57
CardinalFangWell, I am trying.20:57
CardinalFangkenvandine, statik,  "A release requires a corresponding milestone that is not attached to another release."  Wtf?21:11
dobeyyes21:12
dobeyCardinalFang: just make a new milestone called 0.4 or 0.3.1 or whatever you are numbering the release21:12
CardinalFangOkay.21:12
thisfredstatik: re:ssl kocolosk reports back that it *does* seem to be a simple oversight, and that a workaround would be 5 minutes work (let's inflate that a lot to include landin testing and packaging) but he's talking to überstream to see what solution mochiweb would prefer21:28
CardinalFangrawk, thisfred.21:28
thisfredCardinalFang: indeed :)21:29
statikkenvandine, james_w had agreed this morning to sponsor, we are going to try doing a merge proposal to lp:ubuntu/desktopcouch21:31
statikwill definitely ping pitti if we can't get james_w for some reason21:31
statikthisfred, that is great news21:32
* dobey wonders if james_w got to look at poauth today21:32
statikthisfred, as soon as SSL support is committed to the 0.10.x couchdb branch i will build a new package21:38
thisfredstatik: I will immediately dispatch a pigeon when that happens21:39
thisfredforthwith!21:39
statikawesome21:40
statiki'm going to see about backporting erlang and xulrunner and couchdb to hardy for the data center now21:40
statikdobey, any exotic packages you uploaded to karmic that should go on our watchlist for bugs other than icontool?21:41
dobeyi'm trying to get poauth uploaded into karmic21:43
statikok, i've got that on my list21:43
dobeyit's still on the fence21:43
dobeystatik: i hope we can get it in though21:46
statikme too21:46
CardinalFangdc0.3.1release$ bzr bd -S21:49
CardinalFangdpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 221:50
CardinalFangdebuild: fatal error at line 1334:21:50
CardinalFangdpkg-buildpackage -rfakeroot -d -us -uc -S failed21:50
CardinalFangbzr: ERROR: The build failed.21:50
CardinalFangstatik, ^  Hrm.21:50
statikCardinalFang, you might need to specify which key to sign with21:50
statikdoes debuild -S -sa do any better?21:50
statikalso, i have DEBSIGN_KEYID=NNNNN set in ~/.devscripts21:51
CardinalFangstatik, same.  Exactly the same, I thinkj.21:51
statikwhich overrides which key is chosen to sign with21:51
statikotherwise devscripts tries to find the key based on the email address in the changelog, which doesn't always work the way you want it to21:52
statikyou can also specify an unsigned package, since you aren't going to upload it, you're just going to testbuild in pbuilder21:53
=== teknico_away is now known as teknico
CardinalFangstatik, it was missing build dep cdbs22:08
statikah, that would do it22:08
* statik hugs apt-get build-dep and sticks his tongue out at rpms22:08
CardinalFangOkay, now I have source files.22:08
statikyay! the next part is really fun. apt-get install ubuntu-dev-scripts; ln -s /usr/bin/pbuilder-dist ~/bin/pbuilder-karmic;pbuilder-karmic create;pbuilder-karmic build desktopcouchfoo.dsc22:09
statiker, ubuntu-dev-tools not ubuntu-dev-scripts; sorry22:11
CardinalFangRgr. Building....22:13
CardinalFangstatik, Okeh!  I have .debs.22:31
statikCardinalFang, awesome! after a quick testinstall, you are probably ready to propose the spb for merging to lp:ubuntu/desktopcouch, and ping james_w to upload it22:32
CardinalFangstatik, You say "testinstall".  Is that command somehow, or are you being all German?22:33
statikI do cd ~/pbuilder/karmic_result; sudo dpkg --install desktopcouchfoo-i386.deb;scan the logs, try out /usr/bin/start_local_couchdb.py, etc22:34
CardinalFangstatik, looks good.  The only problem I see is that couchdb doesn't have authentication on and the file:/// URL we use has a username/password specified, which makes Firefox complain that it's not necessary and may be a phishing attack.22:43
statikCardinalFang, great!22:43
CardinalFangOkay.  Uploading and proposing.22:44
statikcool. point me to the merge proposal when you register it, I would like to have a look, i've never seen one before22:44
statikby uploading you mean pushing to lp:~ubuntuone-control-tower/ubuntu/karmic/desktopcouch/spb ?22:44
CardinalFangYep.22:45
CardinalFangstatik, https://code.edge.launchpad.net/~ubuntuone-control-tower/ubuntu/karmic/desktopcouch/spb22:47
statikCardinalFang, it's interesting that the last commit didn't have the comments from the changelog22:47
statiklike r53 did22:48
CardinalFangEek.  Hrm.22:48
statikCardinalFang, are the changes to debian/changelog committed there? swapping from UNRELEASED to karmic and adding entries for the two bugs that this upload will close?22:49
statikit's ok for those to be in extra commits22:49
CardinalFangCrap.  I reverted that to merge from the bugfix.22:50
CardinalFangForgot to mv back.22:50
statikno harm done i think22:50
CardinalFangI hope that's the only mistake I made.22:51
CardinalFangstatik, reload.22:52
* statik waits for launchpad to finish scanning the latest revision22:53
CardinalFangthere.22:53
statikCardinalFang, it looks good. I normally write 'New upstream bugfix-only release' just because i'm super nervous about giving the right impression, but I think this looks good22:55
statiki think it's ready to 'propose for merging'22:55
statikdon't forget to set the reviewer to ubuntu-main-sponsors22:56
dobeyhrmm22:57
dobeyhttps://edge.launchpad.net/ubuntu/+source/poauth <- not a 40422:57
statikpython-poauth ?22:58
dobeywould be the binary package, yes22:59
dobeysource is poauth though22:59
statiki usually name my sourcepackages with the python- prefix too, for stuff that is pure python22:59
statiki don't know why though22:59
dobeysource should match the tarball name usually22:59
dobeyonly time it shouldn't really, is if there are conflicts23:00
statikthat seems reasonable23:00
statikman erlang takes forever to build23:00
dobeystatik: can you go to https://edge.launchpad.net/ubuntu/+source/ubuntuone-client/+subscribe and subscribe "Ubuntu One Hackers"? :)23:00
statikabsolutely. i thought i already had, but i must have missed it23:00
dobeythanks23:02
dobeyi'm not an admine of ~ubuntuone-hackers, or i'd do it :)23:02
CardinalFangstatik, I must go offline, 20 minutes ago.23:03
CardinalFangI can be back in 40min.23:04
statikCardinalFang, thanks for taking care of this, i'll keep an eye out for it too23:04
thisfredok, I FINALLY got the tests doing something23:20
thisfredglass half full side: I learned a little about xdg23:20
thisfredAll tests pass :) except for the mocker... :(23:23
statikthat mocker23:31
dobeyis it mocking you?23:32
thisfredterribly23:40
thisfredit just sits there23:41
thisfredlooking at me23:41
thisfredanyhow: I mailed Stuart, he'll be my knight in shining armor and solve it tomorrow morning, these test fixes missed this alpha already anyway, and I'm glad I got the rest of it working23:42

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