/srv/irclogs.ubuntu.com/2012/10/08/#launchpad-dev.txt

wgrantI'm on the way00:00
wallyworld_i'll do the hg branch then00:02
StevenKExcellent. I don't want to kill it, I just want to see it dead.00:02
StevenKwgrant: Shall I commit a change to dbpatches -- 36-1 for me for DROP COLUMN private_bugs and 36-2 for you to kill BVP?00:03
StevenKHmm, you already have one, 26-[01]00:04
StevenKwgrant: In that case, can I co-opt 26-2 to DROP COLUMN private_bugs ?00:04
StevenKSigh, I should learn to read at some point.00:05
wgrantStevenK: You should probably use 26-5 or so00:09
StevenKYeah, I just picked 26-500:09
wgrantOh right, forgot about hg00:14
mwhudsonare private bps in a useful state yet?00:25
wgrantThey break everything00:25
wgrantBut they are private, I believe00:25
mwhudsonheh00:25
mwhudsondo they make listing views 403 and such?00:26
wgrantRight, that sort of thing00:26
mwhudsonare they being worked on by anyone?00:26
wgrantThe most egregious regressions were fixed a few days after they were switched on on production00:26
wgrantBut they're still working on the others00:26
wgrantThey should be fixed soon00:27
mwhudsonok cool00:27
mwhudsonare they feature flagged ?00:27
wgrantTo beta-testers, I think00:28
wgrantSome would say that the beta test is slightly premature00:28
mwhudsonah, i think i need to acquire a commercial subscription to do anything00:29
wgrantRight00:29
wgrantA project needs a commercial sub to enable proprietary features.00:30
wgrantAnd there's no security- or user-related private blueprints00:30
mwhudsondo you know if linaro projects can get a commercial sub by asking?00:30
wgrantI believe that's still the case.00:30
mwhudsoncool00:31
wgrantIf you add Other/Proprietary to your licenses you'll get a 30 day sub, and then you can ask us to extend it00:31
wgrantStevenK: I've put a few minor comments on the MP00:33
StevenKSo has Curtis00:33
wgrantOh00:34
wgrantSo he has00:34
StevenKwgrant: Damn it, I thought I had renamed that Mixin :-(00:34
* StevenK laughs at your 'orly'00:35
mwhudsonwgrant: i guess i'll wait until things have settled down a bit, but thanks00:36
wgrantmwhudson: Sounds reasonable.00:37
StevenKwgrant: So I guess we could make use of getDefaultBugInformationType if the target is an IProduct and override to PRIVATESECURITY if security_related00:41
wgrantStevenK: Except that BugSharingPolicy.PROPRIETARY doesn't permit PRIVATESECURITY00:42
wgrantStevenK: This should perhaps use similar rules to the API's BugSet.createBug'00:42
wgrant(which will likely reveal bugs in that method)00:42
StevenKwgrant: So we already set information_type using convert_to_information_type() just before createBug00:43
StevenKAnd in fact, it's always created on a product00:44
StevenKwgrant: Perhaps we should do what you suggest -- assert self.product.bug_sharing_policy == BugSharingPolicy.PUBLIC00:46
wgrantThat's certainly safest for now, and probably not immensely limiting00:47
wgrantHuh00:48
wgrantProject:+branches shows BVPs publicly00:48
wgrantDidn't realise that00:48
wgrant(Project, not Product)00:48
StevenKwgrant: So the only thing I haven't done is re-add the block that starts with 465 - # Security bugs must be created private, so set it correctly.00:58
StevenKwgrant: Why should we run it all the time? We create the bug with information_type specified.00:59
wgrantDo we?00:59
wgrantThen why is that block there :/00:59
StevenKMaybe all that's missing is if security_related: private = True and we're done01:01
StevenKBut people can import bugs as PUBLICSECURITY, it doesn't matter much01:01
StevenKwgrant: Have another prod at that MP?01:08
wgrantStevenK: Looking01:23
wgrantStevenK: Mysterious01:24
StevenKwgrant: What is?01:24
wgrantI ran format-imports over the tree just two weeks ago01:24
wgrantPerhaps there were comments in the way01:24
wgrantAh01:24
wgrantObsolete cElementTree crap01:24
wgrantCan you remove that01:24
wgrant?01:24
StevenKbugimport resists format-imports due to that bloody try01:24
StevenKwgrant: Sure, I just didn't know which one is the obsolete one01:25
wgrantTHe one that doesn't work any more :)01:25
wgrantcElementTree is long-deprecated IIRC01:25
wgrant>>> import xml.etree.cElementTree01:26
wgrant>>> import cElementTree01:26
wgrantTraceback (most recent call last):01:26
StevenKYeah, already done01:26
StevenKwgrant: The MP has updated.01:33
wgrantStevenK: You still seem to have that XXX'd block in createBug01:43
wgrant395 - if (IProduct.providedBy(params.target) and params.target.private_bugs01:43
wgrant396 + if (IProduct.providedBy(params.target)01:43
wgrantOh, that's gone01:43
wgrantHm01:43
wgrantAhh, in an earlier rev while I was writing my first review01:44
wgrantSneaky01:44
StevenKYeah, because Curtis pointed it out01:44
wgrantr=me01:44
* StevenK tosses it at ec2 test to see how much hate mail he gets01:45
StevenKdeath-to-private_bugs => devel            [FAILED]   (up for 0:31:04) i-35592f4802:16
StevenKHahah, that didn't take long02:16
StevenKfrom lp.bugs.scripts.bugimport import ET02:18
* StevenK facepalms02:18
wgrantThat's impressive02:18
wgrantOr is that a test?02:18
StevenKIt's in a test02:19
wallyworld_bollocks. my ec2 credentials have become invalid :-(03:10
StevenKOh?03:10
wallyworld_ec2 land spits back a 40103:10
StevenKPaste?03:10
wallyworld_let me retry03:11
wallyworld_boto.exception.EC2ResponseError: EC2ResponseError: 401 Unauthorized03:11
wallyworld_<?xml version="1.0" encoding="UTF-8"?>03:11
wallyworld_<Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error></Errors><RequestID>3b25f70c-bc80-4470-b867-e24ad24f42da</RequestID></Response>03:11
StevenKWow03:11
StevenKwallyworld_: Can you log into AWS at aws.amazon.com ?03:12
wallyworld_trying now03:12
wallyworld_yep, everything ok03:14
wallyworld_maybe i'll have to reset my credentials03:14
wallyworld_i recently updated lp-dev-utils and it started happening after that, probably a coincidence03:15
StevenKwallyworld_: So while logged in, compare ~/.ec2/aws_* with what's on AWS.03:15
wallyworld_StevenK: you mean the Key/Pair link on aws?03:17
StevenKwallyworld_: I have .ec2/aws_id and .ec2/aws_user03:18
wallyworld_yes, me too03:18
wallyworld_the only security setting i can see on the aws site is the Key Pair link03:19
StevenKwallyworld_: And no, these are your details03:19
StevenKWhile logged into your AWS account, find the "Access Credentials" link (via "Account" -> "Security Credentials".03:19
StevenKOn the page, you'll see "Access Key Id:" and "Secret Access Key:". Make a ~/.ec2 directory in your dev box with a file called aws_id. In the first line, put your access key id. In the second line, put your secret access key id.03:19
wallyworld_StevenK: they both match03:21
StevenKwallyworld_: Then try it again?03:21
wallyworld_without having to edit anything03:21
wallyworld_i've tried several times03:21
wallyworld_same error03:21
wallyworld_maybe i just need to create new credentials03:22
wallyworld_i've paid my bills i'm sure03:22
StevenKDoes your account have access to EC2?03:22
StevenKI successfully started an ec2 test run using lp-dev-utils r128 this morning03:23
wallyworld_it let me launch an instance from the web interface03:25
wallyworld_which shows up in ElasticFox03:25
StevenKwallyworld_: bzr revno of lp-dev-utils?03:25
wallyworld_11303:26
StevenKwallyworld_: Maybe you should update that?03:27
wallyworld_just did, i'm on the latest rev03:27
wallyworld_i updated earlier too just to be sure03:27
StevenKThen how am I on r128?03:27
wallyworld_hmmm.03:28
wallyworld_"Tree is up to date at revision 113 of branch bzr+ssh://bazaar.launchpad.net/+branch/lp-dev-utils  "03:28
wallyworld_i'll try grabing it again03:28
StevenKI just went backwards too03:28
StevenKec2 ls still works for me03:29
wallyworld_sigh, it hates me03:29
StevenKHmmmm, before I updated I had a bunch of revs from lifeless03:30
StevenKWhich I suspect were his PPR changes03:30
wallyworld_i just checked out again and got rev 113 as tip03:30
StevenKYeah, Robert's stuff was merged in as r111 by Curtis03:31
wallyworld_StevenK: the traceback shows system packages implicated03:31
wallyworld_perhaps i've hit a quantal bug03:31
wallyworld_  File "/home/ian/projects/lp-dev-utils/ec2test/credentials.py", line 87, in connect03:32
wallyworld_    aws_secret_access_key=self.secret)03:32
wallyworld_  File "/usr/lib/python2.7/dist-packages/boto/ec2/__init__.py", line 55, in connect_to_region03:32
wallyworld_    for region in regions(**kw_params):03:32
wallyworld_  File "/usr/lib/python2.7/dist-packages/boto/ec2/__init__.py", line 39, in regions03:32
wallyworld_    return c.get_all_regions()03:32
wallyworld_  File "/usr/lib/python2.7/dist-packages/boto/ec2/connection.py", line 2421, in get_all_regions03:32
wallyworld_    [('item', RegionInfo)], verb='POST')03:32
wallyworld_  File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 896, in get_list03:32
wallyworld_    raise self.ResponseError(response.status, response.reason, body)03:32
wallyworld_boto.exception.EC2ResponseError: EC2ResponseError: 401 Unauthorized03:32
wallyworld_<?xml version="1.0" encoding="UTF-8"?>03:32
wallyworld_<Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error></Errors><RequestID>f8efcb7a-afb9-45b3-98b0-75d18ee945f7</RequestID></Response>03:32
* StevenK stabs wallyworld_ 03:32
wallyworld_ouch03:32
StevenKWe have this thing, it's a called a pastebin. Maybe you've heard of it?03:33
wallyworld_it was only a few lines03:33
wallyworld_sorry03:33
StevenK13 lines is a few?03:33
wallyworld_less than 14 :-)03:33
wallyworld_fsvo i guess03:33
* StevenK stabs wallyworld_ again03:33
wallyworld_ouch03:34
StevenKwallyworld_: You may be right, though. My desktop is still precise03:34
wallyworld_yeah, let me see if i can rollback those packages03:34
wallyworld_StevenK: sadly, only the quantal version of python-boto is listed as being valid03:38
StevenKwallyworld_: https://launchpad.net/ubuntu/+source/python-boto03:39
StevenKDownload the 2.2.0 version for precise03:39
wallyworld_thanks, will try that03:40
StevenKwgrant: I can't even force a team that owns a product to private using rSP? :-(03:41
wallyworld_StevenK: bollocks. still no go. i must have neglected to sacrifice something to the gods03:43
StevenKWith the same traceback?03:44
wallyworld_yeah, more or less03:45
wallyworld_to the naked eye03:45
StevenKYour eye should put some clothes on03:46
wallyworld_perhaps03:46
wallyworld_but i feel so comfortable without03:46
* StevenK installs orca and scratches his own eyes out03:47
StevenKwallyworld_: So I think you should work out where ec2 is loading your credidentals from03:47
wallyworld_yeah, i'll do some digging. thanks for the input03:48
wallyworld_let me know how orca goes for you :-)03:48
StevenKHaha03:48
wallyworld_there are some launchpad issues with it could could help fix03:48
StevenKwallyworld_: At my last job, my manager was vision impaired. I could never work out how he could hear his screen reader nattering in his ear at 90wpm while having a conversation on the phone03:49
wallyworld_yeah. i guess it takes practice03:50
wallyworld_i can't understand how anyone can use a computer with just a screen reader to reply on03:50
wallyworld_rely03:50
StevenKwallyworld_: You should talk to TheMuso some time.03:50
wallyworld_would be an insight for sure03:51
StevenKwallyworld_: He's the one who filed the accordian widget doesn't love screen readers bug03:51
wallyworld_there are others too for bug subscriptions i think?03:52
StevenKI think that's the only one directly related to screen readers03:52
StevenKICBW03:52
StevenKwallyworld_: Have you heard of Keith Packard?03:53
wallyworld_no03:54
StevenKwallyworld_: Works on X, and has been since the early 80s03:54
wallyworld_vision impaired?03:54
StevenKNo, just glasses. But I'm getting to that03:54
* wallyworld_ needs to learn patience03:54
StevenKwallyworld_: He was giving a talk a few years on compositing to group of vision impaired people -- he found it a little confronting talking about GL transforms to a group of people who all had laptops, and half of them had no screens at all, since their user had no need for it at all.03:55
wallyworld_i can imagine. we do take a lot for granted having decent eye sight03:56
StevenKwgrant: So I can create a private team, but then that team can't own a product. Or I can create a public team and have it own a product, but then I can't force that team to be private.03:57
wgrantStevenK: What are you trying to do and why?03:58
wgrantAlso, why can't you?03:58
StevenKwgrant: https://bugs.launchpad.net/launchpad/+bug/1031751/comments/303:58
wgrantWe have private teams that own projects03:58
_mup_Bug #1031751: KeyError: 'primary_vars'  raised setting branch for a project <oops> <qa-ok> <Launchpad itself:In Progress by stevenk> < https://launchpad.net/bugs/1031751 >03:58
StevenKIn [13]: removeSecurityProxy(team).visibility = PersonVisibility.PRIVATE03:59
StevenKImmutableVisibilityError: This team cannot be converted to Private since it is referenced by a product and an accesspolicygrant.03:59
wgrantI'm not sure that the project owner actually matters03:59
wgrantIsn't it the team that you select on the form?04:00
StevenKOH. I just need to be a member of it?04:00
wgrantAny participant will do04:00
* wgrant is still forcing a terrible weightloss regime on 2000 lines of test_branchnamespace04:03
StevenKwgrant the Drill Master?04:05
wallyworld_StevenK: found it. something has set some EC2 environment variables, which overrode my credentials04:13
StevenKHaha04:13
wallyworld_i have no idea whta/when/why04:13
StevenKBLEH04:15
StevenKComponentLookupError: ((<lazr.restful.fields.ReferenceChoice object at 0xc48f690>, <lp.services.webapp.servers.LaunchpadTestRequest instance URL=http://127.0.0.1>), <InterfaceClass zope.app.form.interfaces.IInputWidget>, u'')04:16
StevenK:-(04:16
wgrantStevenK: Are you in the right layer?04:16
StevenKwgrant: I'm in 'make iharness', so what's a layer04:17
wgrantAh04:17
wgrantThat should be fine04:17
StevenKExcept it isn't04:17
wgrantNow now04:17
wgrantYou know how I feel about "facts"04:17
StevenKwgrant: Ah. You say it should be fine, so it is?04:18
StevenKwgrant: http://pastebin.ubuntu.com/1266897/04:18
wgrantStevenK: What have you changed?04:19
StevenKwgrant: It's current devel with me creating two teams, a product, a series and then calling the view04:20
wgrantDo you get the same exception in a test?04:20
StevenKLast time I wrote this as a test, you told me it was pointless :-)04:21
StevenKSo I was trying to avoid that04:21
wgrantAh04:21
wgrantYou could try the Web UI.04:21
wallyworld_ah. broken build. will do test fix04:23
StevenKPrivatePersonLinkageError: Cannot link person (name=team-name-100005, visibility=PRIVATE) to <CodeImport for ~team-name-100005/product-name-100006/blazer-branch> (name=None)<br />04:26
StevenKSo the owner really can't be private04:27
wgrantThe owner of the codeimport isn't currently permitted to be, no04:27
wgrantThe owner of a branch is fine04:27
StevenKThe owner field is only enabled on ProductSeries:+setbranch if you say it's an import04:28
StevenKSo I guess it's validation time04:28
wgrantOwner should be on +setbranch if it's an import04:28
wgrantIsn't it?04:28
wgrantYes, and that's exactly what you just said04:29
wgrantI can't read04:29
StevenKHaha04:29
StevenKSo, time for a test04:29
* StevenK stabs doctests04:53
StevenKwallyworld_, wgrant: https://code.launchpad.net/~stevenk/launchpad/no-private-registrant-setbranch-redux/+merge/12841505:07
StevenKwgrant: How goes test_branchnamespace's radical diet?05:18
wgrantNearly there05:32
StevenKCurtis is a tease. He commented on my MP, but didn't review it.05:33
wallyworld_StevenK: sorry, was doing school pickup and buying coffee, i'll do your mp now06:11
wallyworld_r=me06:15
StevenKwallyworld_: Thanks06:16
wallyworld_np. i fell better now i've had coffee06:17
wallyworld_feel even06:17
StevenKwallyworld_: You were going through withdrawl symptoms?06:18
StevenKDid you phone up bigjools and beg him for a hit?06:19
wallyworld_yes, and i had totally run out so it would have been unbearable tomorrow morning06:19
wallyworld_no, not that desperate06:19
wallyworld_yet06:19
bigjoolswallyworld_: that's condition double red06:19
wallyworld_StevenK: bigjools and i are out of coffee sync sadly06:19
wallyworld_he ran out last week while i still had some06:20
StevenKwallyworld_: There's this thing, perhaps you've heard of it -- 'forward planning' ?06:20
bigjoolswe need to sync our cycles06:20
wallyworld_maybe we need to sniff each other's armpits06:20
bigjoolsO_o06:20
wallyworld_bigjools: i got that expensive stuff. hope it's good06:21
bigjoolswallyworld_: it's bloody great.  Did you not try any when there?06:21
wallyworld_didn't have time. got a take away which was ok but not spectacular06:21
wgrantwallyworld_: Hmm06:45
wallyworld_?06:45
wgrantAh, bug #105263906:46
_mup_Bug #1052639: Cannot change the information type of a branch when I unshare with the owner <disclosure> <fallout> <information-type> <qa-ok> <sharing> <Launchpad itself:Fix Released by wallyworld> < https://launchpad.net/bugs/1052639 >06:47
wgrantWas looking for the rationale for the extra check in ProductNamespace.getAllowedInformationTypes06:47
wgrantSince it means that if the user has proprietary privileges, they can change the owner to any of their teams06:47
wgrantWhich possibly means that we want to dump the team restriction entirely06:47
wgrantThoughs?06:47
wgranteg. I was able to make https://code.qastaging.launchpad.net/~auditor-team/lp-production-crontabs/grackle206:48
wgrantauditor-team has no privileges in lp-production-crontabs06:48
wallyworld_not sure. i'll have to reread the code to get some context again06:48
wgrantUntil that fix, you could only change the branch owner to a team with privileges.06:48
wgrantWhich is a restriction we kept from the old BVP days, but we possibly just want to throw out now06:49
wallyworld_so you can change the owner to anyone?06:50
wallyworld_i guess if it's easy enough to correct mistakes and the principals fit with the goals for disclosure06:51
wallyworld_then why not06:51
wallyworld_maybe discuss tomorrow06:51
StevenKwallyworld_: You didn't mark r16110 as a rollback of 1610907:11
wallyworld_ah bollocks. sorry07:11
StevenK56 revisions waiting. WCPGW07:12
wallyworld_oh ye of little faith07:12
StevenKwgrant, wallyworld_: I've marked the bug attached to r16109 as qa-ok just based on the fact it was rolled back in the next rev.07:12
wgrantI imagine UK webops will be tied up for a while07:12
wgrantStevenK: Yep07:12
wallyworld_thanks, sorry07:13
* StevenK peers at qastaging-update.log07:13
wgrant 33 files changed, 105 insertions(+), 2741 deletions(-)07:16
wgrantI think that's about it07:16
StevenKHoly crap07:17
nigelbStevenK: Does he beat your maximum deletions in one MP record? :)07:19
StevenKNot sure07:19
nigelbWe need an app for that.07:20
nigelbOn that note.07:20
nigelbI just realized, I have an incomplete MP.07:20
nigelbSigh. I wish I had time to finish it up.07:20
StevenKsteven@undermined:~/launchpad/lp-branches/devel% bzr di -c 12253 | diffstat -s07:21
StevenK 19 files changed, 1789 insertions(+), 2767 deletions(-)07:21
StevenKSo, no.07:21
nigelbHah.07:23
StevenKnigelb: [r=jelmer, henninge, gmb, allenap, edwin-grubbs, deryck][ui=none][bug=384220][no-qa] Take a bunch of Soyuz doctests, burn them in a large fire, and replace them with unit tests.07:24
nigelbhahahahaha07:25
* StevenK waits for the qa-tagger07:28
StevenKFinished my qa before it ran07:29
=== jelmer is now known as Guest86701
=== mpt_ is now known as mpt
rick_h_morning11:37
czajkowskirick_h_: ello11:39
czajkowskirick_h_: you not off today ?11:56
rick_h_czajkowski: I've got to try to finish this branch for private projects alpha, had tests/buildbot fail over hte weekend :(11:57
rick_h_but plan on running away once I get it working11:58
=== benji changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: benji | Firefighting: - | Critical bugs: ~300
czajkowskirick_h_: any idea when https://bugs.launchpad.net/launchpad/+bug/1062207  will get looked at ?12:00
_mup_Bug #1062207: Unable to raise blueprint <lp-blueprints> <private-projects> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1062207 >12:00
wgrantrick_h_: Ah, since you're here... I reverted the product launchpad.View stuff, as it broke production12:00
wgrantJust in case it's relevant to what you're doing here on your day not-so-off12:00
rick_h_czajkowski: tomorrow. abel knew what was up there.12:00
rick_h_wgrant: lanuchpad.View stuff? /me tries to jumpstart the brain12:01
wgrantrick_h_: You guys restricted most of IProduct's attributes behind the launchpad.View permission last week12:01
czajkowskigrand12:01
rick_h_wgrant: ah ok12:01
wgrantIf you current branch relies on private projects being private, it won't work :)12:02
wgrantBut otherwise you should be unaffected12:02
rick_h_hah, well we were supposed to be getting to alpha with it so I wonder if this blows that up12:02
rick_h_I'm hitting a different conflict I think12:02
rick_h_somewhere _information_tpe got turned into a db column information_type and I lost my getting/setter @property12:03
rick_h_but that's in the product model12:03
wgrantThere's still another month at least of work before you can think about having a single private project12:03
wgrantOn prod12:03
wgrantI'm not sure what alpha entails, though12:03
rick_h_right, but deryck is supposed to be here today for a bit to flip the bits on enabling the alpha which lets users register a non-public project and we can check things out.12:04
wgrantrick_h_: I probably reverted that infotmation_type bit12:04
wgrantrick_h_: Um, no12:04
wgrantNobody is going to be registering any non-public projects for some weeks :)12:04
wgrantEven if I hadn't reverted the code today12:04
wgrantNo code knows how to handle them12:05
wgrantAnd it will make pages all across Launchpad 40312:05
rick_h_heh12:05
wgrant10 bugs that Curtis filed over the weekend will immediately become critical regressions12:05
wgrantAnd I'll be able to file another 20 or so12:05
rick_h_well, what I get for going on vacation and coming back just in time to pick up the alpha going boom :)12:05
rick_h_ok, well I'll still try to figure out how to fix this change up on my branches so they can land up and go from there. thanks for the heads up12:06
wgrantRight, sounds like a good plan12:06
rick_h_I'll make sure to catch deryck when he comes online and get it sorted out12:06
wgrantTurning on private projects on production today... not such a good plan!12:06
rick_h_oh boooo :P12:06
wgrantThink of the blueprint 403 regressions, except on basically every page on Launchpae12:07
wgrantd12:07
wgrantThat's what private projects on production today will do12:07
rick_h_ok, I knew we had an issue with the project listing page and abentley was working on updating the query, but I'm not up on the rest there12:08
wgrantEntering an un-QAed restricted alpha is OK for normal things, but not for denying access to artifacts that leak to just about every single page of the application12:08
wgrantIt just takes one person to be even slightly adventurous and dozens of people can no longer do their work12:08
wgrantBecause pages they need are 403ing12:09
rick_h_gotcha12:09
rick_h_speaking of hte alpha bossman12:11
deryckyeah, what's this bad news?12:11
rick_h_deryck: so wgrant was telling me he had to do some reverting for us with launchpad.View because it broke production12:12
rick_h_and my branches didn't land over the weekend due to a test fail and buildbot breakage.12:12
wgrantRight, various pages were 403ing after deploying r16090 (IProduct launchpad.View stuff), mostly due to deactivated projects showing up and no longer being accessible12:13
rick_h_but wgrant says that enabling the alpha right now would break a ton of stuff. He says curtis filed a bunch of bugs over the weekend12:13
rick_h_I'm still catching up on weekend stuff atm, but wanted to make sure you were caught up deryck12:13
wgrantI reverted it so we could deploy the other 50 waiting revisions to production12:13
StevenKMore than 5012:13
wgrantWhat are the alpha plans?12:13
deryckwgrant, thanks, that makes sense defintely.12:13
deryckI need to look at sinzui's bugs to see what his concerns are.12:14
wgrantderyck: What's the next alpha step?12:14
deryckwgrant, I'm sorry, I don't follow what you're asking.  What do we need to do to get to alpha?  Or what will the alpha provide?12:15
wgrantWell, what's the general timeline for turning this stuff on?12:16
deryckwgrant, I had hope to get a deploy around late morning, early afternoon.  I have a few test fixes to go for my last branch.12:17
rick_h_wgrant: doh yea so the revert changed back the model that my branch was based off of12:17
wgrantderyck: So people creating private projects this week?12:17
deryckwgrant, but if the security adapter stuff is reverted, there's no point.12:17
deryckwgrant, yes, but only a small group.  I will create an alpha team, and only add those who request it.12:18
wgrantrick_h_: That bit can possibly be cheaply relanded. I just reverted the whole revision rather than weeding out the problematic bits (of which there are a lot)12:18
wgrantderyck: I'm not sure that's such a good idea.12:18
wgrantderyck: LP doesn't know how to filter private projects yet12:18
rick_h_wgrant: yea, it's abel's beast hitting a lot of stuff so I think at this point I'll wait until tomorrow and work with abel to catch up.12:18
wgrantSo if one of those projects shows up anywhere, that page will 40312:18
wgrantSimilar to the blueprint issues, except 100x worse12:18
wgrantAnd on just about every page of the application12:19
deryckwe know this.  we've discussed it at length, with both flacoste and sinzui.12:19
wgrantThey need to be fixed before we can think about having even a single private project on production.12:19
wgrantUbuntu's a couple of days away from final freeze12:19
deryckyeah, that's a fair point, though.12:19
wgrantWe cannot be breaking things now12:20
wgrantIt's fine if the alpha projects break the alpha projects12:20
wgrantBut at this stage they will break just about *everything*.12:20
wgrantSo even a closed alpha on production is extraordinarily risky12:21
deryckThis is basically what happened with Abel's change that you reverted, except only for deactivated and not private projects?12:22
wgrantRight12:22
wgrantWe already filter out deactivated projects in most places, but it *still* broke12:22
wgrantWe don't even try to filter out private projects anywhere yet12:22
wgrantSo it will be far worse12:22
deryckright12:22
deryckwell, the alpha was more a symbolic release/early feedback kind of thing.  to keep us on track.12:23
deryckwe could just skip it and march on to beta.12:23
czajkowskiwgrant: was this why madel couldnt see his LP page earlier on but could see his code page ?12:23
wgrantSure, it's really good to have a nice visible milestone like that.12:23
wgrantAnd it's fine to be releasing unstable stuff onto production if the scope of the breakage is limited12:24
wgrantBut this is unlimited. Projects affect just about everything.12:24
czajkowski*mandel12:24
wgrantczajkowski: Right12:24
wgrantPerson:+index is an example of a page that was broken in many cases by this12:24
czajkowskiah ok, but this won't affect people now as it's been reverted right.12:24
wgrantczajkowski: Right12:24
czajkowskicheers12:24
wgrantSo yeah, the private project changes are looking good so far. But it's a really risky thing to be deploying, and we need to not take unnecessary risks particularly this close to an Ubuntu release12:26
deryckwgrant, I agree with you.  I don't want to make the call entirely to kill the alpha without chatting with flacoste.  But I don't see the point, given all that.12:26
deryckrick_h_, see my thoughts here ^^12:26
rick_h_deryck: rgr, so my branch friday failed to land and I was going to get it fixed up this morning, but with the revert it seems there's a lot more work to do to get it to land12:27
deryckrick_h_, yes, there is.  Take the holiday and don't worry about it.12:28
rick_h_deryck: so let me know what you think and I can work on it, but right now thinking of turning tail and regrouping with everyone tomorrow12:28
rick_h_deryck: ok12:28
deryckrick_h_, yeah, the others are not available today.  Might as well regroup tomorrow.12:29
deryckrick_h_, are you still around?12:35
wgrantderyck: Great12:39
deryckwgrant, thanks for reverting that work.  sorry you guys were left to deal with it.12:39
wgrantA lot of this stuff can be relatively easily discovered with a bit of nosing around qastaging, so I'm not sure we lose much non-psychological value from dropping/delaying the alpha12:40
wgrantnp, was easy to fix12:40
deryckyeah, agreed on the points one line back.12:40
=== Ursinha-afk is now known as Ursinha
wgrantAlthough from working on disclosure I know how awful it can be for everyone to see no visible progress for weeks/months, so I understand the inclination to release early :)12:41
deryckYeah. :)12:46
deryckAnd we need to release regularly to hit the timeline, since it's aggressive.  But in this case, I don't think there's harm.12:46
rick_h_deryck: I am what's up?12:49
deryckrick_h_, why did you say the model was missing parts you needed?  The revert changed the way we get information_type but that should be there still.  What is missing?12:50
rick_h_deryck: so abel added the getter/setters on the information type12:51
rick_h_and I was using the setter12:51
wgrantThat should be fine12:51
wgrantThe setter just passed it through12:51
rick_h_I tried a quick change back to _information_type with the @property getter/setter but tests blew up all over12:51
wgrantPerhaps the security configuration is broken12:51
wgrantWhat's the error when you try to set it?12:51
rick_h_I was just starting to look into what was up when wgrant ping'd and all this started up12:52
deryckyou would just set information_type directly now.12:52
deryckbut as I say, you don't have to fix it now.  we can regroup tomorrow.12:52
rick_h_sorry, closed up my lxc with the info. sec.12:52
deryckwas just wondering what you were seeing.12:52
rick_h_yea, just some error from the db about _information_type not existing12:52
rick_h_so I assume there's something else to make the storm/query side happy witht he rename12:52
wgrantOh, if you're using it in a query then it'll matter, yeah12:53
rick_h_since I had changed the ENUM column to a leading understore for the getter/setter/property to wrap12:53
wgrantFor now you can just s/_information_type/information_type/12:53
wgrantOr that, yeah12:53
rick_h_wgrant: right, so shouldn't be anything huge I guess but I need to poke at what else is in that revision and such with the renames and all that12:54
wgrantThere were three minor conflicts, mostly in tests IIRC12:54
wgrantBut most stuff was pretty isolated.12:54
rick_h_cool12:55
deryckwgrant, so did the lp.view changes actually get released to lpnet?  or you just reverted them from the stack of pending revisions to deploy?  I didn't think we deployed at all last week.13:05
wgrantderyck: It was deployed to lpnet a few hours ago13:06
wgrantThe appservers are presently reverted to the previous ndt (from Monday last week)13:06
wgrantI immediately reverted the revision from devel, and there's an ndt scheduled for that13:07
deryckwgrant, ah, I follow now, thanks.13:07
=== fjlacoste is now known as flacoste
wgrantMostly so we can get the rest of the stuff out and check that none of us have broken anything else, before we add more revisions to the pile13:07
deryckflacoste was lurking and knows all. :)13:07
=== wgrant changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ~280
=== Ursinha-afk is now known as Ursinha
=== deryck is now known as deryck[lunch]
=== Ursinha_ is now known as Ursinha
=== deryck[lunch] is now known as deryck
lifelessflacoste: hi, I'm around whenever you want to have our call19:06
flacostelifeless: i'm available now19:25
lifelesscool19:25
=== benji is now known as Guest8876
StevenKwallyworld_: I guess the bugs.dynamic_bug_listings.enabled feature flag can be removed from prod?21:44
StevenKrick_h_: At some point, you and I should remove js.combo_loader.enabled from the code21:45
wallyworld_StevenK: yes21:50
StevenKlifeless: O hai21:50
wallyworld_now that my branch has deployed21:50
StevenKlifeless: I'd like to remove bugs.dynamic_bug_listings.enabled and code.simplified_branches_menu.enabled from prod. The code no longer requires that they be set. Can haz approval?21:50
rick_h_StevenK: definitely, and jsbuild, and such21:51
StevenKDeath to jsbuild would make me very happy21:52
lifelesssure21:52
StevenKlifeless: Thanks21:53
rick_h_StevenK: it's more jsbuild/combobuild I think but some clean up required21:53
StevenKrick_h_: Given the errors with yui-3.5.1 on build, certainly21:54
StevenKwallyworld_: You've undone your python-boto fun from yesterday?21:58
wallyworld_yep21:58
wallyworld_'fun'21:59
StevenKFSVO, indeed21:59
StevenKwallyworld_: Are we (being wgrant and myself) now one hour ahead of you?21:59
wallyworld_yes :-(21:59
rick_h_StevenK: errors?22:06
StevenKrick_h_: If you make and then make again, you see a bunch22:10
wgrantIntriguing23:48
wgrantMy ec2 instance from 2am is still going23:48
wgrant9 hours later23:48
wgrantNot hung, just very very slow23:48
wgrantStevenK: So you removed all makeLegacyProduct calls in lib/lp/bugs?23:51
StevenKwgrant: r16114 in my death-to-private_bugs branch23:52
wgrantGreat.23:52
wgrantAnd you've rerun those tests to be sure they work?23:52
StevenKTotal: 39 tests, 0 failures, 0 errors in 50.183 seconds.23:54
wgrantStevenK, wallyworld_: Do either of you feel like reviewing a 3800-line BVP elimination diff, or shall I self-review it?23:54
wgrantStevenK: Great23:54
wallyworld_i reckon self review. let the tests decide23:55
wgrantWell, I also deleted a lot of tests. But I think I was pretty sensible, so I agree23:55
StevenKwgrant: I'd like to glance at it, but I don't want to review it23:55
wgrantYou can't really "glance" at a 286KB diff23:56
StevenKskim, then23:56
StevenKdemolish-bvp has no MP :-(23:57
wgrantI was going to save Launchpad the effort if nobody dared review it23:58
* wgrant proposes23:58

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