/srv/irclogs.ubuntu.com/2012/07/27/#launchpad-dev.txt

wallyworldwgrant: StevenK: local search removal was "inadvertent" http://www.androidcentral.com/international-galaxy-s3-local-search-removal-inadvertent-says-samsung-patch-coming00:41
StevenKHah00:43
wallyworldat least the UK courts have some sense. i can't wait to see those Apple "We are sorry" ads they will be forced to run00:44
wgrant:)00:48
StevenKwallyworld: Have you read The Rainmaker by John Grisham?00:49
wallyworldStevenK: no. what;s it about?00:50
StevenKA lawyer, effectively.00:50
wallyworldof course, stuoid question :-)00:50
StevenKwallyworld: I can just draw a few parallels between the court battle in The Rainmaker and Samsung v Apple in the US and the UK00:52
wallyworldi for the life of me will never understand how Apple has got away with all their shit in the US. i mean wtf. how did things get so broken00:53
wallyworldthey must have photos of judges or something00:53
StevenKOr the judges are Apple fans.00:54
StevenK"The American company MUST win, the Koreans obviously stole everything." etc00:54
wallyworldyeah :-( But their Korean CEO wasn't quoted as saying "Good artists copy, great artists steal" or whatever it was00:55
StevenKOh my god, can I delete lib/lp/bugs/doc/bugnotification-sending.txt for being utterly disgusting?00:57
wallyworldonly if you convert to unit tests :-P01:01
StevenKwallyworld: Read through it and then say that with a straight face.01:01
wallyworldbut then how could I push your buttons01:02
wgrantStevenK: I think that was the first LP test I touched01:07
wgrantSo it has a special place in my heart.01:07
wgrantKill.01:07
StevenKwgrant: I've stopped it failing at least.01:08
StevenK12 files changed, 21 insertions(+), 299 deletions(-)01:08
wgrantYeah01:09
wgrantI changed most of that test01:09
wgrantWell, reordered01:09
wgrantSince my first LP change caused the order to no longer be undefined01:09
StevenK1407 lib/lp/bugs/doc/bugnotification-sending.txt01:09
StevenKHoly crap01:09
wgrant$ bzr cdiff -c8976 'lib/lp/bugs/doc/bugnotification-sending.txt' | wc -l01:09
wgrant106001:09
StevenKwgrant: So I can bzr rm it from the tree for making peoples lives miserable?01:10
wgrantHeh01:11
StevenKwallyworld, wgrant: https://code.launchpad.net/~stevenk/launchpad/no-implicit-maintainer-sub/+merge/11699101:21
wallyworldlooking01:22
wgrantStevenK: +21? What is this treachery?01:22
StevenKI've got a locksmith turning up in about five01:23
wallyworldStevenK: couldn't you open the handcuffs? you still attached to the bed?01:23
StevenKwallyworld: Hah01:23
StevenKwallyworld: The deadbolt on the front door stopped working on Tuesday. The bolt is fully retracted and no amount of fiddling has made it come out.01:24
wgrantStevenK: 521-Foo Bar and Sample Person got subscribed to the bug. Foo Bar got01:24
wgrant522-subscribed "implicitly", because he's the product owner.01:24
* wallyworld bites his tongue01:24
wgrant523+Foo Bar got subscribed to the bug.01:24
wgrantStevenK: Was the original text the wrong way around?01:24
StevenKwgrant: I have NFI01:24
StevenKI made a guess01:24
StevenKwallyworld: Oh?01:25
wgrantThe code changes look correct, but that test change seems the wrong way around. I guess if it passes it doesn't matter...01:25
wallyworldStevenK: don't worry. my mind is full of things which are best left unsaid01:25
StevenKIs foo.bar Foo Bar or Sample Person?01:25
wallyworldshould that line say "Sample Person ..."01:26
wallyworldsince it previously said Foo Bar was the one implicitly subscribed01:26
wgrantStevenK: Hm. I am confuse01:26
wgrantStevenK: I think that code might be separate...01:27
wgrantStevenK: Observe that the same logic is present in get_also_notified_subscribers01:28
wgrantMaybe that's just to add the reason.01:28
StevenKif pillar.owner in also_notified_subscribers:01:29
wgrantYeah01:29
wgrantSo kill that block01:29
wgrantAnd addRegistrant01:29
StevenKRight01:29
wgrantAnd addRegistrant's tests01:29
StevenKMOAR KILLING01:29
wgrant    def addMaintainer(self, person):01:30
wgrant        """Registers a maintainer of a bugtask's pillar of this bug."""01:30
wgrantLooks suspicious as well, but I don't think it's actually used01:30
wgrantwtf01:30
wgrantwtf01:31
wgrantwtf01:31
wgrantlib/lp/bugs/subscribers/bug.py01:31
wgrantsearch for addMaintainer01:31
wgrantI've often wondered why that strangeness happened01:31
wgrantNow I know01:31
wgrantI'll a card for reworking that01:32
wgrantOr a bug01:32
wgrantIt's separate code from what you're working on01:32
wgrantBut should be reexamined in light of private structsubs01:32
* StevenK watches the four bugnotificationrecipients.txt fall over in a heap of fail01:32
wgrantwallyworld, StevenK: Do you see any reason to keep the maintainer/bugsupervisor section of add_bug_change_notifications? I'm pretty sure it becomes irrelevant once structsubs work01:33
wallyworldwgrant: i think it can go01:35
wgrantStevenK: addSecurityContact isn't used or tested01:35
wgrantaddBugSupervisor is used, but only in the condemned code like addMaintainer is01:35
StevenKwgrant: I'm to kill addMaintainer, or is that for later?01:37
wgrantStevenK: This branch is big enough. Kill addSecurityContact since it's unused, and we'll investigate addMaintainer/addBugSupervisor's single callsite later01:37
wgrant"later" may mean after lunch01:37
StevenKwgrant: add{Registrant,SecurityContact}()'s killing has been pushed01:38
wgrantBugNotificationRecipients is going to be like 2 lines by the time you're done01:38
StevenKThis sounds like an excellent plan01:39
StevenKwgrant, wallyworld: Diff updated01:42
wgrantStevenK: Thanks01:42
wgrantI've verified that the suspicious changes were just a bug in the old test.01:42
wgrantr=me01:43
StevenKThis is my surprised face.01:43
StevenKwgrant: no-qa or is there a bug for this?01:44
wgrantNow now01:44
wgrantDoctests are people too01:44
wallyworldthis? :O01:44
wgrantStevenK: There may not be a bug, but there should be01:44
StevenKLet me file one and create a card01:44
wgrantie. if there isn't, file01:44
wgrantI thought there was one, but I can't find it. So file a new one :)01:46
wgrantStevenK: Bug #483521 is relevant to the next phase of this01:46
_mup_Bug #483521: Allow the project owner to appoint other people as the bug supervisor <lp-bugs> <supervisor> <Launchpad itself:Triaged> < https://launchpad.net/bugs/483521 >01:46
StevenKBug #113825 could also be01:48
_mup_Bug #113825: Null bug supervisor is confusing <confusing-ui> <disclosure> <lp-bugs> <sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/113825 >01:48
wgrantStevenK: Sort of01:49
wgrantBut not directly.01:49
* StevenK files a new bug01:49
StevenKwgrant: Bug #102972501:52
_mup_Bug #1029725: Pillar owners should not be implicity notified about bugs <bugs> <disclosure> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1029725 >01:52
wallyworldwgrant: as far as i can tell, there's no api to get a bug by id honouring the privacy rules. i can add a bug_id parameter to BugTaskSearchParams. do you have an issue with this?01:52
wgrantStevenK: Bug #102972401:52
_mup_Bug #1029724: Retargeting a private bug notifies maintainer and bug supervisor without subscriptions <disclosure> <email> <sharing> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1029724 >01:52
wgrantwallyworld: bug= should work01:53
wgrantIt's meant to cope with an ID too, I'm pretty sure01:53
wallyworldok, i didn't realise that supported taking an id01:53
wallyworldwill check01:53
wgrant    standard_args = {                                                                                                                                    |                self.distroseries = distroseries01:54
wgrant        BugTaskFlat.bug: params.bug,01:54
StevenKwgrant: Hm.01:54
wgrantIt'll compare it with the Storm Reference01:54
StevenKwgrant: Both of them?01:54
wgrantWhich should work for an ID01:54
wgrantStevenK: ?01:54
StevenKwgrant: Oh, is the 724 the upcoming work?01:54
wgrantStevenK: Yeah, 724 is the next bit01:54
wgrant724 is about removing the implicit, hardcoded, un-opt-outable subscription01:55
wgrant521 is part of removing the automatic structural subscription given to bugsupervisors01:55
* StevenK notes Coding has been wallyworld'd01:55
wallyworldStevenK: i have a branch which fixes 4 bugs01:56
wgrantHm01:56
wgrantI think that's all of it01:56
wgrantAfter fixing those two, you'll only be notified about a project's bugs if you ask to be notified about a project's bugs :)01:57
wgrantA revolutionary concept, I know01:57
StevenKwgrant: Tossing it at ec2.01:57
wgrantGreat.01:58
* wgrant wanders off for a while.01:58
StevenKwgrant: Can haz pre-impl? Or a review?02:42
wgrantAs for preimp... you basically just need to copy the status/importance stuff02:42
wgrantIt's identical02:42
StevenKwgrant: Where does that get stuffed into the DB?02:44
wgrant    TABLE "bugsubscriptionfilterstatus" CONSTRAINT "bugsubscriptionfilterstatus_filter_fkey" FOREIGN KEY (filter) REFERENCES bugsubscriptionfilter(id)02:44
StevenKRight02:45
StevenKRargh, it's a new table, not even a column :-(02:51
wgrantRight02:51
wgrantSince it's many-to-many02:51
StevenKwgrant: Uhhhh. lib/lp/archiveuploader/tests/nascentupload-closing-bugs.txt fails with the death, murder and destruction we did this morning.03:51
wgrantStevenK: Failure is expected, but in what manner?03:52
StevenKwgrant: http://pastebin.ubuntu.com/1113149/03:52
wgrantStevenK: Right, is there anything odd in the slightest about that?03:53
wgrantSeems completely expected03:53
wgrantYou removed a notification mechanism03:53
wgrantAnd now some notifications aren't happening.03:53
lifelesswgrant: StevenK: https://code.launchpad.net/~lifeless/python-oops-tools/report-recipient/+merge/116999 if you want less mail.04:36
wgrantlifeless: r=me04:40
StevenKwgrant: Review?05:00
wgrantStevenK: I'm trying to break it05:02
wgrantIt's not going very well05:03
StevenKHahaha05:03
StevenKI guess this means I am smart enough to write it05:04
wgrantI need more monitors05:06
StevenKHah05:08
StevenKwgrant: I have the DB patch up05:09
wgrantStevenK: Is it as immense as I expect?05:10
StevenK+2405:10
wgrantLooks good05:11
wgrantStevenK: How's no-implicit-maintainer-sub doing in EC2?05:19
StevenKno-implicit-maintainer-sub => devel       [FAILED]   (up for 3:19:34) i-96b9b5ee05:19
StevenKnascentupload-closing-bugs.txt is the only failure05:20
wgrantExcellent05:20
StevenKSo I guess I can lp-land it in about an hour05:21
wgrantStevenK: r not quite equals me05:42
StevenKwgrant: Oh? Why?05:42
StevenKwgrant: assignees behaves differently depending if there is a bugtask or not, I wanted to support both.05:46
wgrantStevenK: Which bit's that about?05:47
StevenKWhy have you split the subquery out into a separate local? Might as well inline it, or at least not shadow a builtin. Also, did you consider inlining the subsequent filter into load_people's where argument?05:47
StevenKI considered the Or/True thing for whatever I rename forbidden_recipients_filter to, so I'll do that.05:48
wgrantAh05:53
StevenKwgrant: no-implicit-maintainer-sub is in r1569906:30
wgrantSo I saw06:30
poolielifeless, hi06:31
pooliehi all06:31
wgrantHi poolie.06:31
pooliewell done on the privacy and other recent changes06:31
spmhey poolie06:35
lifelesspoolie: hi06:35
StevenKpoolie: O hai06:35
* StevenK steals r1570006:37
adeuringgood morning07:45
czajkowskihey adeuring07:51
adeuringhi czajkowski!07:51
jmlgary_poster, benji (others welcome): we're looking at switching our dependency management to buildout and were wondering if you could help us get started.08:08
=== adeuring changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: adeuring | Firefighting: - | Critical bugs: 4.0*10^2
czajkowskijcsackett: ping me when you're online please :)09:54
benjijml: I am about to be AFK for an hour and then I have calls and interviews for much of the day (similar for Gary) but I would love to help you with buildout if I can.10:58
jmlbenji: thanks!10:58
jmlbenji: https://code.launchpad.net/~james-w/pkgme-service-python/buildout/+merge/116980 has a summary of where we're at10:59
benjicool, I'll take a look when I have a spare moment; is there anything in particular you need added next or are you looking more for suggestions with what you have?10:59
jmlbenji: wondering if there are known workarounds for https://bugs.launchpad.net/zc.buildout/+bug/1029715 and possibly some direction in fixing it.11:01
_mup_Bug #1029715: bootstrap.py fails if there is a system-wide install of the desired buildout version <Buildout:New> < https://launchpad.net/bugs/1029715 >11:01
jmlbenji: also confirmation of our approach in sharing eggs11:01
benjisounds good, I'll take a look when I can11:02
jmlbenji: and of course we'd welcome any feedback from you & gary since you've got way more experience with this and will probably have suggestions on things we wouldn't think to ask about.11:02
jmlbenji: thanks.11:03
BrooklynHow can I configure launchpad to send notifications(email)?  Any hints?11:59
gary_posterjml, hi.  I will be more than happy to leave that to benji's capable hands, but also will be happy to help later if needed.12:03
=== nigelbabu is now known as nigelb
sinzuijcsackett: can you investigate why comment hiding is broken on a bug https://bugs.launchpad.net/launchpad/+bug/102966814:29
_mup_Bug #1029668: Hide Comment works sometimes, doesn't work other times <comments> <disclosure> <information-type> <javascript> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1029668 >14:29
jcsackettsinzui: looking.14:30
sinzuijcsackett: maybe comment hiding does not work with the comments that are loaded in the sceond phase14:32
jcsackettsinzui: i think it has been fixed by my last comment js branch, which has landed.14:33
jcsackettsinzui: open the same bug on qastaging and see if you can reproduce. i cannot, though i can on production.14:33
sinzuijcsackett: the low number comments can be hidden, but I cannot hide the high number comments. I think the division is the comments that are loaded by the timer are inserted into the dom, but they are not wired for comments14:34
jcsackettsinzui: right, and that isn't an issue in the refactor i did, as it just puts a delegate listener on the container for all comments.14:34
sinzuijcsackett: I agree that delegates fixed the issue.14:36
jcsackettsinzui: fantastic.14:36
sinzuijcsackett: claim the bug, mark it fix committed, and a card in the ready lane14:36
jcsackettwill do.14:36
czajkowskijcsackett: ignore ping that was the bug I was looking for you for.14:40
abentleyadeuring: Could you please review https://code.launchpad.net/~abentley/launchpad/re-roll-r15692/+merge/117070 ?14:44
adeuringabentley: sure14:44
adeuringabentley: r=me14:50
abentleyadeuring: Thanks!14:51
czajkowskibenji: sorry I go by the online calendar :)15:11
benjiczajkowski: as you should; I am sorry I didn't get my leave in earlier15:12
abentleysinzui: http://people.canonical.com/~curtis/lp-milestone/report.html is in the iso-8859-1 encoding, but contains what appears to be a utf-8-encoded character after "In progress and fix committed", etc.15:12
sinzuithat sucks.15:12
sinzuiI will fix that today15:12
sinzuithank you abentley15:13
abentleysinzui: np15:13
czajkowskibenji: no bother I try and sent out it out late UK time on a Friday15:13
=== ev_ is now known as ev
sinzuijcsackett: I like your proposal to keep the bug info in one column. I think the misalignment of ids is acceptable and will not happen often. You may have noticed that when we moved the related bug to the MP summary, we got phantom space caused by attempts to handle unwanted table columns...your code might be reusable to fix the MP page18:10
jcsackettsinzui: awesome, thanks.18:24
jcsackettsinzui: do you have time to look at the finished branch for me? https://code.launchpad.net/~jcsackett/launchpad/misaligned-details/+merge/11711819:05
sinzuiI will do that now19:05
jcsackettthanks.19:05
sinzuijcsackett: I don't think class="amount" is needed19:07
jcsackettsinzui: no? i'll remove it and check how it looks.19:07
jcsacketti think that was just cribbed from other layouts.19:07
sinzuijcsackett: yes, it means right align the number in the table column19:08
sinzuiis class="icon left" really doing something? I think it want to float an icon, but we are using a sprite19:08
sinzuioh, jcsackett you may need to add action-icon to the sprite so that older browsers see it19:09
jcsackettsinzui: not sure. it was "icon right" which had the sprite sort of misaligned with the edge of the table.19:10
jcsackett"icon left" fixed that.19:10
sinzuiOlder browser do not show empty spans, so we need the action-icon, and that turns the span into an inline-block which will change the float behaviour.19:10
sinzuijcsackett: okay, I understand. we might need it, check that it is still needed after action-icon. I don't think anything should be floated, but we might have to if something else is making other parts float19:12
jcsackettsinzui: dig.19:14
sinzuijcsackett:  the sprite could also be on the bug id so we do not need the action-icon and we have less markup to manage19:14
jcsackettsinzui: ah, nice idea.19:14
sinzuioh, and that makes the table item rules from bugs and branch almost the same19:14
jcsackettsinzui: hm. adding sprite onto the bug id span and removing the enclosing span ends up with everything floating a bit too far right from the edge of the table.19:19
jcsackettgetting you a screenshot.19:19
jcsackettsinzui: http://people.canonical.com/~jc/images/misaligned-with-new-markup.png19:20
sinzuijcsackett: with the removal of 3 columns, we have ambigous colspans being used by bugs and branches. We just want one column for the td19:22
sinzuijcsackett: when I hack the html in https://qastaging.launchpad.net/launchpad/+sharing/abentley to do what what you tried, I see the bug sprites finally line up with the branch sprites.19:32
sinzuijcsackett: I see the issue, it is not just the colspan, it is the extra cols in colgroups19:35
sinzuiwe do not need the first two with your change19:36
jcsackettsinzui: ok. so i'll remove the extra col stuff and ping you when i've got that all working.19:36
jcsackettsinzui: fixes pushed up. sorry for the delay, my znc server has crashed.20:26
sinzuinp20:26
sinzuijcsackett: move {{bug_id}} from amount into the sprite20:28
sinzuithen delete the amount span20:28
sinzuiand most importantly, does it look good after you make the change?20:28
jcsackettsinzui: it looked perfect post change. http://people.canonical.com/~jc/images/simplified-markup.png20:29
sinzuifab.20:29
sinzuiThen r=me20:29

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