[11:16] * gmb -> lunch [12:07] hey gmb. I had one follow-up thought on our pre-imp call about bug 777874. From my notes: [12:07] " * OPEN QUESTION: if a bug has been explicitly moved back to "New," should we not make the change--that is, should we honor explicit moves back to "New"? Given current feedback on related issues, I believe the answer is that we should still make the change, ignoring any previous explicit moves. That would certainly be easier." [12:07] <_mup_> Bug #777874: If multiple reports on new bug, mark it confirmed < https://launchpad.net/bugs/777874 > [12:07] WDYT? [12:08] * danilos drops out to pick up some food, back in time for the call [12:14] cool [12:20] * gary_poster received stuff for MacBuntu hard drive! Will attempt over lunch [12:27] gary_poster: which machine are you putting that in? an iMac? [12:28] bac, MacBook Pro. http://eshop.macsales.com/shop/drive_bracket/datadoubler/ [12:28] bac benji danilo gmb, call in 2 [12:29] ack [12:29] gary_poster: i've wondered about those. curious to hear how it goes. [12:29] bac, me too. ;-) I'll let you know. reviews looked good. [12:32] * gary_poster check to see if he forgot about gmb/benji not being around [12:32] I'm here... [12:32] I think I'm here. [12:32] oh cool [12:37] gary_poster: my expense is 'awaiting signoff' [13:27] gmb, I have assembled a few more proposals for that bug. Could you review these and see what you think? [13:27] gary_poster: Sure [13:27] * (this one might be kind of lame; I haven't decided yet) I think I don't want to use event listeners after all. If I did, I would want to fire an ObjectModifiedEvent every time a bug's "duplicates" value changed, using an ObjectModifiedEvent. To do that properly, I'd have to fire the event more often than I need or want (for instance, when a bug is no longer a duplicate). I'm afraid the listeners would be unne [13:27] * As a follow-on, the only places I will eventually want to have code checking what to do is in Bug.markUserAffected, Bug._markAsDuplicate and Bug.addTask (not BugTaskSet.createTask because not during bug creation, import). This seems like a small list. [13:27] * While we have a feature-flag based opt-in for this feature, I'll also need some code in BugTask.transitionToTarget--if the old one didn't participate but the new one does, we'll want to consider changing status. [13:27] * len(bug.user_ids_affected_with_dupes) > 1 looks like the proper basic condition to consider changing statuses. [13:27] * I don't think external (bugwatch) bugs should be affected. I think status should be managed separately for them. If so, though, I'm pretty confused. It looks like LP bugs correspond to external bugs...and they have corresponding bugtasks...but can you add bugtasks for other in-LP projects? bug.bugtasks[0] appears to be the bugwatch bugtask...but there doesn't seem to be a reliable way to check if the bugtask [13:27] I currently have this guess. You *can* add LP-project bugtasks to bugwatch bugs. bugwatch *bugs* should participate in this status-update thing but *only for non-bugwatch tasks*--which means tasks with an index > 0 AFAICT, which seems *very* fragile. :-/ So, I'm hoping you have brilliant ideas for this one in particular. [13:27] DONE [13:28] Let me know if you think a call would be appropriate; that bugwatch issue seems kind of hairy to me [13:28] thanks [13:28] * gmb reads [13:30] oops! [13:31] how did I do that? [13:31] * gary_poster is back gmb, sorry about that [13:31] last thing I saw was "gmb reads" [13:32] gary_poster: The next bit was "gmb makes vast philosophical pronouncement that gary_poster needs to understand to become rich and famous throughout the land" [13:32] But never mind that... [13:32] damn it all! [13:32] gary_poster: So, working backwards... [13:33] A simpler way to deal with the bugwatch issue is to do something like this in the auto-confirm code: [13:33] for bug_task in bug.bugtasks: [13:33] if bug_task.bugwatch is not None: [13:33] continue [13:33] oh! ok [13:33] (Obviously there are pithier ways) [13:33] I guess I didn't look far enough for that [13:34] ok easy, yay [13:34] len(bug.user_ids_affected_with_dupes) > 1 makes sense to me, too; I think that's fine. [13:34] cool [13:34] Also agree on transitionToTarget() whilst this is only available for certain targets. [13:35] oh... [13:35] oh, right, gotcha [13:35] (misread at first) [13:35] gary_poster: And I think that you might be right about event listeners, too, given how few places the auto-confirm code needs to be called. [13:36] Although event listeners is nice and generic, I suspect that YAGNI. [13:36] cool, gmb [13:36] ok, that sounds like all of 'em, yeah? [13:36] Yep [13:36] cool, thanks again [13:36] np [14:07] benji, hey, how are you doing? [14:08] danilos: not well; it'll have to wait until Monday [14:12] benji, ack, if there's anything I can help with, do not hesitate to ask while I am still around [14:12] sure; thanks [15:00] CHR... [15:05] hey gmb, is there a work around for this bug? Feel free to triage while you are there ;-) https://bugs.launchpad.net/launchpad/+bug/810798 [15:05] <_mup_> Bug #810798: Launchpad needs upstream bug search < https://launchpad.net/bugs/810798 > [15:09] * gmb looks... [15:11] gary_poster: No work-around, sadly. Wouldn't be all that hard to do (though it would be a small feature rather than a single bug, I think, to get it right) [15:11] I'll triage it as Low for now. [15:11] thanks gmb [16:03] ugh [16:03] CHR has been even lower on fun quotient than usual lately... [16:03] * gary_poster takes lunch break [16:20] * gary_poster decides to try installing his new hard drive. If he is not back on line in an hour, you know will know... [16:20] A Computer Catastrophe Occurred Here! [16:20] Hopefully that won't happen... [17:38] ...not as smooth as it could have been, but so far, so ok [19:10] benji i wonder if gary's mac is belly up? how did you resolve your SSD problem? did they just give you a new one? [19:11] bac: yep; it died in an apparently common way and they cross shipped me another one [19:11] If Gary is doing an OS install and getting things set up from scratch, it might take a while. [19:15] that's what you get for scrimping and buying an intel! :) [19:15] heh [19:23] I recently saw some numbers on SSD failures somewhere. It's something like 0.4% (lifetime?) which was worse than hard disks, but not by too much. [19:26] gary_poster: so you /weren't/ eaten by an SSD! [19:27] benji, no...ubuntu install is more challenging that I had hoped, but...I'm practicing creative problem solving ;-) [19:28] what kind of challenges? does the installer ask you to multiply large numbers in your head? [19:28] heh [19:28] no, it doesn't work [19:28] gary_poster: eek [19:29] I've tried 64 bit and 32 bit so far [19:29] gary_poster: what kind of errors? [19:29] On one path, I get a mostly purple screen with a couple of icons on the bottom that I don't inderstand [19:30] looks kind of like "computer keyboard = person with a circle around them" [19:30] which doesn't communicate a lot to me :-) [19:30] then I get a black screen with a blinking cursor [19:30] it wants you to play twister [19:31] then the cd/dvd drive stops spinning after a while... [19:31] and the cursor is still blinking... [19:31] and then I kill it. [19:31] yes, that qualifies as "challenging" [19:31] Another path just gives me funky random blocks on my screen. [19:32] Trying a third now [19:38] ok here goes crazy nothing. will be surprised if this works [19:51] benji: can [19:51] remove_button.set('innerHTML', link_text); [19:51] be replaced with [19:51] remove_button.set('text', link_text); [19:51] ? [19:51] if so, isn't the latter preferable? am i right in remembering innerHTML should be avoided? [19:56] bac: if link_text doesn't include markup, yes [19:56] righto