/srv/irclogs.ubuntu.com/2012/09/19/#launchpad-dev.txt

wgrantStevenK: So, how far through the lazr.restful source have you been?01:03
StevenKwgrant: I've stared at exported() for a while and it still makes little sense01:03
wgrantStevenK: It adds annotations. But you need to look at what interprets those annotations01:04
=== lifeless_ is now known as lifeless
StevenKwgrant: What does the interpreting?01:12
wgrantStevenK: Yes01:13
StevenKwgrant: While talking with lifeless I've been combing lazr.restful and still coming up with no dice01:25
wgrantI'll look shortly01:26
* StevenK finds another bug01:27
StevenKDear AAPT, please DIAF01:31
StevenKMaybe my IPv4 connectivity out of Australia will work now01:31
StevenKwgrant: Are you going to request a deploy of oops-tools?01:42
wgrantStevenK: I need to talk to lifeless about how we deploy/release/whatever oops*01:49
lifelesshi01:49
lifelessyou just ask bebops to do it01:49
lifelessthere isn't a wiki page yet.01:49
lifelessPerhaps there should be01:49
wgrantlifeless: We need to release to PyPI first, or do they deploy from branches?01:50
wgrantlifeless: ^^01:57
lifelessthey deploy from  branches, but please release to PyPI01:57
lifelesswe should split oops-tools like we did auditor01:58
lifelesswould make that better01:58
wgrantSplit?01:58
wgrantAlso, I think only you have PyPI privileges01:58
wgrantI'm not even sure I have an account01:59
lifelesswgrant: also I have some oops-tools stuff pending02:05
lifelessadding query capturing02:05
lifelesswgrant: split into django site and django app, and make the site internal only02:05
wgrantlifeless: Ah, right02:07
StevenKBLEH, bug 1020439 leads straight back into lazr.restful02:07
_mup_Bug #1020439: AttributeError: 'NoneType' object has no attribute 'items'  in +preview-diff <code-review> <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1020439 >02:07
lifelessjames_w: hi02:07
lifelesswgrant: get thyself a pypi user id02:08
lifelesswgrant: I've added stevenk for now02:08
lifelesswgrant: pypi thinks there is a wgrant btw, if its not you say so asap :)02:09
wgrantlifeless: Ah, that is me indeed.02:10
wgrantI see that I own oops-tools now02:11
wgrantThanks02:11
lifelessgive me a few hours to kick the tires on this query capturing02:11
wgrantSure02:11
wgrantI'll be very happy when you get that done :)02:11
wgrantlifeless: I also need oops_datedir_repo02:12
StevenKwgrant: So, your choice, help with security_contact, or peer at OOPS-e8d958307abcc91627fcb35e08fff15e :-)02:12
wgrantStevenK: My only two options involve obscure lazr.restful? You are a cruel man.02:12
wgrantStevenK: What have you uncovered so far?02:13
lifelesswgrant: whats pending there ?02:13
wgrantlifeless: The same fix02:14
StevenKwgrant: For either? That I don't understand lazr.restful much :-(02:14
lifelesswgrant: gimme a hint02:15
lifelesswgrant: 0.0.18 is published on pypi already, and there is nothing else committed to trunk for datedir-repo02:16
lifelessbtw, I realised you can meaningfully salt anonymiseip02:16
lifelessIts now in my todo list to add a salt option02:17
wgrantAh, good :)02:17
wgrantUm, I approved the datedir-repo MP, maybe tarmac hasn't noticed02:17
wgrantOr there is no tarmac02:17
lifelessthere is no tarmac02:17
wgrantpython-oops-tools has one, so I thought there might be for datedir-repo02:17
lifelessthe README notes this, the trunk branch URL tells you as well02:18
lifelessthe owner of the branch is launchpad-pqm for tarmaced things02:18
wgrantYes, but I didn't bother to check since oops-tools worked :)02:18
lifelesshah02:18
lifelessok02:18
lifelessI see02:18
lifelessthis is the prune SNAFU02:18
wgrantRight02:19
lifelessso, do the dance to do a 0.0.19 release of datedir-repo02:19
lifelessno need to wait for me, and look at the commits in the log for 0.0.18 and the rev after it to see how its done.02:19
lifelessFor bonus points, write a damn tool to do releases.02:19
wgrantHeh02:20
lifelessthen you'll want to do another patch to oops-tools02:21
wgrantTo upgrade versions.cfg, right02:21
lifelessto bump the datedir-repo version02:21
lifelesswgrant: https://code.launchpad.net/~lifeless/python-oops-tools/timeline/+merge/12508602:28
lifelesswgrant: out for  abit02:29
wgrantlifeless: k02:29
wgrantlifeless: Your MP seems to lack a dep on timeline_django in setup.py02:48
james_whi lifeless03:05
wgrantStevenK: So, those two lazr.restful issues03:41
wgrantStevenK: I know not much more about lazr.restful than you do03:41
StevenKwgrant: Heh, handy03:41
* StevenK has moved onto bug 827244 for the moment03:42
_mup_Bug #827244: bug_filters related to teams are said "mutable" when they're not <api> <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/827244 >03:42
StevenKwgrant: I'd go back to using as_of='1.0' except I'm stubborn and don't want security_contact in devel03:42
lifelesswgrant: django_timeline you mean ?03:42
wgrantlifeless: No, timeline_django03:43
lifelessoh erm03:43
* wallyworld_ had fun watching bigjools and lifeless have a public belching competition at lunch. real classy03:44
lifelesswgrant: thanks03:44
lifelesswgrant: we thought so03:44
lifelessbah03:45
lifelesswallyworld_: ^03:45
StevenKHahaha03:45
StevenKwgrant: Are you handing QA for r15973?03:47
wgrantStevenK: You're 38 seconds late03:47
StevenKOh, sorry, I was looking at doing the QA for r1597203:48
wgrantA good idea03:48
wgrantStevenK: Hm03:51
wgrantStevenK: For security_contact, did you try adding a version annotation of ('devel', dict(exported=False))?03:51
wgrantWith QA done I'm poking around the source03:51
wgrantAnd that looks plausible03:51
lifelesswgrant: so, I think we'll definitely find it captures stuff it shouldn't from the openid auth module for django03:51
lifelesswgrant: i'm not sure where to start for neutering that03:52
wgrantlifeless: Indeed.03:52
StevenKwgrant: I did not03:52
wgrantlifeless: Personally I think capturing parameters is generally pretty insane.03:52
lifelesswgrant: yes, because no one ever does manual SQL.03:52
StevenKwgrant: So you think "('devel', dict(exported=False)), as_of='1.0'" ?03:52
wgrantStevenK: I forget if you can replace as_of itself with a version annotation, but yes, that should work03:53
wgrantlifeless: If they do that in Django apps then I will be sad.03:53
StevenKwgrant: Ah ha!03:56
wgrantStevenK: Are you still QAing that essential sub thing?03:56
wgrantLooks pretty trivial03:56
wgrantthen we can deploy03:56
wgrantAnd private teams can be less slow03:57
StevenKwgrant: Trying to work out how, sadly03:57
StevenKI can still tick essential for ubuntu blueprints03:57
lifelesswgrant: so, should we land it, find out the issue, file a bug and comment out the hook ?03:57
StevenKSo I'm trying to work out what the catch is03:57
wgrantlifeless: I'd comment out the middleware addit03:58
wgrantion03:58
lifelesswgrant: and then have ops uncomment it ?03:58
wgrantI don't know :)03:59
lifelesswgrant: so the middle ware isn't what captures the data03:59
wgrantSafety on capturing SQL statements is an unresolved issue.03:59
wgrantTrue03:59
lifelesswgrant: its the timeline hooks that does it.03:59
lifelesswhich is what I was suggesting commenting out to disable03:59
wgranttimeline_django.filters.install_hooks?04:00
lifelesstimeline_oops04:00
StevenKwgrant: Right, I don't get it.04:00
lifelessthe one you listed does sanitisation for the stock django bits.04:00
wgrantStevenK: The subscriber can no longer tweak the flag04:00
wgrantStevenK: Or isn't meant to be able to04:00
StevenKwgrant: I can set it when I subscribe04:01
wgrantStevenK: what about afterwards?04:01
lifelessjames_w: please be doing a release of timeline_django :)04:01
wgrantlifeless: Which bit is it that logs SQL to the timeline, then?04:01
StevenKwgrant: If I hit Update subscription I get 'Not allowed here'04:01
wgranttimeline_django_setup?04:01
StevenKWhich is just awesome04:01
wgrantStevenK: Right, so that's hideous but the logical effect of the revision04:02
wgrantStevenK: Even if you don't change the flag?04:02
lifelesswgrant: the middleware04:02
wgrantThe revision's commit message also doesn't match its content04:02
StevenKwgrant: I can't even see the page to change the flag04:02
wgrant13:59:21 < lifeless> wgrant: so the middle ware isn't what captures the data04:02
lifelesswgrant: I'm saying disable the entire timeline when there is an issue04:02
lifelesswgrant: the timeline isn't in the oops by default04:02
StevenKwgrant: I also can't unsubscribe myself from the blueprint04:03
lifelesswgrant: middle ware -> hooks into django and adds to timeline; timeline hooks hook timeline into the oops04:03
wgrantOh, disable the timeline from being included in the OOPS, I see04:03
wgrantStevenK: rofl04:03
wgrantStevenK: Revert revert revert04:03
wgrantAnd I can't deploy my private team fix :(04:03
wgrantlifeless: Right, makes sense now04:03
StevenKwgrant: Sorry04:04
lifelesswgrant: so, plush one on my mp ?04:04
wgrantlifeless: Do we want an I_ACKNOWLEDGE_THAT_I_AM_TERRIBLY_MISGUIDED flag in settings.py to enable it, perhaps?04:04
wgrantlifeless: Don't we want it disabled in trunk?04:04
wgrantThat MP still has it enabled.04:04
james_wlifeless, the only change is your debugging aid?04:07
lifelessjames_w: yes, which would be very useful for oops.c.c04:07
james_wlifeless, you can't debug the issue locally?04:08
lifelesswgrant: thats right, its safe enough for folk not running custom auth crazy04:08
lifelessjames_w: nope, can't.04:08
james_wlifeless, you had a reproducer though?04:08
lifelessjames_w: can't reproduce now04:08
lifelessjames_w: driving me batty04:08
james_wok04:08
james_wnot tonight04:08
james_wmaybe not tomorrow04:08
wgrantlifeless: Is it?04:08
wgrantlifeless: But our auth crazy is at the Apache level anyway04:08
lifelesswgrant: is it ? I don't think it is.04:09
wgrantOh, you mean the /admin thing, yeah04:09
wgrantMaybe04:09
lifelessjames_w: cool, let someone here know - purple or me - and we'll bump the dep in oops tools at that point.04:09
james_wlifeless, poke me tomorrow or the next day if I haven't04:11
james_wwe're in a bit of a crunch04:11
lifelessok04:11
wgrantlifeless: btw, this version-locked madness is madness04:12
StevenKwgrant: Revert landed as r1598004:12
wgrantStevenK: Thanks04:13
StevenKwgrant: Shall we deploy up to r15971?04:13
wgrantWe have little choice04:13
wgrantStevenK: Did the security_contact thing work?04:13
StevenKwgrant: It worked so well I put it up for review. https://code.launchpad.net/~stevenk/launchpad/export-security_contact-for-1.0/+merge/12509204:14
wgrantI got an email right as you said that04:14
wgrantlifeless: I have a tested datedir-repo sdist -- can I have upload privs now?04:14
wgrantStevenK: This doesn't sound like it will fix the proejct creation script04:15
wgrantStevenK: As it's RO04:15
wgrantRight?04:15
lifelesswgrant: done04:16
StevenKI have no idea about the project creation script, the bug only talked about exporting it04:16
wgrantlifeless: Thanks04:17
wgrantStevenK: The bug description mentions it04:17
lifelesswgrant: so.. +1?04:20
StevenKwgrant: Sure, but it doesn't say that it has to be settable04:21
wgrantlifeless: k04:21
wgrantdone04:21
wgrantStevenK: A project creation script presumably wants to set it04:21
wgrantlifeless: How do I add a new release on PyPI?04:22
StevenKwgrant: Let's leave it for now, I'll bring it up on the call04:22
wgrantI try to add a new file, but it lists the 0.0.18 tar.gz, so I'm not sure if it's adding a new release or not04:22
wgrantI'm also slightly nauseous from uploading to a totally insecure distribution mechanism04:22
lifelesswgrant: so, you make the release by doing04:24
lifelesssetup.py sdist upload -s04:24
lifelesswgrant: gpg signed, ~= totally insecure04:24
wgrantOK, all the clients are totally insecure :)04:24
wgrantNow how do I auth...04:24
lifeless cat .pypirc04:26
lifeless[server-login]04:26
lifelessusername:lifeless04:26
lifelesspassword:04:26
wgrantOh cool04:27
wgrantIt defaults to basic auth over unencrypted HTTP04:27
lifelessyup04:27
wgrantAnd I bet if asked to do HTTPS it doesn't actually check the cert04:28
lifelesspatches...04:28
wgrantYeah, no cert verification04:29
wgrantAh04:31
wgrantNot that it really matters04:31
wgrantSince you can change your password through the web UI with just a cookie04:31
StevenKYeah, security is for other frameworks04:32
wgrantI think it's uploaded04:33
wgrantI might need to go outside to breathe before I refresh the page, though04:33
wgrantThe hash even matches04:34
ajmitchwgrant: or just take a drink every time there's some security thing that annoys you. pretty soon you won't care at all :)04:35
StevenKHahaa04:35
wgrantThey're not security things that annoy me, they're security things that are objectively wrong :)04:35
StevenKajmitch: And after using LP for 15 minutes, wgrant gets admitted to hospital for alcohol poisioning04:35
wgrantLP is merely less than ideal04:36
wgrantOther things are trainwrecks :)04:36
StevenKOh damn, I looked at a branch page wrong during initial scan04:39
lifelessbigjools: http://www.xtranormal.com/watch/7023615/watch_movie <- kick this one off next.04:44
StevenKwallyworld_, wgrant: https://code.launchpad.net/~stevenk/launchpad/mute-when-not-allowed/+merge/12509404:48
StevenKwgrant: I think bug 869351 and bug 1036882 are dupes. Possibly bug 816617 too04:52
_mup_Bug #869351: UnknownRecipientError on +editstatus page when setting assignee, milestone, status, and commenting <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/869351 >04:52
_mup_Bug #1036882: UnknownRecipientError OOPS updating series specific tasks <bugs> <email> <oops> <subscribers> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1036882 >04:52
_mup_Bug #816617: UnknownRecipientError raised sending mail notification to bug subscriber <mail> <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/816617 >04:52
wgrantStevenK: I believe they are probably dupes, yeah, but I didn't get around to digging farn enough into them on Monday to tell for sure04:56
wgrantHmk04:57
wgrantI thought I duped 1036882 against 869351 on monday04:57
wgrantBut apparently not04:57
wgrantAh, and the OOPSes from the older two are gone04:58
StevenKYeah04:58
StevenKOf course04:59
wgrantI think my diagnosis in 1036882 can reasonably apply to the other two04:59
* wgrant dupes04:59
StevenKI was about to, but sure04:59
wgrantAh right05:00
StevenKwgrant: Your diagnosis of "I'm not sure why there was no reason." ? :-)05:00
wgrantI duped 92579105:00
wgrantSo there were 3 duplicates05:00
wallyworld_StevenK: can you put the team name in the error message and maybe word it like the message just below in the code?05:00
wgrantAlso, does LP prefer "can not" or "cannot"?05:01
wgrantI suspect the latter05:01
wallyworld_+105:02
wgrantwgrant@lamuella:~/launchpad/lp-branches/devel$ bzr grep '\bcan not\b' | wc -l05:02
wgrant7705:02
wgrantI think we have a clear winner05:02
wgrantwgrant@lamuella:~/launchpad/lp-branches/devel$ bzr grep '\bcannot\b' | wc -l05:02
wgrant129805:02
StevenKI wish bzr grep supported -c05:03
wgrantDon't make me go full UNIX on you05:03
StevenKwallyworld_: http://pastebin.ubuntu.com/1214202/05:07
lifelesswgrant: so, you're doing the oops-tools repo dep upgrade?05:07
lifelesswgrant: or do you want me to ?05:07
wallyworld_StevenK: thanks, s/muted, team/muted because team05:08
StevenKwallyworld_: http://pastebin.ubuntu.com/1214207/05:09
wgrantlifeless: I guess some of the other deps need upgrading too05:09
wallyworld_r=me, thanks05:09
wgrantlifeless: Since datedir-repo is at 0.0.15...05:10
lifelessmaybe05:10
lifelessyou'll get conflicts if they are incompatible05:10
lifelessor something05:10
lifelessjam: whats your pypi id ?05:38
jamlifeless: jameinel05:39
lifelessjam: I'd like to apply http://paste.ubuntu.com/1214228/ to bzr-pqm and do a release on pypi.05:40
jamlifeless: do we actually require launchpadlib? I thought it was a nicety, but for people who might use it on Windows it brings in a huge dependency set.05:41
jamOtherwise +105:41
lifelessjam: it selftest fails w/out it.05:41
lifelessjam: I don't recall if it fails to load at all w/out it.05:41
jamI know I used 'bzr pqm-submit' without it for a long time05:41
jtvwgrant: having some problems with “bzr bd” on maas… are you familiar with it?05:42
jambut certainly the lp- versions of the pqm commands probably require it05:42
jam(lpland, etc)05:42
wgrantjtv: Only vaguely.05:42
wgrantjtv: I gather you have some people who know bzr pretty well now, so they probably know it better than I05:42
wgrantBut I can help if you need05:42
jamanyway, I won't block it, and people using bzr-pqm likely have launchpadlib around, there aren't many outside of lp people using pqm anyway.05:42
StevenKwgrant: I also do not get why ... (re: bug 1036882)05:42
_mup_Bug #1036882: UnknownRecipientError OOPS updating series specific tasks <bugs> <email> <oops> <subscribers> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1036882 >05:42
jamlifeless: are you asking me to apply the patches, or you need pypi access, or just a review?05:43
wgrantStevenK: Have you been able to reproduce it locally?05:43
lifelessjam: I could move it to extras,  but I'm not sure there is a good way to say 'bring it in for this command' other than splitting the package.05:43
StevenKwgrant: No, I've been reading the code05:43
lifelessjam: eyeball review, since I plan to commit, push, sdist upload register etc all at aonce.05:43
jtvwgrant: fwiw Julian is stumped.  :)  A patch fails to apply, and I get the impression it should.  I suspect the fact that one of the paths has a double “.orig” in it.05:43
lifelessjam: so, say '+1' now,a nd then you can forget about it :)05:43
jamlifeless: so I'm hesitant about launchpadlib, but I understand and I can live with it for your +105:43
StevenKwgrant: All of the subscriber (as in zope subscriber) and the recipient fetching code05:43
lifelessjam: they can't currently pip install it anyhow, as its not on pypi at all :)05:44
wgrantStevenK: Have you set up the scenario described in the bug locally?05:44
jtvwgrant: the “---” file is maas-0.1+bzr702+dfsg.orig.orig/contrib/maas_local_settings.py05:44
lifelessjam: which this will at least solve; can fine tune later :>05:44
lifelessjam: thanks05:44
StevenKwgrant: No, that's my next step05:44
StevenKwgrant: So, create a bugtask and milestone, create a structural subscriber for the milestone and +editstatus?05:46
wgrantStevenK: Something like that. Possibly with a target change, or assignee change, or something like that05:46
wgrantThe full circumstances should be described in the bug05:46
StevenKI was going to add those in, yes.05:46
lifelessjam: and there - http://pypi.python.org/pypi/bzr-pqm05:47
lifelessdone05:47
jamlifeless: looks good05:53
jamthanks for doing the work05:53
jamthis is part of 'get rid of sourcecode' ?05:53
jamlaunchpad guys, I get initial emails when someone submits a MP to lp:maas, however, I do not get comments on all MPs. I think I subscribed to the branch, is there a config I'm missing to get the followup emails?05:54
lifelessjam: its part 'get rid of inventory'05:54
lifelessjam: and part 'make it easier to get rid of sourcecode'05:54
jamlifeless: 'inventory' being things that aren't properly released yet?05:54
lifelessjam: we either need to switch to e.g. pip (something that doesn't use separate egg dirs per thing), or we need to teach bzrlib how to load plugins from eggs.05:55
lifelessjam: yup05:55
lifelessjam: 'fix committed' status05:55
lifelessjam: I mailed the list about the issue05:55
jamlifeless: 'pip install -Z' doesn't build a .zip/.egg file, I believe. Can't you set the 'not zip safe' flag somewhere in setup.py?05:56
lifelessjam: EPARSE05:56
lifelessjam: pip doesn't use egg directories at all, it installs into site-packages.05:57
jamlifeless: sorry, "easy_install -Z" then. The thing that creates eggs can do it by just updating .pth and then putting the files expanded on disk.05:57
lifelessok, gotta run, taxi here.05:57
jamI used to have to do that for paramiko05:57
jambecause otherwise py2exe couldn't bundle it.05:57
jamlifeless: catch you later.05:58
jtvwgrant: this “bzr bd” problem with maas is really bugging us.  A patch fails to apply to a missing file, except the missing file seems to be in the branch as before.06:16
jtvAn invocation of “dh get-orig-source” seems to be part of the problem.  There seems to be no such command in dh.06:17
StevenKI strongly doubt it's dh06:18
StevenKdh is a debhelper wrapper06:18
wgrantAre you perhaps trying to use get-orig-source in a package that doesn't support get-orig-source?06:18
wgrantbzr bd is after my time, anyway06:19
jtvHow would I tell whether the package supported it?  There is a target of that name in debian/rules though.06:20
wgrantThat is roughly the definition of supporting it.06:20
StevenKwgrant: http://pastebin.ubuntu.com/1214252/ and no failure :-(06:20
wgrantNot sure why it would be trying to call into dh06:20
bigjoolsthe problem is when quilt is applying the patches06:20
bigjoolsbeyind that I dunno06:20
jtvIt doesn't find the file it's supposed to be patching.  To be honest, I can't find it either.  It's in the .orig tarball, but I don't see it unpacked anywhere.06:21
StevenKIs it deleted by the .diff.gz applying?06:23
wgrantmaas hopefully doesn't have a diff.gz06:24
StevenKOr an .orig then06:24
StevenKIt's just .tar.gz for native06:25
jtvHow would I check these things?  I see no files with any of those names in the packaging branch, fwiw.06:26
wgrantStevenK: I was alluding to the fact it is probably 3.0 (quilt), which cannot delete files from the orig.tar.gz06:26
StevenKAh, I've been ignoring 3.0 (quilt) for being a crime against humanity06:26
StevenKwgrant: Ah ha, my save against BugTask:+editstatus doesn't hit the zope subscriber stuff06:27
jtvWell the file that's being patched is still in the .orig.tar.gz.06:29
jtvwgrant: I guess it's normal that, after the failed build, the build-area directory contains the .orig.tar.gz and the packaging branch, but not the contents of the .orig.tar.gz in unpacked form?06:34
wgrantjtv: I'm really not sure, sorry06:34
jtvAny idea who might know, that's available at this hour?06:34
StevenKwgrant: Hm, I thought passing form=foo to create_initialized_view() would call the save_action06:37
wgrantStevenK: Perhaps your action name is bad06:38
wgrantStevenK: Does the form appear to submit?06:38
wgrantjtv: Perhaps former bzr people may know06:38
StevenKAh ha, view.errors06:38
jtvwgrant: thanks, I think I'll be able to dig some up soon!06:39
StevenKwgrant: The form submits, zope subscriber stuff fires, no error06:51
wgrantStevenK: Have you tried manually setting up the scenario on launchpad.dev?06:53
wgrantYou could just have a bad test06:53
StevenKwgrant: http://pastebin.ubuntu.com/1214277/06:54
wgrantStevenK: I can't always solve all your problems just by looking at a test of a strange view, sadly07:07
wgrantStevenK: Try it in a browser07:08
StevenKwgrant: I am doing so07:08
StevenKTrying to remember how to add a series task07:08
wgrantTarget07:09
StevenKDon't I have to nominate? It's been so long since I've had to do stuff like this.07:10
wgrantNot if you're the driver07:10
StevenKWhich I'm not07:11
StevenKLet me fix that07:11
StevenKwgrant: No OOPS07:13
wgrantYou won't even see the link if you're not one of maintainer/driver/bugsupervisor07:13
wgrantHmm07:13
StevenKI have a product, which I'm driving, a series, a milestone and a structsub for a random on the milestone07:13
wgrantStevenK: Do you have an appropriate event filter?07:15
wgrantStevenK: The problematic subscription on production was open/close only07:15
StevenKThat isn't the default?07:15
wgrantStevenK: Not through the API, probably.07:17
wgrantOr through the method you called in the test07:17
StevenKRight, I'll check the filter07:18
StevenKHm, how do I even express that as a filter? :-(07:21
wgrantStevenK: It's one of the root settings for the subscription07:23
wgrantStevenK: So it's not shown as a filter in the web UI07:24
wgrantIt's one of the initial radio buttons07:24
lifelessjam: so yes, sourcecode/07:26
StevenKRight, structsub edited07:28
lifelessjam: I can look into the zip unsafe flag if needed, but whats unsafe about bzr-pqm? Is it that 'bzr cannot load it from a zip' ?07:28
jamlifeless: right07:28
jamsome other tool doesn't work properly with zip07:28
jamI think it also is needed for things that create extension modules.07:28
jambut I just defaulted to using it because py2exe doesn't work with eggs either.07:29
StevenKwgrant: Also no OOPS07:29
wgrantStevenK: :(07:29
lifelessjam: http://svn.python.org/projects/sandbox/trunk/setuptools/doc/formats.txt07:31
lifeless``zip-safe`` and ``not-zip-safe``07:31
lifeless...07:31
lifeless---------------------------------07:31
lifelessIf neither file is present at installation time, EasyInstall defaults07:31
lifelessto assuming that the project should be unzipped.  (Command-line options07:31
lifelessjam: it will still be unpacked to a .egg directory07:31
lifelessjam: which won't let bzr import it07:31
jamlifeless: if easy_install updates the .pth appropriately, I think it still works.07:31
lifelessjam: nope07:32
jamI'm not sure about path issues and easy_install, though. It gets a bit confusing with namespaces.07:32
lifelessjam: because we scan for plugins ourselves.07:32
lifelessjam: we need a custom path aware - including egg/pth - plugin loader, or we need to use pip for launchpad07:33
jamah sure. I wonder if we could play games with bzrlib.plugin.__path__07:33
jamor play games with BZR_PLUGIN_PATH07:33
lifelesssyncing that with PYTHONPATH via heuristics makes me shudder07:33
lifelessjam: bzrlib.plugins.__path__ is set when set_plugins_path is called07:34
lifelessfrom get_standard_plugins_path07:34
lifelessand we nuke the default path entirely.07:35
=== almaisan-away is now known as al-maisan
jamlifeless: and tbh I'm not really sure how sys.path interacts with bzrlib.plugin.__path__ and all that stuff. Namespaces were supposed to help with this, but it was never something we tried to do for bzr itself.07:36
jambtw, I didn't see an email about it07:36
jamor maybe it was in a thread I missed?07:36
lifelesshaven't sent one07:37
lifelessI side tracked slightly onto that from reviewing bugs.l.n/~lifeless/?status=FIXCOMMITTED07:37
jam(9:55:23 AM) lifeless: jam: I mailed the list about the issue07:37
jamhence my confusion07:38
jambut np07:38
wgrantStevenK: Reproduces easily for me07:38
wgrantUnknownRecipientError: <Person at 0xf853a4c no-priv (No Privileges Person)><br />07:39
StevenKwgrant: Holy crap07:39
StevenKwgrant: Nice work07:39
lifelessjam: about the fixcommitted issue :)07:39
lifelessjam: a week or so back07:39
wgrantStevenK: From a fresh dev DB, I created a new milestone hoary-updates. As no-priv I subscribed to it with default settings. Then, as name16 I went to https://bugs.launchpad.dev/ubuntu/hoary/+bug/2/+editstatus, set In Progress/High/name16/hoary-updates with a comment, then saved07:40
lifelessjam: apologies for adding confusion07:40
wgrantStevenK: Not sure how many of those details are actually necessary. I was just duplicating the changes from the OOPS before trying to minimise the test case07:40
StevenKwgrant: Ooooh, I've been doing it against products, not distros. That is probably very related ...07:40
wgrantStevenK: Potentially07:40
lifelessstub1: hi, around ?07:41
stub1lifeless: yup07:41
StevenKwgrant: Are you going to keep digging, or shall I take your notes and dig in tomorrow?07:41
lifelessstub1: time for a brief catchup?07:41
stub1lifeless: ok. I'll find my mike07:42
adeuringgood morning07:42
lifelessadeuring: o/07:42
adeuringhi lifeless!07:43
wgrantStevenK: Ahaa07:43
wgrantStevenK: It's the combination of milestoning and assigning to Me07:44
lifelessallenap: bug 847889 needs a release done.07:44
_mup_Bug #847889: RabbitServerResources.tearDown is never called <rabbitfixture:Fix Committed by allenap> < https://launchpad.net/bugs/847889 >07:44
lifelessallenap: as you did the work, care to do the release too ?07:44
wgrantStevenK: that should let you fix the test07:44
wgrantStevenK: It probably works on products too07:44
wgrantStevenK: That's like two lines of diff -- can you try that now?07:44
StevenKwgrant: Hmm. No failure for me :-(07:49
wgrantStevenK: It doesn't actually have to be assigning Me, it can be any user07:49
wgrantBut I suspect what's happening is that it's doing the assignee change first07:49
wgrantWhich causes the recipients to be calculated07:49
wgrantAnd cached07:49
wgrantThen the milestone is changed, and it adds a new recipient07:50
wgrantBut something's still cached07:50
wgrantSo the recipient has no reason07:50
StevenKwgrant: I'm adding a series task, and then passing in form data with the milestone and assignee, and I don't get an OOPS07:51
wgrantStevenK: Can you pastebin the latest test?07:52
StevenKwgrant: http://pastebin.ubuntu.com/1214353/07:53
wgrantStevenK: That's quite possibly erroring because there are mandatory fields missing07:54
=== stub1 is now known as stub
StevenKwgrant: view.errors == []07:55
wgrantStevenK: Reproduced on a fresh product with no series task and just setting assignee+milestone. But the subscription needs to be open/close only07:57
lifeless-> plane08:00
mptsinzui, why did you tag bug 1052364 as "private-projects"?08:24
_mup_Bug #1052364: Blueprint icons aren't as distinct as they could be <lp-blueprints> <private-projects> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1052364 >08:24
czajkowskimpt: there is work going on with them atm possibly08:26
wgrantIt's unrelated08:27
* wgrant untags08:27
wgrantHe did that in a batch of other taggings08:27
StevenKwgrant: Ah ha, so now the question remains of how to do that in a test.08:30
StevenKwgrant: I thought open/close was LIFECYCLE?08:36
wgrantStevenK: I think so08:38
wgrantBut don't quite me on that unless you check the code first08:39
StevenKwgrant: If so, no error for me08:39
wgrantStevenK: In the test or web UI?08:39
StevenKThe test08:39
wgrantGive me your latest version and I'll fix it08:39
wgrantNow I have a minimal case08:40
StevenKI swear I'm close. :-(08:40
StevenKwgrant: http://pastebin.ubuntu.com/1214400/08:40
wgrantStevenK: Kill off the series08:41
wgrantNo need for that08:41
wgrantOtherwise that looks pretty reasonable...08:41
StevenKwgrant: Done, but no evil traceback. I didn't think I needed to call render() or anything?08:43
=== dpm_ is now known as dpm
=== al-maisan is now known as almaisan-away
=== matsubara-afk is now known as matsubara
=== almaisan-away is now known as al-maisan
=== beuno_ is now known as beuno
=== Guest70664 is now known as slank
=== slank is now known as Guest79513
=== al-maisan is now known as almaisan-away
cjohnstonsinzui: ping14:28
=== abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: abentley | Firefighting: - | Critical bugs: ∞
sinzuihi cjohnston14:29
cjohnstonhey there.. did you see the comment about the participation essential stuff breaking unsubscribing/editing subscription?14:30
sinzuiNo14:32
cjohnstonhttps://bugs.launchpad.net/launchpad/+bug/105213014:34
_mup_Bug #1052130: Make assigning participation essential limited to certain groups of users <bad-commit-15972> <lp-blueprints> <qa-bad> <Launchpad itself:Fix Committed by chrisjohnston> < https://launchpad.net/bugs/1052130 >14:34
sinzuicjohnston, The branch will need to be rolled back. Another branch is needs that extends your branch and fixes the javascript14:34
sinzuiI think there are two uses of the permission, but the zcml shows only one.14:35
sinzuicjohnston, We want to restore the launchapd.edit method so users can edit their subscriptions. We want the essential flag to be launchpad.Drive14:37
sinzuior we consider removing essential from Launchpad14:37
cr3launchpadlib doesn't seem to be ported to python3 yet, any plans?14:40
sinzuino. barry abandoned it I think because the deps chain was hard14:42
sinzuiI think there is some bad mojo in the gnome key/auth code that is ancient python14:43
cjohnstonsinzui: I don't know what the response will be about removing it from LP.. personally, I'm not against it, though I really don't have time/ability to do the work since it needs to be done asap14:43
sinzuicjohnston, essential is used by many non-ubuntu projects. http://pastebin.ubuntu.com/1214916/14:45
sinzuiI will revert the branch now14:45
czajkowskiwow14:45
cjohnstonwell, all of the LPC stuff is Summit too... so that could be considered mine for a lack of a better term.. I am curious though (and this is why I sent the email asking) what they use it for14:46
sinzuigreat14:46
cjohnstonbut the only feedback I got was that it is for Summit... there really isn't anything else (unless a group specifically has a use for) that it's used for14:47
cjohnstoni.e. it doesn't really do anything in LP other than change the icon color14:48
sinzuicjohnston, StevenK already landed a branch to revert the change14:48
cjohnstonok14:49
cjohnstonsinzui: so does this mean we can't even remove it since others are using it?14:50
cjohnstonI mean, if you look at the 'help text' its pretty clear as to what it's for14:50
sinzuiWe would need to ask if they really need it.14:50
sinzuiregardless, a branch to remove it has to change the javascript that was broken by your branch14:51
cjohnstonSo what it the best approach then for now to get my point across? go back to the text change?14:53
sinzuiyes14:53
cjohnstonthen lifeless is going to leave me his comment again ;-) heh14:53
sinzuiThat is also true for Non-ubuntu brojects14:54
abentleyrick_h_: I'm trying to make the change you wanted: http://pastebin.ubuntu.com/1215019/ But it says "yui: NOT loaded: function (Y) {15:42
abentley    var tests = Y.namespace("lp.blueprints.addspec.test");" which looks wrong: http://pastebin.ubuntu.com/1215023/15:42
rick_h_abentley: looking15:50
rick_h_abentley: sorry, missed that you hadn't created a module in the test file. Was more change than I originally thought. https://pastebin.canonical.com/74807/16:03
rick_h_abentley: and the comment in the requires array breaks the meta.js parser for the combo loader so moved it up.16:04
rick_h_I've got a branch that uses an ast vs regex to parse into convoy, but never got the ok on it.16:04
=== matsubara is now known as matsubara-lunch
abentleyrick_h_: So this patch is meant as an alternative to my patch?16:06
rick_h_abentley: yes, sorry I had pulled your branch down earlier to prep for my rename of registry/app stuff16:06
rick_h_abentley: so this is a patch against what you had pushed up for review this morning16:06
abentleyrick_h_: Okay, thanks.16:06
rick_h_abentley: np, thanks for looking at the update16:07
abentleyrick_h_: Are you landing move_into_utils right now?16:13
rick_h_abentley: no, I've marked your branch as a pre-req and I'm waiting on your branch first16:13
abentleyrick_h_: Okay, I'm going ahead then.16:14
rick_h_abentley: cool, thanks16:14
jcsackettsinzui: you available to chat a bit?16:57
sinzuiI am16:57
* sinzui looks for headphones16:57
* jcsackett fires up g+16:57
jcsackettsinzui: hangout sent, whenever you're ready.16:58
jcsackettsinzui: bug 61238717:00
_mup_Bug #612387: Breadcrumb from PersonProduct active reviews page gives 404 <404> <lp-code> <Launchpad itself:Triaged> < https://launchpad.net/bugs/612387 >17:00
=== deryck is now known as deryck[lunch]
sinzuijcsackett, https://bugs.launchpad.net/gdp/packaging17:05
=== matsubara-lunch is now known as matsubara
sinzuihttps://bugs.launchpad.net/launchpad/+bug/57377917:11
_mup_Bug #573779: Site header does not accurately represent section <breadcrumbs> <lp-web> <Launchpad itself:Triaged> < https://launchpad.net/bugs/573779 >17:11
=== deryck[lunch] is now known as deryck
=== matsubara is now known as matsubara-afk
=== matsubara-afk is now known as matsubara
=== abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ∞
abentleyderyck: Please tell me this isn't doing what I think it's doing: http://pastebin.ubuntu.com/1215660/21:07
=== Guest79513 is now known as slank
deryckabentley, sorry, I had stepped away, looking now....21:48
abentleyderyck: It's more of an, "oh, god, blueprints are ugly" statement than a real question.21:50
deryckabentley, yeah, it's kind of off code.21:51
deryckodd, I meant21:51
abentleyderyck: Yeah.  Not generally a good idea to re-implement SELECT  :-)21:52
deryckha!  yeah.21:53
deryckin a python loop no less. :)21:53
jcsackettsinzui: standup?22:07
sinzuijcsackett, sorry, will be there in a few minutes22:07
=== matsubara is now known as matsubara-afk

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