/srv/irclogs.ubuntu.com/2015/05/14/#launchpad-dev.txt

cjwatsonhaven't quite decided what to do tomorrow, I might do the two-haproxy-units thing, maybe fix tech debt of GitNamespace tests, maybe do the LP side of repository deletion00:01
cjwatsonlet me know if there's anything particular that would be helpful for me to attack00:01
cjwatsonbut for now, sleep00:02
cjwatsonnight00:02
blrok, thanks for the suggestions, night :)00:02
=== wgrant_ is now known as wgrant
wgrantcjwatson: The old tabbed person +edit was abolished with 3.0.00:08
wgrantcjwatson: I definitely want a single Settings button per object which takes you to a tabbed (or GitHub-like) view with everything under it. We still have something similar on Person:+edit, except the tabs are at the very bottom of the page and not tabs.00:09
wgrantThe Settings button the Code page then takes you directly to the code tab, but in the same tab hierarchy.00:09
blrwgrant: any way we could carve off a bit of that for git ui - concerned that moving all the settings will be non-trivial.00:10
wgrantblr: Oh, certainly, we're not doing that rework now.00:11
wgrantblr: I don't understand what you mean by "any thoughts on the distinction between project and project code settings"00:11
blrwgrant: yeah, I didn't express that very well. I was suggesting that we should have settings for the project and facets under the same view.00:13
blras you say, like github.00:13
wgrantThe same *page* is impractical (Product:+edit is several times too long today), but it should be possible to navigate sensibly between the settings pages.00:14
wgrantBut we don't have that capability today, so I'd just have the link in the involvement portlet and somewhere on the code page.00:14
blrpains me to be adding yet another yellow pencil icon.00:15
wgrantHeh, indeed, but such is life.00:15
blrhah yes. Did you like colin's suggestion on infering a default in views?00:16
blrinferring the default from is_empty()00:16
blrstill setting product/distribution.vcs from project setbranch00:17
wgrantMmm.00:20
wgrantI think that'll do for now.00:20
wgrantIt's possibly not ideal long-term, but it's easy to work out which projects are affected, as they all have vcs = NULL, so we can easily fix it.00:20
blryep00:28
blrwgrant: any reason why we don't render attached images inline on bugs?03:04
wgrantblr: No particular reason.03:05
blrmight be nice?03:05
wgrantIt needs appropriate resizing stuff etc., and there may be spam concerns, but there's no good reason not to do it eventually.03:05
blrwill assign to myself to work on at some point.03:06
blrwgrant: how can I get the default series for a product?03:38
blris that product.series03:39
blrforbidden attr on product.series.branch which seems odd.03:42
wgrantblr: Product.series is the list of all series.03:45
wgrantYou probably want Product.development_focus03:46
wgrant(the Distribution equivalent is Distribution.currentseries, which is a bit easier to find)03:46
blrah I see series is a storm result collection03:46
wgrantYep03:46
wgrantbin/iharness is invaluable here.03:46
StevenKs/ here//03:49
blrwgrant: is there a good reason why branch name and owner are at the bottom of setbranch?04:14
blrseems they should be at the top, but I may be missing something.04:15
wgrantblr: That's the weirdness I mentioned, yeah. They should be somewhere in the "Import a branch hosted somewhere else" section, as they only apply when a new branch is created.04:16
blrright04:16
wgrantIt probably makes sense to have them at the top of that section; it certainly makes more sense than where they are now.04:16
blrunrelated, but do you like the 0 padding on input elements?04:18
wgrantIt's not too bad when they're surrounded by a name at the top and a description underneath.04:18
blroh I mean padding within the elements04:19
wgrantAh, not particularly.04:20
wgrantIt makes the overlarge forms slightly more compact, though :)04:20
blrtrue, but even 1.5px there helps the forms ..err 'breath'?04:21
blrshould have a look at a large form04:21
blrwgrant: unless you have any objections, would like to suggest we use fieldsets in preference to tables for forms.04:44
blrwidget_row is used all over the place however04:50
wgrantblr: if it's not too much work to get the styling right, by all means05:04
=== beuno_ is now known as beuno
cjwatsonwgrant: I still don't properly understand the BPPH.binaryFileUrls failure bdmurray reported.  Using BPFP seems weird, but BPFP rows aren't actually deleted when a package is e.g. deathrowed, are they?12:57
wgrantcjwatson: hahah12:57
wgrantcjwatson: BPFP is a view12:57
cjwatsonwgrant: oh!  light dawns12:58
wgranthttps://code.launchpad.net/~wgrant/launchpad/i-really-do-hate-views creates a non-DB-backed version of it.12:58
wgrantBut it's, uh, sorta out of date.12:58
cjwatsonlittle bit.12:58
wgrantI haven't looked at the method recently, but it probably uses it to get an archive-wrapped LFA or something.12:59
wgrantIf not, then I have no idea.12:59
cjwatsonok, now I at least know how to write a test for this.12:59
cjwatsonyes, it does.12:59
cjwatsonso my initial instinct was probably correct, it can just be self.binarypackagerelease.files instead.12:59
wgrantYeah, as long as you wrap them.12:59
cjwatsonright, same as before12:59
wgrantOh.13:00
wgrantIt wraps them manually.13:00
wgrantSo no reason to use BPFP at all.13:00
cjwatsonExactly13:00
cjwatsonSorry, misread you above.13:01
wgrantAnd SPPH.binaryFileUrls is fine too.13:01
cjwatsonI think it just uses .files because it was there and looked seductively correct.13:01
wgrantYep13:01
wgrantI'd forgotten that .files used it.13:02
wgrantRather than just forwarding.13:02
blrwgrant: excellent branch name20:40
blrwgrant: any docs you could point me towards that clarify how the form processing works (e.g. @action(_('Update'), name='update')) - not clear to me how the data dict is composed.23:19
blrnvm, found the zope.formlib docs23:34
lifelesswgrant: I'm curious, whats the current 99th% request time on LP (prod), and requests/day.23:43

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