wgrant | I'm on the way | 00:00 |
---|---|---|
wallyworld_ | i'll do the hg branch then | 00:02 |
StevenK | Excellent. I don't want to kill it, I just want to see it dead. | 00:02 |
StevenK | wgrant: 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 |
StevenK | Hmm, you already have one, 26-[01] | 00:04 |
StevenK | wgrant: In that case, can I co-opt 26-2 to DROP COLUMN private_bugs ? | 00:04 |
StevenK | Sigh, I should learn to read at some point. | 00:05 |
wgrant | StevenK: You should probably use 26-5 or so | 00:09 |
StevenK | Yeah, I just picked 26-5 | 00:09 |
wgrant | Oh right, forgot about hg | 00:14 |
mwhudson | are private bps in a useful state yet? | 00:25 |
wgrant | They break everything | 00:25 |
wgrant | But they are private, I believe | 00:25 |
mwhudson | heh | 00:25 |
mwhudson | do they make listing views 403 and such? | 00:26 |
wgrant | Right, that sort of thing | 00:26 |
mwhudson | are they being worked on by anyone? | 00:26 |
wgrant | The most egregious regressions were fixed a few days after they were switched on on production | 00:26 |
wgrant | But they're still working on the others | 00:26 |
wgrant | They should be fixed soon | 00:27 |
mwhudson | ok cool | 00:27 |
mwhudson | are they feature flagged ? | 00:27 |
wgrant | To beta-testers, I think | 00:28 |
wgrant | Some would say that the beta test is slightly premature | 00:28 |
mwhudson | ah, i think i need to acquire a commercial subscription to do anything | 00:29 |
wgrant | Right | 00:29 |
wgrant | A project needs a commercial sub to enable proprietary features. | 00:30 |
wgrant | And there's no security- or user-related private blueprints | 00:30 |
mwhudson | do you know if linaro projects can get a commercial sub by asking? | 00:30 |
wgrant | I believe that's still the case. | 00:30 |
mwhudson | cool | 00:31 |
wgrant | If you add Other/Proprietary to your licenses you'll get a 30 day sub, and then you can ask us to extend it | 00:31 |
wgrant | StevenK: I've put a few minor comments on the MP | 00:33 |
StevenK | So has Curtis | 00:33 |
wgrant | Oh | 00:34 |
wgrant | So he has | 00:34 |
StevenK | wgrant: Damn it, I thought I had renamed that Mixin :-( | 00:34 |
* StevenK laughs at your 'orly' | 00:35 | |
mwhudson | wgrant: i guess i'll wait until things have settled down a bit, but thanks | 00:36 |
wgrant | mwhudson: Sounds reasonable. | 00:37 |
StevenK | wgrant: So I guess we could make use of getDefaultBugInformationType if the target is an IProduct and override to PRIVATESECURITY if security_related | 00:41 |
wgrant | StevenK: Except that BugSharingPolicy.PROPRIETARY doesn't permit PRIVATESECURITY | 00:42 |
wgrant | StevenK: 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 |
StevenK | wgrant: So we already set information_type using convert_to_information_type() just before createBug | 00:43 |
StevenK | And in fact, it's always created on a product | 00:44 |
StevenK | wgrant: Perhaps we should do what you suggest -- assert self.product.bug_sharing_policy == BugSharingPolicy.PUBLIC | 00:46 |
wgrant | That's certainly safest for now, and probably not immensely limiting | 00:47 |
wgrant | Huh | 00:48 |
wgrant | Project:+branches shows BVPs publicly | 00:48 |
wgrant | Didn't realise that | 00:48 |
wgrant | (Project, not Product) | 00:48 |
StevenK | wgrant: 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 |
StevenK | wgrant: Why should we run it all the time? We create the bug with information_type specified. | 00:59 |
wgrant | Do we? | 00:59 |
wgrant | Then why is that block there :/ | 00:59 |
StevenK | Maybe all that's missing is if security_related: private = True and we're done | 01:01 |
StevenK | But people can import bugs as PUBLICSECURITY, it doesn't matter much | 01:01 |
StevenK | wgrant: Have another prod at that MP? | 01:08 |
wgrant | StevenK: Looking | 01:23 |
wgrant | StevenK: Mysterious | 01:24 |
StevenK | wgrant: What is? | 01:24 |
wgrant | I ran format-imports over the tree just two weeks ago | 01:24 |
wgrant | Perhaps there were comments in the way | 01:24 |
wgrant | Ah | 01:24 |
wgrant | Obsolete cElementTree crap | 01:24 |
wgrant | Can you remove that | 01:24 |
wgrant | ? | 01:24 |
StevenK | bugimport resists format-imports due to that bloody try | 01:24 |
StevenK | wgrant: Sure, I just didn't know which one is the obsolete one | 01:25 |
wgrant | THe one that doesn't work any more :) | 01:25 |
wgrant | cElementTree is long-deprecated IIRC | 01:25 |
wgrant | >>> import xml.etree.cElementTree | 01:26 |
wgrant | >>> import cElementTree | 01:26 |
wgrant | Traceback (most recent call last): | 01:26 |
StevenK | Yeah, already done | 01:26 |
StevenK | wgrant: The MP has updated. | 01:33 |
wgrant | StevenK: You still seem to have that XXX'd block in createBug | 01:43 |
wgrant | 395 - if (IProduct.providedBy(params.target) and params.target.private_bugs | 01:43 |
wgrant | 396 + if (IProduct.providedBy(params.target) | 01:43 |
wgrant | Oh, that's gone | 01:43 |
wgrant | Hm | 01:43 |
wgrant | Ahh, in an earlier rev while I was writing my first review | 01:44 |
wgrant | Sneaky | 01:44 |
StevenK | Yeah, because Curtis pointed it out | 01:44 |
wgrant | r=me | 01:44 |
* StevenK tosses it at ec2 test to see how much hate mail he gets | 01:45 | |
StevenK | death-to-private_bugs => devel [FAILED] (up for 0:31:04) i-35592f48 | 02:16 |
StevenK | Hahah, that didn't take long | 02:16 |
StevenK | from lp.bugs.scripts.bugimport import ET | 02:18 |
* StevenK facepalms | 02:18 | |
wgrant | That's impressive | 02:18 |
wgrant | Or is that a test? | 02:18 |
StevenK | It's in a test | 02:19 |
wallyworld_ | bollocks. my ec2 credentials have become invalid :-( | 03:10 |
StevenK | Oh? | 03:10 |
wallyworld_ | ec2 land spits back a 401 | 03:10 |
StevenK | Paste? | 03:10 |
wallyworld_ | let me retry | 03:11 |
wallyworld_ | boto.exception.EC2ResponseError: EC2ResponseError: 401 Unauthorized | 03: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 |
StevenK | Wow | 03:11 |
StevenK | wallyworld_: Can you log into AWS at aws.amazon.com ? | 03:12 |
wallyworld_ | trying now | 03:12 |
wallyworld_ | yep, everything ok | 03:14 |
wallyworld_ | maybe i'll have to reset my credentials | 03:14 |
wallyworld_ | i recently updated lp-dev-utils and it started happening after that, probably a coincidence | 03:15 |
StevenK | wallyworld_: 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 |
StevenK | wallyworld_: I have .ec2/aws_id and .ec2/aws_user | 03:18 |
wallyworld_ | yes, me too | 03:18 |
wallyworld_ | the only security setting i can see on the aws site is the Key Pair link | 03:19 |
StevenK | wallyworld_: And no, these are your details | 03:19 |
StevenK | While logged into your AWS account, find the "Access Credentials" link (via "Account" -> "Security Credentials". | 03:19 |
StevenK | On 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 match | 03:21 |
StevenK | wallyworld_: Then try it again? | 03:21 |
wallyworld_ | without having to edit anything | 03:21 |
wallyworld_ | i've tried several times | 03:21 |
wallyworld_ | same error | 03:21 |
wallyworld_ | maybe i just need to create new credentials | 03:22 |
wallyworld_ | i've paid my bills i'm sure | 03:22 |
StevenK | Does your account have access to EC2? | 03:22 |
StevenK | I successfully started an ec2 test run using lp-dev-utils r128 this morning | 03:23 |
wallyworld_ | it let me launch an instance from the web interface | 03:25 |
wallyworld_ | which shows up in ElasticFox | 03:25 |
StevenK | wallyworld_: bzr revno of lp-dev-utils? | 03:25 |
wallyworld_ | 113 | 03:26 |
StevenK | wallyworld_: Maybe you should update that? | 03:27 |
wallyworld_ | just did, i'm on the latest rev | 03:27 |
wallyworld_ | i updated earlier too just to be sure | 03:27 |
StevenK | Then 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 again | 03:28 |
StevenK | I just went backwards too | 03:28 |
StevenK | ec2 ls still works for me | 03:29 |
wallyworld_ | sigh, it hates me | 03:29 |
StevenK | Hmmmm, before I updated I had a bunch of revs from lifeless | 03:30 |
StevenK | Which I suspect were his PPR changes | 03:30 |
wallyworld_ | i just checked out again and got rev 113 as tip | 03:30 |
StevenK | Yeah, Robert's stuff was merged in as r111 by Curtis | 03:31 |
wallyworld_ | StevenK: the traceback shows system packages implicated | 03:31 |
wallyworld_ | perhaps i've hit a quantal bug | 03:31 |
wallyworld_ | File "/home/ian/projects/lp-dev-utils/ec2test/credentials.py", line 87, in connect | 03: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_region | 03: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 regions | 03: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_regions | 03:32 |
wallyworld_ | [('item', RegionInfo)], verb='POST') | 03:32 |
wallyworld_ | File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 896, in get_list | 03:32 |
wallyworld_ | raise self.ResponseError(response.status, response.reason, body) | 03:32 |
wallyworld_ | boto.exception.EC2ResponseError: EC2ResponseError: 401 Unauthorized | 03: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_ | ouch | 03:32 |
StevenK | We have this thing, it's a called a pastebin. Maybe you've heard of it? | 03:33 |
wallyworld_ | it was only a few lines | 03:33 |
wallyworld_ | sorry | 03:33 |
StevenK | 13 lines is a few? | 03:33 |
wallyworld_ | less than 14 :-) | 03:33 |
wallyworld_ | fsvo i guess | 03:33 |
* StevenK stabs wallyworld_ again | 03:33 | |
wallyworld_ | ouch | 03:34 |
StevenK | wallyworld_: You may be right, though. My desktop is still precise | 03:34 |
wallyworld_ | yeah, let me see if i can rollback those packages | 03:34 |
wallyworld_ | StevenK: sadly, only the quantal version of python-boto is listed as being valid | 03:38 |
StevenK | wallyworld_: https://launchpad.net/ubuntu/+source/python-boto | 03:39 |
StevenK | Download the 2.2.0 version for precise | 03:39 |
wallyworld_ | thanks, will try that | 03:40 |
StevenK | wgrant: 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 gods | 03:43 |
StevenK | With the same traceback? | 03:44 |
wallyworld_ | yeah, more or less | 03:45 |
wallyworld_ | to the naked eye | 03:45 |
StevenK | Your eye should put some clothes on | 03:46 |
wallyworld_ | perhaps | 03:46 |
wallyworld_ | but i feel so comfortable without | 03:46 |
* StevenK installs orca and scratches his own eyes out | 03:47 | |
StevenK | wallyworld_: So I think you should work out where ec2 is loading your credidentals from | 03:47 |
wallyworld_ | yeah, i'll do some digging. thanks for the input | 03:48 |
wallyworld_ | let me know how orca goes for you :-) | 03:48 |
StevenK | Haha | 03:48 |
wallyworld_ | there are some launchpad issues with it could could help fix | 03:48 |
StevenK | wallyworld_: 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 phone | 03:49 |
wallyworld_ | yeah. i guess it takes practice | 03:50 |
wallyworld_ | i can't understand how anyone can use a computer with just a screen reader to reply on | 03:50 |
wallyworld_ | rely | 03:50 |
StevenK | wallyworld_: You should talk to TheMuso some time. | 03:50 |
wallyworld_ | would be an insight for sure | 03:51 |
StevenK | wallyworld_: He's the one who filed the accordian widget doesn't love screen readers bug | 03:51 |
wallyworld_ | there are others too for bug subscriptions i think? | 03:52 |
StevenK | I think that's the only one directly related to screen readers | 03:52 |
StevenK | ICBW | 03:52 |
StevenK | wallyworld_: Have you heard of Keith Packard? | 03:53 |
wallyworld_ | no | 03:54 |
StevenK | wallyworld_: Works on X, and has been since the early 80s | 03:54 |
wallyworld_ | vision impaired? | 03:54 |
StevenK | No, just glasses. But I'm getting to that | 03:54 |
* wallyworld_ needs to learn patience | 03:54 | |
StevenK | wallyworld_: 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 sight | 03:56 |
StevenK | wgrant: 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 |
wgrant | StevenK: What are you trying to do and why? | 03:58 |
wgrant | Also, why can't you? | 03:58 |
StevenK | wgrant: https://bugs.launchpad.net/launchpad/+bug/1031751/comments/3 | 03:58 |
wgrant | We have private teams that own projects | 03: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 |
StevenK | In [13]: removeSecurityProxy(team).visibility = PersonVisibility.PRIVATE | 03:59 |
StevenK | ImmutableVisibilityError: This team cannot be converted to Private since it is referenced by a product and an accesspolicygrant. | 03:59 |
wgrant | I'm not sure that the project owner actually matters | 03:59 |
wgrant | Isn't it the team that you select on the form? | 04:00 |
StevenK | OH. I just need to be a member of it? | 04:00 |
wgrant | Any participant will do | 04:00 |
* wgrant is still forcing a terrible weightloss regime on 2000 lines of test_branchnamespace | 04:03 | |
StevenK | wgrant the Drill Master? | 04:05 |
wallyworld_ | StevenK: found it. something has set some EC2 environment variables, which overrode my credentials | 04:13 |
StevenK | Haha | 04:13 |
wallyworld_ | i have no idea whta/when/why | 04:13 |
StevenK | BLEH | 04:15 |
StevenK | ComponentLookupError: ((<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 |
wgrant | StevenK: Are you in the right layer? | 04:16 |
StevenK | wgrant: I'm in 'make iharness', so what's a layer | 04:17 |
wgrant | Ah | 04:17 |
wgrant | That should be fine | 04:17 |
StevenK | Except it isn't | 04:17 |
wgrant | Now now | 04:17 |
wgrant | You know how I feel about "facts" | 04:17 |
StevenK | wgrant: Ah. You say it should be fine, so it is? | 04:18 |
StevenK | wgrant: http://pastebin.ubuntu.com/1266897/ | 04:18 |
wgrant | StevenK: What have you changed? | 04:19 |
StevenK | wgrant: It's current devel with me creating two teams, a product, a series and then calling the view | 04:20 |
wgrant | Do you get the same exception in a test? | 04:20 |
StevenK | Last time I wrote this as a test, you told me it was pointless :-) | 04:21 |
StevenK | So I was trying to avoid that | 04:21 |
wgrant | Ah | 04:21 |
wgrant | You could try the Web UI. | 04:21 |
wallyworld_ | ah. broken build. will do test fix | 04:23 |
StevenK | PrivatePersonLinkageError: 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 |
StevenK | So the owner really can't be private | 04:27 |
wgrant | The owner of the codeimport isn't currently permitted to be, no | 04:27 |
wgrant | The owner of a branch is fine | 04:27 |
StevenK | The owner field is only enabled on ProductSeries:+setbranch if you say it's an import | 04:28 |
StevenK | So I guess it's validation time | 04:28 |
wgrant | Owner should be on +setbranch if it's an import | 04:28 |
wgrant | Isn't it? | 04:28 |
wgrant | Yes, and that's exactly what you just said | 04:29 |
wgrant | I can't read | 04:29 |
StevenK | Haha | 04:29 |
StevenK | So, time for a test | 04:29 |
* StevenK stabs doctests | 04:53 | |
StevenK | wallyworld_, wgrant: https://code.launchpad.net/~stevenk/launchpad/no-private-registrant-setbranch-redux/+merge/128415 | 05:07 |
StevenK | wgrant: How goes test_branchnamespace's radical diet? | 05:18 |
wgrant | Nearly there | 05:32 |
StevenK | Curtis 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 now | 06:11 |
wallyworld_ | r=me | 06:15 |
StevenK | wallyworld_: Thanks | 06:16 |
wallyworld_ | np. i fell better now i've had coffee | 06:17 |
wallyworld_ | feel even | 06:17 |
StevenK | wallyworld_: You were going through withdrawl symptoms? | 06:18 |
StevenK | Did 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 morning | 06:19 |
wallyworld_ | no, not that desperate | 06:19 |
wallyworld_ | yet | 06:19 |
bigjools | wallyworld_: that's condition double red | 06:19 |
wallyworld_ | StevenK: bigjools and i are out of coffee sync sadly | 06:19 |
wallyworld_ | he ran out last week while i still had some | 06:20 |
StevenK | wallyworld_: There's this thing, perhaps you've heard of it -- 'forward planning' ? | 06:20 |
bigjools | we need to sync our cycles | 06:20 |
wallyworld_ | maybe we need to sniff each other's armpits | 06:20 |
bigjools | O_o | 06:20 |
wallyworld_ | bigjools: i got that expensive stuff. hope it's good | 06:21 |
bigjools | wallyworld_: 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 spectacular | 06:21 |
wgrant | wallyworld_: Hmm | 06:45 |
wallyworld_ | ? | 06:45 |
wgrant | Ah, bug #1052639 | 06: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 |
wgrant | Was looking for the rationale for the extra check in ProductNamespace.getAllowedInformationTypes | 06:47 |
wgrant | Since it means that if the user has proprietary privileges, they can change the owner to any of their teams | 06:47 |
wgrant | Which possibly means that we want to dump the team restriction entirely | 06:47 |
wgrant | Thoughs? | 06:47 |
wgrant | eg. I was able to make https://code.qastaging.launchpad.net/~auditor-team/lp-production-crontabs/grackle2 | 06:48 |
wgrant | auditor-team has no privileges in lp-production-crontabs | 06:48 |
wallyworld_ | not sure. i'll have to reread the code to get some context again | 06:48 |
wgrant | Until that fix, you could only change the branch owner to a team with privileges. | 06:48 |
wgrant | Which is a restriction we kept from the old BVP days, but we possibly just want to throw out now | 06: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 disclosure | 06:51 |
wallyworld_ | then why not | 06:51 |
wallyworld_ | maybe discuss tomorrow | 06:51 |
StevenK | wallyworld_: You didn't mark r16110 as a rollback of 16109 | 07:11 |
wallyworld_ | ah bollocks. sorry | 07:11 |
StevenK | 56 revisions waiting. WCPGW | 07:12 |
wallyworld_ | oh ye of little faith | 07:12 |
StevenK | wgrant, 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 |
wgrant | I imagine UK webops will be tied up for a while | 07:12 |
wgrant | StevenK: Yep | 07:12 |
wallyworld_ | thanks, sorry | 07:13 |
* StevenK peers at qastaging-update.log | 07:13 | |
wgrant | 33 files changed, 105 insertions(+), 2741 deletions(-) | 07:16 |
wgrant | I think that's about it | 07:16 |
StevenK | Holy crap | 07:17 |
nigelb | StevenK: Does he beat your maximum deletions in one MP record? :) | 07:19 |
StevenK | Not sure | 07:19 |
nigelb | We need an app for that. | 07:20 |
nigelb | On that note. | 07:20 |
nigelb | I just realized, I have an incomplete MP. | 07:20 |
nigelb | Sigh. I wish I had time to finish it up. | 07:20 |
StevenK | steven@undermined:~/launchpad/lp-branches/devel% bzr di -c 12253 | diffstat -s | 07:21 |
StevenK | 19 files changed, 1789 insertions(+), 2767 deletions(-) | 07:21 |
StevenK | So, no. | 07:21 |
nigelb | Hah. | 07:23 |
StevenK | nigelb: [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 |
nigelb | hahahahaha | 07:25 |
* StevenK waits for the qa-tagger | 07:28 | |
StevenK | Finished my qa before it ran | 07:29 |
=== jelmer is now known as Guest86701 | ||
=== mpt_ is now known as mpt | ||
rick_h_ | morning | 11:37 |
czajkowski | rick_h_: ello | 11:39 |
czajkowski | rick_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 working | 11:58 |
=== benji changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: benji | Firefighting: - | Critical bugs: ~300 | ||
czajkowski | rick_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 |
wgrant | rick_h_: Ah, since you're here... I reverted the product launchpad.View stuff, as it broke production | 12:00 |
wgrant | Just in case it's relevant to what you're doing here on your day not-so-off | 12:00 |
rick_h_ | czajkowski: tomorrow. abel knew what was up there. | 12:00 |
rick_h_ | wgrant: lanuchpad.View stuff? /me tries to jumpstart the brain | 12:01 |
wgrant | rick_h_: You guys restricted most of IProduct's attributes behind the launchpad.View permission last week | 12:01 |
czajkowski | grand | 12:01 |
rick_h_ | wgrant: ah ok | 12:01 |
wgrant | If you current branch relies on private projects being private, it won't work :) | 12:02 |
wgrant | But otherwise you should be unaffected | 12:02 |
rick_h_ | hah, well we were supposed to be getting to alpha with it so I wonder if this blows that up | 12:02 |
rick_h_ | I'm hitting a different conflict I think | 12:02 |
rick_h_ | somewhere _information_tpe got turned into a db column information_type and I lost my getting/setter @property | 12:03 |
rick_h_ | but that's in the product model | 12:03 |
wgrant | There's still another month at least of work before you can think about having a single private project | 12:03 |
wgrant | On prod | 12:03 |
wgrant | I'm not sure what alpha entails, though | 12: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 |
wgrant | rick_h_: I probably reverted that infotmation_type bit | 12:04 |
wgrant | rick_h_: Um, no | 12:04 |
wgrant | Nobody is going to be registering any non-public projects for some weeks :) | 12:04 |
wgrant | Even if I hadn't reverted the code today | 12:04 |
wgrant | No code knows how to handle them | 12:05 |
wgrant | And it will make pages all across Launchpad 403 | 12:05 |
rick_h_ | heh | 12:05 |
wgrant | 10 bugs that Curtis filed over the weekend will immediately become critical regressions | 12:05 |
wgrant | And I'll be able to file another 20 or so | 12: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 up | 12:06 |
wgrant | Right, sounds like a good plan | 12:06 |
rick_h_ | I'll make sure to catch deryck when he comes online and get it sorted out | 12:06 |
wgrant | Turning on private projects on production today... not such a good plan! | 12:06 |
rick_h_ | oh boooo :P | 12:06 |
wgrant | Think of the blueprint 403 regressions, except on basically every page on Launchpae | 12:07 |
wgrant | d | 12:07 |
wgrant | That's what private projects on production today will do | 12: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 there | 12:08 |
wgrant | Entering 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 application | 12:08 |
wgrant | It just takes one person to be even slightly adventurous and dozens of people can no longer do their work | 12:08 |
wgrant | Because pages they need are 403ing | 12:09 |
rick_h_ | gotcha | 12:09 |
rick_h_ | speaking of hte alpha bossman | 12:11 |
deryck | yeah, 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 production | 12:12 |
rick_h_ | and my branches didn't land over the weekend due to a test fail and buildbot breakage. | 12:12 |
wgrant | Right, various pages were 403ing after deploying r16090 (IProduct launchpad.View stuff), mostly due to deactivated projects showing up and no longer being accessible | 12: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 weekend | 12:13 |
rick_h_ | I'm still catching up on weekend stuff atm, but wanted to make sure you were caught up deryck | 12:13 |
wgrant | I reverted it so we could deploy the other 50 waiting revisions to production | 12:13 |
StevenK | More than 50 | 12:13 |
wgrant | What are the alpha plans? | 12:13 |
deryck | wgrant, thanks, that makes sense defintely. | 12:13 |
deryck | I need to look at sinzui's bugs to see what his concerns are. | 12:14 |
wgrant | deryck: What's the next alpha step? | 12:14 |
deryck | wgrant, 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 |
wgrant | Well, what's the general timeline for turning this stuff on? | 12:16 |
deryck | wgrant, 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 of | 12:17 |
wgrant | deryck: So people creating private projects this week? | 12:17 |
deryck | wgrant, but if the security adapter stuff is reverted, there's no point. | 12:17 |
deryck | wgrant, yes, but only a small group. I will create an alpha team, and only add those who request it. | 12:18 |
wgrant | rick_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 |
wgrant | deryck: I'm not sure that's such a good idea. | 12:18 |
wgrant | deryck: LP doesn't know how to filter private projects yet | 12: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 |
wgrant | So if one of those projects shows up anywhere, that page will 403 | 12:18 |
wgrant | Similar to the blueprint issues, except 100x worse | 12:18 |
wgrant | And on just about every page of the application | 12:19 |
deryck | we know this. we've discussed it at length, with both flacoste and sinzui. | 12:19 |
wgrant | They need to be fixed before we can think about having even a single private project on production. | 12:19 |
wgrant | Ubuntu's a couple of days away from final freeze | 12:19 |
deryck | yeah, that's a fair point, though. | 12:19 |
wgrant | We cannot be breaking things now | 12:20 |
wgrant | It's fine if the alpha projects break the alpha projects | 12:20 |
wgrant | But at this stage they will break just about *everything*. | 12:20 |
wgrant | So even a closed alpha on production is extraordinarily risky | 12:21 |
deryck | This is basically what happened with Abel's change that you reverted, except only for deactivated and not private projects? | 12:22 |
wgrant | Right | 12:22 |
wgrant | We already filter out deactivated projects in most places, but it *still* broke | 12:22 |
wgrant | We don't even try to filter out private projects anywhere yet | 12:22 |
wgrant | So it will be far worse | 12:22 |
deryck | right | 12:22 |
deryck | well, the alpha was more a symbolic release/early feedback kind of thing. to keep us on track. | 12:23 |
deryck | we could just skip it and march on to beta. | 12:23 |
czajkowski | wgrant: was this why madel couldnt see his LP page earlier on but could see his code page ? | 12:23 |
wgrant | Sure, it's really good to have a nice visible milestone like that. | 12:23 |
wgrant | And it's fine to be releasing unstable stuff onto production if the scope of the breakage is limited | 12:24 |
wgrant | But this is unlimited. Projects affect just about everything. | 12:24 |
czajkowski | *mandel | 12:24 |
wgrant | czajkowski: Right | 12:24 |
wgrant | Person:+index is an example of a page that was broken in many cases by this | 12:24 |
czajkowski | ah ok, but this won't affect people now as it's been reverted right. | 12:24 |
wgrant | czajkowski: Right | 12:24 |
czajkowski | cheers | 12:24 |
wgrant | So 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 release | 12:26 |
deryck | wgrant, 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 |
deryck | rick_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 land | 12:27 |
deryck | rick_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 tomorrow | 12:28 |
rick_h_ | deryck: ok | 12:28 |
deryck | rick_h_, yeah, the others are not available today. Might as well regroup tomorrow. | 12:29 |
deryck | rick_h_, are you still around? | 12:35 |
wgrant | deryck: Great | 12:39 |
deryck | wgrant, thanks for reverting that work. sorry you guys were left to deal with it. | 12:39 |
wgrant | A 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 alpha | 12:40 |
wgrant | np, was easy to fix | 12:40 |
deryck | yeah, agreed on the points one line back. | 12:40 |
=== Ursinha-afk is now known as Ursinha | ||
wgrant | Although 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 |
deryck | Yeah. :) | 12:46 |
deryck | And 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 |
deryck | rick_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 type | 12:51 |
rick_h_ | and I was using the setter | 12:51 |
wgrant | That should be fine | 12:51 |
wgrant | The setter just passed it through | 12:51 |
rick_h_ | I tried a quick change back to _information_type with the @property getter/setter but tests blew up all over | 12:51 |
wgrant | Perhaps the security configuration is broken | 12:51 |
wgrant | What'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 up | 12:52 |
deryck | you would just set information_type directly now. | 12:52 |
deryck | but 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 |
deryck | was just wondering what you were seeing. | 12:52 |
rick_h_ | yea, just some error from the db about _information_type not existing | 12:52 |
rick_h_ | so I assume there's something else to make the storm/query side happy witht he rename | 12:52 |
wgrant | Oh, if you're using it in a query then it'll matter, yeah | 12:53 |
rick_h_ | since I had changed the ENUM column to a leading understore for the getter/setter/property to wrap | 12:53 |
wgrant | For now you can just s/_information_type/information_type/ | 12:53 |
wgrant | Or that, yeah | 12: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 that | 12:54 |
wgrant | There were three minor conflicts, mostly in tests IIRC | 12:54 |
wgrant | But most stuff was pretty isolated. | 12:54 |
rick_h_ | cool | 12:55 |
deryck | wgrant, 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 |
wgrant | deryck: It was deployed to lpnet a few hours ago | 13:06 |
wgrant | The appservers are presently reverted to the previous ndt (from Monday last week) | 13:06 |
wgrant | I immediately reverted the revision from devel, and there's an ndt scheduled for that | 13:07 |
deryck | wgrant, ah, I follow now, thanks. | 13:07 |
=== fjlacoste is now known as flacoste | ||
wgrant | Mostly 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 pile | 13:07 |
deryck | flacoste 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 | ||
lifeless | flacoste: hi, I'm around whenever you want to have our call | 19:06 |
flacoste | lifeless: i'm available now | 19:25 |
lifeless | cool | 19:25 |
=== benji is now known as Guest8876 | ||
StevenK | wallyworld_: I guess the bugs.dynamic_bug_listings.enabled feature flag can be removed from prod? | 21:44 |
StevenK | rick_h_: At some point, you and I should remove js.combo_loader.enabled from the code | 21:45 |
wallyworld_ | StevenK: yes | 21:50 |
StevenK | lifeless: O hai | 21:50 |
wallyworld_ | now that my branch has deployed | 21:50 |
StevenK | lifeless: 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 such | 21:51 |
StevenK | Death to jsbuild would make me very happy | 21:52 |
lifeless | sure | 21:52 |
StevenK | lifeless: Thanks | 21:53 |
rick_h_ | StevenK: it's more jsbuild/combobuild I think but some clean up required | 21:53 |
StevenK | rick_h_: Given the errors with yui-3.5.1 on build, certainly | 21:54 |
StevenK | wallyworld_: You've undone your python-boto fun from yesterday? | 21:58 |
wallyworld_ | yep | 21:58 |
wallyworld_ | 'fun' | 21:59 |
StevenK | FSVO, indeed | 21:59 |
StevenK | wallyworld_: Are we (being wgrant and myself) now one hour ahead of you? | 21:59 |
wallyworld_ | yes :-( | 21:59 |
rick_h_ | StevenK: errors? | 22:06 |
StevenK | rick_h_: If you make and then make again, you see a bunch | 22:10 |
wgrant | Intriguing | 23:48 |
wgrant | My ec2 instance from 2am is still going | 23:48 |
wgrant | 9 hours later | 23:48 |
wgrant | Not hung, just very very slow | 23:48 |
wgrant | StevenK: So you removed all makeLegacyProduct calls in lib/lp/bugs? | 23:51 |
StevenK | wgrant: r16114 in my death-to-private_bugs branch | 23:52 |
wgrant | Great. | 23:52 |
wgrant | And you've rerun those tests to be sure they work? | 23:52 |
StevenK | Total: 39 tests, 0 failures, 0 errors in 50.183 seconds. | 23:54 |
wgrant | StevenK, wallyworld_: Do either of you feel like reviewing a 3800-line BVP elimination diff, or shall I self-review it? | 23:54 |
wgrant | StevenK: Great | 23:54 |
wallyworld_ | i reckon self review. let the tests decide | 23:55 |
wgrant | Well, I also deleted a lot of tests. But I think I was pretty sensible, so I agree | 23:55 |
StevenK | wgrant: I'd like to glance at it, but I don't want to review it | 23:55 |
wgrant | You can't really "glance" at a 286KB diff | 23:56 |
StevenK | skim, then | 23:56 |
StevenK | demolish-bvp has no MP :-( | 23:57 |
wgrant | I was going to save Launchpad the effort if nobody dared review it | 23:58 |
* wgrant proposes | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!