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

=== Ursinha-afk is now known as Ursinha
benjiYellow Slug Video of the Day: http://www.kqed.org/quest/television/science-on-the-spot-banana-slugs-unpeeled13:01
danilosbenji, the URL itself kinda scares me13:17
benjiheh13:17
benjifor a nature segment it is a little violent sounding, but be comforted that no banana slugs were harmed during the filming13:18
gary_posterit has comforting guitar music13:19
gary_poster"the unsung hero of this forest comunity"13:19
gary_poster"eating fallen plants and even dead animals"13:20
gary_poster(more comforting guitar music13:20
gary_poster)13:20
bacYellow Squad -- we poop dirt13:20
gary_posterIt's great contribution is that it enriches the soil (presumably be defecating)13:21
bachey, and they are hung hermaphodites13:21
gary_postermm, the largest male sex organ...but a hemaphrodite...13:21
gary_posterlol13:21
bacgary_poster: i think we hit play at the same time13:21
gary_posterI think so too :-)13:21
gary_postermm, comforting music has switched to piano.strings13:22
gary_postermm...slime...13:23
bacgary_poster: did you see bug 761257.  :(13:23
_mup_Bug #761257: Advanced subscription overlay does not handle unsubscribing teams <Launchpad itself:Triaged by yellow> < https://launchpad.net/bugs/761257 >13:23
danilosgary_poster, benji :)13:23
gary_posterI did not bac...this must be about direct subscriptions, yeah?13:24
gary_posterbac benji danilos, will look at kanban in a munite, call in 5-ish13:25
gary_posterminute13:25
bacgary_poster: yes.  bug title updated.13:26
gary_posterthanks bac.  I'll adda backlog defect card too13:27
bacgary_poster: i put a card in FW113:27
gary_posteroh ok cool13:27
gary_postergood enough13:27
gary_posterthanks13:27
bachttps://dev.launchpad.net/LEP/BetterBugSubscriptionsAndNotifications/Testing/EditingRound2/Slide113:37
danilosanybody seen the south park episode about a "dream inside a dream within a dream"? :)13:46
danilosgary's mention reminded me of that13:46
gary_posterbenji, my impression was that you thought you were comfortable without further discussion.  If you do want to talk, just lemme know.14:15
benjigary_poster: a call would be good14:17
gary_posterbenji, cool14:17
gary_posterbenji, call me when you are ready14:17
gary_posterjust encountered one of those integration errors we have been rightly worried about.  I wrote a JS test for a change, and it failed, and then fixed the code, and all tests passed...and then actually tried using the thing for some QA and I had screwed up the server request we make. :-/16:34
gary_poster...it appears to be at least two bugs in one...17:20
gary_posternot related to my change :-/17:20
gary_posterbut I can't verify my fix via QA until they are fixed17:21
gary_posterapparently patching a team bug doesn't work in some cases that I don't understand yet17:21
gary_posterand apparently deleting a newly created filter doesn't work in some cases that I don't understand yet17:21
gary_posterpatching a team filter I mean17:23
benjimaybe a security problem?  i.e., you have permission to create a team filter but not update/delete it?17:24
gary_posteryes, that's the first problem--Unauthorized--but pretty weird since we have been able to edit team filters on the other page.  Have not found source of that one yet.  The deleting a newly created filter I see and can fix, I think.  Doing that now, and then will look at Unauthorized17:25
gary_posterah, interesting.  it is something specific to rosetta admins17:31
gary_posterdanilo, what are you doing still here? :-)17:33
danilosgary_poster, heh, trying to get a few more tests done, got side-tracked with crashing desktop :(17:33
gary_posterdanilos gotcha :-(17:33
gary_posterdanilos don't work too late.17:34
danilosgary_poster, I won't, just a few more of these and I'll be handing off17:34
gary_posterok cool17:34
gary_posteroh, weird17:37
gary_posterthis person, Foo Bar, #1 is listed in the JS as an admin of Rosetta Administrators but that is not listed in https://launchpad.dev/~name16/+participation , and # 2 was able to create a filter for that team, but not delete or patch it.17:38
gary_posteroh, weirder17:39
gary_posterperson is a member of the team that owns the team, but not an active member17:39
gary_posterthat scenario sinks our battleship17:40
gary_posterand that's a valid scenario17:41
gary_posterif weird17:42
gary_posterso it looks like either the code we have that inserts teams-of-which-you-are-an-administrator needs to intersect with teams-of-which-you-are-a-member17:42
gary_posteror if you are an administrator then you should be able to patch and delete a subscription17:43
gary_posterI lean towards the second solution, though I wonder how it will pan out to implement17:43
* gary_poster is going to take a break, though will be around17:47
danilosgary_poster, oh, I've seen that with rosetta-admins, forgot to add a card; basically, it should not be listed in administratedTeams17:51
gary_posterdanilos, you think?17:51
gary_posterI gave the two options above17:51
gary_posteryou think not administrated is better than allowing them to patch/delete because they are owners?17:51
danilosgary_poster, well, all the web service calls fail, perhaps that17:51
gary_posterexcept they can create17:52
danilosgary_poster, I haven't thought closely about it, to be honest :)17:52
gary_poster:-)17:52
gary_posterit would probably be easier to not list them17:52
gary_posterso under the circumstances, maybe that's the right thing to do for right now17:52
danilosgary_poster, yeah, we can always file a bug to let someone else handle it later :))17:53
gary_posterwoo hoo! :-)17:54
danilosgary_poster, I am out, you've got email in your inbox, my branch is up at lp:~danilo/launchpad/bug728370-action-display and I left you with the hardest tests to write (those for on-click handler :))18:50
danilosgary_poster, other than that particular test, I think it's pretty complete18:50
gary_posterdanilos, lol, cool thanks18:50
gary_posterhave a great weekend!18:50
daniloscheers, so do you!18:50
gary_posterbac, a branch when you have a moment: https://code.launchpad.net/~gary/launchpad/bug761798/+merge/5792219:02
bacgary_poster: ok19:02
gary_posterthanks19:02
bacgary_poster: working on a large branch now but you're next19:03
gary_posterthanks bac, no rush19:03
benjigary_poster: what do you thing about this scaffolding for the direct actions? http://pastebin.ubuntu.com/594581/19:34
* gary_poster looks19:34
benjiI need to add tests and fill in the unmute action next or if someone's ready to contribute an action I can push this to a branch for them to work from.19:35
gary_posterdanilos handed off to me, so I'm booked now; sounds like bac is also booked for awhile yet.  Tests sound like the next thing to work on, yeah19:37
* gary_poster still looking19:37
gary_posterbenji, still looking, but first thought worth sharing: there are two variations for unsubscribe in the mockups: unsubscribe, and unsubscribe with warning (because there are other subscriptions).  That will need to be modeled somehow (and I don't think it is yet).19:40
gary_posterYou could do that with another node...19:41
gary_posterkinda sorta19:41
gary_posterdoesn't quite fit in with the current setup19:41
benjiah, I missed the with-warning flavor; I think I can add that without too much trouble19:42
gary_postercool19:42
gary_posterbenji, looks like a good start to me.  Cool, yay, thanks! :-)19:43
benjivery good19:43
gary_poster(by good start, I mean, good scaffolding, not good start on the scaffolding) ;-)19:43
benji(yep, I understood)19:48
=== Ursinha is now known as Ursinha-afk
bacgary_poster: i'm a little confused by all of the indirection in your branch wrt clean_up.20:22
bacwhere is the actual fix to the early closing problem?20:22
gary_posterbac, maybe I should have tried harder to clean it up.  er.  The actual fix is that clean_up can't be called after it initially calls the handler.  The handler has to call it on success, eventually.20:24
gary_posterThe extra indirection is because sometimes success isn't true success unrtil after two web calls.20:24
gary_posterLet me look at it again and see if I see a way to simplify...20:24
bacok, so line 114 of the diff is the good part20:25
gary_posterbac, well, we have to do it in two scenarios.  So, yeah, 114, and also...20:26
bacgary_poster: i wasn't implying it was unnecessarily confusing...just that i was confused20:26
gary_posteralso 6020:26
gary_posterno, np bac, I kind of thought that it maybe could have been simplified but this worked and I wanted to get back to the other task.  Actually, I think clean_up can be defined as a module-level function and not passed around20:27
gary_posterThat would make things cleaner.20:27
gary_posterLet me try that.20:28
bacgary_poster: it would, as it seems to be a hot potato atm20:28
gary_posteryeah20:28
gary_posterbac, I did this: http://pastebin.ubuntu.com/594603/ .   Pushed to public branch and waiting on diff change...20:35
bacgary_poster: i think that's much clearer20:36
gary_postercool, thank you bac20:36
gary_posterbac, I considered your add_subscription_overlay approach but I felt it would have been more fragile: when code changed the local variable, it would have needed to be sure that it also changed the namespace version in order for the tests to be reliable.  I felt that always getting the overlay from the namespace was a cheap cost for that reduction in fragility.  Therefore, fwiw, I intend to leave it as it is.20:42
gary_posterthank you for the review!20:43
bacgary_poster: not to belabor the point, but wouldn't the test break if the names were changed out from under it?20:47
bacit is a idiom we use in that module20:47
gary_posterbac, it depends on how that name were set, and even if it is cleaned up across test runs20:47
gary_posterit might very well work now20:47
gary_postergetting it from the namespace also simply didn't bother me in the slightest20:48
gary_posterI'm guessing you don't feel differently enough to make a point of it, since you didn't do so in the review.  Had you, I would have complied, because even though I feel comfortable with what I did, I don't feel strongly about it either.20:49
bacgary_poster: i'm going to take the dog for a walk.  will be back later.  have a good weekend21:18
gary_posteryou too bac.  bye21:18

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