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

StevenKwgrant: https://code.launchpad.net/~stevenk/launchpad/use-timeout-for-checkwatches/+merge/14758601:26
wgrantStevenK: Have you tested locally that it actually works?01:41
StevenKHaha01:42
StevenKYou tell funny jokes01:43
StevenKNow I have to remember how to do that01:43
StevenKwgrant: 2013-02-11 01:48:53 INFO    Updating 1 watches for 1 bugs on http://bugzilla.abisource.com01:49
wgrantStevenK: But does the timeout work?01:53
StevenKwgrant: I've also discovered mantis and trac also call their own urllib2.open, so I've changed them too01:56
StevenKI'll check the timeout itself after lunch01:56
wgrantGreat01:56
StevenK2013-02-11 02:19:13 INFO    Error updating http://bugzilla.abisource.com/: http://bugzilla.abisource.com: <urlopen error timed out>02:19
StevenK2013-02-11 02:23:26 INFO    Updating 1 watches for 1 bugs on http://tracker.ardour.org02:24
StevenK2013-02-11 02:23:56 INFO    Error updating http://tracker.ardour.org: http://tracker.ardour.org: <urlopen error timed out>02:24
StevenK(ardour is Mantis)02:24
StevenKwgrant: Are you happy enough with that?03:17
StevenKThat's XMLRPC and Mantis03:17
StevenKI can dig for Trac and old Bugzilla if you wish03:17
wgrantStevenK: Seems fine to me03:19
wgrantNo further changes?03:19
StevenKLet me push them up03:19
StevenKI'm tempted to refactor Mantis and Trac so there is one callsite for urlopen in base03:20
wgrantThat seems like a good idea, and it shouldn't be too hard03:21
StevenKCurrent idea: Set a self.url_opener on both Mantis and Trac and teach urlopen in the base class to use it if it's set03:22
StevenKFor bonus points, set a variable to the function and call it as a function03:23
StevenKwgrant: The MP is updated03:35
wgrantStevenK: Can you just default url_opener to urllib2.urlopen?03:37
StevenKHow does that help? I can't call .open on that?03:38
wgrantAh, true.03:39
wgrantr=me03:39
wgrantStevenK: You lose!03:59
StevenKBlink04:01
StevenKI hate the checkwatches tests04:01
StevenK-        def raise404(request, data):04:08
StevenK+        def raise404(request, data, timeout=None):04:08
* StevenK peers at these branch vocab tests05:10
StevenKThere is a test to make sure a vocab doesn't return branches owned by a OPEN or DELEGATED team05:10
wgrantStevenK: That sounds like the series branch picker05:34
StevenKWhich is on product05:38
StevenKSince that deals with IProduct or IProductSeries05:39
StevenKRight, thanks to some hideous code, the branch vocab tests pass05:54
StevenKExcept my last lot of refactoring broke them05:54
StevenKwgrant: OMG, these changes work06:09
wgrant:)06:10
StevenK 6 files changed, 196 insertions(+), 199 deletions(-)06:12
* StevenK accidently deletes IBranchCollection.search06:17
StevenK 6 files changed, 197 insertions(+), 445 deletions(-)06:17
adeuringgood morning08:53
=== yofel_ is now known as yofel
=== jam2 is now known as jam
wgrantStevenK: Oh12:20
wgrantStevenK: You still lose at buildbot12:20
wgrantStevenK: Look at those test counts12:20
wgrantThere's one very long error which apparently breaks the subunit stream12:21
wgrantlp.bugs.tests.test_bugtracker.TestMantis and checkwatches.txt, from my ec2 run12:21
StevenKBleh12:21
StevenKI did wonder why the test count was quite low12:21
StevenKwgrant: So I managed to destroy another ec2 run of yours?12:23
=== almaisan-away is now known as al-maisan
wgrantStevenK: Yup12:25
wgrantAnd I've only run two batches of them in the last month...12:25
wgrantyou sabotaged both!12:25
* StevenK adds another stroke to his "wgrant's ec2 runs I've doomed by accident" board12:28
wgrantLies12:29
StevenKProbably shouldn't be too bad to sort out12:33
StevenKwgrant: Testfix landing.12:43
wgrantStevenK: Thanks12:48
=== Ursinha-afk is now known as Ursinha
=== wedgwood_away is now known as wedgwood
=== pinky is now known as brianchid
=== al-maisan is now known as almaisan-away
=== deryck is now known as deryck[lunch]
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== deryck[lunch] is now known as deryck
=== Nigel_ is now known as G
=== StevenK_ is now known as StevenK
=== cyclicflux is now known as Guest64364
=== Guest64364 is now known as cyclicflux
=== cyclicflux is now known as Guest34077
=== Guest34077 is now known as cyclicflux
=== cyclicflux is now known as CyclicFlux

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