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

danilosgmb, hi, do you have any idea why we don't have structural subscriptions on ISourcePackage (distroseries-specific, as compared to IDistributionSourcePackage, which we do have them on)?09:39
gmbDanilos: not a clue, sorry.09:41
danilosgmb, ok, I've added a card to investigate and chat later on with Gary09:42
gmbOk09:42
danilosgmb, just to confirm something else, if I am subscribed to a "primary" bug, I *won't* get email from a duplicate that I have nothing to do with, right? (i.e. I didn't file it, I was never subscribed...)10:00
gmbdanilos: That's correct, yes.10:02
gmbAt least I *hope* it is :)10:02
gmb(There's actually a flag for this somewhere in the code; if we flipped it we could spam everyone with notifications from duplicates)10:02
danilosgmb, ah, I like flipping flags! :)10:04
gmbdanilos: Just remember to tell everyone that it was someone else's idea so that they get all the shit for it.10:05
gmbNote: NOT MINE.10:05
danilosgmb, naturally!10:05
gmb:)10:06
* danilos -> lunch11:55
bacdanilos: re: ISourcePackage, I'm unsure why they are not IStructuralSubscriptionTargets either12:59
gary_posterbac benji danilos gmb looking at board; meeting in 213:29
gmbYup13:29
gary_posterbac & benji I don't see you on Skype; maybe it lies13:30
gary_posterthere's bac13:30
* benji restarts skype13:31
danilosgary_poster, I usually just try calling people in such cases and it suddenly starts seeing people13:31
benjigary_poster: now?13:31
danilosgary_poster, nobody hears me?13:35
gary_posterdanilos I guess not :-/13:35
danilosgary_poster, please re-invite me13:35
danilosgmb, btw, grep for "setStyle" as well13:36
gmbdanilos: Indeed, thanks.13:37
benjigary_poster: I just summarized the PQM situation in -dev14:09
gmbbenji: In bug 750561 are you talking about adding subscriptions via the overlay or on the +subscriptions page?14:22
_mup_Bug #750561: Spinner for adding/editing subscriptions <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/750561 >14:22
benjigmb: overlay (although both probably need it)14:23
gmbOkay, I'll take a look, see how easy it'll be.14:23
gmbgary_poster: w.r.t to the CSS stuff, I think it needs more thought, i.e. should we also accomodate setStyle() calls? What about styles that are very specific to only one element? that kind of thing.14:24
gmbI'll update the bug.14:24
gary_postergmb, yeah, that's the kind of thing I was thinking about too14:26
gary_posterif there's not a clear action to do then I return to questioning the bug, but maybe that's being...antu-progress14:26
gary_posteranti14:26
gmbWell, I'll add my thoughts to the bug... maybe we should take this to the launchpad-dev list and make it a Policy decision.14:27
gary_posterso gmb, are you up for a 1400 line review, since you are offering reviews so generously? :-)  I can probably figure out some way of dividing it up, and we probably should not continue to set this precedent...14:27
gmbgary_poster: Yes, I can fit that in. actually should take me up to my slightly-earlier-than-normal EoD, so it works well.14:28
gary_posterack gmb thanks.  I'll go run make an mp now14:31
gary_posterquickly. :-)14:31
gmbCool14:31
gary_posterbenji, you comfortable with what wgrant is suggesting?14:39
benjigary_poster: yep; I managed to get the conflict in my working copy and it's an easy fix, so I think we'll be good14:40
gary_posterbenji cool.  So getting it on db-devel will be mildly annoying14:40
gary_posteryou'll either need to use bzr land with a new MP to db-devel14:40
benjigary_poster: I'm confused; this is targeted at devel14:41
gary_posterwas the conflict in devel or db-devel?14:41
benjiI'm pretty sure it was devel; double checking14:41
gary_posterk14:41
gary_posterif it is devel then nm, yeah, sraightforward14:42
benjigary_poster: grrrrrrr14:42
gary_poster?14:42
benjiit was db-devel14:42
gary_posteryeah, figured14:42
gary_posterso that means it is in devel but didn't make it through to db-devel14:42
gary_posterso that's back to what I was saying14:42
gary_posteryou have three options14:43
gary_poster1) make an mp and bzr land.  that seems heaviweight if this is only JS tests *and* windmill is turned off.14:43
gary_postereh14:43
gary_posterthat was supposed to be "make an mp and ec2 land"14:43
gary_poster2) make an mp and bzr land.  That's easier, and uses tools that are fairly user friendly.  it is still heavierweight than you need because you don't really need a review, but practically it might be the easiest, unless you are comfortable with...14:44
gary_poster3) use bzr pqm-submit directly.  This has an incantation-y feel to me, but does not require an mp.14:45
gary_posterif you have not used it much, I think it would probably just frustrate you14:45
gary_posterSo my recommendation is #2, or #3 if you want to.14:45
benjiI've done pqm-submit a little so I'll give that a shot14:46
gary_posterok cool14:46
benjigary_poster: so let me get this straight, even though my branch was originally targeted to devel, since we have a conflict with the merge of db-devel into devel (after my branch is applied), I'm going to directly merge my branch into db-devel so when the automated merge happens it will work14:50
gary_posterbenji, uh, I don't think so.  Though I admit to being hazy about at least one aspect of it as well.14:50
gary_posterSo...14:50
gary_posterYou targeted your branch to devel14:51
gary_posterIt merged to devel (right?)14:51
gary_posterWhen being automatically merged to db-devel in conflicted14:51
gary_posterit14:51
gary_posterwgrant resolved it, maybe?  By removing the revision entirely?  This is the part I know I'm hazy about.14:52
gary_posterNow you need to get it back in db-devel14:52
gary_posterbut devel is fine14:52
gary_posterbenji, that's my understanding, such as it is14:52
benjigary_poster: re. "devel is fine", why don't I see the merge of that revision when I do a bzr log?14:57
gary_postergmb, diff is being generated, but here it is.  My cover letter was kinda lame, but I was in a rush.  Of course, please feel free to ask questions here or even request a call if goals are not clear.  Thank you!14:58
gary_posterhttps://code.launchpad.net/~yellow/launchpad/bug728370/+merge/5694214:58
gmbgary_poster: Okay, thanks. I'll see whether I can make head or tail of it... (Though your cover letter is about 900% longer than some I've been given on large branches).14:59
gary_posterheh14:59
gary_posterok14:59
gary_posterbenji, you are right that your new tests don't appear to be on devel.  Investigating further...15:00
gary_posterbenji, would you forward me the conflict email please?15:01
gary_posterbenji, whatever happened, which I don't understand either, you are right that you need to land this on devel15:02
benjigary_poster: forwarded15:03
gary_posterbenji, my suspicion is that the conflict you forwarded me is for the ss-whatever branch15:05
gary_posterand that you had a separate one for the branch you are looking at now15:06
gary_postermy further suspicion is that wgrant has resolved the ss-whatever branch into db-devel conflict15:06
gary_posterso now, somewhere in your inbox, there is a conflict email about the new test test branch (whatever-2)15:06
gary_posterand now that you have resolved it, things will return to be sunny and shiny15:07
gary_posterafter you submit it to devel15:07
gary_poster(which you could just do with bzr land15:07
gary_poster)15:07
gary_poster(because it has an approved MP pointed to the right destination already)15:07
gary_poster(and you don't need tests)15:08
gary_poster(I have to go blow my nose now)15:08
benjiok, lp-land fired off, we'll see how it goes15:14
danilosgary_poster, btw, I keep forgetting about the visa, I'll have to ask about that as well15:22
gary_posterdanilos, ? ireland?15:23
danilosgary_poster, right15:23
danilosgary_poster, (sorry for just blurting half-sentence out :)15:23
gary_poster:-) np.  is there something I need to do?15:23
danilos(and doing it again)15:23
danilosgary_poster, nope, other than ask me if I've booked my travel and arranged everything re a visa :)15:24
gary_posterHey, Danilo...have you booked your travel and arranged everything re a visa?15:24
gary_poster:-D15:24
* gary_poster will add it to my mtg notes15:24
danilosgary_poster, whoa, I totally forgot about that, thanks for the reminder :)15:25
gary_posterlol15:25
danilosgary_poster, and thanks :)15:25
gary_posternp15:25
benjigary_poster: I /think/ everything is right with the world.15:32
gary_posterbenji, now *that* is the best news I've heard in ages :-)15:32
benjiheh15:32
gary_posterbut even within the realm of your branch, very good :-)15:33
gmbgary_poster: r=me with some tweaks. Nice branch - very readable and I understood the concept, which helped, I think. I've got a couple of concerns about the readability of a couple of nested for loops, but it's nothing huge.15:44
gary_postercool gmb, thank you!  I'll take a look15:45
gary_postergmb, you have...12 min or hour and 12 min?  either way, I did a bit of investigation on staging for bug 753000, which you and I discussed yesterday.  Here are some results.  I think some of them might indicate problems, but others (like the distribution) may indicate that my query was naive.15:49
gary_posterhttps://pastebin.canonical.com/45864/15:49
_mup_Bug #753000: NotOneError caused by duplicate stuctural subscriptions <merge-deactivate> <oops> <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/753000 >15:49
gary_posterbut if anything comes to mind, there it is :-)15:49
gmbgary_poster: I have 11 minutes now, so I'll take a quick sken and come back to it later if needs be.15:50
gary_posterno worries on coming back.  Go have a vacation!15:50
gmbgary_poster: So, if I'm reading those results right, there are 819 subs to distros which have duplicates, 6 product subs, 1 project sub (who is user 82, I wonder?) and 58 sourcepackage subs, right?15:52
gary_poster(user 2, project 82)15:53
gmbAh,.15:53
gmbYes.15:53
gmbSo, who's user 2? (Mark, maybe?)15:53
gmbAnyway...15:53
gary_posteryes, I think you are right15:54
gmbgary_poster: It might be useful to see how many dupes each subscription actually has, but I don't know if that's worth worrying about at this point.15:54
gmbHmm.15:54
gary_posterI think the distribution query *might* be broken15:54
gary_posterI wonder if, for instance, source packages also distinguish by distribution15:55
gary_posterso 819 might be just wrong15:55
gary_posterbut the others look "real"15:55
gmbgary_poster: Hmm, possibly. You could re-run the sourcepackage query with the distro in there too to see what happens.15:55
gmbgary_poster: Right, I agree.15:55
gary_posterIf I were doing it right, as I may do later, I would look at the joins defined in structuralsubscription.py and dupe them15:56
gmbYeah.15:56
gary_posterbut this seemed a reasonable naive approximation15:56
gmbgary_poster: Ideally I'd say "let's write a test to reproduce this" but I fear we'd be groping in the dark a bit.15:56
gary_posterright15:56
gary_posterwe have no idea how to dupe15:56
gary_posterwe merely know that the data looks bad15:56
gmbSo.15:56
gmbMy proposition would be:15:57
gmb1. clean up the data15:57
gmb2. add a constraint15:57
gmb3. Wait for the OOPSes to roll in (if any)15:57
gary_poster(multiple constraints, probably)15:57
gmb4. Fix the problem in the tree if 3.15:57
gmbRight.15:57
gary_posteryeah agree.  I think I'll need to include Robert on this, since he will want to know and might even want to change the plan somehow15:58
gary_posterOK, I'll refine this later15:58
gary_posterThanks for looking15:58
gary_posterI think it's time for you turn off IRC now15:58
gary_poster:-)15:58
gary_posterHave a great 2 weeks!15:58
gmbgary_poster: np. I think (Robert, Stuart) is the usual pairing for this kind of stuff.15:58
gary_postersure15:58
gmbgary_poster: Your wish is my command, sir.15:58
gary_poster:-)15:58
* gmb -> exeunt, in pursuit of a Mustang.15:58
gary_posterlol15:58
gary_posteruser 2 is lifeless, fwiw :-)16:00
=== Ursinha is now known as Ursinha-lunch
gary_posterlunching & volunteering, back in hour or so17:19
=== Ursinha-lunch is now known as Ursinha
benjigary_poster: I know more about YUI 3 positioning than I ever thought possible.  I'm working on the make-the-overlay-start-out-higher-on-the-page card.  How's this for the position of the overlay: http://i.imgur.com/wl7e1.png (it's aligned with the top of the side portlet and will scroll into positoin if you're scrolled down when you click on the subscribe link.19:41
benjithere's not much to the code:19:41
benjihttp://pastebin.ubuntu.com/591400/19:41
gary_posterbenji, sounds good.  We'll want a UI review for the whole shebang at the end, so for now I Think we can try to improve with impunity.  kinda.19:42
gary_posterthe scrollIntoView makes me the most "nervous" from a UI perspective, but I'm not worried about it19:43
benjiOur chief tool is impunity!  And jslint.  Amongst our tools are...19:43
gary_poster:-)19:43
gary_posterbac, small JS branch review? https://code.launchpad.net/~gary/launchpad/bug754958/+merge/5701021:27
bacgary_poster: sure21:27
gary_posterthank you21:28
gary_posterbenji, I cannot dupe bug 75057121:37
_mup_Bug #750571: If status "Unknown" is unchecked and the structural subscription overlay is closed, it will be unchecked when reopened. <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/750571 >21:37
gary_postercould you confirm that it is fixed, or give me better instructions?21:37
benjilooking21:37
gary_posterwell, "better"...help me understand better :-)21:38
gary_posterSo far I have "fixed" one card by discovering it was already addressed, I wouldn't mind making it two ;-)21:38
gary_posterbac or benji, do you have anything to point me to if I want to show a spinner for actions21:40
gary_posterlike add, edit, delete21:41
bacno, i've never added a spinner21:41
gary_posterI know we do it, but I don't know how, and can't think of where21:41
gary_posterok21:41
bacgmb seemed to think it was easy21:41
gary_posteryeah :-)21:41
bacgrep spinner?21:41
gary_postertoo bad he's gone for two weeks ;-)21:41
gary_posteryeah ok21:41
bacgary_poster: pay for his transatlantic wifi and ask him to do it tomorrow21:42
benjigary_poster: I think you "fixed" this one too.21:42
gary_posterheh21:42
gary_posterbenji, sweet :-)21:42
gary_posterthanks for doublechecking.  I'll handle the paperwork21:42
gary_posterbenji for bug 750567 that you are working on, do you happen to know what part of the code you have to change yet?  (I'd rather not provoke a conflict unnecessarily)22:02
_mup_Bug #750567: Structural subscription overlay doesn't instantly disappear. <story-better-bug-notification> <Launchpad itself:Triaged> < https://launchpad.net/bugs/750567 >22:02
gary_posterI'm working on the spinner22:02
gary_posterso the full story should probably be click...spinner...close.  The way that the handlers work, there's a reasonable chance that we won't step on each other but I thought I'd check22:03
benjigary_poster: the change for that was really small and is done if you want to see: https://code.launchpad.net/~benji/launchpad/bug-750573-move-overlay/+merge/5699922:08
gary_postercool thank you22:08
gary_postergotcha--"add_subscription_overlay.on('submit', clean_up);" + "add_subscription_overlay.hide();"22:10
gary_posterthanks22:10

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