/srv/irclogs.ubuntu.com/2015/02/26/#launchpad-dev.txt

thomiwgrant: lots of actions on these pages send emails, which cause tracebacks like  http://pastebin.ubuntu.com/10419041/ - is there an easy way to get those emails to be delivered to a local account... or maybe just not sent at all ?01:52
wgrantthomi: install a postfix or similar in your container, configured for local deluvery only01:53
wgrantthe emails are all sent to root@lovalhost in dev mode.01:54
thomiwgrant: ahhh, ok01:54
thomiwgrant: you recommend postfix? I on;y have experience of exim, and that was *years* ago01:54
wgrantwell, postfix is whwt i know best, and debconf provides a one-click local-only option01:55
wgrantbut exim will work fine too01:55
thominice01:56
thomiI remember exim being a PITA01:57
StevenKthomi: 3 or 4?02:00
thomiStevenK: hmm... it's been long enough that I can't remember. It would have been  ~ 15 years ago, so....02:02
thomimaybe 3?02:02
thomiwgrant: comments on placement of 'edit mailing list subscription' link? https://bugs.launchpad.net/launchpad/+bug/1425646/+attachment/4327910/+files/Screenshot%20from%202015-02-26%2015%3A11%3A55.png02:14
mupBug #1425646: It's too hard to find the +editemails page. <trivial> <ui> <Launchpad itself:New> <https://launchpad.net/bugs/1425646>02:14
thominot sure if it should go there, or in the global navigation panel on the RHS02:14
blrthomi: seems okay, although isn't strictly speaking 'user information'02:37
thomiblr: yeah.. OTOH, if it's over on the RHS then it's separated from the other email-related settings02:37
thomiso I'm not sure what's more usable... maybe both? no, that seems like a bad idea...02:38
blrthomi: would almost be nice to have something analgous to Latest Memberships for lists02:38
blrbut that's a bit out of scope02:38
thomiyeah02:38
thomialso, you tend to end up subscribed to a lot of lists.. or at least have a lot of mailing lists in that list02:38
blrbetter there than on the RHS I think02:38
blrthe wording of the options on the menu could use improvement, it really isn't clear what the difference between "administer" and "administer account" is without loading the views02:40
blrdoesn't help that the view headings are different from the links!02:41
blradminster => review person, adminster account => review person's account02:42
thomiblr: agreed, but ... also not in scope for what I'm looking at right now :D02:42
blrjust sayin' :)02:42
thomiyeah02:42
thomiI think at least one of those aren't seen by mere mortals though02:42
blrthe UI stuff is a big rabbithole02:42
wgrantAdminister options aren't shown to mortals, yeah02:45
wgrantwe need tor rrdesign the settings things entirely02:45
wgrantthere should be a Settings link which has a submenu yo all of the settings02:45
thomiupdating doctests :(02:55
wgrant1:(02:56
thomihmm, I think we need a link at the top of each of +editemails and +editmailinglists that points to each other02:59
wgrantsonewhere on each, yeah03:00
thomiwgrant: ever thought of upgrading ./bin/test to produce subunit v2 output? (with an appropriate option, of course)03:15
thomicombined with trv, it'd make these results a lot easier to read IMO03:15
wgrantthomi: It can do subunit v1, but I think our subunit's too old for v2.03:22
thomiwgrant: what's the barrier to upgrading it?03:22
wgrantthomi: Mostly not wanting to break things that might depend on its output, eg. buildbot.03:22
thomiwgrant: we can upgrade it and have it spit out v1 by default03:23
wgrantthomi: That link looks good. Does the page work?03:46
thomiwgrant: of course!03:47
thomiI'm just adding the links between the two page snow03:47
thomi*pages now03:47
thomithen will add tests for those links03:47
wgrant:)03:48
wgrantAnd the new page doesn't require reauthentication?"03:48
thominope03:48
wgrantMarvellous.03:48
thomiyeah, it's pretty sweet :D03:48
thomiI'm sure I've done something stupid though03:48
thomihmmm, I'm really not sure where to put these additional links.04:02
thomiI'll leave it for today, and come back to it tomorrow.04:02
cjwatsonwgrant: https://code.launchpad.net/~cjwatson/launchpad/git-defaults/+merge/250474 should be reviewable again, in the unlikely event you're still vertical.13:49
cjwatsonwgrant: And https://code.launchpad.net/~cjwatson/launchpad/git-lookup/+merge/250628 as well now, phew.  Fairly substantial redesign, ended up being able to throw away most of IGitNamespaceSet.17:18
thomicjwatson: still around perchance?19:24
cjwatsonthomi: little bit19:28
thomicjwatson: I read your comment on bug 1425646 - I added a screenshot with both links as text links... what do you think?19:30
thomiI'd love to get this finished today (as I have to go work on CI next week) - I also added to that bug screenshots of the mailing list & email settings pages19:30
thomiso, feedback desired - blr and wgrant too ^^19:30
mupBug #1425646: It's too hard to find the +editemails page. <trivial> <ui> <Launchpad itself:New> <https://launchpad.net/bugs/1425646>19:30
cjwatsonsure - commented19:34
cjwatson(with the caveat that I'm relatively new to doing serious LP UI work)19:34
thomicjwatson: thanks. My eye for resign is... lacking I'll try that out19:35
cjwatsonyeah me too :)19:35
cjwatsonwhat's the equivalent of a tin ear?19:35
thomiheh19:35
thomicjwatson: something like https://launchpadlibrarian.net/198833330/colin_suggestion2.png ?19:36
cjwatsonI think I prefer that personally.  But if others feel that uses too much vertical space then maybe the links can just be spaced out a bit more horizontally.  My main problem was that they were bunched up right against each other, I think.19:38
cjwatsonOh, I would put "Change e-mail settings" first since it's directly associated with the list of addresses just above.19:38
thomigood catch19:41
thomiI won't upload a new SS - I'm already spamming the bug19:41
thomiblr: any thoughts on the above?19:42
blrthomi: that looks better - I think we're kind of stretching the semantics of <dl> and <dt> there as well, they're not really definitions (arguably should be <Hn>s with the colons removed)20:19
blryou'd have to fix the css up if you changed that though20:20
thomiblr: and if we fix it in one place, we have to fix it everywhere20:20
thomiwhat is <hn>?20:21
blr<h1> <h2> etc20:21
thomioh, right20:22
blrI wouldn't worry about it, from the user perspective they're jus tall block elements, not important.20:23
blrif we get some design resource it might be worth going back and addressing that kind of thing20:23
blrcjwatson: the create-api branch is ready for re-review if you have a moment to look over it.20:24
cjwatsonRight, K+J just got back from karate so I'm about to be distracted so let's see20:28
blrcjwatson: no worries, will have the ref list bit for you soon too.20:30
cjwatsonoh cool20:30
cjwatsonI spent all of today rearranging my defaults/lookup branches20:31
cjwatsonbut they feel more sensibly-structured now20:31
cjwatsonblr: r=me with comments20:49
blrcjwatson: thanks colin :)20:50
blrcjwatson: the print statements are placeholders until I sort out some proper logging really20:51
cjwatsonYeah, but they might as well be good placeholders. :-)20:51
blrthat is true!20:51
wgrantcjwatson: Excellent, a good redesign was what I thought might work well.20:59
wgrantWill rereview today.21:00
blrwgrant: did you get any feedback from the juju devs yesterday?21:06
blrI missed the tail end of it21:06
wgrantblr: Juju should apparently be detecting that the instance failed to start and trying the other AZ, but it doesn't wait quite long enough.21:08
wgranthttps://bugs.launchpad.net/juju-core/+bug/142580821:08
mupBug #1425808: OpenStack provider doesn't try another AZ if the scheduler fails to find a valid host <juju-core:Triaged> <https://launchpad.net/bugs/1425808>21:08
blrwgrant: great21:10
thomiwgrant: can you please remind me what to do to get a branch scan completed? I thought it was a script in lp-dev-utils?21:33
cjwatsonthomi: http://paste.ubuntu.com/10436489/21:33
cjwatsonit's not in lp-dev-utils21:33
thomiahh21:33
thomican we add that to lp:launchpad ?21:34
thomior ... I guess if the problem is going to go away soon21:34
thomimaybe it's not worth it21:34
wgrantI just Ctrl+R lp-shell, Ctrl+R resc, then fix the branch name :)21:34
wgrantAnd no, that sort of code doesn't belong in lp:launchpad. lp:lp-dev-utils maybe.21:34
wgrantcjwatson: Hm, is git-defaults meant to be half the length it was?21:36
cjwatsonwgrant: Sounds about right.  Removed a fair bit of cruft, and I applied some mixin refactoring to the tests to let them be a lot less wordy.21:40
wgrantYeah, looks good, just surprising.21:40
cjwatsonI reckoned it was a good sign.21:41
cjwatsongit-lookup becomes a bit longer, IIRC, but not too much.21:41
cjwatsonOh.  It becomes slightly more longer than git-defaults became shorter.  Oh well.21:43
wgrantHeh21:44
cjwatsonNot directly related, it's just that I tore a bunch of stuff out of git-namespace.21:44
wgrantYeah21:47
wgrantgit-defaults is muuuuch cleaner now, thanks for reworking it.21:48
cjwatsonI almost wonder whether I needed to do PersonDSP at all.  But it'll probably still be handy for browser stuff.21:49
wgrantI think it may become sensible to make it exist only for browser purposes, yes.21:49
wgrantHanding around an owner and a target isn't terribly onerous most of the time.21:49
wgrantIt is probably easier to excise once this series is landed, though.21:50
wgrantWhich is why I didn't request its death earlier.21:50
cjwatsonYeah.  Ditto the anomalous argument order of get_git_namespace.21:50
cjwatsonAnyway, family time, night.21:53
wgrantNight.21:53
cjwatsonThanks again for the review.21:53
wgrantThanks for not telling me to get stuffed when I ask you to basically rewrite it :P21:53
cjwatsonHeh21:53
cjwatsonRough direction helps.  I think my cognitive error had been thinking that all traverse-style methods had to have roughly the same signature, and in particular a single return value.21:54
wgrantWhich would usually be a good policy, but it makes things so much uglier here that breaking with convention probably works well.21:55
wgrantIt's a similar problem to series, really. We're trying to handle two dimensions in a single object for no clear reason.22:01
thomiI wonder if I could get a review on https://code.launchpad.net/~thomir/launchpad/devel-fix-editemails-link/+merge/251176 please?22:04
thomiI'm sure I've done something stupid.22:04
wgrantthomi: Sure. Just rereviewing a couple of Colin's big ones, then I'll look at yours.22:05
wgrantI doubt it :)22:05
thomilol - we'll see22:05

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