/srv/irclogs.ubuntu.com/2013/05/10/#launchpad-dev.txt

=== jamesh_ is now known as jamesh
StevenKwgrant: Pushed a pruner branch up, I fits after switch-bmp and before drop-branchmergeproposal02:42
StevenKwgrant: I'm waiting to see if the scanner actually loves the branches02:43
wgrantStevenK: I pushed a couple of branches this morning, so it should be fine.02:44
wgrantStevenK: How well does BulkPruner handle long queries like the one in PreviewDiffPruner?03:27
wgrantStevenK: Can you push -r-2 and repush https://code.launchpad.net/~stevenk/launchpad/switch-bmp-to-previewdiff-merge_proposal to get the diff updated?03:31
StevenKwgrant: From BulkPruner's docstring: "This is designed for the case where calculating the list of items is expensive, and this list may be huge. For this use case, it is impractical to calculate a batch of ids to remove each iteration."03:32
wgrantStevenK: Aha03:32
StevenKwgrant: I can't really push from a pipe'd branch03:32
wgrantStevenK: Why not?03:33
wgrantIt's not that magical.03:33
wgrantSwitch to the relevant pipe03:33
wgrantThen push03:33
StevenKThe push branch in bzr info still includes .bzr/branches03:34
wgrantStevenK: Sure, that automatic push branch will be wrong03:36
wgrantSo don't use the automatic push branch :)03:37
StevenKwgrant: I need --overwrite with -r -2?04:03
wgrantStevenK: Yes04:04
wgrantStevenK: Only a push of a superset will work without --overwrite04:05
StevenKwgrant: Hopefully that fixed switch-bmp04:22
wgrantStevenK: Indeed04:31
StevenKwgrant: I've re-sync'd the pipeline to fix your concern with 44-104:31
wgrantStevenK: So, apart from the DB branch I think that's fine. Normally now I'd do a full trial migration on DF just to catch any gotchas, given that it won't get a full test run on qastaging until most of it's already deployed to production (and the DB)04:31
wgrantStevenK: Are you going to move the NOT NULLs into 44-2?04:33
StevenKwgrant: That was your concern with 44-104:33
wgrantStevenK: 44-2 is an fdt patch04:33
wgrant44-1 is live04:33
wgranta NOT NULL on a non-trivial table must be fdt04:33
StevenKAnd yeah, they'll be in 44-204:33
wgrantRight04:33
* StevenK reaches for mawson04:35
StevenKwgrant: Anything surprising in ZTK 1.1.6?04:36
wgrantStevenK: No, just a few minor upgrades04:36
wgrantOur stuff also mostly works with ZTK 2.0a1, once I hacked buildout 2 to be sane.04:37
StevenKHah04:37
StevenKBleh04:37
wgrant(by "mostly works" I mean RootObject:index.html renders)04:37
StevenKThe pruner stuff is infecting drop-branchmergeproposal-merge_diff04:37
StevenKNow I have to resubmit it04:37
wgrantOr you could just pretend that drop-branchmergeproposal-merge_diff isn't really part of the pipe any more04:38
wgrantGiven you're basically at the end anyway04:38
wgrantuncommit the merge?04:38
StevenKNot that simple04:38
wgrantIt's not the last branch?04:38
StevenKGiven r16611 is the last revision which changes the DB patch04:38
StevenKAnd r16609-r16610 are merges from the prune branch04:39
* StevenK waits for mawson to finish WADLing04:46
StevenKwgrant: Do you still require the lib/lp/soyuz/scripts/publishdistro.py hack on DF?04:57
wgrantStevenK: The one to publish just my PPA?04:59
StevenKwgrant: Yup04:59
wgrantStevenK: If it's just that, then kill it04:59
StevenKwgrant: DF populated, 108020 previewdiffs with NULL branch_merge_proposal and date_created05:25
wgrantStevenK: And how many not null?05:25
StevenKOh, sorry, that is NOT NULL05:26
StevenK178059 are both NULL05:26
wgrantStevenK: Does 108020 roughly equal the number of merge proposals?05:31
StevenK11455005:32
StevenKClose enough05:32
wgrantRight05:34
StevenKwgrant: Let me slay 178059 previewdiffs05:35
wgrantStevenK: Perhaps not05:35
StevenKOh?05:35
wgrantStevenK: That part of the testing is difficult to revert05:35
wgrantEverything else is easy to redo later05:35
wgrantDeleting them is not :)05:35
wgrantSo I'd skip that piece of testing until it's unavoidable.05:36
* StevenK drags DF up to switch-bmp05:36
nigelbHrm, is there any way I can get the api I made for bug status in comments made more public?05:47
wgrantnigelb: What do you mean "more public"?05:49
nigelbwgrant: Um, can somethign that's not LP hit it?05:49
nigelbIt's one of those +link urls.05:49
wgrant+check-links?05:49
wgrantI don't see why not.05:50
nigelbOh.05:50
nigelbStupid question - how do I hit it?05:51
nigelblaunchpad.net/+check-links?05:51
wgrant+check-links should exist on every object, I think05:51
wgranthttps://launchpad.net/+check-links?link_hrefs={%22branch_links%22:%20[%22/+branch/foo%22,%20%22/+branch/launchpad%22]}05:56
nigelb<p>Launchpad requires a <code>REFERER</code> header to perform this action. There is no <code>REFERER</code> header present. This can be caused by configuring your browser to block <code>REFERER</code> headers.</p>05:58
nigelb(hitting it with requests)05:58
wgrantnigelb: GET should work05:59
wgrantFor POST you'll need to forge a referer05:59
nigelbaha05:59
StevenK    raise LookupError(aliasID)06:02
StevenKLookupError: 51928797<br />06:02
StevenKBAH06:02
StevenKwgrant: I guess I need to create a BMP and then run the BMPJ to get a real previewdiff on DF?06:17
wgrantStevenK: Or create a BMP and fake the BMPJ06:17
wgrantI'd fake the BMPJ06:17
StevenKI have a bunch of BMPs06:17
wgrantDF can in theory talk to parts of prod codehosting, but probably not directly to the branch store06:18
wgrantSo create the PD manually with fake content, however the BMP does it.06:18
StevenKwgrant: /srv/launchpad.net/dogfood-logs/2013-05-10/OOPS-e4a155a1aec93e2714a3a720edf626f706:31
wgrantStevenK: That's why I said not to use a BMPJ06:38
StevenKBleh06:38
czajkowskimorning06:39
StevenKwgrant: https://code.dogfood.launchpad.net/~stevenk/launchpad/skip-private-dev-focus-mishmash/+merge/13112406:46
StevenKwgrant: http://pastebin.ubuntu.com/5650261/ is relevant too06:47
wgrantStevenK: And date_created is set?06:48
StevenK2013-05-10 06:40:50.043606:49
wgrantExcellent06:49
StevenKwgrant: So I can land 40-0?06:55
wgrantStevenK: What's your full deployment plan?06:56
wgrantThe sequence of landings, deployments and migrations.06:56
StevenKwgrant: http://pastebin.ubuntu.com/5650283/07:00
wgrantStevenK: Sounds good07:10
wgrant(plus the pruner after that)07:10
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/bug-1124352/+merge/16327007:11
StevenKwgrant: Pruner is step 507:11
wgrantEr yeah07:11
wgrantThat07:11
StevenKwgrant: You allow setting of buildd_secret in the ZCML07:14
StevenKFor IArchiveAdmin07:14
wgrantStevenK: That's necessary because setting private sets buildd_secret07:16
wgrantBut no forms exposes it, and it's not on the API07:16
StevenKRight07:17
wgrantLocking it down further in ZCML will cause lots of test failures07:17
wgrantBut we should do it eventually07:17
StevenKwgrant: +98/-97 disappoints me07:17
StevenKBut r=me07:17
wgrantHuh07:17
wgrantI assumed it'd be net +100 or so07:17
wgrantWhat did I do...07:17
wgrantAll the buildd_secret stuff, I guess07:18
wgrantThis wasn't meant to be even close to negative :)07:18
wgrantA convenient accident07:18
StevenKHaha07:18
wgrantI'll create the celebrities on all four instances.07:20
wgrantStevenK: Can you QA your changeOverride thing?07:28
wgrantI hope to deploy tonight07:28
=== olli_ is now known as olli
=== wedgwood_away is now known as wedgwood
=== tasdomas` is now known as tasdomas_afk
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== tasdomas_afk is now known as tasdomas

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