/srv/irclogs.ubuntu.com/2013/10/01/#launchpad-dev.txt

wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/bi-dependencies-1/+merge/188489 and https://code.launchpad.net/~wgrant/launchpad/bi-dependencies/+merge/18849301:12
StevenKUrsinha, wgrant: What do you think about reverting r16775?01:12
wgrantThe fix is probably very simple01:13
wgrantNot sure how Ursinha's going with that, though.01:13
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/drop-kick-getBugTasks/+merge/18849001:13
StevenKwgrant: Oh, is that a minus one, as opposed to dash one?01:13
wgrantStevenK: k01:13
wgrantStevenK: Er, yeah, I missed a -01:13
Ursinhawgrant, it depends on how much you guys need to deploy new stuff today01:14
wgrantWas meant to be dash-minus-101:14
StevenKUrsinha: It would be nice to deploy, but we can wait a bit01:14
StevenKUrsinha: I have my own QA to finish off, so please don't rush on my account. :-)01:15
Ursinhaokay01:16
StevenK471+ self.assertEqual(('snap crackle pop', ''), output)01:21
StevenKwgrant: You must answer for your crimes.01:21
wgrantStevenK: Hey, the test had 'pop' in the final position, and there was a hole in the test coverage for buildd_name, so the test string ended up with three elements, 'pop' in the last. My hands were tied.01:22
StevenKwgrant: Tell it to the judge.01:23
StevenKwgrant: r=me for -1, with one niggle01:24
Ursinhawgrant, so, PackageUploads that refer to copies don't have a SourcePackageRelease, and attachTranslationFiles is a spr method02:23
Ursinhashould I move it somewhere else? or add one for copies?02:23
wgrantUrsinha: It might be worth moving somewhere else, but you will still need to find a SourcePackageRelease.02:30
wgrantI suspect.02:30
wgrantUnless you can just use the source name, let me see.02:30
wgrantHmm02:31
wgrantUrsinha: I'd move attachTranslationFiles elsewhere, yeah. It doesn't really need a SourcePackageRelease; you have all you need on the PackageCopyJob too.02:31
wgrantI'd just put it in a non-method function somewhere, I think.02:31
wgrantStevenK: Thanks.02:31
Ursinhawgrant, what I did so far is to add a component_name and target_distroseries properties in PackageUpload, following the pattern of other properties that vary according to them being copies or not02:33
wgrantUrsinha: PackageUpload.distroseries already exists02:34
Ursinhawgrant, I saw that, but it made no sense to me that other parts of the code query sourcepackagerelease to know the target02:35
wgrantBut you'll need to look up the component name from the relevant SourcePackagePublishingHistory in the target. I'm not sure if there are existing methods to help with that.02:35
Ursinhaso I thought this might mean something else02:35
wgrantUrsinha: It used to make sense, sort of.02:35
Ursinhahaha02:35
wgrantThis code was already buggy in some copy circumstances.02:35
Ursinhacan I safely use PackageUpload.distroseries as target then?02:35
wgrantYes.02:35
Ursinhaokay.02:36
wgrantPackageUpload.archive, PackageUpload.distroseries, PackageUpload.pocket are accurate02:36
wgrantBut you can't use sourcepackagerelease.component. You'll probably need to find the latest SPPH for the relevant (archive, distroseries, pocket, sourcepackagename), and look up the component from that.02:36
wgrantThat component lookup was already buggy for some security updates, but it is a lot more important now.02:37
Ursinhawgrant, so it was buggy before?02:37
wgrantYes, for source copies.02:38
wgrantThis is probably actually more of a problem than I thought.02:38
Ursinhahehe02:38
wgrantOr maybe not.02:39
wgrantThe component check only applies to pre-oneiric, so its brokenness isn't too bad.02:39
wgrantBut it's still only a few lines to fix, so we probably should.02:39
wgrantStevenK: Do you have a testfix?02:42
Ursinhawgrant, should I use the SPR.publishings or query the archive with getPublishedSources?03:06
wgrantUrsinha: You'll have to use getPublishedSources.03:11
StevenKwgrant: Looking now, I was grabbing lunch.03:22
StevenKSounds like a few more deletions are needed.03:22
StevenKwgrant: testfix == r1678703:34
StevenKwgrant: With the death of proc_families, should I QA to packagecloner on DF?04:16
StevenKs/to/the/04:16
wgrantStevenK: Yeah. Can hopefully do just a small PS.04:17
StevenKIDS{,J} got the same treatment, but I don't really want to do that.04:18
wgrantStevenK: IDSJs are easy and cheap to test04:26
wgrantStevenK: Just create one with a tiny PS04:27
wgrantI normally create a µbuntu containing only bzr packages, IIRC04:27
* StevenK stabs SSO until it bleeds to death04:33
wgrantWhy?04:35
StevenKwgrant: Because of the stale page error if you mis-type or don't hold down the yubikey long enough and it puts the default token in, and because once it logs me in it wants me to update my details and there's no way to say "Go away and auth to the site I was originally at"04:36
wgrantAh, handy04:37
wgrantFiled a bug?04:37
StevenKNot yet04:42
Ursinhawgrant, is that ok if I move the content of attachTranslationFiles to run() in the PackageTranslationsUploadJob? having a packageupload at that point is enough (it seems), so I'd provide the packageupload and the libraryfilealias to the job04:42
wgrantUrsinha: It might be useful to have it in a separate function in the job's module so you can continue to test it directly. But otherwise that sounds fine.04:43
* StevenK tries to remember how to create an IDSJ04:43
wgrantStevenK: Create a new distro, create a series within it, initialise series.04:44
StevenKHm04:46
* StevenK anoints himself04:46
Ursinhawgrant, okay, done :) now, the importer is currently sourcepackagerelease.creator, who should it be if it's a copy?04:49
StevenKPCJ.requester04:50
StevenKOr something close04:50
wgrantProbably PU.findPersonToNotify04:51
wgrantWhich uses PCJ.requester when appropriate04:51
wgrantI think we already use that for the job creator, don't we?04:51
StevenKlib/lp/soyuz/model/packagecopyjob.py doesn't mention findPersonToNotify04:51
wgrantNot PCJ, PTUJ.04:52
StevenKlib/lp/soyuz/model/packagetranslationsuploadjob.py also doesn't mention findPersonToNotify04:52
StevenKAnd findPersonToNotify wants an SPR, it doesn't deal with PCJs04:53
wgrant        blamee = packageupload.findPersonToNotify()04:53
wgrant        getUtility(IPackageTranslationsUploadJobSource).create(04:53
wgrant            sourcepackagerelease, libraryfilealias, blamee)04:53
wgrantAh right04:53
wgrantAt this point we have an SPPH, though04:53
Ursinhawgrant, attachTranslationsUpload uses the requester, it's another thing04:53
wgrantSo it'll use SPPH.creator, which should be the PCJ requester.04:54
UrsinhaI recall the same confusion during the sprint04:54
Ursinhait rendered a testfix that time04:54
Ursinha:)04:54
StevenKGrr.04:55
* StevenK pokes around for pubconf04:55
wgrantUrsinha: Use PTUJ.requester, rather than SPR.creator.04:55
wgrantStevenK: Pubconfs can be set in the UI04:55
StevenKwgrant: But the details don't matter?04:56
wgrantStevenK: Not particularly, unless you want to publish it.04:57
StevenKThe initialization of Turgid Turtle has been scheduled and should run shortly.05:00
StevenKI blame infinity05:00
wgrant...05:00
wgrantµbuntu05:00
wgrantNot microbuntu!05:00
wgrantWe aren't Fedora05:01
wgrantOur infrastructure likes Unicode.05:01
StevenKwgrant: It didn't for the name05:01
wgrantNot for the name, no. :(05:01
StevenKwgrant: How about that, then05:02
wgrantSuperior.05:02
StevenKwgrant: Hm, where do OOPSes go? :-(05:12
wgrantStevenK: Should be /srv/launchpad.net/dogfood-logs/05:13
StevenKProgrammingError: permission denied for relation packageupload05:13
StevenKWAT05:13
wgrantOh05:13
wgrantI was trying to remember why I had that diff on DF05:13
wgrantThat was it05:13
StevenKSo it was your fault? :-(05:14
wgrantNot exactly, I just locally patched that permission in last time I was testing this05:14
wgrantBecause it had broken due to PCJ changes, IIRC.05:14
wgrantSpecifically CUC05:14
wgrantI think05:14
StevenKDo we want to land a security.cfg change?05:15
wgrantTest on DF and land, yeah05:15
StevenKYup05:15
StevenKDigging out the job so I can mangle it back to Waiting05:15
wgrantI'd just create a new one.05:15
StevenKHm, IDS has SELECT on packageupload*05:17
StevenKAh05:18
StevenKIt wants INSERT on it and PUC05:18
StevenKOH05:24
StevenKAnd UPDATE05:24
StevenKDamn searchable_names :-P05:24
StevenKwgrant: https://dogfood.launchpad.net/microbuntu/turgid05:40
StevenKwgrant: That's IDSJ run, and then harness'ing up updatePackageCount()05:40
wgranteh05:41
wgrantHeh05:41
wgrantSo you know how I said our Unicode support was good05:41
wgranthttps://dogfood.launchpad.net/microbuntu/turgid/+source/2ping05:41
StevenKHAHA05:42
wgrantFortunately Python 3 prevents people from writing such retarded code.05:43
StevenKwgrant: How tasty are those words you're now eating?05:43
wgrantNot entirely.05:44
StevenKwgrant: Landing security.cfg change05:46
lifelessturgid eh05:47
StevenKlifeless: It was infinity's suggestion for what T would be05:47
StevenKAnd it's a crappy test series on DF, so meh? :-)05:48
lifelessI think you've been trolled05:48
StevenKwgrant: Are you bouncing the appserver?05:48
wgrantI am05:48
wgrantIt didn't come back up...05:48
StevenKHaha05:48
StevenKHm, that looks better05:50
StevenKwgrant: Facepalm at the diff05:51
wgrantIt won't affect many places05:52
wgrantBecause .format is backported from 3, it is slightly more Unicode-pedantic.05:52
wgrant% works fine05:52
StevenKwgrant: So I'm happy enough to qa-ok it, any objections?05:55
wgrantSure05:56
wgrantAs long as you've tested the other changed bits05:56
StevenKwgrant: IArchive API bits, editing an archive and changing restricted processors, creating a distribution and doing the same, IDSJ and package cloner05:57
wgrantRight05:57
wgrantSounds reasoanble.05:57
StevenKI don't think there is anything else05:57
StevenKwgrant: Is http://lpbuildbot.canonical.com/builders/lucid_lp_lxc/builds/892/steps/shell_9/logs/summary your fault?06:26
wgrantStevenK: I don't believe so.06:29
wgrantI haven't touched BuilderSlave, and that one has been occasionally failing 4eva.06:29
Ursinhacjwatson, I'm going to take a nap and should return soon, hopefully the fix for bug 1201485 will be able to land today10:53
_mup_Bug #1201485: Need to import translations for the unity daily builds <qa-bad> <langpack-o-matic:Triaged> <Launchpad itself:In Progress by ursinha> <Ubuntu Translations:Triaged> <https://launchpad.net/bugs/1201485>10:53
cjwatsonOK, great10:54
cjwatsonHappy to help reviewing10:54
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
=== rpadovani is now known as WebbyIT
=== _mup__ is now known as _mup_
=== elmo__ is now known as elmo
lifelesswgrant: https://answers.launchpad.net/launchpad/+question/236697 when you get a chance22:18
lifelesswgrant: some of them I can do and am doing22:19
lifelesswgrant: but I think a little help will be needed22:19
=== Nigel_ is now known as G
wgrantlifeless: Do you just need the tuskar -> tripleo merge done?23:41
lifelesswgrant: and python-tuskarclient reowned23:42
wgrantlifeless: You can't ask the current owner to do that?23:44
lifelesswgrant: sure, they're at an offsite teambuilding thing today :P23:44
lifelesswgrant: but one thing at a time; the team merge first23:44
wgrantlifeless: tuskar has a mailing list.23:47
lifelessgnar23:48
lifelessok, I'll just manually add the people I guess23:48
StevenKlifeless: API it?23:50
wgrantlifeless: Note that it still owns a couple of trunks, I think.23:50
lifelesswgrant: meh, mirrors from git23:51

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