[01:54] * StevenK stabs BulkUpdate [02:49] wgrant: http://pastebin.ubuntu.com/5603182/ First bit is the query I wrote, second bit is my attempt to convert it into BulkUpdate, third bit is what BulkUpdate thinks of it [02:51] StevenK: what do you expect dict([PreviewDiff.merge_proposal_id, BranchMergeProposal.id]) to do? [02:52] I was wanting that bit to expand to the SET bit in the query, but I'm not clear on what BulkUpdate actually wants there. [02:52] That's not valid dict syntax [02:52] dict() takes a sequence of pairs [02:52] IIRC that wants to be a mapping of columns to expressions [02:53] So dict([(PreviewDiff.merge_proposal_id, BranchMergeProposal.id)]), perhaps [02:53] But it's been a while since I wrote BulkUpdate [02:57] StevenK: And you might need to use values= to include BMP [02:57] And you want table=PreviewDiff, not table=BranchMergeProposal [02:57] wgrant: Yeah, I've just fixed it [02:58] Worked those bits out myself [02:58] But thanks [02:58] The query it's generating looks good [02:58] StevenK: r16467 [02:59] This is similar to my BFJ flattening stuff [02:59] But if you've already got it working.. [02:59] I have a permission error, but what it's excuting from the query log looks great [04:09] wgrant: So I think I might land the YUI2 destruction branch [04:10] StevenK: Sounds good [04:18] wgrant: So my garbo job works, now you want me to keep going and drop BMP.merge_diff before proposing? [04:19] StevenK: There's a sequence of branches that end with the dropping of BMP.merge_diff. I wouldn't land any of them until you've got the last branch working, so you don't land anything that won't actually work. [05:11] StevenK: https://lpstats.canonical.com/graphs/CodeImports/20130426/20130427/ is what all that codeimport spam was about, btw [06:43] Hmmm [06:43] How did this code ever work [07:06] StevenK: Second phase of debugging. === yofel_ is now known as yofel === olli__ is now known as olli === wedgwood_away is now known as wedgwood === gary_poster is now known as gary_poster|away === gary_poster|away is now known as gary_poster === gary_poster is now known as gary_poster|away === gary_poster|away is now known as gary_poster === wedgwood is now known as wedgwood_away