/srv/irclogs.ubuntu.com/2013/05/28/#launchpad-dev.txt

wgrantStevenK: You broke the build, btw00:05
StevenKBlah00:05
StevenKwgrant: I think I'll set summary_text to 'Rejected by archive administrator.' rather than None, which will solve one of the failures.00:07
wgrantStevenK: Or find any tests that don't pass a user and fix them00:09
wgrantThere's probably not many00:09
StevenKYou'd prefer summary_text to be None rather than a generic message in the case user and comment are None?00:11
wgrantStevenK: I'd prefer the user argument to be mandatory, since there's no reason for it to not be00:13
wgrantAnd given the few failures it seems like there are probably few tests00:13
StevenKwgrant: Well, that can be fixed pretty easily00:13
StevenKwgrant: http://pastebin.ubuntu.com/5708682/01:13
wgrant-            Rejected by archive administrator.01:15
wgrant+            None01:15
wgrantOtherwise that looks reasonable01:15
StevenKwgrant: That test is calling notify() directly01:15
wgrantStevenK: Ah, I'd consider passing in a summary_text, then01:16
wgrantBecause no rejection email will normally have None for summary_text01:16
StevenKwgrant: The diff for that test is now:01:23
StevenK             person, None, [bpr], [], archive, distroseries, pocket,01:23
StevenK+            summary_text="Rejected by archive administrator.",01:23
StevenK             action='rejected')01:23
wgrantGreat01:23
* StevenK tosses it at buildbot01:25
StevenKiharness seems to want to grab __dict__ for any objects you ask it to print, which is very annoying03:50
StevenKBlah04:14
StevenKDistroSeries:+queue, stop lying!04:14
StevenKAh ha, the archive is wrong04:18
wgrantWhat are you breaking?04:18
StevenKwgrant: Adding the textbox to DistroSeries:+queue04:19
StevenKwgrant: The template gets compiled by Zope, or I can change it without restarting the appserver?04:21
wgrantStevenK: Template changes don't require an appserver restart today04:24
wgrant(which is part of the reason that our current TAL renderer is so ridiculously slow)04:25
StevenKHah04:25
StevenKOh, damn it04:25
StevenKIt's all one row04:25
wgrantHm?04:25
StevenKWith <br/>'s and vertical-align: bottom04:25
wgrantOh lovely.04:26
StevenKHmmm, this might work.04:37
StevenKwgrant: Do you want a diff of the template or a screenshot?04:37
wgrantStevenK: Why not both?04:38
StevenKwgrant: http://people.canonical.com/~stevenk/reject-reason-queue.jpg and  http://pastebin.ubuntu.com/5708984/04:40
wgrantStevenK: I'td say "Rejection comment" (widget captions aren't title case), and have Reject below Accept so the columns look less bad04:42
wgrantAnd maybe make the textbox wider, given there's so much space?04:42
wgrantLike I might put "Rejection comment" in the first two columns like "Override for selected uploads", and then have the textbox span the three override cols.04:43
StevenKwgrant: http://people.canonical.com/~stevenk/reject-reason-queue-1.jpg and http://pastebin.ubuntu.com/5708991/04:46
wgrantStevenK: The CSS on the label is different04:47
wgrantAlso your GTK theme is fugly04:47
StevenKMeh04:47
StevenKwgrant: Refresh -1, that has the updated CSS. http://pastebin.ubuntu.com/5708997/04:49
wgrantYour GTK theme still sucks, but otherwise that looks fine :)04:50
StevenKBlah04:50
StevenKNow to wire it up04:50
wgrantShould be nice and easy.04:51
=== tasdomas_afk is now known as tasdomas
StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/reject-reason-plus-queue/+merge/16596006:08
wgrantStevenK: That's not an error message06:09
wgrant"Rejection comment required." maybe06:10
wgrantAlso, that queue_action_* stuff seems entirely pointless. I'd inline it to be clearer.06:11
wgrantit's even shorter...06:11
StevenKwgrant: You'd rather an if action ?06:11
wgrantYes06:12
wgrantthere's only two cases, and I can't see us adding more06:12
wgrantThe dynamic lookup almost makes sense for, say, build results06:12
wgrantBut for accept/reject? Unnecessary complication.06:12
wgrantAlso, I'd think assertStatus would take a PackagePublishingStatus, not a string, but either works.06:13
StevenKwgrant: I'm happy to switch to PackagePublishingStatus06:14
wgrantThat would put it more in line with every other test in the codebase06:14
wgrantSo I think it's a good idea06:14
StevenKITYM PackageUploadStatus, but yeah06:16
wgrantEr, that, yeah06:16
wgrantI'm working with publication methods at the moment, can you tell? :)06:16
StevenK:-)06:16
StevenKwgrant: Will my new test class cause all tests in the super class to be run twice?06:23
wgrantStevenK: Yes06:24
wgrantI'd merge the two classes, probably06:24
wgrantRather than extracting a base06:24
StevenKwgrant: http://pastebin.ubuntu.com/5709168/06:29
wgrantLooks good06:32
StevenKwgrant: Any other objections, or shall I push?06:33
wgrantPush!06:33
StevenKwgrant: The MP is updated06:42
wgrantStevenK: r=me06:46
=== wedgwood_away is now known as wedgwood
czajkowskijtv:  Is there any way to set up rosetta on a branch owned by a public team?09:47
jtvHi czajkowski — you mean to export translations to?  I think there have been changes in this area, so for the current state of affairs you'd best talk to the Australians.09:49
jtvThe situation when I worked with it was that you had to own the branch in order to select it, but then of course you could change its ownership.09:49
czajkowskijtv: cool thanks wgrant has asked for clarification from the user in lp land09:50
czajkowskithanks09:50
=== gary_poster|away is now known as gary_poster
=== cjohnston_ is now known as cjohnston
=== mthaddon` is now known as mthaddon
=== wedgwood is now known as wedgwood_away
=== vednis is now known as mars
=== tasdomas is now known as tasdomas_afk
=== nigelb_ is now known as nigelb

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