* StevenK stabs BulkUpdate01:54
StevenKwgrant: 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 it02:49
mwhudsonStevenK: what do you expect dict([PreviewDiff.merge_proposal_id, BranchMergeProposal.id]) to do?02:51
StevenKI 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
wgrantThat's not valid dict syntax02:52
wgrantdict() takes a sequence of pairs02:52
wgrantIIRC that wants to be a mapping of columns to expressions02:52
wgrantSo dict([(PreviewDiff.merge_proposal_id, BranchMergeProposal.id)]), perhaps02:53
wgrantBut it's been a while since I wrote BulkUpdate02:53
wgrantStevenK: And you might need to use values= to include BMP02:57
wgrantAnd you want table=PreviewDiff, not table=BranchMergeProposal02:57
StevenKwgrant: Yeah, I've just fixed it02:57
StevenKWorked those bits out myself02:58
StevenKBut thanks02:58
StevenKThe query it's generating looks good02:58
wgrantStevenK: r1646702:58
wgrantThis is similar to my BFJ flattening stuff02:59
wgrantBut if you've already got it working..02:59
StevenKI have a permission error, but what it's excuting from the query log looks great02:59
StevenKwgrant: So I think I might land the YUI2 destruction branch04:09
wgrantStevenK: Sounds good04:10
StevenKwgrant: So my garbo job works, now you want me to keep going and drop BMP.merge_diff before proposing?04:18
wgrantStevenK: 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.04:19
wgrantStevenK: https://lpstats.canonical.com/graphs/CodeImports/20130426/20130427/ is what all that codeimport spam was about, btw05:11
StevenKHow did this code ever work06:43
nigelbStevenK: Second phase of debugging.07:06
=== 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

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