/srv/irclogs.ubuntu.com/2013/09/30/#launchpad-dev.txt

StevenKwgrant: My only concern with that branch was:02:54
StevenK291- u'There is no project in Launchpad named "N\xf6 Such Product&&lt...]02:54
StevenK294+ There is no project in Launchpad named "N... Such Product&&lt...02:54
StevenKI couldn't get print_feedback_messages() to show me \x..., it always printed the codepoint02:55
wgrantThat's correct.02:55
wgrantBecause it prints the string, not its repr.02:55
StevenKRight02:55
StevenKwgrant: Hm, I seem to have tripped over https://code.launchpad.net/~stevenk/launchpad/drop-kick-getBugTasks/+merge/74941 ; getBugTasks isn't in the monthly PPR06:10
wgrantStevenK: What do you mean?06:12
StevenKwgrant: I had forgotten all about that MP -- looking at the latest monthly PPR, I can't see getBugTasks at all, but it's still exported06:14
wgrantAh, didn't notice it was old.06:14
wgrantIf it's not in the PPR that shows the other methods, then it wasn't called at all.06:14
StevenKwgrant: As long as pageids is the right page to be searching06:18
wgrantStevenK: I believe so. Do the other methods appear there?06:18
StevenKIDistribution.getBranchTips shows up as Distribution:EntryResource:getBranchTips, so looks like. (DSP doesn't have any other exported methods, but has other exported properties)06:21
wgrantRight06:21
StevenKIt was called 38 times in March, that is the only time I've seen it06:23
StevenKBut other monthly PPRs have been eaten06:23
SpamapSNot sure anymore where to ask, but is there any way we can get a user unsubscribed from bugs on the heat project? Their out of office mail is spamming every change we make.06:51
lifelesswgrant: StevenK: ^ halp.07:04
wgrantHave you adequately slapped the user in the face for having a moronic autoresponder?07:05
wgrantWhich user?07:05
lifelessSpamapS:07:06
SpamapSwgrant: https://launchpad.net/~faramir07:08
* SpamapS is quite certain this, as most problems, is Lotus Notes' fault.07:08
wgrantSpamapS, lifeless: lp-shell production devel; lp.load('/heat/+subscription/faramir').lp_delete()07:09
wgrantThe project owner should be able to do that.07:09
SpamapSwgrant: maintainer? as in, ~heat-drivers?07:10
wgrantYes07:11
* SpamapS tries it07:12
SpamapSwgrant: lovely, thank you. subscription removed.07:13
wgrantExcellent.07:13
wgrantDo stab the user and/or their email admins as well, though. :)07:13
StevenKwgrant: So, do you think that MP is landable?07:14
wgrantStevenK: I don't see why not.07:14
StevenKThe only thing I can come up with is it drops the method from 1.007:14
StevenKBut we probably don't care07:14
wgrantIf it's not called frequently then we do not care.07:15
SpamapSwgrant: right, slapping subscribed. :)07:15
=== vila is now known as vila-afk-biab
=== vila-afk-biab is now known as vila
=== Ursinha is now known as Ursinha-afk
cjwatsonUrsinha-afk: Just having a go at your QA now in order to unblock myself15:38
=== Ursinha-afk is now known as Ursinha
cjwatsonCopied https://dogfood.launchpad.net/%7Eubuntu-unity/+archive/daily-build/+sourcepub/3476923/+listing-archive-extra to the primary archive on DF15:41
cjwatsonwgrant: I restored the dogfood-publish config and its associated paraphernalia on labbu15:51
cjwatsonUrsinha: This looks like a failure, I'm afraid - notes in the bug15:53
Ursinhacjwatson, will look15:53
cjwatsonI wonder if this is DF-specific, since I thought you mostly just moved that code around ...15:53
Ursinha(sorry the delay in the answers, my ISP is not helping today)15:54
cjwatsonAh, but I guess that code never had to deal with copies from a PPA before15:54
cjwatsonOdd, though, since _publishCustom uses self.packageupload too and it's clearly never None in those cases15:55
cjwatsonSo the PackageUploadCustom mustn't be being constructed in the right way, but why ...15:56
Ursinhacjwatson, yeah, I recall talking to wgrant about such cases and that never should be none15:56
Ursinhawhen I was transforming that code in a job15:56
cjwatsonAnd for that matter how15:57
cjwatsonI don't see anything other than PackageUpload.addCustom that constructs new PackageUploadCustom objects, and that sets packageupload=self15:59
cjwatsonBut the whole publisher looks kind of unhappy16:00
Ursinhacjwatson, have you tried to copy any other kind of package other than from a PPA?16:01
cjwatsonNo16:01
cjwatsonThat's the only case that matters though :)16:02
Ursinhacjwatson, yeah :/16:03
cjwatsonIn fact this makes zero sense because the PUC is surely looked up from the PU in the first place16:05
cjwatsonOh, they have a PU but no SPR, I misread16:06
cjwatsonUrsinha: OK, so PackageUploads that refer to copies (PackageCopyJobs) don't have a sourcepackagerelease - only direct uploads do16:10
cjwatsonUrsinha: I think you need to do the same kind of things that PackageUpload.package_name and friends do, and look at either bits of packageupload.package_copy_job or packageupload.sourcepackagerelease16:10
cjwatsonUrsinha: And of course have a test that exercises this in the context of copies16:11
Ursinhacjwatson, yeah.. I should have tested the ppa copies, I felt that was missing after submitted to pqm16:12
UrsinhaI'm into it16:12
cjwatsonCool - I think you can use package_copy_job.target_distroseries (I think) or package_copy_job.component_name16:13
cjwatsonFor the various cases16:13
cjwatsonBut then you have to do something with the PackageTranslationsUploadJob creation ...16:14
Ursinhacjwatson, right, thanks for the huge help16:14
Ursinhayeah, I'll have to adapt it all16:14
cjwatsonBut I guess you know what to do there :)16:14
Ursinha:)16:14
cjwatsonYikes, attachTranslationFiles lives on SPR16:15
cjwatsonI guess maybe there needs to be a similar thing for PCJ?  Not sure16:16
Ursinhacjwatson, hm. that sounds ugly but might be the way to go16:17
Ursinhaas pu doesn't have a spr it doesn't make sense to use the one it's there for such cases... but I'll check if there any other (less intrusive) way16:19
cjwatsonI think you have to go through PCJ - I remember dealing with this for the queue API exposure16:20
cjwatsonUrsinha: (see also my comments in https://bugs.launchpad.net/launchpad/+bug/851562, tangentially)16:23
_mup_Bug #851562: Diffs not available for syncs on +queue page like for regular uploads <derivation> <package-copies> <package-diff> <Launchpad itself:Triaged> <https://launchpad.net/bugs/851562>16:23
Ursinhacjwatson, yep, I was reading that right now16:24
Ursinhacjwatson, I couldn't understand well in the call, internet is crappy, are you working on fixing that?16:25
cjwatsonUrsinha: Not actively16:25
cjwatsonUrsinha: I don't think it's a blocker for this, just context16:26
cjwatsonYou don't really *need* the SPR here, it's just that that's where the code currently lives and it uses some attributes from it16:26
Ursinhacjwatson, that's okay, I ask because I could look at that next, as the context is similar16:28
cjwatsonAwesome16:29
=== BradCrittenden is now known as bac

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