/srv/irclogs.ubuntu.com/2013/02/04/#launchpad-dev.txt

StevenKI've spent a few minutes trying to work out where file uploads are handled in lazr.restful00:00
wgrant        file_content=Bytes(constraint=productrelease_file_size_constraint),00:03
wgrantSo it'll be in the Bytes handler00:03
wgrantSupport was only added relatively late, AFAICR00:03
StevenKwgrant: ... which I can't find in lazr.restful00:10
wgrantclass BytesFieldMarshaller(SimpleFieldMarshaller):00:11
wgrant(is it just me, or does lazr.restful have marshall/unmarshall around the wrong way?)00:13
StevenKwgrant: I can't see anything in either BytesFieldMarshaller or SimpleFieldMarshaller that would call _decode00:17
wgrantStevenK: No, so you'll have to trace through to see how it happens00:17
wgrantAnd why it doesn't happen for normal file uploads00:17
StevenKwgrant: Hmmm, pdb.set_trace() inside IProductRelease.addReleaseFile() is probably far too late00:24
wgrantStevenK: Probably, but it might vaguely hint where it could get the data00:25
wgrantI'd rather break in the Bytes (un)marshaller00:26
StevenKwallyworld___: https://lh6.googleusercontent.com/-awustg4A1HQ/UQ1pZ49aYjI/AAAAAAAB0_k/ZXhib0JPDXQ/s728/YoomaShreddedBedText.jpg00:29
wallyworld___what you saying 'bout me?00:30
* StevenK stabs this script00:52
StevenKUnknown consumer (System-wide: Ubuntu (undermined)).00:54
mwhudsonundermined? :)00:55
StevenKmwhudson: Matches my current naming scheme00:56
StevenKwgrant: How can I debug Unknown consumer?01:16
wgrantStevenK: Probably means your gnome-keyring has a token that your Local DB no longer has01:16
wgrantAssuming it's not production01:17
StevenKIt's dev01:17
wgrantRight01:17
wgrantPoke around with seahorse01:17
wgrantAnd delete the key that is no longer valid01:17
StevenKRight, deleted two of them01:18
StevenKThe authorization page:01:18
StevenK...01:18
StevenKSuccess!01:18
wgrantGreat01:18
StevenKHmm, but my pdb did not fire01:19
StevenKOh01:21
StevenKI edited the wrong version01:21
wgrantHah01:23
StevenKwgrant: http://pastebin.ubuntu.com/1606599/01:33
StevenKI can't see the tarball content being called in _decode, but the GPG sig is01:34
wgrantStevenK: You might have to look through the code to see how lazr.restful gets its values, and how Zope forms do it differently.01:35
wgrantBecause Zope forms clearly don't use the decoded version01:35
StevenKHmmm01:39
* StevenK stabs lazr.restful for being obstreperous.03:20
StevenKwgrant: QA could be fun04:30
wgrantQuite04:34
wgrantStevenK: SPRB and TTB are populated on DF, BPB is about 1/3 done...04:38
StevenKWow04:38
StevenKNice04:38
wgrantIt's been going for about 3 hoursish, though04:39
wgrantOr 204:39
wgrantSomething like that04:39
StevenKBleh04:58
StevenKlaunchpadlib, forget your auth token!04:58
StevenKwgrant: Is DF done?05:42
wgrantNo05:43
wgrant f        | 211234505:43
wgrant t        | 172177705:43
wgrantAlmost half way05:44
StevenKwgrant: Put me out of my misery trying to work where lazr.restful gets it values from?06:12
wgrantStevenK: ResourceOperation.validate06:26
wgrant(I just stuck a pdb.set_trace() in addReleaseFile, called it with lp-shell, and looked through the traceback to see what would be parsing args)06:27
StevenKBleh, I did that too, but didn't see ResourceOperation there06:29
wgrantIt wasn't06:29
wgrantWell, I guess it was06:29
wgrantBut that method wasn't06:29
StevenKUnknown consumer again! And Seahorse is unhelpful06:32
wgrantYou probably nuked your DB06:33
wgrantOr it expired06:33
StevenKI did nuke my DB06:36
StevenKYour denorm columns not existing required a make schema06:36
wgrantOr a database/schema/upgrade.py :)06:38
StevenKI will usually just run make schema06:39
=== Nigel_ is now known as G
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/flatten-bfj-5-app-cleanup/+merge/146349 is a big bit boring and mostly red diff07:30
StevenKAnd contains two conflicts07:30
wgrantPretend they're not there, and I'll fix them as I merge the pipe :)07:31
StevenK183>>>>>>> MERGE-SOURCE07:32
StevenKHaha, looks like they're earlier up the chain07:32
StevenKwgrant: PackageBuildMixin does not die yet?07:33
wgrantStevenK: It never dies07:33
wgrantIt's a mixin07:33
wgrantUsed for functionality that's shared between BPB and SPRB07:33
wgrantLike uploads and such07:33
StevenKPossibly rename it? Or you don't care enough?07:34
wgrantHmm?07:34
wgrantIt's a mixin for package builds07:34
wgrantSo PackageBuildMixin seems like an apt name.07:34
StevenKFairy nuff07:34
wgrantDid you have an alternate suggestion?07:34
StevenKNo, was just trying get the name 'PackageBuild' killed everywhere07:37
StevenKwgrant: Oh, when does IPackageBuild die?07:39
wgrantStevenK: It doesn't07:41
wgrantIt's an interface for package builds07:41
StevenKwgrant: So IBinaryPackageBuild will also implement IPackageBuild ?07:44
wgrantStevenK: It in fact inherits from it07:44
wgrantBinaryPackageBuild implements it, with the help of PackageBuildMixin07:45
StevenKRight07:45
StevenKwgrant: r=me07:45
wgrantThanks07:45
cjwatsonHas anyone had a chance to look at https://code.launchpad.net/~cjwatson/launchpad/bpph-phase/+merge/144154 ?  I have another piece of work to do that touches some of the same code, so it would be nice to get this out of the way.08:22
wgrantcjwatson: Oops, sorry08:24
wgrantShould have time to look at that tomorrow08:24
cjwatsonGreat, thanks08:24
wgrantStevenK: Can you QA 16468 tonight?08:29
wgrantShould be on qas shortly08:29
StevenKIs now, apparently08:31
StevenKwgrant: Done08:33
wgrantStevenK: Thanks08:34
wgrantWe shall garbo it up on prod tonight08:34
StevenKwgrant: All gree08:41
StevenK*green08:41
adeuringgood morning08:46
=== _mup__ is now known as _mup_
=== gary_poster|away is now known as gary_poster
=== Ursinha-afk is now known as Ursinha
=== teknico_away is now known as teknico
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
=== slank_away is now known as slank
* mpt rediscovers bug 53304415:05
_mup_Bug #533044: Resummarizing bug report doesn't change page title <lp-bugs> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/533044 >15:05
=== teknico_away_ is now known as teknico
=== teknico_ is now known as teknico
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster

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