/srv/irclogs.ubuntu.com/2011/05/12/#launchpad-yellow.txt

=== Ursinha-afk is now known as Ursinha
* gary_poster needs to get back in the habit of joining IRC first thing...13:08
* gary_poster enjoyed getting out of the habit :-P13:08
* gmb -> grabbing a bite to eat; back for the call13:09
gary_postercool13:09
gary_posterbenji, gmb, finishing an email, but Skype in just a sec.  Please make sure kanban is OK now.13:29
benjigary_poster: https://bugs.launchpad.net/launchpad/+bugs?field.searchtext=&orderby=-importance&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.importance%3Alist=CRITICAL&field.importance%3Alist=HIGH&assignee_option=any&field.assignee=&field.bug_reporter=&field.bug_supervisor=&field.bug_commenter=&fiel13:34
gmbgary_poster: Are we still having a call?13:52
benjigary_poster: the official name for those things seems to be "embroidery hoop"14:15
gary_posterbenji, cool, thanks :-)14:29
gary_postergmb, call in 1?14:29
gmbgary_poster: Yep.14:29
gary_postercool14:29
=== Ursinha is now known as Ursinha-afk
gary_postergmb, we do handle things properly for sending emails, pretty sure...14:47
gary_poster(in lp.bugs.model.structuralsubscription, get_structural_subscription_targets looks at bugtask.target.parent_subscription_target, which for a product will be a project)14:48
gmbOk.14:48
gmbI'll double-check, but I'm 95% certain that we have tests to cover sending structural subscription emails for project groups.14:49
gary_posteryeah, I would have expected it14:49
gmbThe UI and the email stuff are worlds apart, really.14:49
gary_posterI was just concerned because I hadn't thought of it14:49
gmbI know that feeling all too well.14:50
gary_poster:-)14:50
gary_postergmb, lp.bugs.model.structuralsubscription has the problem in two methods: get_structural_subscriptions_for_target and get_structural_subscriptions_for_bug .  Fixing the latter will also affect a bug's also_notified_subscribers, fwiw.14:58
* gary_poster leaving you alone now :-)14:58
gmbgary_poster: Thanks for the guidance :)15:00
gary_posternp :-)15:00
* gary_poster should have said two *functions*15:00
gmbHah. Indeed.15:01
gary_posterbenji, crazy idea: if the team's contact address is a mailing list controlled by Launchpad, and we can tell this (I expect we can), and we can tell that the person is or is not a member of the mailing list, then we could offer a link to unsubscribe from the mailing list as a remediation action.15:42
gary_posterrephrase: if the team's contact address is a mailing list controlled by Launchpad, and the person is subscribed to the mailing list, then we could offer a link.15:43
gary_posterAn interesting question then is what to do if the person is not subscribed to the mailing list15:43
benjigary_poster: good idea; and I assume that if they aren't a member of the mailing list we would act as if the team didn't have a contact address at all (?)15:43
gary_posterin that case, it would seem that the subscription might not be pertinent then...15:44
gary_posterwe could not render it, or render it with some "grayed out" visualization or something15:44
gary_posterI think we should still render it somehow15:44
gary_posterso people can see that it exists and why it does not affect them...*especially* after they have made a change15:45
gary_poster(e.g., unsubscribed from mailing list)15:45
benjihmm, that could work;  would strike-through be too much?  it only really works for short bits of text15:46
gary_posteryeah, this is a whole box15:46
gary_posterI don't think strike-through would be good15:46
gary_posterbeing grayed out sounds decent, the more I think about it15:46
gary_posterwe wouldn't offer an in-page change for this15:47
gary_posterso we wouldn't have to worry about too many controls on a "diabled" box15:47
gary_posterdisabled15:47
gary_posterbenji, if we gray this out, we have to gray the "opt out from this subscription" too, I just realized.15:53
benjik15:53
gary_posterso I suppose another option is just having extra text like we do for the opt-out thing.15:55
gary_posterbenji, I'm cool with you making a call.  If I'm around, I'd love to see what you decided on for the chance to make tweaks, but don't block on me.15:56
benjisounds good15:57
benjigary_poster: I just filed https://bugs.launchpad.net/launchpad/+bug/781729, hopefully it captures the problem in a reasonable way.15:59
_mup_Bug #781729: Direct subscription controls are (mostly) ineffectual if subscribed via a team with a contact address <story-better-bug-notification> <Launchpad itself:Triaged by yellow> < https://launchpad.net/bugs/781729 >15:59
gary_posterCool, thanks benji.  Looks good.  I'll add a comment16:00
benjik16:00
gary_posterbenji, are you ok with having our performance review report tomorrow @4 (the same time as our Thursday call)?16:30
gary_posterperformance review report *call* that is16:30
benjigary_poster: sure16:30
gary_postercool16:30
gary_posterbenji, I just carefully composed an email to you, and then sent it from our family email address. :-P .  Maybe even twice for good measure, though I'm not sure how I managed that.  I'll resend from Canonical; apologies for the dupes.16:45
benjiheh16:46
benjiI've come close to doing the same thing.16:46
gary_posterbenji, ok resent16:47
gary_postergmb, also sent you one.16:47
gmbgary_poster: Just got it, thanks. I'll take a look shortly.16:47
gary_postercool16:47
gmbgary_poster: Separately, amusing one-line fix for part of bug 777783: http://pastebin.ubuntu.com/60653816:48
_mup_Bug #777783: Project +subscriptions doesn't show subscriptions to the project group <story-better-bug-notification> <Launchpad itself:In Progress by gmb> < https://launchpad.net/bugs/777783 >16:48
benjigary_poster: got them; tell Karyn that I appreciate her input on my review16:48
gmbQuick version, having the __helper cached for products means that when get_structural_subscription_targets() is called, and it looks up the  parent_subscription_target, it gets None back, because the __helper was initialised before the Product knew about its Project.16:50
gmbI do not know why this happens in the real world, however.16:50
gary_postergmb, fix: heh and argh17:01
gary_posterbenji, I'll pass that along :-)17:01
gary_postergmb, that means somebody is asking for that value and getting the wrong answer though :-(17:02
gary_posterI think that cachedproperty doesn't cache unless somebody asks for the value17:03
gmbgary_poster: You're right, it doesn't.17:03
gmbSo yes, something is asking for it somewhere.17:03
gmbI'm going to carry on fixing this, but I'm also going to push this into ec2 and see what breaks.17:03
* benji lunches.17:03
gary_posterSo I think that the test is right, but it should stay a cachedproperty17:04
gmb(And if nothing breaks, I will be slightly concerned).17:04
gmbgary_poster: Yes, I agree. Some pdb fun might have to happen here, I thikn.17:04
gary_posterand we should fix why it is not being initially set properly17:04
gary_posteryeah17:04
gmbThat's what makes the least sense to me.17:04
gary_posterif you need another pair of eyes, ask17:04
gmbI mean, in the case of the test, I understand it.17:04
gmbBecause i create the product and then set the project.17:04
gmbBut even if I do something like:17:05
gmb... ah, no. The factory does the same thing.17:05
gmbI wonder what happens if I re-fetch the project from the store...17:05
* gmb goes to try that17:05
gary_posterack17:06
gary_posterI'm going to go for a walk, and have lunch and such.  biab17:06
gmbgary_poster: Do you know how to invalidate the storm cache for an object?17:06
gary_postertry committing transaction and just getting it again?17:06
gary_posterIOW, no :-P17:06
gmbHeh.17:06
gmbOkay, I'll try the big hammer first.17:07
gary_posterk :-)17:07
=== Ursinha-afk is now known as Ursinha
benjigary_poster: you may be on the phone, but it just occurred to me that we're going to have the same changing-your-direct-subscriptions-might-not-reduce-your-mail-level problem with the mute link on the bug page19:49
gary_posterbenji, yes.  I think that's already handled in the mockups for bug 772754 though19:49
_mup_Bug #772754: After better-bug-notification changes, list of bug subscribers is confusing <story-better-bug-notification> <Launchpad itself:Triaged by yellow> < https://launchpad.net/bugs/772754 >19:49
benjiah, cool19:50
gary_posterbenji, ready whenever you are21:00

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