/srv/irclogs.ubuntu.com/2011/12/13/#launchpad-dev.txt

sinzuiwallyworld_, wgrant. yes it is my fault https://lpbuildbot.canonical.com/builders/lucid_lp/builds/1647/steps/shell_6/logs/summary00:00
wallyworld_sinzui: np. i'll fix00:01
wgrantWere the two branches landed in the wrong order?00:01
sinzuiwgrant, bingo00:01
wallyworld_so no fix required, just restat bb?00:01
wallyworld_restart00:01
sinzuibut they are both in place I  think, but they were landed independent too00:01
wallyworld_so it's my fault for messing up the dependencies :-)00:01
wgrantI guess run the tests locally to confirm.00:02
wallyworld_i had to resubmit both mps due to the first failure00:02
wallyworld_and something messed up i guess00:02
sinzuiwallyworld_, we want to move account status to IPersonPublic...00:02
wallyworld_sinzui: from iPersonRestrictedView from memory00:03
sinzuithis is another case were I considered placing it there since teams do not have accounts, then thought no, I do not want to clutter the interface00:03
wallyworld_oh for person and team to be separated properly00:03
sinzuiwallyworld_, iPersonRestrictedView probably work, I was thinking public based on a from a discussion with flacoste. Public are attrs that are obvious from the knowledge that the team exists. It is as team, it is valid, and it does not have accounts (in this case)00:05
wallyworld_sinzui: just looked at the stdout - ec2 did indeed flag the tests as failing i think00:05
wallyworld_sinzui: i agree with the rationale you just outlined. IPersonPublic seems thebest place i think00:06
sinzuiyep, I was watching buildbot independent of wgrant since I believed the issue was a cause by the branch landing before its dep00:06
wgrantsinzui, wallyworld_: It needs to public.00:07
wgrantOtherwise traversal to a private team will 403 instead of 404.00:07
wallyworld_sinzui: so given there's a code change, can i just to a testfix and lp-land, or do i need to rollback and do the ec2 dance again?00:08
sinzuiland it as a testfix, but you need to do it after the failure00:08
wallyworld_please don't make me rollback again :-)00:08
wallyworld_sure00:08
sinzuibuildbot does not notice a pre-emptive testfix :(00:09
=== Ursinha is now known as Ursinha-lunch
wallyworld_understood. the wait will give me time to get it prepared00:09
wgrantsinzui: It should notice it.00:09
sinzuiwallyworld_, and pqm-submit it00:09
=== Ursinha-lunch is now known as Ursinha
wallyworld_sinzui: yes, i just do a bzr lp-land in such cases00:09
wgrantEven if it doesn't, you can just force.00:09
sinzuiwgrant, I tried a preemptive fix a few months ago and it did not work00:09
wgrantsinzui: Hmm.00:10
wallyworld_wgrant: aren't you meant to be awol?00:10
wgrantsinzui: You have to add [no-qa], but it should work.00:10
sinzuiwgrant, noted00:10
mwhudsonwallyworld_: i don't think it's possible to be meant to be awol :)00:10
wallyworld_mwhudson: semantics!00:11
mwhudsonwallyworld_: yes!00:11
mwhudson(sorry)00:11
wallyworld_i was being very lose with my use of the english language :-)00:11
wallyworld_no need to apologise, i'm normally a stickler for that sort of thing00:11
wallyworld_eg i HATE how the word "decimate" is misused all the time00:12
sinzuiwallyworld_, once the tests are fixed, you can do this to skip the 4-6 hours in ec2: http://pastebin.ubuntu.com/768498/00:13
wallyworld_sinzui: bzr lp-land does the same thing :-)00:13
sinzuiI did not know00:13
mwhudsonwallyworld_: you are an epicentre of linguistic correctness!00:13
* mwhudson hides00:13
* wallyworld_ lols00:14
sinzuianything else I need to know wgrant, wallyworld_. Perhaps something about how to make buildbot complete in 1 hour?00:14
wallyworld_mwhudson: i bet you can't say that last sentence you just typed 10 times quickly :-D00:14
wallyworld_sinzui: the parallelisation of the test suite should help :-P00:15
sinzuiPS. when I say awesome, Id not not mean as in hotdogs with mustard, I mean god-fearing awe00:15
wallyworld_noted :-)00:18
StevenKsinzui: Removing 80% of the test suite would get buildbot to an hour.00:18
wallyworld_i reckon the layer startup/teardown times contribute to a large slice of the time taken too, no?00:19
lifelessover the whole test suite, not so much00:20
StevenKLike 6 minutes of 4+ hours?00:20
lifelessthe per-test setup/teardown overheads are pretty large though00:20
wallyworld_yes :-(00:20
wallyworld_sinzui: i think account_status_comment should also move, just to keep it with account_status. agree?00:23
wgrant"Total duration of profiled methods 3152.6 seconds."00:23
wgrantSo there's only a little under an hour of layer (test)?{setup,teardown}00:24
wgrantDatabaseLayer.testTearDown                    13721 calls taking 2051.7s.00:24
StevenKAn hour of setup and teardown? Faaaark00:24
StevenK35 minutes removing and creating databases. Thanks lifeless.00:25
wgrantNot lifeless' fault.00:25
wgrantHe only changed the names.00:25
StevenKAw00:25
wgrantAnd added an extra template.00:25
wallyworld_StevenK: that setp/teardown is what i was alluding to earlier00:25
huwshimierm http://blog.launchpad.net/00:46
wallyworld_lifeless: private team. i am the owner. i make someone else the owner, but in so doing i cannot see the team anymore. so at the end of the process, the owner has changed but i see a "you are not authorised" page. should we display a one-off "this has succeeded but you cannot see the team anymore" page?02:55
wallyworld_btw, this is after a change to allow owners to view the private team even if they are not members02:57
lifelesswallyworld_: just show the page normally; same as for bugs03:00
lifelesswallyworld_: erm, or actually, just redirect to launchpad.net/03:00
lifelesswallyworld_: perhaps with a notification explaining why03:00
wallyworld_lifeless: right. good idea. thanks03:00
StevenKSo I have a private team. I have invited a public team to be a member. That should show up as a pending invitation, should it not?03:06
wallyworld_StevenK: i would have thought so03:12
wallyworld_what does it do in actuality?03:13
wallyworld_bear in mind i've discovered a few things today about team behaviour by reading to code so my knowledge is patchy03:13
StevenKwallyworld_: It doesn't seem to show it at all03:14
StevenKI'm wondering if that is expected before I dive into our security adapter03:15
wgrantIt's expected.03:15
lifelessif the private team invites a public team, the private team should be listed on the public teams invitations list.03:15
wgrantOnly members, private PPA subscribers and Launchpad admins can see private teams.03:15
wgrantThat's changing.03:15
lifelessit won't be showing today, but it it should. :)03:16
lifelessthere is a bug for this03:16
wgrantlifeless: But only shown to the public team's admins?03:16
lifelessright03:16
lifelessoptional the public teams members too03:16
lifelessbut not to the general public03:17
wgrantRight, which is not what you said :)03:17
lifeless(by optionally, I mean whatever falls out of the code cleanest)03:17
lifelesswgrant: EBRAINISTOAST03:17
wgrantYeah.03:17
lifelessmy config change has landed03:17
lifeless\o./03:18
wallyworld_ii thought when StevenK said "pending invitation" it mean that the private team would see a list of invitees who had not accepted yet. but is it the other way around?03:18
wgrantBut you've seen what happens when one doesn't make completely unambiguous statements about privacy.03:18
lifelesshilarity?03:18
wgrantPretty much.03:18
lifelesswallyworld_: both directions gain visibility03:18
wallyworld_ok03:19
lifelessslightly different rules about who sees what03:20
lifelessmembers can see superteams03:20
lifelessadmins can see subteams03:20
lifelesssomething mumble mumble03:20
lifelessthere is a bug03:20
wallyworld_several perhaps03:23
StevenKwgrant: Okay, so I'm seeing expecting behaviour -- I can test for it, or I can fix it.03:27
StevenKlifeless: ^03:31
lifelessEPARSE03:32
wgrantlifeless =103:33
wgrant+103:33
nigelbwgrant: Did you just reassign lifeless? :P03:34
nigelbAlso, Morning!03:34
wgrantA regrettable mistake.03:34
wgrantAfternoon.03:34
StevenKwgrant: So, fix it?03:34
wgrantStevenK: I don't understand what you mean.03:34
StevenKwgrant: So, I have two choices. I can test that the current behaviour is correct. Or, I can fix it so that pending private teams are shown to the team admins and write tests for that case.03:35
wgrantOr you can leave the behaviour undefined until we finish defining the complete set of new private team behaviours.03:36
StevenKNo test at all?03:36
StevenKFair enough.03:36
StevenKThis branch should fix the Person:+index MixedVisibilityErrors as it stands.03:37
StevenKGuido van Rossum  -  11:05 AM (edited)  -  Public03:43
StevenKWhy do Python classes have both _mro_ and mro() ? What was I thinking at the time? Does anyone remember?03:43
* StevenK laughs.03:43
* StevenK breaks buildbot into small pieces04:35
StevenKCan haz review? https://code.launchpad.net/~stevenk/launchpad/person-index-mixed-visibility/+merge/8542705:00
wallyworld_StevenK: looking now05:36
wallyworld_StevenK: you should use  "if check_permission('launchpad.LimitedView', team)" in your super_teams method05:38
wallyworld_since this by default delegates to launchpad.View05:39
wallyworld_and is the required permission to know of a team's existence05:39
StevenKWhy LimitedView?05:39
wallyworld_with LimitedView, a user can know of a team's existence and name, displayname etc05:39
wallyworld_but not any other private details05:39
wallyworld_so for bug subscribers etc, i precache launchpad.LimitedView permissions05:40
StevenKBut these are super teams -- teams that the team in question is a member of05:40
wallyworld_ah, ok05:40
StevenKIf you can see the team, you can see everything, so .View is the right choice05:40
wallyworld_yes, sorry. i think you are right05:40
wallyworld_so what was the issue before your branch?05:41
StevenKwallyworld_: People would see <public team>, <hidden>, <hidden>, <public team>05:42
StevenKWhen I added MixedVisibilityError, those <hidden> started raising them05:42
wallyworld_if the team in question (the one being viewed) is a member of those <hidden> teams, why weren't they visible?05:42
StevenKThe person viewing the team page may not have permission to see the team05:43
StevenKBut members of the team view their own page do.05:43
wallyworld_ok, so the user is viewing a public team that may be a member of a private team?05:44
wallyworld_and the user may not be able to see that private team05:44
wallyworld_?05:44
wallyworld_so in that case we would render <hidden>?05:44
StevenKAnd raise a MixedVisibilityError, yes.05:45
wallyworld_if my assertions above are correct, i do think we should be using LimitedView permissions then05:45
StevenKThe formatter uses View, and gives a link05:45
wallyworld_since moving forward, we will be looking to allow a user to view the existence of a private team that is in any public relationship the user can see05:46
wallyworld_the formatter should change to use limitedview05:46
StevenKAnd not link them?05:46
wallyworld_limitedview by default just delegates to view, so it's the same net effect05:47
wallyworld_they should still be linked05:47
StevenKAnd the user gets a 404 when they click the link?05:47
wallyworld_but for now, if a user with just limitedview clicks on the links, they get a 40405:47
StevenKThat's what I'm trying to prevent05:47
wallyworld_we are yet to solve that one05:47
wallyworld_there's 2 issues - not rendering <hidden>, and making the link work05:48
StevenKBesides, the private team isn't in a public position05:48
StevenKIt just has a public team as a member05:48
StevenKIt doesn't have to be disclosed by that action05:48
* wallyworld_ thinks05:48
wallyworld_which is different to a private team subscribing to a bug? yes, perhaps?05:49
wallyworld_or maybe not, since members of the public team should be able to know who the parent team is?05:49
StevenKIt is, yes05:49
wallyworld_ok, so let's leave it as view for now and we can revisit later if required?05:50
StevenKI'm happy with that05:51
wallyworld_thought you'd say that :-)05:51
wallyworld_i thought it better to ask the question though just in case....05:51
lifelessor clarity 'disclosed' is -always- contextual05:51
lifelessyou can disclose to the public, disclose to a team, disclose to project etc05:52
wallyworld_so here we are possibly disclosing to a team i guess05:52
lifelessanytime in a discussion if someone says 'disclose' unconditionally, you all have to drink.05:54
* StevenK finishes his glass of water05:54
StevenKIs that what you had in mind?05:54
StevenKlifeless: What time is your flight, out of interest?05:54
lifelessStevenK: tomorrow?05:55
StevenKlifeless: Yah05:55
lifeless0955 departure05:56
lifelessbut I route via akl05:56
lifelessI arrive 143005:56
StevenKIt's what, 30 minutes to AKL?05:56
lifelessat which point I will be tearing vodafone a new hole amongst other .au business05:56
StevenK... why?05:56
lifelessbecause, a year after I closed my postpay account with them and moved countries, they started emailing me invoices05:57
StevenKHaha05:57
lifelessnow, 1 month after, I could understand, and would have paid without much thought.05:57
lifelessa year later? WTF.05:57
lifelessactually 14 months or some odd number.05:57
lifelessAnyhow, lots.05:57
* lifeless is extremely unimpressed05:58
lifelessI woul dhave rung from here, but their phone system is worse than loading a 3d game on a 16Kb spectrum05:58
lifelessI didn't want to use all my skypeout credit for a year while on hold05:58
wallyworld_StevenK: with the test_private_superteams_shown() test, i'd like to see another team created that would be <hidden> but is filtered out, since the other tests simply check if the portlet is there or not05:59
wallyworld_i guess the tales does that though06:00
wallyworld_ie indirectly tests that code path06:00
StevenKlifeless: When I moved to Parramatta, I called Telstra and cancelled the landline service, as well as getting a new service for the new place. Fast forward two months, and I get a bill for the landline at the old place, filled with calls after I moved out.06:00
lifelessStevenK: win06:00
StevenKlifeless: I rang up and said "Please explain" and was told that they "forgot" to action my cancelation06:01
StevenKAs way of apology, they wrote off the entire bill, which had one charge for the new landline on it.06:01
StevenKwallyworld_: So the TALES won't even show the portlet if there are no visible super teams06:02
wallyworld_StevenK: yes, i came to that conclusion too so i think it's ok06:02
wallyworld_StevenK: for a "proper" unit test, the super_teams() property on the view object really should be tested06:03
wallyworld_rather than relying on the template logic to indirectly test it06:04
StevenKwallyworld_: I'm happy to add an assert for that06:04
StevenKself.assertEqual([], view.super_teams) effectivelty06:04
StevenK*effectively06:04
wallyworld_StevenK: that would be great; hopefully there's an existing unit test for the view object you can add to simply06:04
wallyworld_ah, yes, that works too06:05
wallyworld_StevenK: r=me06:06
cjwatsonwgrant: P-a-s> ah, OK, thanks.  Maybe if I get some time over the holidays ...08:41
wgrantcjwatson: That's likely the only way it's going to get fixed unless I get bored, yeah.08:42
wgrant:/08:42
adeuringgood morning08:57
=== nhandler_ is now known as nhandler
mrevellMornin;09:10
mrevelloh, I fail at typing09:11
jtvallenap: ndt deployment request underway.  Liam is on it.  Thanks for dealing with that branch.10:14
allenapjtv: Tip top, ta :)10:15
=== gmb changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: gmb | Critical bugtasks: 3*10^2
cjwatsonoh my, I didn't realise that maintenance-check.py relied on http://people.canonical.com/~ubuntu-archive/germinate-output/11:36
cjwatsonI think I'll need to convert that to python-germinate as well for sanity and testability11:37
cjwatsonbigjools: is it possible that r11088 fixed bug 599412?  It looks as though it ought to have done12:30
_mup_Bug #599412: populate-archive --component main doesn't work <derivation> <lp-soyuz> <Launchpad itself:Triaged> < https://launchpad.net/bugs/599412 >12:30
bigjoolscjwatson: yes, the commit msg says so :)12:35
* bigjools fixorates12:35
cjwatsonrefers to bug 600165 instead, actually, so unnoticed dup12:36
_mup_Bug #600165: COPY archive creation ignores the specified component <derivation> <lp-soyuz> <qa-ok> <Launchpad itself:Fix Released by julian-edwards> < https://launchpad.net/bugs/600165 >12:36
bigjoolsyeah12:37
bigjoolsthanks for noticing12:37
* cjwatson has been looking through soyuz bugs for things that might improve Ubuntu's life that are accessible to me to fix12:37
bigjoolssounds like you need a rotation :)12:38
cjwatsonthe thought has crossed my mind, but I think I want to remain focused on things specifically beneficial to Ubuntu rather than LP as a whole; plus Steve might object :)12:39
cjwatsonmight consider it in a year or so12:39
StevenKcjwatson: I won't object, but I know you don't mean me. :-)12:48
jtvStevenK: actually I was wondering why you would ever object!13:11
jtvSo a good thing you said it.13:11
* cjwatson tests germinate 2.3 on mawson and confirms that the only differences are as expected13:18
cjwatsonso I've followed up to that ticket to say that it's OK to upgrade cocoplum/germanium13:19
cjwatsonjtv: can https://code.launchpad.net/~cjwatson/launchpad/refactor-cron-germinate/+merge/84624 be Status: Approved as well as having your Approved review?  It's still waiting on a buildbot upgrade before we can land it, but apart from that ...13:20
jtvcjwatson: coming13:24
jtvcjwatson: done13:25
sinzuiI think I need to rollback 3 non-sequential revisions :(13:29
cjwatsonjtv: ta13:30
jtvbigjools, wgrant: care to review?  https://code.launchpad.net/~jtv/launchpad/bug-903688/+merge/8548513:33
bigjoolsjtv: I can13:40
jtvThat'd be great, thanks13:40
jtvAnyone know why I would get this error during "make schema" on a db-devel branch?  duplicate key value violates unique constraint "launchpaddatabaseupdatelog_pkey"13:59
nigelbsomeone broke something?14:03
nigelbI hope no one broke sampledata.14:03
jtvnigelb: maybe I did — don't know.14:04
jtvBut I re-generated the updated sampledata based on db-devel sampledata, and it doesn't help.14:04
jelmerbenji: hi14:06
benjihi jelmer14:06
jelmerbenji: Are you still working on bug 808930 ?14:07
_mup_Bug #808930: Timeout running branch scanner job <escalated> <linaro> <oops> <Launchpad itself:In Progress by benji> < https://launchpad.net/bugs/808930 >14:07
jelmerI've got a bug fix in that area, and I'd like to make sure our changes don't clash.14:07
benjijelmer: gmb has taken the helm of that one14:07
* benji goes to fix the assignee in LP.14:07
jelmergmb: Hey!14:07
jelmerbenji: thanks14:07
benjinp14:08
gmbjelmer: Hi. I'm only just getting up to speed on this bug, so it may well be that I have to tap on benji's shoulder a couple of times. But anyway.14:08
jelmergmb: ok14:09
jelmergmb: I've got a fix for the branch scanner which should at least make the bzr part of things no longer O(size-of-branch-history)14:09
jelmergmb: that should help with the bug, but it will also likely clash with any changes you've already made14:10
gmbjelmer: Okay. So, I'd be inclined to tell you to get your branch landed; I'm not ready to land anythign yet, so I'm happy to clean up any clashes.14:10
jelmergmb: Great, thanks.14:11
jtvAnyone know what would make a "make schema" on a db-devel branch violate unique constraint launchpaddatabaseupdatelog_pkey?14:11
abentleyderyck: Do you think now is the right time to generalize ListingNavigator as we discussed with wallyworld?14:13
deryckabentley, jumping on call…. give me a minute to think about that.14:14
abentleyderyck: sure.14:14
deryckabentley, I'm sorry, but I'm blanking on remembering the discussion with wallyworld_.  is this an email discussion?14:21
abentleyderyck: Yes.  Let me see if I can dig up the subject.14:22
abentleyderyck: "batch navigation question"14:22
* deryck is looking at email14:23
deryckabentley, ok, right.  I absolutely think now is the time to do that work.14:24
abentleyderyck: cool.14:24
deryckthere are a couple minor bugs we still need to fix, but these are fairly shallow.  I may see if rick_h_ can be enlisted for this, to keep you free for this.14:26
stub(21:21:48) stub: jtv: Hmm... might need to add a step to reset the sequence.14:27
stub(21:22:19) stub: jtv: The value of the sequence would have been set from production with the new baseline?14:27
stub(21:24:45) stub: jtv: Although 'make schema' shouldn't care because the table will be empty...14:27
stub(21:25:24) stub: jtv: Have you rebuilt sample data and ended up with the contents of launchpaddatabaseupdatelog in it? That would make it explode (and would be a bug - need to exclude that table from sampledata too, along with launchpaddatabaserevision)14:27
nigelbwow. I did guess right. sampledata has some brokeness.14:28
jtvstub: yes, on two occasions I did “make newsampledata” and both times got 1 record for launchpaddatabaseupdatelog per database.14:30
jtvI'm about to try it with an unmodified db-devel schema.14:30
stubthought the sequence reset magic would take care of it?14:31
jtvFrankly I can't even find where the table gets created.14:32
jtvWhoops — the sampledata I build from db-devel is broken.14:32
stubjtv: The table is in the db baseline - launchpad-2209-00-0.sql14:33
jtvLooked there.  It's basically empty.14:34
jtvI figured the guts had moved somewhere else.14:34
jtvstub: broken baseline?14:36
jtvI thought the baseline used to be in that patch — but now I don't see that for 2208 either.14:36
jtvAh wait — launchpad-2209-00-0.sql.  I was looking at patch-2209-00-0.sql.14:37
stubIf you are on db-devel, 2208 shouldn't exist14:37
stubyer14:37
jtvI was just cross-checking with devel.14:39
jtvstub: fwiw I also looked for launchapddatabaseupdatelog in the sample data for devel & db-devel and did not find any mention.14:42
* stub waits for trees to sync14:44
jtvbigjools: my buildfarm fix has passed soyuz & buildmaster tests.  Think that's enough for a landing?14:53
bigjoolsjtv: yes14:53
jtvYee-haw.14:53
bigjoolswell - code perhaps14:53
jtvOK, running that too.14:54
stubjtv: So with a fresh tree and make schema, I get LaunchpadDatabaseUpdateLog with one entry with id 1 (from patch-2209-00-2.sql) and nextval('launchpaddatabaseupdatelog_id_seq') is 2.15:01
jtvI get the entry; haven't tried the sequence.15:02
jtvPresumably that's the part that's wrong.15:02
jtvBut didn't you say that the table shouldn't be in the sample data at all?15:02
stubjtv: There is no need for it to be there.15:04
jtvThen how did it get there?15:04
stubjtv: I neglected to add it to the blacklist filter in database/schema/Makefile.15:05
jtvIs that something you could fix at the moment?15:05
stubsure15:05
stubjtv: So patches get applied, then we load sampledata. And if the sampledata contains rows they will conflict with any created by upgrade.py15:06
sinzuibac: gary_poster is it time to discuss milestones?15:06
=== Ursinha is now known as Ursinha-nom
bacsinzui: yes, sorry, our call ran long.  i'll skype you now15:07
jtvstub: thanks for working it out.  Got branches blocked on this, and tomorrow's my last day for the year.15:07
stubhttp://paste.ubuntu.com/769038/ should be the fix15:09
stubjtv: Want me to land that?15:09
jelmergmb: actually, looking at the only OOPS for bug 808930 that I can find, it seems like that is in the access of the bzr graph15:10
_mup_Bug #808930: Timeout running branch scanner job <escalated> <linaro> <oops> <Launchpad itself:In Progress by gmb> < https://launchpad.net/bugs/808930 >15:10
jtvstub: yes please, assuming it's correct.  :)15:10
jtvstub: is the whitespace you removed significant?15:10
gmbjelmer: benji's theory, AIUI, is that the OOPS is a death-by-SQL problem.15:10
stubjtv: You can apply that locally and rebuild your sampledata while waiting to confirm (and even revert the change afterwards - the problem with your branch is the generated sampledata and you can land it without the makefile fix)15:11
jtvRight.  I'll try that.15:11
gmbjelmer: So I'm not sure whether your fix will help or not...15:11
jelmergmb: yeah, that seems like the most likely cause indeed.. storing a giant (HUUUUGE) graph in a SQL table seems like a bad idea15:11
stubjtv: Seems to be working. I'll do a self approved landing now.15:11
gmbjelmer: Ssssh, you'll make whoever came up with that idea feel silly....15:12
sinzuibac: https://launchpad.net/glade/3.1015:12
sinzuibac: https://launchpad.net/grub/grub215:12
jelmergmb: IIUC it's that way because that's how bzr originally behaved15:13
gmbYeah, I think that's the case.15:14
jelmergmb: I'm sure you've seen https://dev.launchpad.net/Code/BranchRevisions ?15:15
gmbjelmer: Yes, I had. (I had repressed it)15:16
jelmerhehe15:16
sinzuibac: lifeless reported this https://bugs.launchpad.net/launchpad/+bug/64497715:16
_mup_Bug #644977: ProjectMilestone is inconsistent, confusing ui, can we just delete it? <confusing-ui> <lp-registry> <Launchpad itself:Triaged> < https://launchpad.net/bugs/644977 >15:16
rick_h_benji: ping, have some time to do a voice chat on an api bug: https://bugs.launchpad.net/launchpad/+bug/80895215:18
_mup_Bug #808952: NoCanonicalUrl using api to fetch bug comments <api> <oops> <Launchpad itself:Triaged by rharding> < https://launchpad.net/bugs/808952 >15:18
allenapgmb: Got time for a tiny review? https://code.launchpad.net/~allenap/launchpad/bugnomination-timeout-bug-874250-heat-death/+merge/8549715:18
gmballenap: Sure thing15:18
allenapTa15:18
benjirick_h_: sure.  Skype?15:18
rick_h_benji: sure, mitechie is my username15:19
benjirick_h_: calling15:19
jelmergmb: Do you have time to review that avoid-revision-history branch? It should now be up at https://code.launchpad.net/~jelmer/launchpad/avoid-revision-history-2/+merge/8550115:24
gmbjelmer: I'll take a look once I've finished with allenap's.15:25
jtvstub: I seem to have working sample data now, thanks15:29
stubnp. by branch has landed too.15:30
=== Ursinha-nom is now known as Ursinha
sinzuibac: https://launchpad.net/launchpad-project/+milestones is a mess15:56
sinzuiwhile your idea is about declaring them to prevent the cruft from appears15:56
jelmergmb: Merci16:05
gmbjelmer: De rien.16:06
=== gmb changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugtasks: 3*10^2
jtvbigjools: lot of blockers on the deployment report tonight.  If we're going to get my fix out, looks like we'll have to cowboy.16:26
bacsinzui: regarding vouchers, the API they provide is not showing you having anything, which is consistent with the db dump neil provided.  so it looks like a problem between the shop and salesforce16:26
sinzuibac: I was replying to that. I was even going to take a screencap of a check out, but I cannot do that at the moment.16:27
bacsinzui: i'll buy some too and see if they materialize16:27
sinzuiMaybe the ridiculous free gift has broken checkout for users that redeem vouchers16:28
jtvbigjools: arrrrgh.  Broken test in archiveuploader.  The ordering of a two-item recipients list on a notification email has changed.  :(16:47
bigjoolshmmm16:47
bigjoolssounds spurious, which is worse16:47
jtvOh, yes it is worse: I was accidentally running that one on devel!16:48
jtvlp.archiveuploader.tests.test_uploadprocessor.TestUploadProcessor.testUploadToFrozenDistro16:48
bigjoolsyay?16:53
jtvbigjools: is that the sort of yay that conveys no joy at all?16:56
bigjoolsjtv: Archeryay16:56
jtvAh, _that_ yay16:57
jtvAbsolutely correct.16:57
rick_h_deryck: I've gotten this the last two times I tried to land the inline editor stuff: +bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel17:02
rick_h_deryck: the test email comes back success, but that's the PQM test email?17:03
rick_h_deryck: sorry, bad paste https://pastebin.canonical.com/57048/17:03
deryckrick_h_, you need to look at the log file attached to the email from pqm.17:03
deryckrick_h_, either testfix or merge conflict most likely.17:04
rick_h_deryck: my bad, totally missed the attachments17:04
deryckgiven buildnot's record, you can guess what you'll get ;)17:04
rick_h_ah, actually getting that it doesn't like my commit message. Will check it out then. Thanks, blind today17:05
deryckrick_h_, can you look into bug 894726?  Should be trivial to linkify the tags listed.17:15
_mup_Bug #894726: Tags not linked on bug listing <bug-columns> <Launchpad itself:Triaged> < https://launchpad.net/bugs/894726 >17:15
rick_h_deryck: sure thing17:16
deryckmrevell, for that bug ^^ do you care if we just link to the tag list from the new feature lists?17:17
deryckrick_h_, that's what I'm thinking, a simple link, rather than all the fancy filtering talk in the bug.17:17
rick_h_deryck: ah ok. Yea I was thinking that it's a bit more to do that.17:17
sinzuibac, did you succeed in checking out?17:18
cjwatsonjtv: oh!  good, it's yay for me, it means that it isn't the fault of my new-python-apt branch17:19
deryckrick_h_, the link is just "?field.tag=$TAGNAME" -- though we *may* have some helper method to get you the link.17:19
rick_h_deryck: ok, I'm finishing getting my notes together for this bug report and I'll peek at it in a few17:19
cjwatsonjtv: soyuz-set-of-uploads and xx-queue-pages fail for the same reason, and are harder to work around since they're doctests.17:20
deryckrick_h_, ok, thanks!17:20
jtvcjwatson: I fixed the test that broke for me.  With doctests I usually just sort to get deterministic output.17:20
jtvbigjools: I also ran tests for translations and archiveuploader, since they had (mentions of) BuildFarmJob.  Still, having that one test fail made me nervous about landing without waiting for the outcome of the full test run.17:23
deryckrick_h_, I'm also going to assign bug 894740 to you.  Should be a shallow js error fix.17:23
_mup_Bug #894740: bug heat contextual help opens in a new tab in chromium <bug-columns> <exploratory-testing> <regression> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/894740 >17:23
rick_h_deryck: sounds good17:24
cjwatsonjtv: yeah, it's just awkward in this case since the doctests are testing the entire formatted e-mail17:31
deryckadeuring, do we have a bug yet for the "only showing one order by button" bug?17:31
bacsinzui: trying now17:31
rick_h_deryck: benji just fyi, summary of the findings: https://bugs.launchpad.net/launchpad/+bug/80895217:33
_mup_Bug #808952: NoCanonicalUrl using api to fetch bug comments <api> <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/808952 >17:33
mrevellderyck, re tags: Yeah, that seems like a good solution.17:35
deryckmrevell, thanks!17:35
bacsinzui: did you report the broken checkout?  mine broke too17:40
adeuringderyck: no, not yet, but I'll file one17:46
deryckadeuring, thanks!17:50
cr3is it supposed to take a while, like hours, after stopping emails for a subscription to actually stop receiving mail from that subscription?17:56
=== salgado is now known as salgado-lunch
lifelesscr3: it could, under exceptional circumstances. More likely is that you have multiple subscription paths to the mails you are getting18:05
jtvcjwatson: got another spurious failure — archivesubscription-views.txt.  What happened?18:05
cr3lifeless: I've been cross checking with the Launchpad-Rationale in the email header, so I think I have the multiple subscription problem down. I'll be a bit more patient and check again tomorrow18:06
cjwatsonjtv: that's odd, I don't think I got that failure and I ran all the soyuz tests18:07
deryckabentley, adeuring, rick_h_ -- FWIW, I'm done with looking over the bugs again (boy, did that take longer than expected!)18:09
deryckabentley, adeuring, rick_h_ -- and short of a few little UI issues that are easy to fix, we're in pretty good shape.18:09
abentleyderyck: Yes, I agree.  Looked over them yesterday myself.18:09
jtvcjwatson: I'm not getting it on my local system either, or running just the soyuz tests in EC2.  Sounds like isolation problem.18:09
abentleyderyck: A lot of the bugs are $foo is not linked.  Do we know if we actually want to link everything?18:10
deryckabentley, I don't think we know, so those are all marked low, except the tags one.  I don't think we should worry about them, unless mrevell and company have design ideas.18:12
deryckabentley, as I understand it, product team pushed back on linking everything, not knowing how to style the links.18:12
benjirick_h_: was eating lunch, looking now18:16
rick_h_benji: np, let me know if you think I should add anything else. Basically the type of object going in there was just Message and nothing else like I had hoped18:18
jtvbigjools: I landed my fix on devel as revision 14499.  But there's some real weirdness going on: a test that shouldn't have been affected failed for me once in EC2, and I can't seem to reproduce it.  I'll need to pack it in for the night though.18:19
benjirick_h_: so which branch in message_to_canonical_url_data is taken?18:19
rick_h_benji: it's the bugs.count() branch18:19
rick_h_benji: IMessage has a bugs property18:20
bigjoolsjtv: ok, get some sleep, rest well18:20
jtvthanks, see you tomorrow!18:21
benjirick_h_: so... the message isn't associated with a bug?  That seems strange.18:22
sinzuibenji, that is historic cruft I think18:22
rick_h_benji: right, most messages are extended and assiciated through a tying table, bugmessage, butattachment do the tying to a bug18:23
rick_h_benji: but these are just plain messages created for the record it appears18:23
benjihmm, if we can figure out a way for message_to_canonical_url_data to figure out which bug is related then it could return an BugMessageCanonicalUrlData instance and all would be right with the world18:25
abentleybenji: these messages aren't bug comments.  Are you sure they have (or should have) URLs?18:36
benjiabentley: they don't now, but exposing them to the REST API may be the thing to do to fix this bug18:37
=== salgado-lunch is now known as salgado
rick_h_abentley: benji yea, I mean they are messages viewable via the web and while not bug comments, might be useful/might expose kind of things18:38
abentleybenji: I don't think we really want to track all the notifications that e.g. a bug status changed in the API.18:38
benjiabentley: you might be right; in that case we'll have to figure out how to hide the notifications from the part of the API that can "see" them now (which is the source of the bug rick_h_ is working on)18:39
bigjoolswebops: when qastaging updates, does the bzr server restart? I already established that the librarian does not ...19:23
bigjoolsechan19:23
thedacbigjools: I will check19:24
=== matsubara is now known as matsubara-afk
rick_h_what's the right replacement for dir() on an object instance I can use to interrogate things?19:49
abentleyrick_h_: dir(zope.security.proxy.removeSecurityProxy())19:55
rick_h_abentley: cool thanks19:56
abentleyderyck: I'm thinking of switching "var namespace = Y.namespace('lp.app.listing_navigator');" to "var module =…" for consistency with the test code.  Thoughts?20:00
rick_h_abentley: does the server side mustache stuff allow for the {{#field}}{{.}}{{/field}} syntax?20:08
abentleyrick_h_: Yes, AIUI, the dot is supported.20:09
deryckabentley, yeah, I like module better than namespace.20:11
lifelessabentley: deryck: so, after using moustache for a bit; do you like it? has it saved time / costed time but added features / <other> ?20:12
derycklifeless, I find it tremendously easier to edit than tal. that seems time saving to me.20:14
derycklifeless, it has it's own syntax oddities to me.  but generally, I've liked using it a lot.20:15
abentleylifeless: Like JavaScript, I like the capability it gives, without being a big fan of the language itself.  Both the JavaScript and Python implementations have bugs that entail pretty gross hacks, and the JavaScript implementation is noticeably slow.20:15
lifelessabentley: do we need to fix those before we advocate for wider use; or should we look for a better alternative with the same capabilities?20:16
rick_h_the nice thing is that handlebars (mustache improved) will be included in YUI 3.5 as Y.handlebar and the 3.5 PR1 was released today20:18
abentleylifeless: The JavaScript slowness is potentially a dealbreaker.  Other than that, I'd cautiously recommend it.20:18
rick_h_I'm not sure though on a pure python implementation20:18
abentleyrick_h_: There's no pure Python implementation, AFAICT.20:18
lifelessof handlebars ?20:18
abentleyrick_h_: I would be very reluctant to use handlebars on the client side while using mustache on the server side.20:18
abentleylifeless: right.20:19
rick_h_abentley: agree20:19
lifelesshow big is the delta? could we sensibly tweak moustache (python) into handlebars (python) ?20:19
deryckI thought handlebars was the same as mustache,  but more performant.  that compatibility-wise they were the same.20:19
abentleylifeless: handlebars is a superset of moustache, if what I've read was true.20:20
abentleylifeless: So the risk would be accidentally using handlebar-specific features.20:20
abentleylifeless: And then having them break server-side.20:20
lifelesshttp://thinkvitamin.com/code/getting-started-with-handlebars-js/ is a post from the handlebars author20:20
lifelessit appears to be totally separate but inspired by20:22
rick_h_lifeless: well the front page of handlebars says "Mustache templates are compatible with Handlebars, so you can take a Mustache template, import it into Handlebars, and start taking advantage of the extra Handlebars features."20:23
rick_h_but yea, you'd get used to all the good bits of handlebars and then lose them on the server side20:23
lifelessintruiging20:23
lifelessso the question to me, is how big is that delta20:23
rick_h_so might not work out after all, I had secretly hoped there was something server side for it20:23
rick_h_lifeless: I'm going to guess a bit since handlebars allows things like moving up/down the call stack20:23
lifelesswe could use node.js on the server20:24
rick_h_just skip the server side initial rendering ;-)20:25
lifelessthats harder to swallow20:25
lifelessper code.google.com/web/ajaxcrawling/docs/getting-started.html which flacoste dug up the other day20:25
lifelessone thing we could do is dev/test with moustache.js but use handlebars as an accelerator in [qa]staging+prod20:26
lifelessthat has its own risks, of course20:26
rick_h_I still think the answer isn't to get the bug listings crawled, but the bugs themselves and that there should be a way to get that information to a crawler without being visible20:26
rick_h_a paginated list of bugs is going to change around over short periods of time and not be a good landing/search page result anyway20:26
lifelessyes and no20:27
lifeless /+bugs is reasonably constant20:27
lifelessand we want its changes to be indexed anyhow because of 'heat'20:27
lifelessother arbitrary searches - yeah, 'meh'. OTOH they don't have much juice today.20:27
rick_h_I thought that was going away/getting altered though20:27
lifelesswhat is a concern though is ensuring that the bugs get indexed20:28
lifelessrick_h_: its been less special cased.20:28
lifelessrick_h_: but as a page its not going away20:28
lifelessgotta run. great chatting - sounds like fun stuff to play with. Ciao.20:28
rick_h_ic, I'll have to look sometime though. I wonder if there's a better way to note/point the robot to something like a canonicalurl for all bugs on the page20:28
rick_h_have fun lifeless20:28
deryckgah!  I just want to run tests in lazr.batchnavigator and have no clue how to build it.  it hates me.20:43
deryckgary_poster, perhaps you can help here ^^ ?20:44
deryckjust looking for simple build instructions for a lazr package.20:44
benjideryck: I think it's buildout-based, you'll want to bootstrap it and then run bin/buildout and then bin/test will run the tests20:45
gary_posterderyck, I dunno that package.  we used to have instructions to put a file on how to build the package20:45
gary_posterderyck, and it would link to this wiki page:20:45
deryckbenji, yeah, I tried that.  both with symlnks to download-cache and eggs and not.  it blows up regularly and angrily :)20:46
gary_posterderyck, https://dev.launchpad.net/HackingLazrLibraries20:46
deryckbenji, I think it's expecting something installed system wide and I can't work out what.20:46
gary_posterderyck, I think the file was HACKING.txt20:46
deryckgary_poster, thanks for the link.  looking....20:46
gary_posterDunno if that is there20:46
gary_posterwelcome20:46
benjideryck: it may actually be the opposite, it may be assuming that you're using a clean Python (or virtualenv)20:47
deryckah hmmmm20:47
rick_h_abentley: doesn't appear that it supports the {{.}}, had to convert things to a dict and use the key and that works20:50
wallyworld_sinzui: jcsackett: can we make the standup 30 minutes earlier today? i have a denist appt with the kids i need to get to20:53
sinzuiwallyworld_, sure21:07
sinzuiwallyworld_, 1. the nasty rollback is in build bot21:07
sinzuiwallyworld_, 2. I have sent of the non-feature test refactoring to ec221:08
sinzuiwallyworld_, 3. i have reproduced the traversal issue I saw in qastaging21:08
sinzuiwallyworld_, do you have time to mumble now about how we want to test this non-obvious issue in the future21:09
deryckbenji, that was it!  Had to use virtualenv for clean env, and all is well.  Thanks!21:10
benjideryck: cool; many buildout-based projects are like that, depending on a clean environment for sane reproducable builds21:11
wallyworld_sinzui: sorry, just was having breakfast. we can discuss on the call21:26
sinzuiokay21:27
sinzuijcsackett, mumble?22:01
jcsackettsinzui: oh, right. be on in just a moment.22:02

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