/srv/irclogs.ubuntu.com/2013/01/16/#launchpad-dev.txt

=== slank is now known as slank_away
StevenKsteven@undermined:~/launchpad/lp-branches/drop-populate-specification-aag% bzr di | diffstat -s00:26
StevenK 2 files changed, 1714 insertions(+), 1712 deletions(-)00:26
StevenKwgrant: ^ :-(00:26
wgrantStevenK: :(00:45
wgrantStevenK: How?00:45
wgrantOh, sampledata00:45
wgrantBut that's quite a lot00:45
wgrantpostgres order change?00:45
StevenKpg_dump jumped from 9.1.6 to 9.1.700:49
wgrantRight00:50
wgrantSo probably some reordering00:50
wgrantOr an arch change00:50
wgrantOr something like that :)00:50
StevenKLots of blank lines00:50
StevenKhttp://pastebin.ubuntu.com/1536113/00:50
wgrantOur sorting thing doesn't coalesce blank lines, but I'm not sure what's with that order change00:51
StevenKI'm not even sure if we have any specs that are non-public in sampledata00:52
wgrantHeh, probably not, no00:52
StevenKThen it might not even matter00:52
StevenKwgrant: Do you know which revno added the dependency stuff?03:42
StevenKMy pawing through bzr log hasn't turned it up03:42
wgrantStevenK: r1633303:43
wgrantfrom bzr log lib/lp/blueprints03:43
wgrantStevenK: Looking04:36
StevenKI think it needs a fix04:37
StevenKI've been pondering for a few minutes04:37
wgrantThe AP nullness check is pointless04:38
StevenKOh?04:39
wgrantAlso, I'd probably do it with one query per batch04:39
wgrantYou're walking up by ID, and the function is idempotent04:39
wgrantYou might as well just run over all of them, rather than playing planner roulette.04:39
wgrant(AP will be left null in almost all cases, because almost all of them are public)04:39
wgrantThere's also no need to call reconcileAccess here04:40
StevenKBut we check information_type04:40
wgrantRight, but there's no point04:40
wgrantJust iterate in batches from spec 1 to MAX(spec.id)04:40
wgrantCalling specification_denorm_access on each batch04:40
wgrantThe spec reconcileAccess was never needed, because there was no legacy privacy to migrate04:42
StevenKwgrant: http://pastebin.ubuntu.com/1536441/04:46
wgrantStevenK: I'm not sure if that tuple expansion will work, but if it does then great04:48
StevenKIt does not04:49
StevenKIt works for id 1, and then it tries for set of more than one id04:51
StevenKwgrant: http://pastebin.ubuntu.com/1536494/ even works05:12
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/registry-view-accounts/+merge/14343805:13
StevenKwgrant: r=me05:17
StevenKwgrant: So, pastebin peering?05:18
wgrantStevenK: If it works05:18
wgrantYou could also do execute(Select('specification_denorm_access(id)', tables=[Specification], where=[Specification.id.is_in(blah)]))05:18
wgrantBut it doesn't matter much05:19
StevenKDo not understand these test failures05:24
StevenKwgrant: The diff is updated05:25
StevenKwgrant: But I think I should reset Specification.access_policy to NULL before the second runHourly due to triggers05:26
wgrantStevenK: Indeed05:28
StevenKAnd since Specification.access_policy doesn't exist, I'm sort of stuck how to reset it05:29
wgrantStevenK: Create it?05:29
wgrantThis isn't a DB branch; you're allowed to make model changes05:30
StevenKSure, but I've managed to get this far with doing so :-)05:30
wgrantSQL!05:31
StevenKHmm05:39
StevenKThe second runHourly is ignoring the spec since it's already seen it, too05:40
wgrantAh, yeah05:40
wgrantYou'll have to nuke the memcache record05:40
wgrantOr create one public, one private, nuke access_policy across specification, then do a single runHourly05:41
StevenKBleh, it looks like .specifications is supposed to filter out inactive projects and it's broken, and I don't see how05:51
StevenKwgrant: Diff updated05:52
wgrantStevenK: r=me05:55
StevenKI know, let's land it :-P05:57
wgrantBad StevenK05:58
StevenKwgrant: Diff is at http://pastebin.ubuntu.com/1536676/ ; test failures at http://pastebin.ubuntu.com/1536679/05:58
StevenKwgrant: You lose buildbot bingo06:24
wgrantIndeed06:26
* StevenK facepalms at himself re bug 110006106:44
_mup_Bug #1100061: BranchSubscriptionAddOtherView rejects open teams even for public branches <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1100061 >06:44
wgrantAh, so it was you :)06:45
* StevenK taps his foot waiting for BMPJ06:49
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/fix-branch-subscription-for-public/+merge/14344106:49
plommehey guys06:50
wgrantplomme: Hi06:52
plommeI'm new to submitting patches for lp I wante'd to know what the procedure was.06:52
wgrantplomme: Is your change in bug #1097770 still desirable if we remove the private releases restriction?06:53
_mup_Bug #1097770: The series timeline does not distinguish between active and inactive milestones <javascript> <milestones> <projects> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1097770 >06:53
wgrantIt was added in error, and was never intended to exist06:53
wgrantThe intent was to prevent release *files* from being added, but not the releases themselves06:53
plommeno actually06:53
plommeif proprietary projects can handle releases then the bug correction is mute06:54
wgrantRight, that's what I thought.06:55
wgrantStevenK or I can probably arrange that early next week.06:55
wgrantAnd it's likely a better solution than the somewhat hacky inactive thing06:55
plommeyeah06:55
plommeI agree06:55
plommethanks a lot for looking into it! It's been somewhat of a thorn in our foot =)06:56
wgrantNo worries, sorry about the inconvenience. There was a bit of a miscommunication around the addition of that check.06:57
* StevenK peers at wgrant06:59
wgrantI feel like I'm being watched.07:00
StevenKwgrant: I linked you an MP :-)07:00
wgrantI know, but then plomme appeared :)07:00
plommehaha I can get distracting sometimes07:01
wgrantHeh07:04
wgrantDone now, anyway :)07:04
plomme:)07:12
plommebrb07:16
DMillok back.07:21
adeuringgood morning08:57
czajkowskijtv: how wise/easy is it to remove a name from a LP  translations?09:46
jtvczajkowski: a person's name?09:48
czajkowskiyup09:48
jtvFrom translated strings?09:48
czajkowskihttps://support.one.ubuntu.com/Ticket/Display.html?id=2806109:48
czajkowskido you still have access to the RT ?09:49
jtvczajkowski: seems like... trying to get to the ticket09:50
jtvChecking out the links the user posted...09:50
jtvczajkowski: that's a tough one.09:51
jtvThe remove-translations script may work for this.09:52
jtvczajkowski: you'll have to remove the user's translations from those PO files to get this done.  Have a look at scripts/rosetta/remove-translations-by.py.09:53
jtvIIRC we never quite got around to making it work properly with user names, so you may have to look up the user's id.09:54
StevenKgetUtility(IPersonSet).getByName() wants a word.09:54
czajkowskijtv: never gone near those scripts before09:55
czajkowskithis should be *interesting*09:55
StevenKczajkowski: WCPWG09:55
StevenKWCPGW, even09:55
jmlbzr: ERROR: Server sent an unexpected error: ('error', 'xmlrpclib.Fault', "<Fault -1: 'Unexpected Zope exception: DisconnectionError: ERROR:  pgbouncer database is disabled\\n'>")10:00
jmljust fwiw10:00
czajkowskiStevenK: you say this...10:01
lifelessjml: nice timing :)10:01
lifelessjml: I'm just guessing, but I smell a FDT, and you hit the what 5 second window?10:02
czajkowskilifeless: bingo10:02
jmllifeless: that's my guess10:02
czajkowskiit finished at 10:0110:02
StevenKYeah10:03
wgrantlifeless, jml: 3.2s, actually10:17
wgrantThat's quite some luck10:17
czajkowskijtv: is there a wiki page on this somewhere in the vast quanties of wiki pages ?10:25
jtvczajkowski: no, I don't think we have a wiki page on that particular script...11:12
=== yofel_ is now known as yofel
cjwatsonwgrant: Could I have a patch number for adding a phase column to BPPH, please?13:27
=== slank_away is now known as slank
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
gmbbac, benji, gary_poster, frankban, teknico: Do any of you guys have time to review a proposed merge for lp2kanban? If not, no worries; I'm just hoping to get someone with context knowledge to take a glance.16:34
benjigmb: I can.  Also, bac was working on it earlier today so he might be primed to do so as well.16:35
gary_posterthanks16:37
gmbbenji, That would be wonderful, thank you: https://code.launchpad.net/~gmb/lp2kanban/cards2workitems/+merge/14354316:37
* benji looks.16:37
bacbenji: actually i didn't touch lp2kb directly but our tarmac configs16:38
benjibac: ah; you're off the hook then ;)16:38
gmbOo, $0.33 AWS bill for December. Crikey, better sell some silverware...16:41
gary_poster:-)16:53
benjigmb: the branch looks good, I had a few thoughts about things you brought up in the MP description/comment and a couple small code suggestions17:08
gmbbenji, Thanks :)17:09
=== deryck is now known as deryck[lunch]
gmbbenji, How does the linking-to-multiple external sources work?17:19
benjigmb: I have no idea. :)  The code is either in lp2kanban or in a custom script we use to interface between MPs linked to Reitveld and kanban.17:20
benjiif you look at the Juju GUI board you can right click on some of the cards in review or done-done and look at the "Link to" menu item to see multiple external links17:22
benjigmb: ^^17:22
gmbbenji, Ah, I don't think it's in lp2kanban; that only supports one external link at a time... I shall have a poke around.17:24
gmbTHanks for the tip :)17:24
benjicool, glad to help17:25
gmbbenji, Ah, cards don't support multiple external links - the ones on the juju gui board have an external_system_url and an external_card_id (the second automatically links to LP, of course).17:55
gmbSo the MP-nukes-blueprint problem still stands, but is solvable.17:55
gmb(in another branch :)17:56
gmb)17:56
benjigmb: maybe it is a different mechanism, but there is some way of having unlimited (named) links on a card17:56
gmbbenji, Hmm, maybe I'm missing something.17:56
* gmb goes to find LKK API docs17:57
benjigmb: hmm, I'm looking for it, but I can't find it; you may be right that there can be only one.  I could have sworn that you can have as many as you want.17:59
gmbbenji, Yeah, I was under the impression at first that you could (not including putting HTML in the description field).17:59
gmbHmm, found this feature request, but no answer: http://support.leankit.com/entries/20414932-multiple-external-links-on-a-card18:00
gmbbenji, ^^18:00
gmbAnyway, EoD time.18:01
benjiBenji's Rules for Web Apps #231: If your application allows the user to enter one link related to an application entity, they should be able to enter multiple links related to an application entity.18:01
gmbbenji, Darn tootin'.18:01
benjiand since their suggestion app uses different credentials than their application propper, that suggestion will never get any votes from me because I can't log in and will not be forced to work that hard to suggest they make their app better18:03
lifelessbenji: but its web2.018:04
benjiheh18:05
lifelessbenji: what could POSSIBLY be wrong with embedding another app in your apps process space with no controls ?18:05
benjilifeless: we should start an industrial espionage agency; the fruit hang so low18:06
lifelessbenji: lol :)18:06
=== matsubara is now known as matsubara-afk
=== deryck[lunch] is now known as deryck
=== slank is now known as slank_away
tumbleweedrr *sounds20:07
tumbleweed(excuse that, high latency--)20:07
wgrantcjwatson: That seems like a pretty bad name23:21
cjwatsonwgrant: Suggestions?23:22
cjwatsonBPPH.phased_update_percentage, I suppose, to go with the control field name23:22
wgrantOnce the control field is finalised that would sound reasonable23:23
cjwatsonIt is finalised23:23
cjwatsonAlready implemented in update-manager23:23
wgrantIt's a lot clearer to someone who hasn't seen it before than "phase", and it isn't going to be referenced a huge amount23:23
wgrantAha23:23
wgrantThat was quick23:23
cjwatsonmvo overachieved and did it last cycle in advance of the server side23:23
wgrantAh23:23
cjwatsonIt just wasn't documented until I looked it up earlier this week23:24
cjwatsonOr at least not consistently documented23:24
wgrantcjwatson: 2209-36-1 is yours23:25
cjwatsonThanks23:26
* cjwatson attempts to discern a rationale in the choice of second component23:27
cjwatsonSorting by owner?23:27
wgrantIf there's a series of minor standalone patches we will tend to just reuse a minor number per owner, yeah23:32

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