/srv/irclogs.ubuntu.com/2015/04/21/#launchpad-dev.txt

* cjwatson starts trying to saw up his Git MP work from the plane into manageable pieces09:35
cjwatsonblr: You probably didn't see, but I got MPs working on Saturday evening \o/09:35
cjwatson(minimally, anyway)09:35
cjwatsonwgrant,blr: Are we holding the team meeting at the calendared time tonight?09:36
wgrantThat time's a bit awkward for me this week but I guess we might be able to get away without it.09:39
cjwatsonIt's exactly as awkward for me as it normally is :-)09:43
wgrantHeh, true.09:44
cjwatsonHow goes the release sprint?09:45
wgrantThe usual amusing crop of installer bugs.09:46
wgrantExcept all with added systemd fun this time.09:46
wgranteg. oem-config breaking because of a shadow bug from two years ago because systemd.09:47
wgrantOnly two last-minute sabdfl changes so far.09:47
wgrantcjwatson: Are you comfortable enough with your MP changes to make schema review sensible at this stage?09:50
cjwatsonwgrant: Yeah, my threshold was "works locally", which it does.09:53
wgrantGreat, will look soon09:53
cjwatsonDo you think I need to ask thumper etc. if they're OK with removing BMQs?09:54
cjwatsonOr just assume that if they haven't finished it in the last 5+ years they're unlikely to now?09:54
wgrantMeh.09:54
wgrantThey're unused, and have been disabled for like five years.09:54
wgrantIf someone wants to revive them, they can feel free.09:54
* cjwatson nods09:54
wgrantVCSes are cool like that.09:55
cjwatson:-)09:55
cjwatsonVanishing.09:55
wgrantcjwatson: https://code.launchpad.net/~wgrant/launchpad/changelog-formatting/+merge/25689810:08
wgrantQuality tests.10:08
cjwatsonwgrant: Nice, r=me.10:11
wgrantThanks, bugged me for five years or so...10:12
jpds 10:13
wgrantcjwatson: Not oversized? I'm disappointed.10:14
cjwatsonwgrant: Hm?10:14
wgrantYour next git branch is just under 800 lines!10:14
cjwatsonAh :-)10:15
cjwatsonI have another smallish one, but then need to think a bit ...10:15
wgrantThe whole diff's 4kish, right?10:15
cjwatson4060 right now, though I'll need to write some more tests.10:16
wgrantcjwatson: boom, btw10:20
cjwatsonGrr.10:22
cjwatsonSo much for having carefully run all the code tests and thought that was probably enough ...10:24
wgrantHeh10:29
cjwatsonAh, maybe I didn't apply the changed security.cfg first.10:29
cjwatsonI'll just revert security.cfg, not worth the hassle.10:30
wgrantYep10:31
cjwatsonTestfix landing.10:40
cjwatsonwgrant: Do you know why the existing Branch:+subscribe etc. permissions are the way they are?  I was copying from those.11:22
wgrantcjwatson: Probably from before private branches.11:23
wgrantThe lack of a ViewAndAnyPerson-ish thing has always been annoying.11:24
cjwatsonWhat would the difference be between that and just View here, given that an anonymous user can't subscribe to things?11:25
cjwatsonOh, but View would *allow* an anonymous user to subscribe.11:25
wgrantExactly.11:26
cjwatsonI guess it's sufficient to just rely on you not being able to get at the Branch/GitRepository to subscribe to it in the first place if you don't have View.11:26
cjwatsonThe portlets could be launchpad.View at least, though.11:27
wgrantYeah, that's the way it works now, but it's a bit unfortunate.11:30
wgrantParticularly given that +subscribe is the access control view.11:30
cjwatsonI'll put something in Asana for it.11:30
wgrantcjwatson: Can I upgrade DF?11:37
cjwatsonSure.11:37
wgrantcjwatson: Have you timed the new check constraints?11:42
cjwatsonwgrant: I don't have the scrollback, but that was what I was doing during the wrap-up when I accidentally failed to do it in a transaction :-)11:43
cjwatsonwgrant: IIRC they were something like 0.2 seconds each11:43
wgrantOh,heh.11:43
wgrantRight.11:44
wgrantIt's not a big table.11:44
cjwatsonYeah, on DF I get 153.458 ms, 95.952 ms, 94.037 ms, 69.866 ms, 125.432 ms11:45
cjwatsonSo the whole patch might end up being as much as a second or two but shouldn't be much worse.11:46
wgrantcjwatson: Does different_git_refs really handle a null dependent_git_repository proprely?11:47
cjwatsonwgrant: Should do.  ROW (NULL, NULL) != ROW (1, 1), e.g., and I tested without a prerequisite locally.11:49
wgrantcjwatson: And one_vcs doesn't check that the VCS is consistent.11:50
wgrantJust that each of source, target and dependent only has ne.11:50
cjwatson source_git_repository |   source_git_path    | target_git_repository |  target_git_path  | dependent_git_repository | dependent_git_path11:50
cjwatson-----------------------+----------------------+-----------------------+-------------------+--------------------------+--------------------11:50
cjwatson                     1 | refs/heads/ibm-nvram |                     1 | refs/heads/master |                          |11:50
cjwatsonwgrant: Hm, yes, that's true.11:52
cjwatsonShould be (source_branch IS NULL OR target_branch IS NULL OR dependent_branch IS NULL) != (source_git_repository IS NULL OR target_git_repository IS NULL OR dependent_git_repository IS NULL), I think.11:52
cjwatsonEr, s/IS NULL/IS NOT NULL/g11:53
cjwatsonFixed.11:56
wgrantcjwatson: I think that new one_vcs allows me to completely omit target or source, as long as one of the others is set.12:02
wgrantBut apart from that it looks reasonable now.12:02
cjwatsonOh, that's true.12:03
cjwatsonWill fix after lunch.12:07
cjwatsonwgrant: How does that look to you now?13:17
cjwatsonALTER TABLE BranchMergeProposal13:17
cjwatson    ADD CONSTRAINT one_vcs CHECK (((source_branch IS NOT NULL AND target_branch IS NOT NULL) != (source_git_repository IS NOT NULL AND target_git_repository IS NOT NULL)) AND (dependent_branch IS NULL OR source_branch IS NOT NULL) AND (dependent_git_repository IS NULL OR source_git_repository IS NOT NULL));13:17
wgrantcjwatson: That works.13:19
cjwatsonbrushing off my boolean logic13:19
cjwatsonI want IMPLIES13:19
wgrantA truth table would be more compact...13:19
wgrantYeah13:20
cjwatsonp → q ≡ ¬p ∨ q, but.13:24
cjwatsonwgrant: Did you intend to review db-git-mp in the MP itself?15:31
wgrantcjwatson: Er, yeah, if you've pushed that.15:38
wgrantSorry, distracted by OpenStack.15:38
cjwatsonI pushed that change, yes.15:39
cjwatsonHow goes the restacking?15:39
wgrantFinally got the x86 cloud back up with trusty+kilo, doing builds, next step is to see if nova-compute works on cameron.15:39
wgrantAnd then weneed to hack up the imemaker bits so we can hulksmash them onto cameron for ppc64el only.15:40
cjwatsonworks on cameron> Hopefully you won't have done the kilo upgrade for nothing ...15:43
cjwatsonHuh, I wonder why I made GitRepository.name readonly=True?15:46
wgrantcjwatson: It'll at least be easier to fix on kilo!15:47
wgrantcjwatson: name needs a setter, at least.15:47
cjwatsonBranch.name doesn't have one.  I assume you just get a constraint violation if you try to make it equal to an existing one.15:48
wgrantUgh.15:49
cjwatsonAnd trying to set GitRepository.owner crashes, bah.15:49
cjwatsonI'll be able to QA subscriptions eventually ...15:51
blrcjwatson: excellent, great news :)20:29
blrshould have the cross-repo diff soon, yesterday was a bit of a write-off.20:31
cjwatsonI can imagine20:52
cjwatsonNot been hugely useful today myself ...20:52
cjwatsonwgrant,blr: Are we meeting?22:03

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