/srv/irclogs.ubuntu.com/2011/04/27/#launchpad-yellow.txt

UrsinhaI <3 X-Launchpad-Subscription03:21
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
bachi danilos13:12
danilosbac, hi, how's it going?13:12
baci worked on bug 770245 yesterday but didn't really make much progress.  what were your thoughts on how to solve the problem?13:12
_mup_Bug #770245: Unsubscribing a team from a dupe doesn't work in advanced subscription overlay <story-better-bug-notification> <Launchpad itself:In Progress by bac> < https://launchpad.net/bugs/770245 >13:12
danilosbac, well, I was thinking of exporting on +subscribe form if a team-subscription is from a dupe somehow, and then using unsubscribeFromDupes webservice call; if that doesn't work, perhaps we can blindly call unsubscribeFromDupes call for *all* team subscriptions13:16
danilosbac, or, as the last resort, we can call both (and that might be necessary anyway if team is both directly subscribed and subscribed through dupe)13:17
bacdanilos: that seems to be most sane b/c that's what you want to do, right?  unsubcribe, whether through this bug or through a dupe13:18
danilosbac, also, sorry about the confusing bug (i.e. not noting that the UI seems to work yet unsubscribing fails) :/13:18
bacnp13:19
danilosbac, yeah, I am just wondering if unsubscribeFromDupes does that for you automatically13:19
bactrying to figure out how to test this change has been vexing too13:19
bacdanilos: i'll check and make sure13:19
danilosbac, well, with the current code it's egregious, so I wouldn't mind if you don't test it at all, and I'll be providing tests as I go along13:20
baci recalled you mentioned passing in more info but it wasn't clear to me where to embed it13:20
bacdanilos: :/13:20
bacok, thanks for the nudge13:20
danilosbac, right, I would have done it probably using more hidden input fields in the form, but perhaps doing both is best13:21
danilos== doing both API calls is best13:21
daniloswhich reminds me, I was supposed to be OCR :/13:22
gary_posterheh13:22
gary_posterbac benji gmb danilos, kanban now-ish, call in 5, baby watch continually.13:25
gary_postergmb, could you put the card for your bug on the board?  I'm sorry we have to maintain everything twice13:29
gmbgary_poster: I meant to ask you about that. What do you want me to do with the existing card for that bug that's in Done-Done (I assume it was to track the triaging of the problem)13:29
* gmb adds a card without the bug number for now anyway13:30
gary_postergmb, just remove the number from the existing card13:30
gary_posterthank you13:30
gmbDone13:31
Ursinhagood morning13:32
gary_postermorning Ursinha13:33
gary_posterdanilos Skype?13:33
danilosgary_poster, yep, ready13:33
danilosgary_poster, didn't see the call invitation, sorry13:34
gary_posternp :-)13:36
gary_postergmb, I've added some new unique indices for structural subscriptions, and IPersonSet.merge is complaining that we have not handled structuralsubscription.subscriber.  Looking around, it doesn't appear that we merge structural subscriptions.  Does that happen to ring a bell with any warnings, thoughts, or experiences, or should I just continue forging ahead blindly?13:47
gmbgary_poster: It rings a bell... I might have had to do something with it in the db patch branch that I did a few weeks back.13:50
gmb(i.e. I might have had to tell merge() to skip something)13:50
gmbLet me check...13:50
gary_postergmb, I suspect that you told merge to skip.append(('bugsubscriptionfiltermute', 'person'))13:51
gmbgary_poster: Yes, that's it (just found it myself).13:51
gary_postercool13:51
gary_posterbut AFA you know, it is probably an oversight that we do not merge structural subscriptions, and I should do so?13:52
gary_posterOh, and shouldn't we either delete or merge the bugsubscriptionfiltermute thing?13:52
gmbWell, AIUI, we shouldn't need to because the old Person becomes inactive after the merge, so it's just irrelevant data.13:53
gmbI don't know whether un-merging is possible, though - that's the only reason to keep such data around, really.13:53
gmbgary_poster: I don't know if not merging subscriptions is an oversight or whether it would cause horrible things to happen. TBH I'd try doing it and see what needs to be fixed to make it work.13:54
gary_postergmb, fair enough, thanks13:54
=== benji is now known as Guest41434
=== benji____ is now known as benji
danilosok, I am off OCR, as soon as I put my name on, reviews have been coming in and I couldn't put a MP up myself :)15:15
gmbgary_poster: Can you remember whether, in the case of multiple filters, it's the most verbose or the least verbose that wins?15:34
gary_postergmb, most always "wins"--it's a union of filters, so you can think of it as all of them "winning"15:35
gmbHmm.15:35
gary_poster(that's the way we present it when we send emails with filter names--all matching names are included)15:35
gmbgary_poster: I'm just wondering, then, if maybe the bug isn't that we send out emails on creation to people who don't want them (e.g. Gavin), but that we tell them that the email matched a filter that it didn't actually match.15:36
gmbBecause I can't reproduce Gavin's problem.15:36
gmb(I thought I could but that was due to db cruft; make schema fixed that)15:37
gmbI'll try writing a test for that instead...15:37
gary_postergmb, maybe.  did you dupe *that* problem?15:37
gmbNot yet.15:37
gary_posterack15:37
gmbWell, I might have, but I wasn't looking for that problem.15:37
* gmb goes back to the codeface15:38
gary_poster:-)15:38
bachi danilos -- this seems to be a fix that works:  http://pastebin.ubuntu.com/599818/15:55
danilosbac, right, so you are chaining them both after all? looks good, r=me if you want to land it :)16:14
bacdanilos: cool.  i'm submitting a MP now16:15
danilosbac, btw, what happens with the animation/progress UI?16:16
bacdanilos: works as expected16:16
bacdanilos: as far as i can tell16:17
danilosbac, right, just checking16:17
bacdanilos: i was pleasantly surprised.  :)16:17
danilosheh, so am I :)16:17
danilosgary_poster, btw, I've put up one branch for review, but no reviewer anymore: https://code.launchpad.net/~danilo/launchpad/advanced-bug-subscription-cleanup/+merge/5923516:19
danilosbac, benji, gary_poster: if any of you can take a look at the above MP, I'd appreciate it, though I plan to leave in a bit16:19
bacdanilos: i can16:20
danilosbac, cool, thanks16:20
gary_posterdanilos, how soon before EoD?  Already?  I have a branch for review now too16:21
gary_posterand you would be a good fit, but not necessary16:21
danilosgary_poster, something like 5 minutes :)16:21
gary_posterdanilos, sounds perfect! ;-)16:21
danilosgary_poster, heh, send it over then :)16:22
gary_posterdanilos, heh, I was kidding, but you can take a look if you want.  stub has already reviewed the DB parts (lines 1-364) and the rest are changes I did to make the tests pass16:23
gary_posterhttps://code.launchpad.net/~gary/launchpad/bug753000/+merge/5913916:23
gary_posterdanilos, take a glance and see if you want to review it, or even if you don't but you have some comments ;-)16:23
gary_posteroh, diff is not showing the permission changes yet,,16:24
gary_posterthere they are16:24
bacdanilos: can you look at https://code.launchpad.net/~bac/launchpad/bug-770245/+merge/59239 ?  no surprises16:24
danilosbac, done16:25
bacgreat16:25
bacdanilos: i'm not that fast.  yours will take a little longer.16:25
gary_posterI like "Tests: Hmm."16:26
bac:(16:26
danilosbac, :(16:27
danilosgary_poster, your branch generally looks fine, but I think it needs to get a better look than 3 minutes I can spare :)16:28
gary_posterdanilos, understood, thanks for the glance16:28
gary_posterhave a great evening16:28
danilosgary_poster, especially because of the person-merging additions16:29
gary_posteryeah16:29
danilosthanks, enjoy the day everyone :)16:29
gary_posterbac benji or gmb, would any of you be willing and able to do a code review (db review already done by stub) of https://code.launchpad.net/~gary/launchpad/bug753000/+merge/59139 ?16:29
gmbgary_poster: Sure.16:30
gary_posteryay, thanks gmb.16:30
gmbgary_poster: I've had another thought about that there bug: https://bugs.launchpad.net/launchpad/+bug/720147/comments/416:35
gary_posterlooking16:35
gary_posterack gmb.  I think that making the filter work on newly created bugs would be ideal, but if not, yeah, we can clarify the current behavior better.16:37
gmbRight.16:38
gmbgary_poster: Now that I know it's not a bug per se I might actually find life a bit less complicated. I'll let you know how it goes.16:39
gary_postercool16:39
gmbgary_poster: You need to add some explanatory comments / docstrings to the tests you've added to test_person.py (or at least to the two assert*()s that you added). Other than that, r=me.16:41
gary_postergmb, cool, makes sense.  Thank you!16:41
gmbnp16:41
gary_posterdoes anyone know if we can add a project group ourselves (on qastaging) or if we have to get a LOSA?16:54
gary_posterI don't know how to do it other than asking a LOSA and the links I found don't give me any different ideas16:55
gmbgary_poster: https://help.launchpad.net/ProjectGroups is the only thing I can find that's relevant.17:06
gmbI don't think staging's any different.17:06
gmb(Though obviously we can bypass the ask a question stage)17:07
gary_postergmb, yeah, me too.  thank you for looking.17:07
gary_posterbenji, any news on your bug 739141?17:25
_mup_Bug #739141: I get lp bug mail even though  'on own actions' turned off <story-better-bug-notification> <Launchpad itself:Triaged by benji> < https://launchpad.net/bugs/739141 >17:25
benjigary_poster: I'll be filing a merge proposal after lunch17:27
gary_posterbenji, wow!17:27
benji:)17:27
gary_posterI'll be reading that one.  I'm more than a little bit curious ;-)17:27
benjigary_poster: unfortunately it's a little mundane: https://code.edge.launchpad.net/~benji/launchpad/bug-739141/+merge/5926018:29
gary_posterbenji, well, the change description sounds like it is a part of the story I am unfamiliar with, so it sounds at least a bit interesting.  :-) Want me to review it?18:31
gary_postereh, it's so small, I will. :-)18:32
benjigary_poster: sure, review away18:33
gary_posterbenji, r=me18:34
benjicool18:34
gary_posterbac or benji, I need a pre-imp for bug 770387.  I expect it to be brief.  Are either of you up for it?18:36
_mup_Bug #770387: After changing the subscription option for my user, there's no notification about the change made <exploratory-testing> <story-better-bug-notification> <ui> <Launchpad itself:In Progress by gary> < https://launchpad.net/bugs/770387 >18:36
benjigary_poster: I'm available18:36
gary_postercool thanks18:36
gary_posterbenji, mumble or skype?18:37
benjiskype18:37
gary_posterbac or benji, review of smallest branch evah, plz?  https://code.launchpad.net/~gary/launchpad/bug770387/+merge/5926919:49
benjigary_poster: I can19:49
gary_posterthank you19:49
benjigary_poster: approved19:50
gary_posterthanks benji :-)19:50
benjinp19:50
gary_posterI know, it was a pretty ambitious branch19:50
benjigary_poster: would you object to me fixing bug 771335 by taking the bug name out of the form title?20:07
_mup_Bug #771335: Title of add subscription widget can wrap if long. <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/771335 >20:08
gary_posterbenji, I would this week.  If we don't have a good answer from Huw by next week, I'm alright with various hacks (I Think bac proposed one too, a few weeks ago)20:09
gary_posterSo, IOW, I'm OK with you doing that, say, Tues or Wed of next week if there's not a better aswer by then20:09
bacbenji: huw said he is looking at it20:09
gary_posterright20:09
gary_posterand it is a generic LP problem20:09
benjiok, good20:10
baci just forwarded his email20:10
bacgary_poster: one of your branches is one away from being the release blocker!20:17
bacquick!  to the qastaging!20:17
gary_posterbac thanks for heads up... /me thought he had done everything20:19
bacgary_poster: yeah, i don't look at that page often enough20:20
=== gary_poster changed the topic of #launchpad-yellow to: https://dev.launchpad.net/yellow | http://launchpad.leankitkanban.com/Boards/Show/14028610 | http://irclogs.ubuntu.com/ | https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html
* gary_poster back in a bit20:35
benjigary_poster: I may have duplicated some work, are you working on bug 771232?20:46
_mup_Bug #771232: Edit structural subscription overlay is headed "Add a mail subscription for..." <exploratory-testing> <story-better-bug-notification> <Launchpad itself:In Progress by benji> < https://launchpad.net/bugs/771232 >20:46
benjioh, gary if AFK20:46
benjis/if/is/20:47
gary_posterbenji, yo.  "a bit" turned out to be longer than I expected21:30
benjithat's cool21:30
gary_posterbenji, yeah I was just starting on that.  If you've already fixed it then that's great :-)21:30
gary_posterit seemed like the problem was we were creating a new form overlay each time21:31
gary_posterwithout deleting the old one sufficiently21:31
benjiI started, but have thrown it away, so it's all yours.21:31
gary_posterbenji, so should you claim the bug, and I'll move on to another?21:31
gary_posteroh ok21:31
bacgary_poster: remind me how you do python-like string interpolation in YUI22:18
gary_posterbac, I think you mean Y.substitute22:19
gary_posterbac, subscription.js has an advanced usage22:20
bacyes, i think that is is22:20
bacis it22:20
bacthanks, i looked about but didn't see it22:20
bacgary_poster: would you think this is overkill? http://pastebin.ubuntu.com/600017/22:21
gary_posterbac, I guess that's alright.  outerHTML is the only thing that makes me even slightly unhappy, really, but I see why you did it.  FWIW, you have a typo in that line. var header = Y.Node.create('<h2></h2');  You want to close the </h2> or use <h2/> like benji does.22:23
bacbenji is just lazy.  i like that.22:24
gary_poster:-)22:24
bacgary_poster: what would you do to get rid of the outerHTML?22:25
gary_posterbac I didn't suggest anything because I didn't have any immediate counter suggestions, but I'll think for a sec...22:26
bacgary_poster: i figured this was better than using Y.substitute...but not strongly22:26
gary_posterbac, did you try just passing it the node itself?  Sometimes YUI is OK with stuff like that22:26
gary_posterThat would be prettier22:27
baci did not22:28
gary_posterI just looked through the code a bit22:28
bacindeed that works fine22:29
bacthanks22:29
gary_posterawesome22:29
gary_posternp22:29
baci guess i'm shellshocked from seeing "YUI_3_object_br_549" rendered22:29
gary_posterheh22:29
=== Ursinha is now known as Ursinha-afk
bacwhere does "heh" fit in with "ha" and "LOL"?22:31
bacis it at all related to "meh"22:31
Ursinha-afkI always ask myself the same question22:32
gary_posterFor me, LOL is louder than heh23:04
gary_posterI never use ha, but if I did, it might be sarcastic23:04
gary_posterheh is a quieter laugh23:04
gary_posterbac, if you have a few more minutes, then https://code.launchpad.net/~gary/launchpad/bug771232/+merge/59302 could use a review; if not, no problem; we can do it tomorrow23:05
* gary_poster departs for dinner and crying children, though will be back later23:06

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