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

gary_posterbac, last test failure: it's a teardown issue in the error code.  I think I can come up with a quick workaround.13:12
gary_poster(the lp.app error overlay code, really)13:13
gary_posterbac, all tests pass now13:24
gary_posterHopefully what I did to make it so is not too disgusting :-)13:24
gary_posterbac benji danilos, I'll look at kanban in a minute or two, and call in 413:26
danilosgary_poster, ack13:26
gary_posterbac, is there a reason why you use "Y.Event.simulate(Y.Node.getDOMNode(node), 'click');" or can I use "node.simulate('click');" if it works for me?13:27
gary_posterThat's what I've been trying to standardize on13:27
bacgary_poster: great, thanks!13:28
gary_poster:-)13:28
gary_posterthank you, bac13:28
gary_posterthose are good tests13:28
bacgary_poster: we should standardize.  i asked a while back about which was preferred and got no clear leaning13:28
gary_posterbac, oh ok13:28
bacgary_poster: they can be refactored i'm sure13:29
gary_posterI (now?) think .simulate('click') is nicer because it is shorter and less error-prone13:29
gary_posteryeh, trivial change13:29
danilospart of doing stuff is going to be food :)13:48
benjiI've found the truth: http://naturesoundsfor.me/gary-call-background13:59
bacbenji: a very realistic recreation14:04
benjibac: my sonic background tomorrow: http://naturesoundsfor.me/sith-christmas-beach14:08
benjigary_poster: the sample data change is in devel14:25
gary_posterbenji, I like the gary-call-background :-)14:26
benji:)14:26
gary_posterbenji: sample data on devel: awesome14:26
benjia lifetime of trivial knowlege coupled with unmarketable talents14:26
gary_posterheh14:34
gary_posterbac14:34
gary_posteruh14:34
gary_posterflacoste says: keep the direct subscribers14:35
gary_posterdrop the also notified subscribers14:35
gary_posterthat seems like it would address a lot of the concerns we talked about this morning14:35
bacgary_poster: ok14:35
gary_posterthanks14:35
bacmuch easier, too, i suspect14:35
gary_posteryeah, agreed14:35
gary_posterbenji, there's a FF/Chrome subscription issue that flacoste is filing now (works in Chrome, breaks in FF 4).  I am having trouble remembering what it is that you had to fix already like that.  Could you remind me14:37
benjigary_poster: the show-help-link-on-hover that didn't14:37
gary_posterah right14:37
gary_posterthanks14:37
benjiit was the other way-round though; it worked on FF4, not on Chrome14:37
gary_posterthe new bug is unrelated14:37
gary_posterbug 76833614:37
_mup_Bug #768336: Subscribing to a bug doesn't show display name on FF4 <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/768336 >14:37
benjiok gary, I left several TODO markers for you to look at: https://dev.launchpad.net/LEP/BetterBugSubscriptionsAndNotifications/FeatureReviewNotes-2011-04-2514:53
gary_posterbenji, ack.  I'll have an MP for you in just a sec14:53
benjik14:54
* benji goes to pour a cup of coffee.14:54
gary_posterbenji, is there a way to run js lint locally if make lint doesn't see any changed files (because of...something, not sure)15:01
benjigary_poster: bin/lint.sh path/to/file15:02
gary_posterthanks15:02
gary_posterbenji, https://code.launchpad.net/~gary/launchpad/direct-personal-subscription-actions-subscribe/+merge/58676 (but diff is coming)15:04
benjiI'm on it.15:04
gary_posterdanilos, when you are done with your current task, if you still have some time before EoD I'd like to consult15:04
gary_posterthanks benji15:04
danilosgary_poster, sure thing, though we are supposed to have the weekly call as well?15:05
benjigary_poster: I'm going to reasign the review page card to you, since it's on your plate now15:05
gary_posterdanilos, oh, yeah, good point :-P15:05
gary_posterthanks15:05
gary_posterbenji, ack thanks15:05
danilosgary_poster, ok, so talk to you in ~25 mins :)15:05
gary_postercool15:05
danilosgary_poster, hum, should "mute email" show up when you'll receive email as a member of the team subscribed to the bug?15:26
gary_posteryes, I think so danilos15:26
gary_posteroh15:26
gary_posterthen that changes the whole team's subscription, right?15:27
* gary_poster wishes he could revisit that whole "muting is a kind of subscribing" decision :-(15:27
danilosgary_poster, hum, no, it just doesn't show up one the bug page (which is why I thought this was db-devel stuff as well)15:27
danilosgary_poster, I don't think it changes the whole team's subscription, but there is a bug or two I uncovered15:28
gary_posterdanilos, talk about it on call in a moment?15:29
gary_posterI have a very small branch.  I don't describe it very well though. :-P https://code.launchpad.net/~gary/launchpad/owner_administrator/+merge/58683 ...15:30
gary_posterI'll try to describe it better for one of the OCRs after calls15:30
bachi benji, i have a feature flag usage question.  could you look at test_bugsubscription_views.py?15:32
benjibac: sure, on devel?15:33
bacsure.  wherever, it hasn't changed15:33
benjik, got it open15:33
bacso in the first setUp, there is a with feature_flags and then a flag is set15:34
bacq: does the flag remain set outside of the scope of the with contextmanager?15:34
benjiI wouldn't think so.15:34
bacso, it seems pointless15:34
bacbut in later tests you see "with feature_flags()" with no feature flag set15:35
benjiit depends on what feature_flags returns, if it's a singleton (possibly a thread local), then it could have a nonlocal effect15:35
* bac likes FeaturesFixture15:35
benji(oh, the downsides of a non-purely-functional language)15:35
bacbenji: it installs a feature controller but then seems to revert when leaving the context15:36
benjibac: yep, feature_flags is a context manager that swaps out one feature flag controller for another temporarily, so that code looks like it just burns CPU time15:37
bachmm15:37
benjidoes removing those lines change the outcome of the tests?15:37
bacwell i'll remove it and see what catches fire.  should've done that before bothering you15:37
benjinp15:39
bacbenji: yes, removing those lines causes all hell to break loose15:40
* bac confused15:40
benjiheh15:41
benjigary_poster: done with https://code.launchpad.net/~gary/launchpad/direct-personal-subscription-actions-subscribe/+merge/5867615:42
gary_posterawesome benji.  thank you.  can you take my other teeny tiny branch too? :-P15:43
benjisure15:43
* benji actually likes doing reviews.15:43
gary_posterthank you15:43
benjibeing nitpicky about other people's code isn't all that hard15:43
benjigary_poster: done with https://code.launchpad.net/~gary/launchpad/owner_administrator/+merge/5868315:52
gary_posterbenji, awesome thanks again15:53
benjiel gusto es mio (I can't be bothered to figure out how to type that accented I again)15:53
gary_posterbenji, I made all requested/suggested changes, except for removing "docstring" parameters (I did change them from {Object} to {String}.16:28
gary_posterI didn't add that text to the branch, but they are used elsewhere in the branch and elsewhere in our JS.16:28
gary_posterI'd argue that this should go in our list of JS discussion items that the LP team, or the squad if necessary, discuss and agree on at a later date.16:28
gary_posterFor now, though, there's precedence for including these, especially for our more key APIs.16:28
gary_posterYou ok with me leaving it for now?16:28
benjiyep, absolutely; I like the idea of discussing this at Dublin16:29
benjithe timing for having a JS-centric Thunderdome is really good16:30
gary_postercool thank you16:30
gary_posterbac, do you agree that it is safe to delete the card that was over in subdivide 2 with your current feature card "Make sure users can easily see summarized information about *their* subscriptions on bug page and bug target page."?16:39
gary_posterI think that should have been a comment on the bug16:40
gary_posterI mean the card16:40
gary_posternot a separate card16:40
* gary_poster is deleting it. we can recreate it if necessary later16:41
gary_posterbenji, are you wondering what to do now?16:41
gary_poster(I don't see active card on board)16:42
gary_posterbecause I have ideeeeeeeaaaaas!16:42
benjigary_poster: yep, in just about 30 seconds; I'm about to show bac a patch I have that he might want to use16:42
gary_postercool16:42
benjibac: I still don't understand why that "with..." is needed in the setup, but this patch makes the tests a little more understanable: http://pastebin.ubuntu.com/597011/16:43
benjigary_poster: whatcha got?16:44
gary_posterbenji, ok, when I say "don't be scared" basically I'm saying that to myself, but take a look at https://bugs.edge.launchpad.net/launchpad-project/+bugs?field.tag=story-better-bug-notification16:45
benjiheh16:45
gary_posterwe're on the hook for high and critical, at least in theory16:45
benjioh, I've already looked into the face of death... er that page16:46
gary_postera lot of the in progress are going to be fix released when we reveal the features we've been working on16:46
gary_poster:-)16:46
gary_posterso we need to start whittling those down16:46
gary_postera lot of those are small16:46
benjithe first two should really be "In Progress", right?16:47
benjioh, wait the second one is new16:47
gary_posteryeah16:47
benjithat would be a good one to work on16:47
gary_posterthat would be a good easy one, but there are more...16:47
gary_posteryeah if you just want to take it16:47
gary_posterI'm trying to garden the list16:47
benjiafter that just burn down the list from top to bottom?16:47
gary_posterwell, more or less, yeah16:47
gary_posterfor critical and high16:48
bacthanks benji.  i'd already changed it to use FeatureFixture17:32
bacgary_poster: wrt to the card you deleted, that requirement needs no action, right?18:36
gary_posterbac, I think that including the direct subscribers and clarifying that the (replace with new text) Edit your subscriptions appears when you have them is what we are going to try to sell as the "implementation".18:37
bacok18:38
gary_posterconfusing incorrect punctuation sorry18:38
bacgary_poster: in that case the branch is ready for review18:38
bacthe fix was easy but getting the test setup correct was a pain18:38
gary_posterbac fantastic.  I'm happy to do it, or OCR, or whoever.  Would you like me to take a look?18:39
bacgary_poster: sure18:39
baci'm creating a bug now for tracking porpoises18:39
gary_postercool18:39
bacgary_poster: MP sent.  if you'd like to review it i'd appreciate it18:47
baci'll let you know when the MP materializes18:47
gary_postercool bac, onit18:47
gary_posterok cool thank you18:47
gary_posterI got it https://code.launchpad.net/~bac/launchpad/nix-subscriber-list/+merge/5872318:53
bacgary_poster: thanks18:53
gary_postersure18:53
gary_posterbac, line 205 of diff, shouldn't "with FeatureFixture({self.feature_flag: flag}):" be "with FeatureFixture({self.feature_flag: ON}):"?18:56
bacno18:57
bacflag is a parameter18:57
baci show it on and off18:57
gary_posteroh of course bac.  Is the comment on line 206 wrong? "# Subscribe someone to the target."  It seems you already do that in setUp, and this just renders18:59
bacyep, should be moved to setUp or just deleted19:00
gary_postercool19:00
gary_posterfine with either19:00
gary_posterbac, last comment I think: calculating also_notified_subscribers is expensive, as I've heard.  AFAICT We are still doing it, just not showing it?  If it were easy-ish it would be really nice not to calculate it at all.  Did you investigate that and reject it19:01
gary_poster?19:01
* bac looks19:02
bacgary_poster: ah, you're right19:04
gary_postercool19:04
bacgary_poster: if i move the tal:define into the feature-flag protected section of the page template it will not be calculated19:04
gary_postersounds great19:04
gary_posterbac, r=me with those.  I'll follow up on the MP19:05
bacthanks19:06
gary_posterdone19:07
* gary_poster is going to walk around for a sec. biab19:08
gary_posterbac, call?19:30
bacyes, just trying to get this branch on its way19:31
gary_posterbac, no rush, ping me when you are ready...or just call me19:31
benjigary_poster: I just realized that I might be wasting my time working on bug 768336 if bac is hiding/killing the subscribe list19:58
_mup_Bug #768336: Subscribing to a bug doesn't show display name on FF4 <regression> <story-better-bug-notification> <Launchpad itself:Triaged by benji> < https://launchpad.net/bugs/768336 >19:58
gary_posterbenji, I said that to flacoste first.  short answer, you are not :-)19:59
bacbenji: i only hid the 'also notified' section19:59
gary_posterright19:59
benjik19:59
gary_posterbenji I'll be ready in just a few20:58
benjik20:58
bacgary_poster: could you glance at bug 702413 .. i think it is not an issue20:59
_mup_Bug #702413: Update label for lifecycle option in subscription notification levels <lp-bugs> <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/702413 >20:59
* gary_poster reading21:01
gary_posterbac, agreed21:01
bacgary_poster: i'll s/the/this and land it21:02
gary_postercool21:02
gary_posterbenji, now ok?21:09
benjigary_poster: yep21:09
bacgary_poster: actually i think deryck was referring to the terminology used in gavin's work, which still exists in the code base but isn't used, i don't think21:11
gary_posterbac, ah I see that makes sense21:11
bacgary_poster:   see bug_notification_level_description_mapping if you're interested21:11
bacgary i got two one-line-fix bugs done and sent off to ec2.  not much but two fewer cards on the board22:22
* bac is done22:22
gary_posterbac, cool :-)22:22
gary_posterttyl22:22
gary_posternight all22:54

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