/srv/irclogs.ubuntu.com/2010/01/12/#launchpad-reviews.txt

jtvcome on you slackers, I want a review!01:50
=== jtv changed the topic of #launchpad-reviews to: on-call: - || reviewing: - || queue [jtv] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
thumpermwhudson: https://code.edge.launchpad.net/~thumper/launchpad/hg-imports-using-url/+merge/1718703:53
mwhudsonthumper: i'm writing billions of comments for my db patch03:53
thumperheh03:53
thumperI'm about to go through your last respones03:53
mwhudsonthumper: also there are no requested reviews, how did you do that?03:53
thumpermwhudson: it is in progress :)03:54
mwhudsonah03:54
thumperstub: https://code.edge.launchpad.net/~thumper/launchpad/imports-urls/+merge/1717203:54
thumperstub: I took jelmer's import work03:54
thumperstub: and unified the url fields03:54
thumperstub: in prelim of the hg import work03:54
stubmwhudson: SourcePackageRecipeDataInstruction.recipe_data is still nullable04:00
mwhudsonstub: darn04:00
* mwhudson pushes again04:01
stubmwhudson: Looks like the owner's name is used to refer to recipes. Is this going to explode if someone changes their Person.name?04:10
mwhudsonstub: recipes don't refer to other recipes (yet)04:11
mwhudsonstub: i guess it will explode much like branches04:11
stubmwhudson: And this only exists in Launchpad? Or are the URLs or ids referenced in sourcepackages or anything like that?04:11
mwhudsonstub: hm04:12
mwhudsonstub: actually, all references within launchpad will be at the database level04:12
mwhudsonURLs won't be stored by programs outside launchpad, i expect04:12
stubI never got a rationale on the SourcepackageRecipe/SourcepackageRecipeData split either.04:12
stubUnless you need to keep orphaned SourcepackageRecipeData information I can't see the gain.04:13
mwhudsoni've explained this several times04:14
mwhudsonalthough possibly not in an email to you specifically04:14
mwhudsonSourcepackageRecipeData is also referenced from SourcePackageRecipeBuild04:14
stubNot to me or in the MP where I asked the q ;)04:14
mwhudsonstub: one way of looking at the split is that the SourcepackageRecipeData is the bzr-builder part04:14
mwhudsonstub: and SourcePackageRecipe is the launchpad metadata around it04:15
mwhudsona little like the way the bazaar branch is stored separately from the Branch row04:15
mwhudsonand the reason they're separate is that the build needs to refer to the manifest, which is a "frozen" version of the bzr-builder part of the recipe04:16
stubSo the SourcePackageRecipeBuild.manifest may point to a different recipe via SPRBD than SPRB.recipe?04:17
stubOr in that case, will the manifest point to a SPRBD with no corresponding recipe?04:18
mwhudsonstub: a particular SPRD is references from exactly one other row04:19
mwhudsoneither a SPR or a SPRB04:19
mwhudsonnever both04:19
stubIf the pointers went the other way (add SPRD.recipe and SPRD.recipe_build), we can enforce that constraint.04:20
mwhudsonstub: the patch has comments now04:21
stubRather than leaving it to your documentation :)04:21
rockstarjtv, https://code.edge.launchpad.net/~rockstar/launchpad/use-suspended-job-status/+merge/1719104:22
jtvahh, there it is04:22
mwhudsonstub: yeah, that's probably a good idea04:22
stubmwhudson: Is bzr-builder a Launchpad project or an Ubuntu project btw?04:22
mwhudsonstub: it's a james_w project04:22
mwhudsonstub: i guess that makes it more an ubuntu thing than a launchpad thing04:22
stubJust wondering if revspec should be used or not. If it is the term used in the domain it is probably valid. I suspect it violates our Python coding standards though.04:24
thumperrockstar: https://code.edge.launchpad.net/~thumper/launchpad/js-play/+merge/1719304:25
thumperstub: I'd love to get https://code.edge.launchpad.net/~thumper/launchpad/imports-urls/+merge/17172 landed04:25
mwhudsonstub: hm, it's a pretty standard term in the bzr world04:26
thumper:)04:26
stubmwhudson: Thats fine then.04:26
mwhudsonthumper: stop distracting the DBA04:26
mwhudsonthumper: this branch blocks everything04:26
thumperok04:26
thumpermwhudson: didn't realise he was still hastling you so much04:26
thumperhow about revision specifier?04:27
stubI suspect it is a good idea that this isn't entwined with the existing Build table04:27
stubIf I was going to call it anything, I'd just call it 'revision' but domain naming trumps since that pulls in more meaning.04:28
mwhudsonstub: for the constraints, you mean something like http://pastebin.ubuntu.com/355335/ ?04:30
mwhudsonstub: revision would definitely not be right, that would imply to me that it specifies a particular revision04:31
mwhudsonwhereas it could be a tag, or a revno, or even a lca with some other branch04:31
mwhudson(this won't work as i have to reorder the file, but the idea is there at least)04:32
stubmwhudson: That allows them both to be NOT NULL. You want (recipe IS NULL != build IS NULL) if its one or the other but not both.04:32
mwhudsonstub: doh04:33
stubmwhudson: Review in including indexes etc.04:47
mwhudsonstub: thanks04:48
stubmwhudson: sourcepackage is one word in Launchpad at the moment so there is some renaming needed or discussion04:48
mwhudsonstub: why is sourcepackagerecipe__owner__idx commented out04:48
mwhudson?04:48
mwhudsonstub: ok, that's easy enough to fix04:48
stubOh - we don't need it (the unique constraint on owner, distrorelease, ... can be used.04:48
mwhudsonah ok04:49
stubUnless we see people merge timeouts because the table is too big and the index too wide ;)04:49
mwhudsonstub: that definitely falls into your area :-)04:51
stubthumper: Any particular reason you are not creating a modified version of absolute_url() in database/schema/trusted.sql and fixing Bug #506146?04:56
mupBug #506146: git and hg imports don't check for valid_absolute_url <code-import> <testing> <Launchpad Bazaar Integration:Triaged> <https://launchpad.net/bugs/506146>04:56
thumperstub: because it has to do with how we are testing git imports04:57
thumperstub: currently it is using the local file system04:57
thumperstub: and I don't want to fix this in this branch04:57
thumperstub: we'd need to fire up a git server in order to fix this bug04:57
thumperstub: so we'll probably add git and hg to the developer dependancies04:57
* thumper leaves now04:58
stubthumper: The web ui protects us?04:58
thumperstub: it does04:58
stubmwhudson: I'm out to lunch. You can land the branch with the fixes if it is blocking things - I can do any tweaks post landing if they are needed.05:01
mwhudsonstub: we're EODing now, so i'll make fixes, push and if you say ok i'll land it later05:02
=== stub1 is now known as stub
al-maisannoodles775: https://code.edge.launchpad.net/~al-maisan/launchpad/url-props-505382/+merge/1719705:35
=== gmb changed the topic of #launchpad-reviews to: on-call: gmb (reduced workload whilst fixing checkwatches) || reviewing: - || queue [jtv] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
stubmwhudson: Should BuildSourcePackageFromRecipeJob.job be UNIQUE?11:14
mwhudsonyes, i guess11:14
mwhudsonmind you it seems branchjob.job should also be unique and it isn't11:15
=== matsubara-afk is now known as matsubara
stubmwhudson: Feel free to fix branchjob.job in your patch while you are there :)11:23
stubMore indexes I missed the first time sorry and a constraint fix.11:23
mwhudsonstub: ok, now?11:56
* stub looks12:00
stubquick, land it before I notice anything else.12:02
mwhudsonthanks12:03
mwhudson:)12:05
* mwhudson zzzs12:05
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac (gmb:reduced workload whilst fixing checkwatches) || reviewing: -,- || queue [jtv] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
bacgood morning gmb12:24
gmbbac: Hi bac.12:25
bacgmb: pretty quiet around here today?12:25
gmbbac: Yes, so far.12:25
baccool.  have fun with CW.  i'll grab jtv's branch now12:25
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac (gmb:reduced workload whilst fixing checkwatches) || reviewing: -,jtv || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
bacjtv: ping12:41
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac (gmb:reduced workload whilst fixing checkwatches) || reviewing: -,- || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== gmb changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,- || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,sinzui-w&w || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
=== mrevell is now known as mrevell-lunch
bacbeuno: any thoughts on the new screenshots i sent you?13:52
beunobac, looking now (was knee deep in some sprite fixes)13:54
beunobac, looks much much better, thanks13:55
beuno2 quick questions13:55
beunowhere does the "continue" link take you?13:55
beunoactually just that question  :)13:58
beunobac, also, I have an almost trivial branch for review when you have a minute: https://code.edge.launchpad.net/~beuno/launchpad/sprite-issues-never-die/+merge/1722913:59
bacbeuno: 'continue' takes you back to ~beuno14:02
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,sinzui-w&w || queue [beuno] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
beunobac, s/continue/Back to my account/ and ui=me14:03
bacbeuno: great, thanks14:03
bacbeuno: can you update the MP so i can use 'ec2 land'?14:03
beunobac, I can, do you have the link handy?14:04
bachttps://code.edge.launchpad.net/~bac/launchpad/bug-419930/+merge/1701514:04
* beuno goes get his rubber stamp14:05
beunobac, done14:07
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,beuno || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
bacbeuno: what about this in projects-index.pt: <p class="sprite error application-summary"14:24
bacbeuno: does it need changing too?14:24
* beuno looks14:30
beunobac, yes, it's the only place where that sprite is used14:30
beunosince I renamed it, I need to change it as well14:30
bacbeuno: ok, r=bac with that.  MP updated14:31
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,- || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
beunobac, thanks14:33
gmbhenninge: Re: my review from yesterday. W.R.T the use of constants and updating doctests, I think it would also be a good idea to make the tests for _getHeatFrom*() into unittests, since we'll want to add more later and unittests are more flexible in that way. How does that sound to you?14:33
gmb(I'm using constants as you suggested, though)14:34
henningegmb: I like unittests ;-)14:34
gmbhenninge: Ah, good! I shall do that forthwith, then.14:34
henningegmb: and you are right, the way they are multiplied there for coverage does not belong in a doctest.14:35
henningeand good coverage is cool.14:35
gmbhenninge: Right. I wrote the doctest because I was doing TDD and trying to work out the best way to do things, but now that I've done that a unittest would be better to ensure good coverage.14:35
henningegmb: I can't wait to see the new code ... ;_)14:43
=== matsubara is now known as matsubara-lunch
* beuno curses at ec2 test not being headless by default15:06
=== salgado is now known as salgado-lunch
=== mrevell-lunch is now known as mrevell
bacsalgado-lunch: you asked that i file a bug in your review of https://code.edge.launchpad.net/~bac/launchpad/bug-419930/+merge/17015 -- i've discussed the issue at length with edwin and he says it is handled.  so i'd rather not open a bug unless you insist.15:43
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,sinzui || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
gmbhenninge: I don't think the BugHeatConstants need to be in interfaces/bug.py. They're only going to be used in the one place.16:11
henningegmb: what about the rule that tests must not import from model code?16:12
henningeAt least I thought there was such a rule ...16:12
gmbhenninge: We aren't importing from model code though. We're importing from scripts.bugheat, which has nothing to do with the model whatever.16:12
gmbhenninge: I'm not familiar with that rule, though it makes sense (We should be using the factory where possible, getUtility() where not)16:13
henningegmb: ok, I am not too fussed about that.16:13
gmbCool.16:13
henningeexactly16:13
=== salgado-lunch is now known as salgado
salgadobac, don't worry about it, then.16:16
bacsalgado: great16:17
=== beuno is now known as beuno-lunch
=== matsubara-lunch is now known as matsubara
bachi sinzui, i'm looking at https://code.edge.launchpad.net/~sinzui/launchpad/non-existent-packages-bug-204119/+merge/1717616:52
bacsinzui: at line 64 is there a reason you're using PackagingAddView in the super() and not the actual class name?16:52
sinzuioops16:53
sinzuibac: Yes, I am incompetent. I moved the method from  PackagingAddView when I decided it was not the right place for the rule.16:54
bacsinzui: easy mistake16:54
* bac hates super() syntax anyway16:55
sinzuibac: The code works because PackagingAddView does not have a setupFields.16:55
sinzuiI will fix that16:55
mrevellhenninge_, If you're still around, I've updated my translations help MP -- https://code.edge.launchpad.net/~matthew.revell/launchpad/translations-help-10.1/+merge/1703216:59
=== henninge_ is now known as henninge
henningemrevell: I am, I will look at it in a minute.17:00
mrevellthanks henninge17:00
=== bac changed the topic of #launchpad-reviews to: on-call: gmb, bac || reviewing: lunch,/unch/sinzui || queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
henningegmb, bac: If either of you feels like reviewing my branch, I'd be really happy.17:55
henningeIt is oversized and I won't be around until tomorrow, so I'd understand if you refuse. https://code.edge.launchpad.net/~henninge/launchpad/bug-503454-security-py/+merge/1724117:56
henningegmb is probably done for the day anyway.17:56
henningemrevell: I like the mo-style layout comment ;)17:58
=== beuno-lunch is now known as beuno
mrevellheh17:58
mrevellI'm heading off to cook. Will be back around these parts three or four hours.17:59
=== mrevell is now known as mrevell-dinner
=== salgado is now known as salgado-afk
=== matsubara is now known as matsubara-afk
=== bac changed the topic of #launchpad-reviews to: on-call: bac || reviewing: henning|| queue [-] || This channel is logged: http://irclogs.ubuntu.com || https://code.edge.launchpad.net/launchpad/+activereviews
flacostesinzui: i replied to your review21:45
sinzuigreat because I just sent my windmill test fixes to EdwinGrubbs. I'll take a look at your changes21:45
=== Ursinha is now known as Ursinha-afk
kfogelbigjools: see my mail -- need a 100x100 px face or avatar image from you for planet.launchpad.net22:17
bigjoolskfogel: feel free to use my LP mug22:18
kfogelbigjools: thx22:19
kfogelbigjools: the cartoony one? :-)22:21
bigjoolskfogel: yep :)22:26
bigjoolskfogel: it's actually a scan of what was on my wedding invitations22:27
kfogelbigjools: I also just used it as a test attachment on a bug in my dev instance, for working on bug #506018.22:28
kfogelso there22:28
bigjoolskfogel: copyright infringement!22:28
mupBug #506018: Need a "+patches" view: report lists patches attached to bugs. <story-patch-report> <Launchpad Bugs:Triaged by kfogel> <https://launchpad.net/bugs/506018>22:28
kfogelbigjools: no, because I'm not publishing :-)22:28
bigjools:)22:29
kfogelbigjools: btw, one's launchpad.dev DB stays unmolested between 'make run', shutdown, 'make run', shutdown, etc, right?  I won't lose this new project when I shut down, only when I do 'make schema', I'm guessing?22:29
bigjoolskfogel: yep, only make schema blitzes it22:30
kfogelbigjools: cool22:31
kfogelbigjools: I can't quite tell when I need to restart.  Apparently, not after modifying a .pt file?  But always after modifying a .py file?  (I mean to see the effect of my changes.)22:31
bigjoolskfogel: that is correct on both counts22:32
EdwinGrubbsabentley: are you still on call?22:37
abentleyEdwinGrubbs: No, I'm at a sprint.22:38
EdwinGrubbsok22:38

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