/srv/irclogs.ubuntu.com/2011/09/16/#launchpad-dev.txt

pooliewgrant, i kinda hoped for a +1 on my process-one-mail announcement01:17
poolienot all that externally exciting but i found it much more comfortable01:17
pooliemaybe someone will use it in future01:17
poolieand, traditional email is kind of lacking a cheap non-noisy +101:17
wgrantpoolie: Sorry, meant to +1 that last night, but was very busy.01:17
poolienp01:17
wgrantAnd then had far too much mail this morning.01:18
poolienot really fishing :)01:18
wgrantIt is a really handy helper.01:18
wgrantOften I avoid testing mail stuff because it's just so awkward :/01:18
wgrantBut not any more!01:18
wgrantThanks for JFDI.01:18
poolieyeah, for me it was a minor mental breakthrough01:18
poolie"this is so hard to test.... oh, but it doesn't actually inherently have to be"01:18
pooliehello losa? i'd like some help testing email on staging01:47
wgrantpoolie: What are you wanting to test? staging processes mail automatically.01:48
poolieoh does it now?01:48
poolieand qas does too?01:49
pooliefor some reason i thought it needed to be manually prodded01:49
wgrantAh, qas, true. It used to do it less frequently than staging, and may no longer do it at all..01:49
wgrantThat's a good point.01:49
pooliehloeung, spm?01:50
hloeungpoolie: hi, how can I help you?01:50
pooliealso i'm a bit curious what software ends up delivering the mail to lp's mailbox01:50
pooliehloeung, does qas automatically receive and process mail or do i need to get you to thump it01:50
pooliewgrant, re bug 813349, are you reopening it because it's flaky?01:51
_mup_Bug #813349: hard to get from mp to per-revision diffs <code-review> <javascript> <qa-ok> <ui> <Launchpad itself:In Progress by spiv> < https://launchpad.net/bugs/813349 >01:51
pooliei see the point about it not being done done01:51
hloeungpoolie: I'm not too sure01:51
wgrantpoolie: It's not done-done, needs more work, and was one of two bugs that were cluttering up my queue.01:51
wgrantpoolie: I decided to finally get rid of it.01:51
poolieit would be easier if i just try it01:51
wgrantNow that the queue can be otherwise clear.01:51
wgrantlifeless: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-2084H5301:52
wgrantlifeless: timeouts now break lazr.restful :/01:52
wgrantI guess we want to capture sys.exc_info and use that.01:53
wgrantRather than assuming __traceback__01:53
wgrantIsn't that new in 2.7/3.0?01:53
lifelesswallyworld_: http://paste.ubuntu.com/690450/01:53
lifelesswallyworld_: is what I recommend01:53
pooliedid ec2 land change so that it no longer detaches from the vm?01:53
wgrantpoolie: No.01:53
poolie*intentionally?01:54
pooliebecause it does seem to be not detaching now01:54
wgrantWhat's it said?01:54
poolieit's running 'python .... ec2test-remote.py', just printed some bzr hpss counts and now it's just sitting there connected01:54
lifelesswallyworld_: that query will do unstacked branches first01:54
pooliei can see the tests are running01:54
wallyworld_lifeless: so the change is you added "ORDER BY stacked_on ASC NULLS FIRST"  ?01:54
pooliewhen this happened yesterday, it did eventually complete01:54
wgrantpoolie: Ah. It should detach right after ec2test-remote.py01:55
wgrantpoolie: I haven't seen that happen in months.01:55
wgrantBut when it does you can normally just ctrl+c01:55
pooliethat's two out of two so far01:55
wgrantAfter it starts ec2test-remote.py01:55
lifelesswallyworld_: and then in increasing branch id, which will (except where folk have restacked) keep the depth of recursion low01:55
lifelesswallyworld_: I think thats all I did yes01:56
wallyworld_lifeless: that change somehow helps the optimiser ?01:56
StevenKsinzui: There is something you can help me with, in fact.01:57
wallyworld_lifeless: how did you know that's what you needed to do?01:57
lifelesswallyworld_: it doesn't help the optimiser01:57
sinzuiStevenK, yes?01:57
lifelesswallyworld_: but it will stop us looping 6 times through01:57
wallyworld_ah ok. i'll look at the explains in more detail01:57
wallyworld_they're still a bit hard for me to read01:58
lifelessso we have a branch A->B->C->D->E->F01:58
StevenKsinzui: I'd like a header and prose for the pop-up when the user wants to unsubscribe themselves.01:58
wallyworld_and grok01:58
lifelessuntil we update F, anything stacked on any of B,C,D,E,F, will recurse all the way to F01:58
lifelessthis tweak makes it be more likely to calculate F before A, as F will be unstacked, E will have a lower branch id than D, in the usual course of htings.01:59
sinzuiStevenK, I writing job? I am on it. Header: Hey, I see you are shooting yourself in the foot. I can help01:59
lifelessthere is one more step we can take01:59
StevenKHahaha01:59
lifelesswhich is to use transitively_private and short circuit when it is set.01:59
wallyworld_lifeless: but we don't limit the recursive query to take that into account01:59
wallyworld_yes, so we add the short circuit02:00
wallyworld_that's a nice optimisation02:00
sinzuistevek prose: By unsubscribing from this bug you are trading lots of exciting spam for 404's Click Oops to stop this.02:00
pooliehloeung, wgrant, it's not obviously responding to my mail, so i think i do need process-mail run by hand02:01
pooliei'm pretty sure this was needed last time too02:01
poolierobert said something abotu it creating too much load to run it automatically02:01
wgrantpoolie: We should set up a regular cron job, and bump staging's frequency.02:01
wgrantpoolie: Since as of like 12 hours ago we have a new staging scripts server.02:01
hloeungwgrant: file an RT to have that done. In the meantime, I'll run process-mail by hand02:02
poolieso should you file an rt for that or something?02:02
pooliethanks02:02
* wgrant RTs02:03
wgrant#4793302:04
_mup_Bug #47933: [Feisty] system requires acpi=off noapic nolapic <cft-2.6.27> <linux-source-2.6.20> <linux (Ubuntu):Won't Fix> <linux-source-2.6.20 (Ubuntu):Won't Fix> < https://launchpad.net/bugs/47933 >02:04
hloeungpoolie: ok, done02:05
hloeungwgrant: ta02:05
pooliewoo hoo02:05
pooliethat's so awesome02:06
pooliethanks02:06
wgrantpoolie: Oh, it worked? :/02:06
poolieonly a wry face?02:06
wgrantpoolie: gandwana doesn't seem to be able to talk to the mailserver.02:06
wgrant  File "/srv/staging.launchpad.net/staging/launchpad/lib/lp/services/mail/mailbox.py", line 119, in open02:06
wgrant    raise MailBoxError(str(e))02:06
wgrantMailBoxError: [Errno 111] Connection refused02:06
poolieit did work02:06
pooliehttps://bugs.qastaging.launchpad.net/launchpad/+bug/80027502:06
_mup_Bug #800275: boot splash not branded <ugr-ebuild:Confirmed for soaringsky> < https://launchpad.net/bugs/800275 >02:06
wgranthloeung: Did you run it on asuka?02:06
pooliehloeung, can it ever send outgoing mail?02:07
hloeungwgrant: yeah, I ran it on asuka02:07
pooliealso, can you tell me what software is involved in delivering the message to lp?02:07
wgrantpoolie: We can run send-bug-notifications.py (on asuka, not gandwana yet, or we will be in big trouble) and it will end up in the staging mailbox.02:08
wallyworld_lifeless: btw, thanks for all the xecellent input on getting that query optimised. i'm really pleased with the result02:08
pooliedoes it really (as that traceback suggests) read it over pop/imap?02:08
wgrantYup. POP3.02:08
wgrantReally we should have a handler in the MTA which sticks it in rabbitmq or something.02:08
wgrantWhere it's picked up by a daemon.02:09
wgrantRather than being a */3 cronjob.02:09
lifelesswallyworld_: http://paste.ubuntu.com/690457/02:09
lifelesswallyworld_: this is more of a rewrite02:09
lifelesswallyworld_: it implements the recursion short circuit when you encounter a calculated transitively private02:09
lifelesswallyworld_: it can do 800 a loop02:09
lifelessin < 2 seconds02:09
wallyworld_lifeless: i was in the middle of writing something similar myself :-) but you beat me to it02:10
lifelesscan't predict behaviour once you're 30/40K in trivially.02:10
lifelesswallyworld_: happy to help02:10
lifelesswallyworld_: I'm satisfied this will do reasonably well; I'm going to leave it here until/unless you ping me again02:11
wallyworld_lifeless: np. it's all good. i'll check the unit test passes and then do a db-devel branch with the index02:12
pooliehloeung, process-mail again please?02:12
hloeungpoolie: sure02:12
poolieand once more?02:15
hloeungpoolie: done02:16
pooliesuper02:16
poolielooks like it all works02:16
pooliethanks very much02:17
hloeungnp02:17
sinzuiStevenK, http://pastebin.ubuntu.com/690460/02:20
wallyworld_hloeung: at some stage, no hurry, there's a new feature flag to go on production documented on LaunchpadProductionStatus02:21
StevenKsinzui: Thank you, that is excellent.02:21
hloeungwallyworld_: added02:23
poolieok now some more real work02:23
wallyworld_hloeung: legend! thanks!02:24
pooliewhat does 'orphaned' mean in the deployment report? that there's another branch for that bug?02:54
wgrantpoolie: There is no open bug related to the landing.03:10
wgrantpoolie: This could be because it was landed as testfix or a rollback, so has no bug, or the associated bug(s) are closed.03:11
lifelessmwhudson: branch tokens - I think we need to talk about them :)03:18
lifelessmwhudson: I have some fears03:19
lifelessmwhudson: if you can make some time next week, that would be great03:19
mwhudsonlifeless: yeah sure03:19
mwhudsonlifeless: can you articulate your fears at all?03:19
mwhudsoni.e. conceptual problems, security problems, performance...?03:19
lifelessperformance impact, user model impact,  bzr ui impact03:19
lifelessauditability too03:20
lifelessand long term interaction with oauth/openid for bzr03:20
lifeless(I want to ditch ssh keys altogether in some ways)03:20
pooliereally?03:21
poolietell me more?03:21
lifelesspoolie: we've spoken about this before03:21
pooliei have an awful memory03:21
pooliecan you prompt it03:21
lifelesspoolie: I haven't advanced any plans, but ssh key management is a real headache for new users03:21
lifelessdoing an API style login once on the client would be much nicer.03:21
pooliei would certainly agree with making them a lot less manually maintained03:22
poolieright03:22
mwhudsonlifeless: would you be less concerned if i just targeted removing the puller?03:22
lifelessmwhudson: I think jelmer will have that done soon anyway :)03:22
lifelessmwhudson: won't he ?03:22
mwhudsonlifeless: no03:22
wgrantStill needed for imports.03:22
mwhudsonthe import puller will still be required03:22
lifelessmwhudson: so, we should talk :)03:22
mwhudsonok03:22
mwhudsonlifeless: i suspect your diary is massively more cluttered than mine, feel free to do something involving calendaring applications and michael.hudson@linaro.org03:23
lifelessmwhudson: i'll ping you monday :)03:25
mwhudsonlifeless: ok03:25
lifelesslowtek ftw03:25
mwhudsonrelying on memory << * in my case though :)03:28
pooliekk lunch biab03:28
mwhudsonis there a private xml-rpc server method to check for a feature flag?03:37
wgrantNo.03:37
wgrantIt's not quite trivial, since you'd need some way to work out scopes.03:38
mwhudsonwhat are scopes again?  things like projects and teams?03:40
wgranthttps://launchpad.net/+feature-info03:40
wgrant"03:40
wgrantScopes" section03:40
mwhudsonah nice03:40
mwhudsonwell, as nice as it would be to restrict anonymous ssh logins to members of a team ... :)03:42
nigelbwallyworld_: \o/ landed that branch last evening :-)04:33
lifelesswgrant: mwhudson: pass in a dict of literal scopes you're interested in04:37
lifelessas a first-pass approximation04:37
pooliemwhudson, most obviously you could limit by ip04:38
pooliemaybe also ssh client signature04:38
lifelessthat will let some obvious ones like page-id be passed in04:38
wgrantlifeless: I considered that.04:38
wgrantMaybe.04:38
lifelessfor a v1 lets get unblocked thing04:39
lifelessits fine.04:39
lifelessinternal-only.04:39
poolieo/ huwshimi04:47
* mwhudson contemplates the fun that is adding xmlrpc methods to lp04:47
huwshimipoolie: Hey!04:47
nigelbmwhudson: xmlrpc it self is "fun" :-)04:48
mwhudsonalso true04:48
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
lifelesswgrant: what are the '53'05:10
poolielifeless, sorry to re-ask something i asked a month or two ago, but05:11
lifeless4205:11
poolieonce revisions are qa'd on stable, they'll deploy within a few days?05:11
lifelessideally ;)05:11
wgrantNo.05:11
wgrantIdeally within 24 hours.05:11
poolieunless something else fails on production, or fails to qa?05:12
lifelessit all depends on someone putting up a deployment request, other revisions not being in the way etc.05:12
wgrantUnless stuff goes wrong, they're generally out in 24 hours.05:12
lifelessthe goal time is < 1 hour from qa05:12
lifelessbut we are far from that yet05:12
wgrantlifeless: Ah, that email is mostly directed at Julian. https://devpad.canonical.com/~wgrant/2011/soyuz-expiration-blargh.html is not light reading.05:12
wgrantlifeless: But, in summary, there are 53 BPRs published since hardy that are illegaly expired.05:13
wgrantBecause they're still published in the primary archive.05:13
lifelessrighto05:13
nigelbUgh, Tal.05:13
wgrantWe need to recover them from the archive.05:13
lifelessI've read it now05:14
lifelessthanks05:14
lifelessjamesh: hi05:15
lifelessjamesh: got 5 ?05:15
jameshsure.05:15
huwshimiDoes anyone here use Identi.ca? I have an issue identical to this post but I don't understand what they're talking about: http://forum.status.net/discussion/873/badge-identica-badge.js-not-working-with-my-statusnet-installation/p1 (I'm asking here because I'm trying to set up something for Launchpad).05:15
pooliei use it but not the badge feature05:16
poolieidnetical how?05:16
lifelessjamesh: so, I think: timeline wsgi injector should be a separate timeline-wsgi project; storm can grow a timeline_factory that timeline-wsgi talks to. python-oops-timeline should exist and have the context -> report code in it.05:17
lifelessjamesh: so 2 new trivial projects, a patch to storm, and we're done05:17
huwshimipoolie: I have the same issue, as in, no posts show up on the badge. That post seems to say something about only friends posts showing up, but I don't understand the identi.ca language enough to know what they're saying05:18
poolieoh you want launchpadstatus's badge to be somewhere?05:19
pooliei thought you were trying to implement lp badges or something05:19
jameshlifeless: so what would python-oops-timeline hold exactly?  Just the code to add the timeline to environ['oops.context'] and some on_create handlers?05:19
jameshor something more?05:19
poolieo/ jamesh05:19
huwshimipoolie: yeah I'm trying to show it on a status page05:19
pooliehuwshimi, i suspect 'friends' is a hippy equivalent of twitter 'following'05:20
lifelessjamesh: oops-timeline would  be on_create handlers05:20
nigelbstatik: LOVE the reply you got from DEVOPS_BORAT :-)05:20
poolieand launchpadstatus has no friends :)05:20
poolielet's see if that's true05:20
jameshor I suppose it could do without copying to oops.context, since you could go context['wsgi_environ']['timeline.whatever']05:20
lifelessjamesh: thats timeline-esgi :)05:20
lifeless*timeline-wsgi*05:20
poolieit's true: no friends05:21
lifelessjamesh: I'm trying to avoid having specific projects have code for sibling projects in them05:21
jameshlifeless: okay.  So the timeline-wsgi module knows about oops-wsgi.  That sounds fine.05:21
mwhudsoni wonder who DEVOPS_BORAT is05:21
jameshor alternatively the other way around05:21
lifelessperhaps call it timeline-oops-wsgi; then it clearly can know about oops variables05:21
mwhudsonsometimes it feels like it must be someone i know05:21
wgrantmwhudson: Heh, yes.05:22
pooliehuwshimi, i wonder what happens if lpstatus follows itself05:22
lifelessjamesh: or as we touched on the other day, environ['timeline.timeline'] could be the dedicated variable05:22
huwshimipoolie: Can we make that happen?05:22
jameshlifeless: if the only connection is that it does "if 'oops.context' in environ: environ['oops.context']['timeline'] = timeline", then I don't think an extra package is worth it05:22
poolieapparently no05:22
lifelessjamesh: So I've found, when I dig into some java stacks, that having *tiny* packages is actually very useful05:23
huwshimipoolie: OK, I might give up and use the twitter feed instead.05:23
lifelessjamesh: it keeps the dependency chain very lean, when you go to reuse.05:23
huwshimipoolie: Thanks for your help :)05:23
pooliei have an idea05:23
lifelessjamesh: I know storm doesn't do this, but I wish more code did.05:23
lifelessit would be -awesome- if the overhead of doing a single python module (not package) was lighter.05:24
lifelessjamesh: it won't have a practical difference for you though, will it ?05:25
pooliehuwshimi, what happens if you just make a copy of the js, and change 'statuses/friends'  to 'statuses/user_timeline'?05:25
pooliei reckon there's a fair chance that will work05:25
jameshlifeless: I guess not.  It is one more thing to package though05:25
huwshimipoolie: I can do that (and it will probably work), but I'm trying to limit the number of working parts as this will appear when LP is down.05:26
jamesh[we haven't drunk the buildout kool aid]05:26
lifelessjamesh: time to give pkgme a test drive then :)05:32
lifelessjamesh: these should be ideal cases for fully automated packaging05:33
lifelesswgrant: welcome to the dark side05:40
lifelessstub: yo05:40
stubyo05:41
wgrantlifeless: Heh.05:41
lifelessstub: time for a catchup ?05:41
wgrantI indeed finally gave in :(05:41
stublifeless: sure. Gimme a sec to boot the lappy05:41
stuband steal my mike back05:41
lifelessyou want to be like mike/05:41
lifeless?05:41
huwshimiWhen the database goes down at the moment do we currently display anything? What's involved to put a [new] page there?05:48
huwshimistub: Matthew said you might know something about this...^05:48
stubhuwshimi: Bug #84009805:50
_mup_Bug #840098: Librarian should return 503 pages during database outages <qa-ok> <Launchpad itself:Fix Committed by stub> < https://launchpad.net/bugs/840098 >05:50
wgranthuwshimi: We just display an Oops page now.05:50
wgranthuwshimi: We can put whatever you want there, basically... as long as it doesn't involve DB access, obviously.05:50
huwshimiwgrant: OK, I have (most of) a static HTML page (a little js and some images too) that will go there. Do you know how I can make this work?05:52
nigelbwgrant: dark side?05:53
wgrantnigelb: I created a Twitter account.05:53
nigelbOHMYGOD05:53
nigelb@wgrant?05:53
StevenKwgrant: We can no longer be friends.05:53
wgrantnigelb: I need to try to claim that using the 9 month rule. @wgrant_ for now.05:54
wgrantNasty common names :(05:54
huwshimiStevenK: No, but you can be followers05:54
StevenKhuwshimi: Boo, hiss.05:54
nigelbwgrant: _ is the new style on twitter05:54
nigelbhuwshimi++05:54
wgranthuwshimi: It should ideally use normal LP JS/image infrastructure.05:54
wgranthuwshimi: As it's rendered by LP, like any other view, except without the DB.05:54
wgranthuwshimi: Just like the current OOPS page.05:55
mwhudsonpoolie: could you look at https://code.launchpad.net/~mwhudson/launchpad/feature-flag-xmlrpc/+merge/75673 briefly?05:56
poolie+"""XXX: Module docstring goes here."""05:57
poolieor not :)05:57
mwhudsonwell yes, not that stuff:05:57
nigelbheh05:57
mwhudson"""Not ready yet (docstrings need writing etc) but would like feature flag manipulation looked at please :)"""05:57
nigelbwgrant: Can we have a tumblbeast? :)05:57
pooliei know i'm just being snarky05:57
poolieyes, please05:58
poolieor, that's more of huwshimi's department, beasts05:58
wgrantHeh05:58
wgrantWas that the one TheOatmeal created?05:58
nigelbyeah05:58
nigelbits free to use now05:58
* mwhudson goes to the pub05:59
poolieoops05:59
pooliemwhudson, it's not obviously wrong but i don't really understand it05:59
mwhudsonpoolie: ok, let's talk next week then :)05:59
poolieok05:59
nigelbI'm having brunch and mwhudson is headed to the pub.06:00
pooliethe intention is good06:00
nigelbtimezones.sigh.06:00
pooliecheerio mwh06:00
StevenKnigelb: Then move to Australia?06:00
nigelbhaa.06:00
mwhudsonnigelb: what bothers me is when i'm going to the pub, and my colleague in POLAND hasn't stopped working yet06:00
nigelbheh06:01
nigelbmwhudson: It probably bothers him more :P06:01
nigelbhim/her06:01
pooliewhat bothers me is when i come home from the pub and robert is still working06:01
nigelbStevenK: Only if it were that easy.06:01
nigelbpoolie wins06:01
huwshimipoolie: It's only when I'm in another timezone when I realise how many people here work *very* late06:02
nigelbOh wgrant doesnt have a concept of time.06:03
nigelbNeither does StevenK.06:03
wgrantLast night was particularly bad.06:04
wgrantSince a script I expected to take 3 hours actually took 13 hours.06:04
nigelbCould someone help me with this? http://paste.ubuntu.com/690527/06:05
wgrantnigelb: You have a tag mismatch somewhere.06:06
nigelbI've been trying to trace it without much luck :(06:07
nigelbhttp://paste.ubuntu.com/690530/ <-- pt file06:09
wgrantWhich table are you trying to close on line 68?06:09
wallyworld_wgrant: StevenK: do you see an issue with lowering the minimum picker search term length from 3 chars to 2? perhaps if term is < 3 chars do not do fti search, just exact match to lp name06:09
wgrantThat table seems to be opened in the previous metal:widgets.06:09
wallyworld_for bug 76814806:10
_mup_Bug #768148: person picker does not handle exact matches well - including not permitting exact matches for usernames < 3 characters long. <person-picker> <Launchpad itself:Triaged> < https://launchpad.net/bugs/768148 >06:10
nigelbthe one in line 2506:10
wgrantnigelb: I think 68 is trying to close the table on 25, but they are in separate macros.06:10
nigelbOh. I can't do that?06:10
wgrantThis is approximately XML.06:11
wgrantIt's not text-based like Django markup.06:11
nigelb:D06:11
nigelbYou guessed where I'm coming from.06:11
nigelbArgh. Need to ask sinzui for help.06:12
nigelbI'm not sure how to get this workign without it being ugly.06:12
wallyworld_nigelb: cani help at all?06:14
nigelbwallyworld_: ohai, I'm trying to fix bug 80660 without killing kittens and without it being ugly.06:15
_mup_Bug #80660: GAIM2.0b5 crashes on quit <gaim (Ubuntu):Invalid> < https://launchpad.net/bugs/80660 >06:15
nigelberr06:15
nigelb80666006:15
nigelbbug 80666006:15
_mup_Bug #806660: "Add a new address" in e-mail settings does the wrong thing when pressing Enter <easy> <ui> <Launchpad itself:Triaged by nigelbabu> < https://launchpad.net/bugs/806660 >06:15
wallyworld_but i hate cats. they all must die06:15
* wallyworld_ looks at bug06:15
nigelbwallyworld_: heh, on that you should look at Amber's (Graner) facebook photos (if you are her friend on fb)06:16
StevenKwallyworld_: http://cheezburger.com/kenneystudios/lolz/View/180269593606:16
wallyworld_nigelb: i hate fb more than i hate cats. and i hate twitter too. total waste of time06:16
nigelbheh06:16
wallyworld_StevenK: don't know where you find this stuff06:18
nigelbStevenK probably has subscription to icanhazcheesburger06:18
nigelbI do as well. BUt to one of their smaller sites.06:19
wallyworld_nigelb: so did you try splitting the form into two like suggested in the bug report?06:24
nigelbI did.06:25
nigelbIt was ugly06:25
wallyworld_no luck?06:25
nigelbWhat I did was split the table06:25
nigelbBecause semantically, I cannot have one form in another form.06:25
nigelbAnd a form must either include the entire table or be only in one td.06:25
wallyworld_yes06:26
wallyworld_and that didn't work? having two tables?06:27
nigelbIt worked!06:27
nigelbBUt it was ugly with lots of padding06:27
nigelbCan we fix that?06:27
nigelbs/padding/margin/06:27
wallyworld_can i see what you did?06:27
nigelbsure06:27
nigelbsec, let me restore yesterday's changes06:28
nigelbOh gah.06:28
nigelbGive me 5 minutes I'll have to do it from scratch. Shoulda commited at safe point.06:28
wallyworld_ok, just ping me06:29
wgrantShelve is handy.06:29
wgrantExcept when I end up with 60 shelves in devel.06:29
wallyworld_my ide has shelve built in :-)06:29
wgrantDoes PyCharm have juju integration yet?06:29
wallyworld_nope :-)06:29
nigelbjuju?06:30
nigelbensemble?06:30
wallyworld_s/ensemble/juju06:30
wallyworld_they renamed it06:30
nigelbI like ensemble better :P06:30
wgrantYeah.06:30
wallyworld_so does everyone else06:30
wallyworld_when people found out, they wore out the WTF keys06:31
wgrantAhem.06:31
nigelblol06:32
wgrantYay, git branch importing works.06:32
wgrantjelmer: Do you want a bzr bug for http://launchpadlibrarian.net/80061780/wgrant-mochiweb-R12B.log?06:34
wgrantjelmer: I tried to use the original ,somebranch syntax instead of ,branch=somebranch06:34
wgrantjtv: Do you have branches to entirely abolish katie yet?06:42
nigelbbranch scanning broken?06:44
jtvwgrant: yes, have a look at lp:launchpad.06:44
jtvwgrant: that's katie gina's buddy, not the other katie.06:44
wgrantjtv: Ah, hadn't checked that in a few hours.06:44
wgrantNice, thanks.06:44
jtvTsk.06:44
jtvWay behind the times.06:44
jtvSoooo 07:44 ITC.06:45
nigelbDespite living in the future.06:45
wgrantnigelb: Which branch isn't scanned?06:45
nigelbhttps://code.launchpad.net/~nigelbabu/launchpad/registry-email-add-80666006:45
nigelbIts been 8 minutes. Launchpad is faster than that!06:46
wgrantHmm, 13 minutes.06:46
wgrantThat's not good.06:46
nigelbwallyworld_: So, it looks like this -> http://people.ubuntu.com/~nigelbabu/first-try.png06:47
* wallyworld_ looks06:47
wgrantIs that Lucid?06:47
wgrantPossibly Maverick.06:47
wgrantOld, anyway.06:47
nigelbLucid06:47
nigelbHow did you know....06:47
wgrantThe buttons are too brown.06:48
* nigelb bows.06:48
nigelbAnd here's my diff -> http://paste.ubuntu.com/690552/06:48
nigelbwgrant: I still haven't come to terms with unity.06:48
wallyworld_nigelb: there's too much vertical space isn't there06:48
nigelbYeah06:48
nigelbThat's because they're in two different divs.06:49
nigelbI don't know if I can move them into one.06:49
nigelbSince the div itself is constructed from the <metal..06:49
nigelb(or so I think)06:49
wallyworld_nigelb: did you check to see if any ccs is in use for any of the div/table/form elements that may be adding the vertical padding06:50
wgrantnigelb: Your branch scanned a couple of minutes after you asked. Still waiting on logs to see what the delay was.06:51
huwshimiSo, upgraded to Oneiric, rocketfuel-get, rocketfuel-branch foo, in foo: make schema: 'psycopg2.ProgrammingError: type "debversion" does not exist'. What else do I need to do?06:51
huwshimi... oh and I'm just assuming this has something to do with the Oneiric upgrade, it may well not be06:51
wgranthuwshimi: Sounds like the launchpad PPA was disabled during the upgrade.06:51
wallyworld_huwshimi: did you install launchpad-devel-dependencies?06:52
huwshimiwgrant: Oh yeah, I think you're right06:52
wgranthuwshimi: Make sure it's enabled, pointing to oneiric instead of natty, and then reinstall launchpad-developer-dependencies.06:52
huwshimiwgrant: Thanks06:52
wgrantI fixed that debversion issue in the PPA a couple of weeks ago.06:52
wgrantSo it should work.06:52
nigelbwallyworld_: So, what's adding the margin is table and form elements06:52
nigelb(fun!)06:52
nigelbwgrant: Excellent! I broke it? :D06:52
wallyworld_nigelb: are they rendered with a css style?06:53
wallyworld_a specific css style?06:53
nigelbNo.06:53
nigelbtable.form06:53
nigelband form06:53
nigelbgeneric styles06:53
wallyworld_so perhaps you could initially try using an inline style with no padding/margins etc and see if that works06:54
nigelbIs that kosher? :-)06:54
wallyworld_just to see if it works06:54
nigelbah06:54
wallyworld_then we can either define a style in the template (like is sometimes done for a one off) or see if there's already one in styles-3.0.css06:55
nigelbYou mean a style="margin: 0;" right?06:55
wallyworld_something liek that06:55
nigelbCan't touch <form> because its created by a macro.06:55
wallyworld_there is a way, i've seen it used but can't recall where exactly06:56
nigelblet me check the macros.06:56
wallyworld_nigelb: you may not need the initial form macro. just using a stock <form> may work06:57
wallyworld_i'd have to experiment a bit06:58
nigelbok06:58
wallyworld_nigelb: in the template you are editing is an example of using a standard <form> element rather than the macro07:05
nigelbwallyworld_: worked :)07:05
nigelbI just added the inline styles from firebug.07:05
wallyworld_excellent!07:05
wallyworld_nigelb: i have to go out and pick up my wife from downtown07:06
=== wallyworld_ changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
wgrantBrisbane has a downtown?07:07
wallyworld_wgrant: i was using the venacular that nigelb would understand as an american :-)07:07
wallyworld_s/downtown/cbd :-P07:07
nigelbhaha07:08
nigelbwallyworld_: I'm not American07:08
nigelbThink East :-)07:08
wallyworld_east of where?07:08
nigelbI'm from India07:08
wgrantnigelb: East of us is the US :P07:08
wallyworld_oh, ok. sorry!07:08
nigelbwgrant: HA.07:09
nigelbEast of the US!07:09
wallyworld_what part of india? i've been to Bangalore07:09
nigelbBut that was a fail attempt at referring to East India Company07:09
nigelbwallyworld_: I live in Bangalore :-)07:09
wallyworld_:-)07:09
wallyworld_Cat Logistics CLSI have an office in Whitexxxxx rd or something like that07:10
wallyworld_east of the city centre i think07:10
nigelbWhitefield07:10
wallyworld_yes, that's it07:10
wallyworld_i was there in 200807:10
wallyworld_when i worked for Caterpillar07:10
nigelbYou should visit again!07:11
wallyworld_i hope so. i really liked it :-)07:11
nigelbIts got a really awesome weather.07:11
nigelbI probably won't leave the city just for that.07:11
wallyworld_i really liked the food07:11
wallyworld_nigelb: but i do have to go, to get to the cbd :-)07:11
nigelb:)07:12
* wallyworld_ runs away07:12
nigelbwgrant: You should tweet too. Not just sign up for twitter and follow people ;-)07:12
wgrantMaybe :)07:14
PengWhere's the fun in *that*?07:15
* nigelb blinks.07:16
nigelbPeng: Are we both on another network as well?07:16
nigelbMy brain just got horribly confused seeing you in freenode :)07:17
PengPossibly. And it's not an uncommon nick.07:17
stubhuwshimi: On a call before and cited the wrong bug (not that you need the right one as it is assigned to you!)07:36
huwshimistub: Yeah, all good, I saw that07:37
stubhuwshimi: So 1) wording and design of the page, or just wording. 2) Register it as a view on storm.exceptions.DisconnectionError 3) Tests to ensure that when the db is pulled out from under lp's feed, the expected 503 error page is returned07:38
stubhuwshimi: I guess do as much of that as you are comfortable then hand off07:38
nigelbIs this the bug about 503 when database is down?07:39
stubhuwshimi: I think wgrant or myself were going to do the wiring.07:39
stubnigelb: I hope so, or I'm confusing the wrong issue.07:39
huwshimistub, nigelb: yeah that's the one07:39
nigelb\o/07:40
huwshimistub: Cool. I am working with matthew on 1. I'm just about to head off for the week, but I'll take a look on Monday and get what I can done.07:40
stubhuwshimi: I suspect you just want to do 1) and hand it off07:40
wgrantstub: That's why I didn't give him past step 1 :P07:41
huwshimistub: If that's easier I don't mind.07:41
stubwgrant: You expect me to pay attention to scrollback? Sheesh.07:41
nigelbheh07:41
adeuringgood morning07:44
wgrantMorning adeuring.07:45
adeuringhi wgrant07:45
jtvhi adeuring07:45
adeuringhi jtv07:46
nigelbhi adeuring, jtv07:46
mrevellHello!08:06
nigelbhello!08:07
nigelbCodehosting throws me twisted.internet.error.CannotListenError: Couldn't listen on any:8022: [Errno 98] Address already in use.08:33
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring| Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
nigelbNevermind. fixed.08:35
nigelbHow do I find what port loggerhead wants?08:39
nigelbIt seems to be already in use by something else which I want to kill.08:39
stubDunno, but my money would be another loggerhead process left unterminated.08:50
nigelbI got it.08:50
nigelbit was 808008:50
nigelbI had nginx running there.08:50
stubIs Bug #809118  a dupe of Bug #845397 or are these actually separate things?08:54
_mup_Bug #809118: builddmaster handling of lp-prod/lp-slave db connection interrupts is untested <fastdowntime> <Launchpad itself:Triaged> < https://launchpad.net/bugs/809118 >08:54
_mup_Bug #845397: buildd-manager needs to survive database outages <fastdowntime-later> <Launchpad itself:Triaged> < https://launchpad.net/bugs/845397 >08:54
nigelbI'm horribly confused with codehosting running locally08:56
wgrantnigelb: Oh?08:56
nigelbhttp://paste.ubuntu.com/690624/08:56
nigelbwhere do I see these OOPS details?08:56
wgrantnigelb: Hmm, you've pushed both branches up? It sounds like one or both might not exist.08:57
nigelbI couldn't parse that :)08:57
nigelbI just pushed one branch08:57
nigelbSomething into https://code.launchpad.dev/~landscape-developers/landscape/trunk so I could see commit numbers08:58
wgrantnigelb: It seemed to be trying to scan two branches.08:58
wgrantAnd generate an MP diff from them.08:58
nigelbAH.08:59
nigelbDelete the MP?08:59
wgrantNot necessary.08:59
wgrantTry pushing another branch up, maybe.08:59
wgrantAnd rerunning make sync_branches.08:59
wgrantPerhaps it will settle down.08:59
nigelbI just deleted.08:59
nigelbNo jobs to run.09:00
nigelbwgrant: http://paste.ubuntu.com/690626/09:02
nigelbThere.09:02
wgrantnigelb: The OOPSes should be in /var/tmp/codehosting.test09:03
nigelbFound em. http://paste.ubuntu.com/690627/09:04
wgrantnigelb: Hm, apache's notrunning?09:05
stubAre 'fiera' users besides the buildd manager fragile for fastdowntime?09:05
wgrantstub: No, buildd-manager is the only one.09:05
stubok, I'll remove fiera from the fragile list and just add the new buildd_manager user09:05
nigelbwgrant: It is. I see the web page.09:05
wgrantnigelb: Even on the bazaar.launchpad.dev IP address?09:06
nigelbwgrant: Ah not.09:06
nigelbhow do I fix?09:06
wgrantSomething must be wrong with your Apache config... it works by default once rocketfuel-setup has runs.09:09
nigelbHrm.09:10
nigelbDo I run rf-setup again?09:10
nigelbah09:10
nigelbsudo make install09:10
nigelbStill fail.09:11
nigelbWarning: DocumentRoot [/var/tmp/bazaar.launchpad.dev/static/] does not exist09:22
nigelbThere's potential fail there.09:22
nigelbwgrant: still around? :)09:23
wgrantnigelb: That shouldn't be a failure.09:24
wgrantnigelb: It sounds like Apache isn't even listening on 127.0.0.99:80. I'm not sure what could be going on there.09:24
nigelbwgrant: It is listening.09:25
nigelbI see entries in error.log09:26
wgrantHm, why connection refused, then? :/09:26
nigelbbazaar.launchpad.dev sounds like loggerhead.09:27
nigelbHow can I check if its up?09:27
wgrantbazaar.launchpad.dev:80 is Apache, which forwards some requests to loggerhead.09:27
nigelb:/09:27
nigelbwgrant: Wait a minute.09:28
nigelb80?09:28
nigelbI have bazaar.launchpad.dev:443, not 8009:28
nigelbWell, that's the one that gets logged.09:28
wgrantThe branch scanner will want :8009:30
nigelbSo, you're right.09:31
nigelbSomething's wrong :/09:31
bigjoolslifeless: are you around?09:39
stubbigjools: https://code.launchpad.net/~stub/launchpad/trivial/+merge/7569610:07
bigjoolsstub: why not just fix the config?10:09
bigjoolsI have a feeling tests depend on it10:10
stubbigjools: Cause then other things that use that config item will also move and continue to use buildd-manager's database user10:10
stubbigjools: database usernames in configs has been a WHUI anyway10:11
bigjoolsindeed10:11
bigjoolsare you relying on tests failing then?10:11
stubbigjools: --test=buildd passes, I'll wait on ec2 to inform me of further fallout10:11
bigjoolsok10:12
bigjoolsI'll approve it now10:12
stubbigjools: I don't think tests will fail though, as permissions of fiera and buildd_manager are identical. So if a test is connecting using the config username, it will still work. Not a good thing long run, but lets us solve the immediate issue easily.10:13
lifelessWHUI ?10:18
lifelessbigjools: no, but I can be for short bits10:18
bigjoolslifeless: I wanted to catch up about python-oops10:19
bigjoolsif it's not convenient we can do it Monday10:19
wgrantlifeless: We Haven't Used It, I assume.10:29
jmlit's the past tense of YAGNI10:32
nigelbYAGNI?10:35
StevenKYou Ain't Gonna Need It10:35
nigelbheh10:35
bigjoolsGIYF10:35
StevenKGive In, You're Fired?10:36
bigjoolsGoogle Is Your Friend10:36
StevenKMine was better.10:36
nigelbIndeed.10:36
bigjoolsGoogle, In Your Face10:36
nigelbNow, who's got a few minutes to help me figure out why bazaar.launchpad.dev:80 isn't working?10:37
nigelb(Actually, its why sync branches isn't working, but wgrant and I've gottten it to that point)10:37
lifelessbigjools: ah10:44
lifelessbigjools: I have no idea if monday will be better, but tonight would be awkward10:44
bigjoolslifeless: np, it's Friday night.  And I have to go to lunch soon too.10:44
lifelesskk, ciao10:45
bigjoolsI'll muddle through for a bit10:45
bigjoolshave a good weekend10:45
bigjoolswgrant: have you built the txlongpoll branch lately?11:11
wgrantbigjools: Not for a while. What's the buildout error?11:12
bigjoolswgrant: no error, but can't run tests as testresources is not in the path11:13
wgrantbigjools: How are you trying to run the tests?11:13
bigjoolsbin/test11:14
wgrant:(11:14
bigjoolsas per the README ;)11:14
bigjoolsif I run up bin/py, "import testresources" fails11:14
wgrantYeah, that's meant to work.11:14
bigjoolsso there's a buildout problem11:14
wgrantLet's see...11:14
bigjoolsand my ken of buildout is not so good11:14
wgrantI learnt quite enough about it during the Thunderdome...11:15
* wgrant waits three forevers for buildout to finish.11:15
bigjoolswgrant: ARGH, it's not in install_requires11:21
* bigjools fixes11:22
wgrantbigjools: It shouldn't be.11:22
wgrantIt's a test dep.11:22
wgrantbuildout is almost done...11:22
wgrantGenerated script '/home/wgrant/Development/txlongpoll/trunk/bin/test'.11:23
wgrantFinally.11:23
wgrantLet's see what happens.11:23
bigjoolsright, it's in extras_require11:24
bigjoolssomething else is missing11:24
wgrant  File "/home/wgrant/Development/txlongpoll/trunk/txlongpoll/testing/client.py", line 4, in <module>11:25
wgrant    from testresources import (11:25
wgrantImportError: cannot import name FixtureResource11:25
wgrantThat?11:25
bigjoolsyes11:25
wgrantNeed a new testresources.11:25
wgrantI think a bzr snapshot is required.11:25
bigjoolstestresources is not in the pathj11:26
wgrantNot for bin/py, no.11:26
wgrantCheck buildout.cfg11:27
wgrantHere's a crash course in the critical bits of buildout for this :)11:27
wgrantEach of those sections specifies a recipe. bin/py is built by the 'interpreter11:27
wgrant' section11:27
wgrantbin/test by the 'test' section.11:28
wgrantThe eggs included in each bin/* script are dictated by the eggs directive in each section.11:28
wgrantIt follows deps.11:28
wgrantAnd you can specify an extra_requires section to use by putting it in square brackets after the egg.11:28
wgrantThis way the package itself doesn't require rabbitfixture and all that stuff on production.11:29
nigelbCan someone pastebin their /etc/apache2/ports.conf file?11:29
allenapnigelb: http://paste.ubuntu.com/690715/11:30
bigjoolswgrant: ok thanks11:30
nigelballenap: thanks!11:30
bigjoolswgrant: this is far too much like black magic11:30
wgrantbigjools: Nah, this is Zope :)11:30
bigjoolslike I said ...11:30
nigelbMagic was one of the problems of Zope wwasn't it?11:31
bigjoolshow did we end up with  the tests needing something not in the testresources egg  :/11:31
bigjoolsthat's a rhetorical question11:32
wgrantI thought that was documented, but maybe not :(11:32
nigelbwgrant: is it "normal" for bazaar.launchpad.dev to be directed to launchpad homepage?11:33
bigjoolsthe testresources in the lp tree is 0.2.4_r5811:33
bigjoolsas opposed to 0.2.4 in the txlongpoll tree11:33
bigjoolsand it has FixtureResource11:33
wgrantbigjools: That is sufficient, I believe.11:33
wgrantYep.11:33
bigjoolsso I'll just copy that egg for now11:33
wgrantnigelb: Yes.11:33
nigelb\o/11:34
wgrantbigjools: You'll probably have to delete the old unpacked egg to make it use the new one.11:34
bigjoolsyes11:34
nigelbwgrant: \o/ \o/ \o/11:35
nigelbsync_branches worked!11:35
wgrantnigelb: It works?11:35
wgrantnigelb: What'd you change?11:35
bigjoolsand on that note, FOOD11:35
nigelbwgrant: apache ports.conf was listenign to 8009. Because I have 3 webservers on thsi box.11:35
wgrantAh.11:35
nigelbI suspected that, thanks to allenap, confirmed, fixed.11:35
* bigjools fixes setup.py11:36
nigelbHowever, now I know my code doesn't work :D11:36
nigelbYak shaving is so much fun.11:36
nigelb(not)11:36
jtvwgrant: I have to leave nowish.  Will be back in a few hours, but on a low-bandwidth connection.  But perhaps you could review, and if appropriate land, this?  https://code.launchpad.net/~jtv/launchpad/bug-851684/+merge/7572111:48
jtvAnyone else?  I'm in a hurry!12:01
jtvadeuring, could you review this one?  https://code.launchpad.net/~jtv/launchpad/bug-851684/+merge/7572112:01
jtvI have to run _now_, but I'll be back in an hour or two.12:02
adeuringjtv: sure12:02
jtvthanks!12:02
=== Ursinha-afk is now known as Ursinha
=== jtv is now known as jtv-afk
allenapwgrant, bigjools: Either of you fancy looking at https://code.launchpad.net/~allenap/rabbitfixture/details-breakage-bug-851813/+merge/75726?12:11
=== matsubara-afk is now known as matsubara
danilosmatsubara, hi, fwiw, I've replied to the oops-tools MP, thanks for the review :)12:29
matsubaradanilos, cool! I'm going to land and roll that out today. thanks for working on that! :-)12:30
danilosmatsubara, you are welcome, it was interesting to dive into it a bit :)12:31
danilosmatsubara, btw, I don't have to send it to PQM for landing? (I've noticed ~launchpad-pqm is the trunk branch owner)12:40
StevenKlaunchpad-developer-dependencies *Depends* on postgresql-8.4-doc? *Seriously*?12:56
matsubaradanilos, nope, just set a commit message in the MP and tarmac will take care of landing it on trunk12:58
danilosmatsubara, cool, I will do that then12:59
allenapadeuring: Got time for a rabbitfixture branch? https://code.launchpad.net/~allenap/rabbitfixture/details-breakage-bug-851813/+merge/7572613:00
adeuringallenap: time isn't a problem. But I have no real clue about rabbit...13:00
allenapadeuring: This branch doesn't touch the Rabbit parts, it relates to detail handling in testtools.13:02
allenapDon't be alarmed :)13:02
adeuringallenap: ok, I'll look ;)13:02
adeuringbut need a coffee first13:02
deryckMorning, all.13:03
adeuringmorning deryck13:07
bigjoolsallenap: approved13:08
allenapbigjools: Ta.13:09
allenapadeuring: bigjools just +1'ed it :-/ eek, sorry.13:09
adeuringnp13:09
bigjoolsah sorry didn't see you looking at it adeuring13:10
StevenKmtaylor: Is it just me, or does the Ec2 plugin for Jenkins not love OpenStack?13:19
matsubaradanilos, branch failed in the tarmac chroot13:23
danilosmatsubara, in what way? how can I fix it?13:25
matsubaradanilos, the followlinks parameter for os.walk isn't available and due to the failure temp directories are not being properly cleaned up13:26
danilosmatsubara, argh, we are not using 2.6 in there?13:28
matsubaradanilos, nope, I filed an RT to get that chroot updated to 2.613:28
matsubaralooking for the RT number, hang on13:28
matsubarahttps://rt.admin.canonical.com/Ticket/Display.html?id=4759113:29
matsubaradanilos, ^13:29
deryckadeuring, abentley, henninge -- let's Skype today please.  I'll start a conf call.13:30
danilosmatsubara, right, fwiw, I believe followlinks=False is the default value anyway, I just wanted to be explicit, so I'll remove it and try again13:30
matsubaradanilos, ok. I think it'll still fail now because of the temp directories that were not cleaned up in the previous run13:32
danilosmatsubara, right, how can we fix that then?13:32
matsubaradanilos, one way to fix it is to have a losa run bzr clean-tree in the chroot13:32
matsubaradanilos, or we could add a bzr clean-tree to the Makefile and it'd be run before make check is run13:33
abentleyderyck: audio sadness.  rebooting.13:33
deryckabentley, ok, cool.13:33
danilosmatsubara, should I do that?13:34
matsubaradanilos, bzr clean-tree --unknown --force to clean target should be enough13:34
matsubaradanilos, please do13:35
danilosmatsubara, ack, https://pastebin.canonical.com/52911/13:35
danilosmatsubara, I can probably remove the rms in there then13:36
matsubaradanilos, nope, because those are in the .bzrignore file13:36
danilosmatsubara, ah, ok13:36
danilosmatsubara, yay, merged :)13:53
matsubaradanilos, great!13:53
mtaylorStevenK: probably not just you ... it's on my todo list to finish the jclouds plugin13:54
allenapadeuring: Could you review a little fairly simple branch? https://code.launchpad.net/~allenap/launchpad/config-dir/+merge/7573713:55
adeuringallenap: sure13:55
allenapadeuring: Thanks :)13:56
adeuringallenap: r=me; minor comment14:11
allenapadeuring: Thanks :)14:12
=== almaisan-away is now known as al-maisan
benjiI'm having what appear to be SSL problems on a new oneiric LP setup: http://paste.ubuntu.com/690852/ Anyone have any hints?14:38
jelmerbenji: I've seen that as well on Oneiric14:44
jelmerbut I haven't figured out what's going wrong exactly14:44
jelmerbenji: Ian said changing host to hostnossl in pg_hba.conf fixed the issue for him, but that doesn't work here.14:45
jelmerbenji: it's worth a shot though14:45
benjijelmer: thanks, I'll give it a shot14:47
nigelbCan I make a branch, & commit to it in a test?14:50
jelmernigelb: of course14:53
nigelb\o/14:53
jelmernigelb: if you have a testcase class that derives from bzr's TestCaseWithTransport, it should be as easy as:14:53
jelmertree = self.make_branch_and_tree(path)14:53
jelmerrevid = tree.commit("My commit message")14:53
nigelbAH, currently its factory, so create a new class for this I guess.14:54
nigelblet me grep as well.14:54
nigelbThanks!14:54
jelmernigelb:If you're not in a bzr TestCaseWithTransport, you should be able to use bzrlib.bzrdir.BzrDir.create_branch_convenience(path)14:55
jelmerbut you might have to do some other setup as well (overriding the config, etc)14:55
nigelbI'm now thinking if I want all that for my test.14:55
nigelbI may not.14:55
jelmerI would recommend using TestCaseWithTransport if you reasonably can; it will help with test isolation problems.14:59
jelmere.g. if somebody has setup their bzr to always gpg sign commits you don't want the Launchpad test suite prompting them.15:00
=== bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring, bac| Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
jelmerg'morning Brad15:00
bachello adeuring.  how's the reviewing today?15:00
bachi jelmer15:00
adeuringbac: quiet :)15:00
bacadeuring: no backlog?15:01
* bac looks15:01
adeuringbac: yes, there was an MP... got distracted...15:01
=== jtv-afk is now known as jtv
adeuringjtv: I have 1.5 questions about your MP, see the email15:17
jtvhi adeuring!  Yes, I expected as much.  By the way, this is all pretty intensely tested, and functionality doesn't change—that's why so few test changes.  Should've explained that.15:18
adeuringjtv: so, you think the 65% memory usage are, let's say, tolerable?15:18
jtvFor just this once?  Absolutely, as long as the script makes enough progress that the problem gets a little smaller every time.15:25
jtvIt's not really a matter of catching up with changes; it's more of a data conversion.15:25
jtvadeuring: answered your questions, I hope.15:25
* adeuring is looking15:25
jtv(Kudos for checking the report.  I think I've mentioned this recently, but I appreciate a thorough review.  :)15:26
jtvSince the hardest of these packages appears to be only a few hundred records, even if the memory problem stays, we can go through a lot of packages before it becomes a problem again—and those packages will be permanently “done.”15:27
adeuringjtv: ok, sounds good. But I am slightly worried about txn.commit() in conjunction with two script instances running15:29
adeuringI have no clue though if bad things can happen at in this case...15:29
jtvadeuring: I don't think the second script instance gets past the startup-and-lock stage, but if it does, transitional domination leaves the last publication record untouched.15:30
jtvSo in the case where there's no intervening Debian import, AFAICS they would just duplicate each other's work with no ill effects.15:30
jtvIf there is one, things get a little more complicated.  Let me try to figure it out.15:31
jtv(Though as I said, the script does use LaunchpadScript locking so I don't think it would be an issue)15:31
adeuringjtv: OK. The alternative would be that this one run that needs a looong time and tons of memory is started manually, while the crontab entry is disabled15:31
jtvYes, that's what I had in mind.15:32
adeuringthough the losas might not agree to such a fix...15:32
jtvWe already mentioned it on #-ops and had no objections.15:32
adeuringjtv: ok, the r=me15:32
jtvIt's reassuring that your independent thought processes follow the same lines—means less chance that we missed anything.15:33
jtvThanks!15:33
jtvhey henninge, what time do you get off work today?15:46
henningejtv: I don't plan to hang around too long ...15:46
nigelbhenninge: Where are you moving to?15:47
jtvhenninge: nigelb reminded me that it's almost EOW over there.  As discussed, we'll have things to talk about afterwards but I wanted to give you an official goodbye & thanks for working with us!15:48
nigelb:)15:49
nigelbHAHAHA15:50
nigelbhttp://www.customink.com/lab/?cid=zab0-000k-p2qg15:50
henningenigelb: hang around *the office* of course ;-)15:50
nigelbhenninge: haha :)15:51
henningejtv: thank you very much! I enjoyed it greatly, too.15:51
jtvhenninge: and I'm sure I'm not the first to say it, but if you ever need a reference, no need to ask.  :)15:52
henningejtv: no you are not but I am glad I hear it so much. ;-)15:52
jtv:)15:52
jtvjelmer: if you're still here, sorry to bother you with it on a Friday afternoon but if you could still get bug 850502 q/a'ed today, that could remove the last blocker for a rather important fix.15:57
_mup_Bug #850502: probing smart http servers doesn't work with pycurl <code-import> <http> <qa-ok> <smart-protocol> <Bazaar Git Plugin:Fix Committed by jelmer> <Launchpad itself:Fix Committed by jelmer> < https://launchpad.net/bugs/850502 >15:57
jelmerjtv: you are reading my mind15:57
jtvWell, it _is_ the same language.  :)15:57
jtvThanks.15:57
jelmerjtv: I literally marked it as qa-ok 15 seconds before you asked.15:57
jelmer:-)15:58
jtv\o/15:58
jtvI've got one to Q/A, but I can do it on dogfood together with this fix.15:58
nigelbI wonder why my revision isn't ready for QA yet.15:59
bigjoolsjtv: every time I clear my throat, is that some meaningful statement in Dutch?15:59
jtvbigjools: yes, and probably about the mother of the enormous Hell's Angel you happen to be talking to.15:59
jtvWhy do you ask?15:59
jtvnigelb: it takes a while for the qa-tagger script to notice.16:00
nigelbYou've heard of click languages right?16:00
nigelbThat's means if you don't "chew" carefully, you might be cursing in some language.16:00
nigelbWhat's the difference between a product and a project?16:05
nigelbProjects have products?16:07
nigelbIs this the way how launchpad project works? with several products in its umbrella?16:07
nigelbjtv: still around? :)16:12
jtvnigelb: yes, just rather busy with a little crisis.16:12
nigelbah16:12
nigelbnevermind, i'll try and figure it out :)16:13
jtvProject == Project Group.  Product == Product.16:13
nigelbok, so my guess was right. Cool! (also, psql <3)16:13
jtvLeft-hand sides are class names, right-hand sides are UI terms.16:13
jtvYes, psql is great.16:13
=== deryck is now known as deryck[lunch]
=== al-maisan is now known as almaisan-away
sinzuibac: do you have time to review https://code.launchpad.net/~sinzui/launchpad/person-picker-tab-key/+merge/7577116:34
nigelbsinzui: Hi! I have a first cut branch for that bug.16:35
sinzuifab16:35
nigelbInstead of doing the tal:condition in span, I had to do it in a tal for it to work16:35
nigelbWriting tests now :)16:35
sinzuinigelb, thanks. I see your diff and It looks as I expect16:37
nigelb\o/16:37
nigelbIf I wwant to do something as admin, do I do this? --> with celebrity_logged_in('admin'):16:39
nigelbNot admin, just a user who can see private branches16:39
nigelbOr do I create a user and add that user to this product so they can see the branches16:39
sinzuinigelb, only an admin and the team with the subscribed team/person can see the branch16:40
nigelbhrm, I think I'll use admin.16:40
sinzuiI see lp.code.browser.tests.test_product has both a revision count test and a private test16:40
sinzuiI think test_committers_count_private_branch needs one more check to verify that the omitted id is not in the page16:41
nigelbargh.16:41
=== salgado is now known as salgado-lunch
nigelbI started writing in lp.code.tests.test_product.16:42
nigelbLet me move it.16:42
sinzuinigelb, no16:42
sinzuithere already is a model and a test16:42
nigelbOh.16:42
nigelbAh, I see!16:43
sinzuiwe just need to add an assertion. we can render the view, get the id, and verify it is None16:43
sinzuinigelb, I think i misread the last test. It shows the owner sees the info. We want to verify the id is in the page for that test. We want an extra test for a non subscriber using the same steps as the existing test16:45
nigelband not seeing the info.16:45
nigelbright.16:46
nigelbI've not broken anything in that test. which is not good.16:46
sinzuinigelb, This is what I imagined, though have not run the actual test http://pastebin.ubuntu.com/690942/16:50
* nigelb looks16:50
sinzuinigelb, I copied the test comment. I should have changed it16:51
nigelbwit16:51
nigelbwait16:51
* nigelb is cnfused16:51
nigelbah, nevermind16:52
nigelbI read your diff wrongly :)16:52
nigelbsinzui: Thanks for the tests! I was doing it in a roundabout way :)16:54
sinzuinp. I had these test in mind when I suggested the fix. I should have noted them in the bug16:58
nigelbI got two scary tracebacks http://paste.ubuntu.com/690949/16:59
sinzuinigelb, I think we need to add the principal arg to get the view17:01
sinzuiview = create_initialized_view(product, '+code-index', rootsite='code', principal=observer)17:02
sinzuiuse fsm in the first test.17:02
nigelbTrying again17:03
nigelbsinzui: second test fails with the same error17:06
sinzuibut the first test now works?17:06
nigelbyes17:06
sinzuiokay17:06
nigelbbigjools: HA, 300 has been crossed. I'm a happy man ;)17:08
bigjools?17:09
bigjoolsah cricket17:09
nigelb:)17:09
bigjoolsthey'll still lose17:09
nigelbAnd another wide \o/17:09
bigjoolson the line :/17:09
nigelbThe bribes we paid the umpires are paying off17:10
* bigjools off, enjoy your weekend17:11
sinzuinigelb, are you missing the + in +code-index in the second test?17:12
nigelbsinzui: ah,yes!17:14
sinzuiThe tb shows 'code-index'17:14
nigelbYEah :-)17:15
bacsinzui: which feature flags do i need to set to see picker work?17:15
nigelbAnd, there was one mistake I think17:15
sinzuibac: sorry. I forgot17:15
nigelbself.assertEqual(view.committer_count, 0) --> shouldn't that be 1?17:15
bacsinzui: np17:15
bacsinzui: just disclosure.picker_expander.enableddefault 0on17:16
bac?17:16
nigelbwait. No.17:16
sinzuibac, http://pastebin.ubuntu.com/690967/17:16
bacsinzui: thanks!17:17
nigelbsinzui: Got an interesting assertionError.17:17
nigelbhenninge: \o/ Have a fun-filled future ahead :-)17:18
sinzuinigelb, I think I know what you saw. I should have changed the first assert to check branch_count17:18
henningenigelb: thank you very much!17:18
sinzuihenninge, It was great working with you17:19
henningesinzui: thanks, same here ;-)17:19
nigelbsinzui: I don't understand. Why should it be checking branch count?17:20
sinzuinigelb, because you changed the template:17:21
sinzui<tal:commit-info condition="view/branch_count">17:21
sinzuiwhen that is zero, the commits section is not rendered17:22
nigelbRight!17:22
nigelbBut the count is till 1.17:22
nigelbAh.17:22
sinzuiview.committer_count is 1 view.branch_count is 017:23
sinzuiI misread it too17:23
nigelbShould I just check branch count and leave it at that?17:24
sinzuinigelb, I think we should check branch_count, revision_count, and the commits node to verify there is something, but we do not want to show it, and we did not show it17:28
nigelbSo, we verify branch_count = 0, revision_count =1, and then somehow check the view to make sure only branch_count sentence is there.17:29
nigelbIs that the right thinking?17:29
sinzuiyep17:31
sinzuinigelb, the latter is done via         commit_section = find_tag_by_id(view.render(), 'commits')17:31
sinzui        self.assertIs(None, commit_section)17:31
nigelbAha17:31
nigelbSo just add branch_count check17:31
nigelband correct the commits count17:31
sinzuinigelb, view() or view.render() generates the markup using the principal as the user17:31
sinzuinigelb, I think so17:32
nigelb\o/17:32
=== deryck[lunch] is now known as deryck
jtvbac: if you're looking for something to review, I've got one on the queue: https://code.launchpad.net/~jtv/launchpad/bug-613823/+merge/7577317:45
bacjtv: was just about to claim it17:46
jtvsweet.  thanks.17:46
=== salgado-lunch is now known as salgado
sinzuijcsackett, Do you have time to mumble?17:55
jcsackettsinzui, sure. lemme fire up mumble.17:56
bachi jtv18:30
jtvhi18:30
bacjtv: in the factory, the logic around setting iscurrent is a little confusing18:30
bacjtv: does it default to true when the object is created?18:30
jtvOh, it's just because iscurrent is True when we create the template.18:30
jtvYes.18:30
bacoh, ok18:31
jtvI could remove the “if” if you like.18:31
bacmight be less confusing to just set it.18:31
jtvOK18:31
jtvbac: pushed the change.18:33
bacjtv: thanks18:33
bacdone jtv.  nice.18:39
jtvThanks!18:40
barryflacoste, sinzui and anybody else.  i get an error using 'make schema' in my py27 experiment.  i don't think it's related to py27 though, since pypi only has ipython 0.11 i think:18:51
barryWhile:18:51
barry  Installing iharness.18:51
barry  Getting distribution for 'ipython==0.9.1'.18:51
barryError: Couldn't install: ipython 0.9.118:51
barry 18:51
flacostebarry: do you have an up-to-date download-cache?18:53
barryflacoste: i *thought* so since i ran rocketfuel-setup about 2hrs ago :)18:54
flacosteyou should have: download-cache/dist/ipython-0.9.1.tar.gz18:54
flacostein your tree18:54
flacostebarry: did you run link-external-sourcecode?18:54
barryflacoste: hmm, yep, it's there.18:54
flacostebarry: anything after the Error: Couldn't install: ipython 0.9.1?18:55
barryflacoste: ah!  how quickly we forget. and i'm not sure the help wiki descript that18:55
flacostebarry: well, if download-cache is in your tree, link-external-source would have done its job18:56
barryflacoste: hmm, okay, let me see18:57
sinzuilink-external-sourcecode is now managed by the make file18:59
sinzuimake compile will do the necessary buildout18:59
barryi got tripped up on `make PYTHON=python2.7 schema`19:00
barryi'm trying to create a branch of devel now, but the vm's disk i/o kind of sucks19:00
nigelbbac: around?19:13
sinzuinigelb, I can review your branch once gthe diff updates19:18
nigelbsinzui: Ah, thanks :-)19:18
nigelbI thought you left!19:18
sinzuinigelb, The branch is good to land. I will do that now19:21
nigelbsinzui: Thanks! :-)19:22
barryflacoste, sinzui okay, i guess it *is* an issue with py27.  a make schema w/o PYTHON=python2.7 seems to be working okay.  maybe ipython 0.9.1 isn't compatible with python 2.7?19:24
sinzuihuh19:24
sinzuibarry, http://ipython.scipy.org/dist/0.9.1/ <- could be true19:25
barrysinzui: yeah19:26
barrysinzui: i'll see if upgrading my local download-cache to 0.11 makes any difference19:26
sinzuill supports py3. It looks promising19:27
nigelbOh no.19:39
nigelbCan someone give me the tracback/details for OOPS-2085QASTAGING5419:39
nigelbsinzui: Could you help wwith ^19:43
* sinzui looks19:44
nigelbHow did that fail QA. I did all the testing :(19:44
sinzuinigelb, the oops is not in the db yet19:44
sinzuinigelb, what were you doing?19:44
nigelb+check-links19:44
nigelbI was QA-ing my fix19:45
nigelbIts mostl likely a QA-bad. But I want to see the traceback to confirm19:45
sinzuinigelb, https://qastaging.launchpad.net/+check-links ?19:46
nigelbYeah19:46
sinzuiI do not get an oops, but I only see {}19:46
nigelbWell, javascript POSTs bug numbers and branches harvested to it19:46
barrysinzui: please remind me.  do i need to do anything more than put ipython-0.11.tar.gz in download-cache/dist and update versions.cfg?19:46
nigelbIt returns json of stuff that's valid19:46
nigelbI'm QA-ing bug 84912119:47
_mup_Bug #849121: Autolinked bugs should also have title attribute with bug title <qa-needstesting> <Launchpad itself:Fix Committed by nigelbabu> < https://launchpad.net/bugs/849121 >19:47
sinzuibarry,  that is all that is required. deleting old version is optional19:47
barrysinzui: okay thanks.  trying it19:47
nigelbI'm trying to see if the title gets updated to the URL for comment #2 in https://bugs.qastaging.launchpad.net/ubuntu/oneiric/+source/phaseshift/+bug/75593719:47
_mup_Bug #755937: phaseshift version 0.40-13.2 failed to build on i386 <ftbfs> <natty> <oneiric> <universe> <phaseshift (Ubuntu):Confirmed> <phaseshift (Ubuntu Oneiric):Confirmed> < https://launchpad.net/bugs/755937 >19:47
sinzuinigelb, what url did you use?19:50
flacostesinzui, barry: actually, you need to update the version number in versions.cfg19:50
barryflacoste: yep19:51
flacostesince we pin version using buildout19:51
flacosteah19:51
nigelbsinzui: https://bugs.qastaging.launchpad.net/ubuntu/oneiric/+source/phaseshift/+bug/75593719:51
_mup_Bug #755937: phaseshift version 0.40-13.2 failed to build on i386 <ftbfs> <natty> <oneiric> <universe> <phaseshift (Ubuntu):Confirmed> <phaseshift (Ubuntu Oneiric):Confirmed> < https://launchpad.net/bugs/755937 >19:51
flacostebarry: i missed the second part "and update versions.cfg'19:51
flacostesorry for being redundant19:51
barryno worries!19:51
barryflacoste, sinzui: so this should work, right: `make PYTHON=python2.7 schema`19:52
flacostebarry: maybe only in a new branch19:52
barryflacoste: yep, new branch19:52
sinzuinigelb, so you are watching the js console for errors and you see the 500 error for +check-links19:52
barryw/versions.cfg changed19:52
flacostebarry: since i'm pretty sure the Makefile doesn't version on the value of PYTHON env var19:53
nigelbsinzui: Yep19:53
nigelbLooking at firebug19:53
flacostebarry: what I mean is that bootstrap needs to be run with that env19:53
barryflacoste: ah19:53
flacostebarry: but i'm not sure it will do the right thing if it was invoked first with python2.619:53
barryright.  fresh branch19:53
flacostebarry: you can remove bin/buildout19:54
flacosteand then do a make19:54
flacostemake PYTHON=python2.719:54
flacostethat should do the trick19:54
flacostesince bootstrap will be run in that case19:54
barryflacoste: yeah, it still bombs out on ipython 0.11 :/19:54
nigelbsinzui: I can't reproduce any problems in my dev setup. So, not a clue what's going wrong.19:55
flacostebarry: it fails to build ipython with python2.7?19:55
nigelbI'm guessing there could be a timeout issue for the search.19:55
barryGetting distribution for 'ipython==0.11'.19:55
barryAn error occurred when trying to install ipython 0.11. Look above this message for any errors that were output by easy_install.19:55
barryWhile:19:55
barry  Installing iharness.19:55
barry  Getting distribution for 'ipython==0.11'.19:55
barryError: Couldn't install: ipython 0.1119:55
barry 19:55
barry% grep ipython versions.cfg19:55
barryipython = 0.1119:55
barry 19:55
barry% ls ../download-cache/dist/ipython*19:55
barry../download-cache/dist/ipython-0.11.tar.gz19:55
barry 19:55
flacostebarry: why ../download-cache ?19:55
sinzuinigelb, could be19:56
flacostebarry: i'd expect ./download-cache19:56
flacostebarry: do you a symlink in place?19:56
flacosteln -s ../download-cache .19:56
barryflacoste: yep, that symlink is there and ./download-cache also has 0.1119:56
nigelbsinzui: The tests cach all the use cases that I'd expect it to catch.  What should I be doing since I can't do a qa-ok with any sort of surety19:57
nigelb*catch19:57
flacostebarry: are you on lucid or oneiric?19:57
sinzuiDoes staging have the rev yet? It is faster19:58
barryflacoste: this is a lucid vm19:58
nigelbIt just got on qastaging.19:58
nigelbI'm not sure eif its not stage19:58
* nigelb checks19:58
flacostebarry: ok, i don't have this setup, but i can try on oneiric to see how far i get19:58
barryflacoste: cool, thanks.  i'll keep poking at it too :)19:59
nigelbstage is *old*19:59
sinzuinigelb, I see staging is about 12 hours behind. I just got my work that landed before I woke20:01
nigelbthe bottom revision numbers of stage say 10984. Is that wrong?20:02
nigelbsinzui: stage  = staging.launchpad.net right?20:02
sinzuinigelb, yes20:02
nigelbor is it something I don't know of.20:02
sinzuinigelb, I am being an idiot. I can paste you the error I see hidden in the browser response20:03
nigelbhah20:03
lifelessflacoste: did you ask henninge about being in the emeritus team?20:03
nigelbAlso. 2 days of falling ill. 2 launchpad branches landed. Productive sick time I reckon.20:04
flacostelifeless: i didn't think about it, but he's still subscribed to launchpad-dev20:06
flacosteso would probably be interested20:06
flacostebarry: it's compiling dependencies over here20:06
barryflacoste: hmm20:08
flacostebarry: it builds cleanly on Oneiric using python2.720:09
flacostebarry: no need for ipython 0.1120:09
flacostebarry: so i suspect a Lucid issue :-/20:10
barryflacoste: huh.  yeah.  okay thanks20:10
flacostebarry: do you have anything py2.7 eggs built under eggs?20:10
flacostejust checking that it's really ipython that doesn't work and not all 2.7 deps20:11
barryflacoste: yes, i do have some py27 built eggs in there (e.g. the zope stuff)20:11
flacostebarry: ok, so either a buildout issue on Lucid/2.7 or something in ipython specifically20:12
barryflacoste: nod20:13
barryflacoste: can i get more verbose output out of buildout?20:15
sinzuinigelb, sorry, I was pulled into anther conversation: http://pastebin.ubuntu.com/691043/ shows that there can be a mismatch between the set of ids and what is removed20:17
flacostebarry: you can try running it manually20:17
sinzuinigelb, maybe it is a parsing error20:17
nigelbsinzui: Oh. Checking.20:17
sinzuinigelb, one option is to look before removing the item20:17
flacostebarry:20:18
flacostePYTHONPATH= $(PYTHON) bootstrap.py\20:18
flacoste                --setup-source=ez_setup.py \20:18
flacoste                --download-base=download-cache/dist --eggs=eggs \20:18
flacoste                --version=1.5.120:18
flacostePYTHONPATH= ./bin/buildout \20:18
flacoste                configuration:instance_name=${LPCONFIG} -c $(BUILDOUT_CFG)20:18
flacosteLPCONFIG=development20:18
flacosteBUILDOUT_CFG=buildout.cfg20:19
nigelbsinzui: *confused* It should be there20:19
barryflacoste: okay, manually as per above still bombs out on ipython.  time to pdb i guess ;)20:19
nigelbBecause I'm checking in the list that I just sent to search.20:19
flacostebarry: maybe try buildout ipython?20:20
flacostesorry building20:20
flacostemight be because of missing unrepored dependency20:21
barryflacoste: good idea20:21
nigelbsinzui: Well, it is qa-bad anyway. :(20:23
barryflacoste: well, this seems like a bad sign:20:24
barry@lessons[/tmp/xx/ipython-0.11:258]% python2.7 setup.py build20:24
barryAborted (core dumped)20:24
barry 20:24
flacostelol20:24
flacosteyeah20:24
flacostenice euphemism ;-)20:24
bacthanks sinzui!20:25
lifelessflacoste: I will mail him20:25
lifelessflacoste: ah, I only have his canonical address20:25
barryflacoste: okay, i'll shut up now20:25
nigelblifeless: its in his email to launchpad-dev20:26
nigelbthe one about translations20:26
flacostenigelb: i pm it to lifeless20:26
nigelb:)20:26
nigelbGah. After python tests and javascript tests I end up with a QA fail.20:27
lifelessmailed him20:27
nigelbOh. Its a weekend.20:30
nigelbHrm, does bugtask.search always return a list of unique values?20:35
nigelbOh. FU.20:35
nigelbNo.20:35
* nigelb facepalms.20:35
jcsackettsinzui: took a bit longer to get the MP to work out than expected, but the branch is up for review with you requested as reviewer. :-)20:39
cr3am I supposed to get a file not found error with launchpadlib for the credentials file when used with desktop integration permissions?20:39
cr3in unity, is there a shortkey to run a command? I can't access the pannel20:45
cr3crap, wrong channel :)20:45
sinzuithank you jcsackett20:45
nigelbsinzui: Found the problem. Doing as you suggested.20:46
nigelbI assumed search would return only unique IDs20:46
nigelbI was wrong.20:46
nigelbThere can be two bugtasks for a bug.20:46
nigelb*two or more20:46
sinzuinigelb, that is right. we often use a set() object when building a collection to ensure out code sees one one item20:52
cr3hm, I like this line in launchpadlib: credential_store = credential_store :)20:54
nigelbsinzui: I can't do the set() here because I get a list of bugtasks which are indeed unique. I should have caught this.20:55
sinzuinigelb, correct, but this is case were you want bugs, so your could do bugs = set(bugtask.bug for bugtask in bugtasks)20:56
nigelbahhh.20:57
nigelbYES20:57
nigelbbut that's adding another loop20:57
sinzuinigelb, you may have fixed bug 262545, or you have made it very easy to fix20:57
_mup_Bug #262545: Milestone listings should show the bugs' titles/descriptions in a tool tip <lp-registry> <milestones> <Launchpad itself:Triaged> < https://launchpad.net/bugs/262545 >20:57
nigelbI'm thinking the if would be less iterations20:58
nigelboh. looking20:58
nigelbsinzui: are you around long?21:04
nigelbI have a fix for the qa-bad.21:04
sinzuiI can linger21:04
sinzuiI can review your fix and land it21:04
nigelbexcellent. Give me 5 minutes to push it out21:05
=== matsubara is now known as matsubara-afk
nigelbhttps://code.launchpad.net/~nigelbabu/launchpad/bug-title-regression-849121/+merge/7582221:29
nigelbDiff shows empty. I'm confused.21:29
sinzuiI see21:29
nigelbDelete and submit again?21:29
* sinzui looks in loggerhead21:29
sinzuinigelb, your change and test looks good in loggerhead21:31
nigelbokay \o/21:32
sinzuinigelb, I resubmitted: In linkchecker, check if the bug ID exists in the list before removing from the list21:33
nigelbOh, cool.21:33
sinzuiand there it is21:33
sinzuiI am approving this and landing it now21:34
nigelbThanks a bunch!21:34
nigelbCould you help me figure out what the other bug is about?21:34
sinzuijcsackett, I approved your branch21:41
sinzuijcsackett, I am sending your branch off to land21:43
jcsackettsinzui: thanks.21:48
* jcsackett really needs to sort out his landing issues.21:48
nigelbsinzui: for the milestone bug, does it mean https://launchpad.net/unity/4.0/4.2.0 page21:58
sinzuinigelb,  yes, or its alternate url https://launchpad.net/unity/+milestone/4.2.021:59
sinzuiThe former is a released milestone, the latter always exists21:59
* nigelb looks21:59
sinzuiThe url maps to the same view22:00
nigelbsinzui: I see that the title of the bug is already there22:00
sinzuiIt was once truncated22:00
sinzuiI think the intent was to load more information on hover, such as full title, description, and bug tags22:00
sinzuiI think the tags issue was reported as a separate bug22:01
nigelbDo we have a hover for more info kind of story anywhere else?22:01
nigelbIt looks like the +check-links stuff isn't needed here.22:02
sinzuinigelb, I agree it is not in this case, but I think you have laid the foundation to solve a class of bugs22:05
nigelb\o/22:05
sinzuiWe want to load extra bug information in an asyc fashion, either after the page loads or on hover. Ideally the first, but hover is okay22:06
nigelbThe foundation was there. I slowly extended it22:06
nigelb:)22:06
sinzuiShowing the title in a tooltip solves the bug id in test case. Showing part of the description or tags allow users looking a lists of bugs to gain information without traversal22:06
nigelbI think it would be nice if on clicking the URL, it loaded an "overlay" that would display the summary + tags22:08
sinzuinigelb, see bug 401243, bug 1924, bug 86461, bug 26254522:10
sinzuiI bet we can dupe some of those22:10
nigelbI see mpt bugs!22:12
nigelbThose usually cannot be duped ;-)22:13
sinzuiThey can when code was merged22:13
nigelbI remember seeing 1924. That is a bit of work by itself.22:15
nigelbsinzui: Ooh. bug 262545 looks like fun.22:17
_mup_Bug #262545: Milestone listings should show the bugs' titles/descriptions in a tool tip <lp-registry> <milestones> <Launchpad itself:Triaged> < https://launchpad.net/bugs/262545 >22:17
=== bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: -| Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated
sinzuinigelb, We had timeouts trying to show that data. The hope was to solve the issue after page load. We stopped truncating bug titles since then. Release managers still want to see the tags and the description.22:19
nigelbsinzui: We could create a similar interna API to solve this22:20
nigelbIt should not be *too* hard22:20
sinzuinigelb, I was thinking the same since you have demonstrated how to do it22:20
nigelbI think I'll pick it up after my current assigned bugs are over22:21
nigelb(2 more)22:21
sinzuinigelb, fab. I agree it is best not to commit to to many bugs.22:23
nigelb:)22:25
=== jam2 is now known as jam

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