/srv/irclogs.ubuntu.com/2010/08/06/#launchpad-dev.txt

rockstarwgrant, removing old code is the easiest way to get a branch landed.  :)00:10
cody-somervillewgrant, S[SB]PPH is gone?!00:10
wgrantcody-somerville: Yes, Julian removed them a few months ago.00:10
wgrantmakes everything muuuuch easier.00:10
wgrantrockstar: True, but it's scattered everywhere.00:11
cody-somervillehah. sweet.00:11
wgrantAnd when I try to remove things, I inevitably end up getting fed up with the shocking Soyuz tests, so rewrite them instead...00:11
jkakarlifeless: If you can get someone to bump the build priority of the new Storm packages you'll have your release earlier. :)00:14
rockstarwgrant, yes, I know that dance.00:17
jkakarI wonder what would happen if each team had to rotate every cycle.00:17
jkakarAll of a sudden Soyuz becomes Code, Code becomes Registry, Registry becomes Translations, etc.00:18
rockstarjkakar, madness I tell you. Madness.00:18
jkakarrockstar: Sure, but would it be *good* madness?00:18
rockstarjkakar, depends what team you end up being on.00:18
rockstarjkakar, also, ftr, the lines between the code team and the soyuz team have been blurred recently.00:19
wgrantWe managed to fob lots of our code off into collective maintenance at the start of the year.00:19
wgrantI was pretty pleased.00:19
wgrantYes, exactly.00:19
jkakarrockstar: That's great to hear.00:19
wgrantjkakar: Not for Code it isn't :P00:19
jkakarOn the Landscape team we have no internal boundaries.  Everyone is expected to know everything (which of course isn't true, but no one can ever say 'Not my problem').00:20
jkakarwgrant: :)00:20
wgrantjkakar: How big is the Landscape codebase?00:20
jkakarI sometimes wonder what would happen if that was the case in Launchpad.00:20
lifelessin theory we have no/few internal boundaries00:21
wgrantlifeless: Ha ha ha sure.00:21
lifelessin practice we do00:21
lifelesswgrant: jml and I, and I think francis, would like to see less partitioning00:21
wgrantThe team structure is defined to have subteams for each application!00:22
wgrantThat is surely creating boundaries.00:22
lifelesswgrant: conways law, and yes.00:22
wgrantlifeless: That's good.00:22
jkakarwgrant: Landscape server has 235413 lines of Python, Javascript and ZPT.  Landscape client has 44351 lines of Python code.  A secret thing has 19197 lines of Python code.  A total of 298961 lines of code.00:26
jkakarwgrant: Not that lines of code is really a measure of much.00:26
jkakarProbably much smaller than Launchpad.00:27
lifelessnah00:27
lifelesssloccount of lib/lp and lib/canonical00:27
lifelesspython:      278120 (75.66%)00:27
lifelessxml:          86102 (23.42%)00:27
lifelessperl:          3002 (0.82%)00:27
lifelesssh:             378 (0.10%)00:27
wgrant392735 Python, JavaScript and ZPT.00:28
lifelessits both larger and smaller than it needs to be - larger on the source side, smaller on the tests side00:28
wgrantYep.00:28
jkakarWe have ~7900 tests in Landscape, ~1800 tests in Landscape client and about ~700 in secret thing.00:29
jkakarIn general we tend to have 25%-40% more test code than application code.00:29
lifelessyou really should rotate to the bzr team for 2 months00:29
lifeless:)00:30
jkakarThat would be fun. :)00:30
jkakarI guess you have a lot more test code than that?00:30
lifeless21K tests run in trunk, or there abouts00:30
lifelessthere is a multiplicative effect there due to test scenarios per-backend, but still00:30
jkakarlifeless: By the way, I've been looking at testscenarios for a project I'm hacking on.  It's really nice.  Thanks. :)00:31
lifelessjkakar: my pleasure00:31
lifelessjkakar: I've another one up my sleeve.00:31
lifelessJust need a weekend to realise it00:31
jkakarNice.00:32
lifelessjkakar: you might like this too - https://code.edge.launchpad.net/~lifeless/launchpad/registry/+merge/3183000:32
jkakarlifeless: Very nice.  I've been looking at matchers more closely too.  I'm excited, they solve lots of annoying problems.00:34
jkakarlifeless: Need to integrate them in Landscape still.00:34
lifelessjkakar: \o/00:35
lifelessjkakar: assertThat in testtools is:00:35
lifeless - small00:35
lifeless - BSD/ApacheV200:35
lifelessso just grab it and shove it in your base clsas00:35
jkakarThat's my plan. :)00:36
jkakarIn fact, I've been doing that to use it with Twisted.00:36
lifelessyou could put it in twisted ;)00:42
cody-somervilleHas anyone seen Review Board before?01:12
lifelessyes01:12
cody-somervilleIt seems really slick. Is that the direction launchpad reviews are going in?01:13
lifelessits a bit of an ambiguous question01:14
lifelessyes, clearly everyone wants to make lp reviews better01:14
lifelessis it going to be a clone of rb? I doubt it.01:14
jkakarlifeless: https://edge.launchpad.net/storm/trunk/0.1701:15
cody-somervilleI really like how it lets you embed snippets of the patch in your comment and have it highlighted and lets you comment on the specific comments against a snippet in a comment01:16
lifelesscody-somerville: feel free to file wishlist bugs for specific things you'd like to see01:16
lifelessjkakar: hey, can we have a voice chat?01:17
jkakarlifeless: Sure thing.  Skype?01:17
lifelessI want to talk through mapping ORM failure modes01:17
lifelessyes01:17
jkakarlifeless: I'm 'jkakar' on Skype.01:17
lifelessyou need to click 'allow' not 'sodoff'01:18
lifeless:P01:18
pooliehi lifeless, i'm planning to do the next tranche of flags today01:32
poolieunless there are any priority interrupts01:32
lifelesspoolie: cool01:35
poolielifeless: brief call?01:36
lifelessotp right now01:36
lifelessafter that sure01:36
lifelesspoolie: ok, off the phone, ping me when you want to chat02:14
lifelesssinzui: bug 593054 - how would you feel if I land a patch dropping the memcache use from it ?02:17
_mup_Bug #593054: Need to flush caches with modified object <Launchpad Foundations:Triaged> <Launchpad Registry:Triaged> <https://launchpad.net/bugs/593054>02:17
lifelesspoolie: I might go cook some lunch and so on, but I dont' want to block you02:39
poolieno i'm good now02:39
lifelessok. skype ?02:40
thumper✁☹05:06
thumpermwhudson: the merging of the codehosting areas may have landed everywhere except lp.dev05:06
lifelesspoolie: your branch [with my tweaks] fails some tests. forwarding to you05:12
mwhudsonthumper: ?05:13
thumpermwhudson: using make run_codehosting we get branches in two locations:05:16
thumper /var/tmp/bazaar.launchpad.dev/push-branches/05:17
thumperand05:17
thumper /var/tmp/bazaar.launchpad.dev/mirrors/05:17
thumperor at least pushing puts it in mirrors05:17
thumperand the makefile makes branches in push_branches05:17
thumperI'm trying to work out why the scanner is looking in the wrong place05:23
mwhudsonoh oops05:29
mwhudsoni sort of vaguely knew about make-dummy-hosted-branches being wrong05:30
thumperit could just be the make-dummy... thing that is wrong05:30
thumperand the reason that the scanner is broke05:30
thumperis that I've not installed the local launchpad recently05:30
=== almaisan-away is now known as al-maisan
thumpermwhudson: why is the scanner looking in the wrong place?05:33
thumperI can't figure it out05:33
thumperit uses lp-internal05:33
thumpergah05:35
* thumper smacks head against the table05:35
* thumper still can't see it05:35
* thumper leaves for a bit05:37
mwhudsonthumper: lp-internal maps to http, so that should be served from ../mirrors05:41
thumpermwhudson: which has me wondering why the scanner can't open it05:44
mwhudsonthumper: what is the scanner saying?05:44
thumperTransportError: Transport error: Server refuses to fulfill the request (403 Forbidden) for http://bazaar-internal.launchpad.dev/00/00/00/50/.bzr/branch-format05:44
mwhudsonsometimes /var/tmp/bazaar.launchpad.net/mirrors isn't world readable05:44
mwhudsonthumper: ah, bet this is the case05:45
mwhudsonif you can figure out why this happens...05:45
thumperah05:46
thumper(*&%^$#@!#$%^&05:46
thumpermwhudson: that's it05:52
thumpermwhudson: I'll fix the config stuff in a different branchj05:52
=== al-maisan is now known as almaisan-away
pooliethanks lifeless06:17
lifelessI need a teddy-bear who knows APIs well07:12
lifelessanyone around ?07:12
lifelessspecifically, I have a property which is exported and I'd like to know how to make it call a function rather than just accessing a property07:13
wgrantlifeless: What do you mean?08:02
lifelesswgrant: so, this is 'allmembers'08:02
lifeless'allmembers' is exposed as /participation on people/teams08:03
lifelessfor many uses, what the query retrieves today is fine, I don't want to make it greedy automatically.08:03
wgrant /participants, you mean?08:03
lifelessbut for this particular case, because its being rendered as json08:03
lifelessblah yes08:03
wgrantYou need to export a method which does it instead.08:03
lifelessI want to expand out all the things that it gets so the json rendering etc08:03
wgrantThen callers have to call the method.08:04
lifelesswgrant: right, but 1.0 api freeze.08:04
wgrantYou can't, unfortunately, just make the attribute lazy.08:04
lifelesswgrant: other way around08:04
lifelessanyhow, I think I have it08:04
lifelessstop exporting allmembers08:04
lifelessexport allmembers_full or someting 'as' participants08:04
lifelesshave allmembers and allmembers_full both call a common core function with arguments expressing how greedy they want the object evaluation to be.08:05
wgrantIf you export an attribute at all, it will be serialised along with the rest of the representation.08:05
lifelessonly fields08:06
wgrantOh, right.08:06
lifelessthis will be a CollectionField08:07
lifelessso not included08:07
wgrantYour approach sounds sane.08:07
lifelesscool, thanks08:07
pooliei'm getting this error trying to start postgres in a chroot dedicated to launchpad08:26
poolie[2010-08-06 07:26:08 UTC] FATAL:  could not create shared memory segment: Invalid argument08:26
poolie[2010-08-06 07:26:08 UTC] DETAIL:  Failed system call was shmget(key=5432001, size=39395328, 03600).08:26
pooliedoes this ring any bells?08:27
lifelessuhm08:28
lifelessvery very vaguely08:28
lifelessdo you have two chroots like that at the same time? likely to fail I think08:28
* lifeless uses vms because of this ;)08:28
StevenK    warnings.warn(UnreasonableRemoveSecurityProxyWarning(obj), stacklevel=2)08:29
StevenKUnreasonableRemoveSecurityProxyWarning: Called removeSecurityProxy(<PackageUpload at 0xce434d0>) without a check if this is reasonable.08:29
* StevenK pouts08:29
spmlifeless: vms as in Virtual MachineS? not VAX-VMS?!??!08:29
poolieyou're showing your age uncle steve08:29
lifelessspm: have I told you about a classmates sort algorithm08:29
poolielifeless: i'm pretty sure nothing else has it bound08:29
lifelessspm: on the otago uni vax08:29
* spm was a vms sysadmin for 5 years!08:29
lifelessspm: he wrote a sort, which he called 'randomsort'.08:30
spmor 6. I forget...08:30
lifelessspm: what do you think the supervisor process did to it ....08:30
pooliei'ts possible something else is using a lot of shm08:30
spmpromoted to always runnable and DOS'd itself!08:30
lifeless\o/08:30
lifelessyes, he got slapped :)08:30
spmvms shell script killer 101: 10: i=i+1;  20: goto 10. <== server dies.08:31
spmistr that little gem was fixed in the early 90's, with whatever version came out then. but don't recall details.08:31
lifelessthis was 93 :P08:31
spm94 is still early! ;-)08:32
spmI think DEC had the optimistic viewpoint of their mostly boriing corporate customers - if you're dumb enough to that to yourself; sucks to be you.08:33
adeuringgood morning08:33
spmheya adeuring!08:33
StevenKRight, now tests I didn't write fail due to that warning. :-(08:34
wgrantStevenK: The warning shouldn't be making them fail...08:34
spmStevenK: if any consolation, staging is now kaput; and one of the edge servers has also died; I'd suggest in a near identical way to staging. Personally I think it's all your fault; but have no proof... yet.08:35
StevenKError in test lp.archiveuploader.tests.test_ppauploadprocessor.TestPPAUploadProcessorQuotaChecks.testPPASizeQuotaSourceWarning08:35
StevenKTraceback (most recent call last):08:35
StevenK...08:35
StevenKUnreasonableRemoveSecurityProxyWarning: Called removeSecurityProxy(<PackageUpload at 0xce434d0>) without a check if this is reasonable.08:36
wgrantspm: Is that due to the vostok changes?08:36
spmwgrant: bingo08:36
StevenKVostok is so not my fault08:36
lifelessis too08:36
spmsure it is. I said so. QED. so did Rob, QED x 2.08:36
StevenK /ragequit08:36
spmrofl08:36
spmis there a fix for that in the pipeline? or do I need to hand revert staging back to a level of workingness?08:37
wgrantspm: mwhudson has a fix. It was apparently in EC2 at 8am.08:40
wgrantBut hasn't shown up in devel..08:40
spmwoot08:40
wgrantOh, wait.08:40
wgrantI think it did land.08:40
spmi recall him talking about something, but never did get the details08:40
wgrantdevel r1130708:40
spm304 is what hit edge08:42
wgrantThat's current stable.08:43
wgrantIt's merging oddly.08:43
wgrantTwo stable->db-devel merges, less than an hour apart.08:43
wgrantI don't see how that could happen.08:43
spm<frown>08:44
poolielifeless/others, when you develop lp in a vm, do you simply keep your source tree within the vm?08:45
lifelessyes08:46
lifelessI use ssh -A08:46
lifelessand virsh start/shutdown08:46
poolieand run your editor etc in the vm too?08:46
lifelessyes08:46
lifelessof course, as I use vim, not gvim, normally, this is no change for me ;)08:46
lifelessmwhudson: /var/tmp/vostok-archive08:51
lifelessmwhudson: why is 'make' making that?08:51
wgrantOh, are there lucid and non-lucid builders both blessing devel and db-devel at the moment?08:56
lifelessthat seems likely08:59
lifelessalso fail08:59
lifelesscan you tell mars ?08:59
mthaddonwgrant: there are lucid and non lucid builders that are both tracking devel and db-devel, but in terms of whether we're in "testfix" mode, we only care about the lucid ones09:10
wgrantmthaddon: But both seem to be able to bless devel for merging into db-devel.09:11
mthaddonhmm, interesting - I think that's probably true, yeah09:12
bigjoolswgrant: did you get my PM about that failing test in your branch?09:23
wgrantbigjools: I did. I fixed it, and it's landed.09:29
wgrantThanks.09:30
bigjoolsgreatr09:32
lifelessstub: is there a wiki page about the workflow for doing db patches?09:51
stubYes. schemachanges or something. Its linked off the processes area I think.09:51
=== adeuring1 is now known as adeuring
=== lifeless_ is now known as lifeless
bigjoolswgrant: are you still working on https://code.launchpad.net/~wgrant/launchpad/rescue-aborted-and-robbed-builders/+merge/2228911:03
deryckMorning, all.12:02
jmlmorning12:04
lifelesshai and hai12:11
* lifeless hopes mars pops in soon12:11
=== bigjools changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 3 of 10.08, Release Manager: bigjools | PQM will be closing 22:00 UTC TODAY | firefighting: testfix mode | buildbot/pqm has been switched to watching the *lucid* builders | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pas
=== bigjools changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 3 of 10.08, Release Manager: bigjools | PQM will be closing 22:00 UTC TODAY | firefighting: - | buildbot/pqm has been switched to watching the *lucid* builders | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | On-call review in irc://irc.freenode.net/#launchpad-reviews | Use http://paste.ubuntu.com/ for pastes
=== didrocks1 is now known as didrocks
wgrantbigjools: Didn't I throw a comment on that this morning?12:29
wgrantIt bitrotted completely post-Wellington, so someone else should take it.12:29
bigjoolsok12:29
bigjoolscan you mark it abandoned?12:30
bigjoolswgrant: also looking at your ddebs for PPAs branch12:30
bigjoolsdoes this need a buildd rollout?12:30
wgrantbigjools: The buildd change was rolled out months ago.12:31
bigjoolsok12:31
wgrantCan you reject my MP? I can't do that.12:31
bigjoolsdone12:31
wgrantThanks.12:31
bigjoolsI need to address that problem soon, it's a royal PITA12:31
wgrantYes.12:32
bigjoolswgrant: I don't supposed you'd be able to create some upload scenarios to QA your dependency wait changes?12:32
wgrantbigjools: Like, say, lamont's slony package?12:33
wgrantThat's one that should already be there.12:33
wgrantBut I could create another if you want.12:33
bigjoolsI need it on dogfood12:33
bigjoolsso I can run buildd-retry-depwait.py12:34
wgrantbigjools: I guess you'll need to set all the existing depwait builds to something else, or you're going to have a rather flooded build farm...12:36
bigjoolswgrant: that's already sorted, I ran it a couple of days ago and then deleted the queue12:37
* bigjools taps side of nose sagely12:37
wgrantBut for easy setup, create a PPA with normal dependencies and copy slony1-psql8.3 from https://dogfood.launchpad.net/~lamont/+archive/psql8.3/+packages12:37
bigjoolsok12:37
wgrantIt will depwait, since it needs debhelper 7, and that's only in hardy-backports.12:37
wgrantIt's being retried every time the script runs at the moment.12:38
wgrantThat's a lot of manual builders.12:44
wgrantIs glib still screwed?12:44
lifelessmaxb: gnight - would love it if you could drop me a mail saying where I could help with the sheperd project12:58
maxblifeless: tab completion fail?12:58
lifelessmaxb: bah, yes13:00
lifelessmars: ^13:00
james_wbigjools: am I ok to land https://code.edge.launchpad.net/~james-w/launchpad/stop-publishing-nagging/+merge/31851 ?13:06
jcsackettanyone get an error on "Getting distribution for testtools==0.9.6dev91" when running "make build" ?13:15
jelmer_jcsackett: you might have to run ./utilities/update-sourcecode13:16
jcsackettjelmer_, that updated some things but the error remains. :-/13:21
jcsackettthanks for pointing that out though, didn't realize that script was there.13:21
jelmer_jcsackett: Do you have a testtools_0.9.6dev91.tar.gz file in download-cache/dist ?13:22
jcsackettno, jelmer_,  it's 0.9.2; does that indicate update-sourcecode didn't run properly?13:23
jelmer_jcsackett: I'm not sure, I think it might perhaps just update the bzr checkouts in sourcedeps/.13:24
jelmer_jcsackett: You might want to try running "bzr up" in download-cache13:24
jelmer_jcsackett: rocketfuel-get (if you use the standard lp directory layout in ~/launchpad/{lp-branches,lp-sourcedeps}) will also do all these things for you.13:25
jcsackettjelmer_: ah, okay. i'll try that. thanks!13:25
jcsackettjelmer_: looks like that did it (it's at least past where it was erroring before). thanks, again.13:28
bigjoolsjames_w: yes, PQM is not closed yet13:45
james_wbigjools: I was more asking from a soyuz standpoint13:45
bigjoolsah sorry13:45
james_wjml asked me to double-check with you13:45
james_walso, when it's not release crunch I would like to discuss Soyuz and the factory with you13:46
bigjoolsyes PackageUpload is only ever written to in zopeless scripts13:46
bigjoolsso it's fine to remove its proxy13:46
bigjoolsjames_w: that would be in a week's time then :)13:47
jtvhenninge: I'm fazed.13:57
jtvhenninge: Scenario one:13:57
* henninge has 3 minutes to go ....13:57
jtv        old_entry = queue.addOrUpdateEntry(13:57
jtv            template.path, '# Content here', False, template.owner,13:57
jtv            productseries=template.productseries)13:57
jtv        new_entry = queue.addOrUpdateEntry(13:57
jtv            template.path, '# Content here', False, template.owner,13:57
jtv            productseries=template.productseries, potemplate=template)13:57
jtvTwo entries.  No worries.13:57
jtvScenario two:13:58
jtv        old_entry = queue.addOrUpdateEntry(13:58
jtv            pofile.path, '# Content here', False, template.owner,13:58
jtv            productseries=template.productseries)13:58
jtv        new_entry = queue.addOrUpdateEntry(13:58
jtv            pofile.path, '# Content here', False, template.owner,13:58
jtv            productseries=template.productseries, pofile=pofile)13:58
jtvBoom!13:58
jtvCrash!13:58
jtvViolates unique constraint.13:58
jtvThe only thing I can think of is that pofile is not part of the constraint...13:58
henningejtv: pofile is not taken into account.13:58
henningejtv: that is the reason (I figures) why that wordpress-ckb.po did not get approved yesterday.13:59
jtvWell this particular problem happens while creating the entry.13:59
henningejtv: When I went to the approval form, I still had to pick the template - although the entry already said "will be im ported into ..."13:59
jtvAFAIK potemplate is normally null for translation uploads.14:00
henningejtv: right14:00
jtvAnyway, the constraint indeed does not care about pofile.14:00
jtvSo that rules it out as one of the two possible causes of the bug I'm working on now, which is a bit of a relief.14:00
henningejtv: right, that's why the two entries are identical to it14:01
henningejtv: but your question is answered, right?14:03
jtvhenninge: yes, I answered it by explaining the problem.  Thanks.  :)14:04
jtvdanilos: https://code.edge.launchpad.net/~jtv/launchpad/bug-613821/+merge/31957 —I can't set the review type to "code" right now.14:39
jtvdanilos: I'd be much obliged if you move the kanban card about as well…14:40
danilosjtv, I will, thanks14:41
jtvdanilos: I'll go do non-work stuff now, but will check back from time to time.  If/when you feel it's ready, please land it for me…  I'm also running all Translations tests on it so we have reasonable certainty that it won't fail in EC2.14:43
danilosjtv, did addOrUpdateEntry signature change? (or is it just whitespaces?)14:44
jtvdanilos: whitespace.14:44
danilosjtv, cool14:44
jtvI promise.14:44
* danilos rechecks14:46
danilosjtv, does _getMatchingEntry return only an already approved entry? (i.e. it will not return "itself")14:48
jtvdanilos: it's only called when looking for the more specific match that the approver's pofile/potemplate guess will produce.14:49
jtvSo it won't produce the entry that you're already looking at: you'd be looking for an entry with the same pofile/potemplate, and in that case the caller shortcuts.14:50
danilosjtv, it'd be nice to return an explicit False in _attemptToApprove when entry.status != NEEDS_REVIEW14:51
jtvdanilos: whoops, sorry :)14:51
danilosjtv, also, your comment about the 'checking at the very end if it was already approved' confused me a bit :)14:54
jmlderyck, ready when you are.14:55
danilosjtv, old code was not even considering that problem, it was checking if approval succeeded instead14:55
deryckjml, ok, 3-4 minutes still 'til I'm ready.  Mumble?14:55
danilosjtv, basically what you do with a check on the returned value from _attemptToApprove14:55
jmlderyck, sure.14:55
danilosjtv, anyway, looks good other than that minor point above, r=danilo14:56
jtvdanilos: thanks.  I meant the part where it checked at the end whether the entry's status was APPROVED.  Not too sane.  :-)14:56
jtvdanilos: could you land it for me?14:57
danilosjtv, right, but that's your "if success" check, roughly the same thing14:57
jtvdanilos: not entirely, which shows that this needed cleaning up.  Basically, in the old code, if the status is APPROVED then how did you get to that point?  By wasting time on an entry that was already approved.14:58
danilosjtv, right, I am saying that you are adding a totally unrelated fix and your comment about how it's just moving a check to a different place confused me :)14:59
danilosjtv, it's not moving a check, it's a new check that didn't exist before, and you still do a similar check for exactly the same reasons old code did :)14:59
danilosjtv, anyway, can you please set the commit message to what you feel is appropriate? :)15:00
jcsacketthi, sinzui.15:00
sinzuihj jcsackett15:00
jtvdanilos: there's two different checks here.  One is "does this entry still need review?" and the other is "did I make any progress?"  I moved the former up to before the attempt to approve the entry.15:00
jtvdanilos: I can try to edit the commit message… the UI wouldn't let me earlier, probably because I'm working through my phone.15:01
danilosjtv, where was that "former" check before?15:01
danilosjtv, ah, ok, I'll take care of that; have you fixed the "return False" and pushed that?15:01
sinzuibigjools, ping. do you have time to talk about bug 607879 with jcsackett and myself15:01
jtvdanilos: fixed yes, just checking that it is indeed pushed.15:01
_mup_Bug #607879: https://bugs.edge.launchpad.net/~person/+participation timeouts <timeout> <Launchpad Registry:In Progress by jcsackett> <https://launchpad.net/bugs/607879>15:01
jtvdanilos: the old check was:15:02
jtv           if entry.status != RosettaImportStatus.APPROVED:15:02
jtv                there_are_entries_approved = True15:02
bigjoolssinzui: Sure.  I am feeling feverish, but I'd probably make the same sense as if I wasn't.15:02
sinzuibigjools: jcsackett and I may ask for an RC for this oops. It is the leading oops in the registry domain.15:03
danilosjtv, hum, I read that as the same check you did, except that I misread the '!=' part15:03
danilosjtv, it seems you are changing the semantics of the method, now it returns15:03
jtvdanilos: never mind, it's all horrible15:03
danilosTrue when there's something approved, and it used to return True when there was something it didn't approve15:03
sinzuibigjools, We need to stormify two methods, and one will require updating the callsites to deal with the changed output15:03
jtvdanilos: only in the case where, while you were approving, an entry changed to some state other than APPROVED through external forces.15:04
sinzuibigjools, So I think I have forewarned you about our goals for today15:05
jtv(From NEEDS_REVIEW)15:05
danilosjtv, I seem to be reading this wrong15:05
danilosjtv, so, if an entry stayed NEEDS_REVIEW (i.e. we didn't find what to approve), we used to set there_are_entries_approved to True (yes, the var name is wrong)15:06
bigjoolssinzui: anything that fixes an oops is likely to get an RC from me :)15:06
jtvdanilos: well maybe I am, because it is messy.  But old situation: go through all the motions of approving, then check that the entry isn't approved already, and if not, set its status as Approved.15:06
jcsackettbigjools: fantastic. :-)15:06
sinzuibigjools, thanks.15:06
danilosjtv, oh, not really, you are right15:06
jtvdanilos: see?  The old code was carefully designed to confuse and disorient intruders.15:06
danilosjtv, anyway, it is horrible code15:06
jtvNow that the Cold War is over, we can ease away from that.  :)15:06
danilosjtv, heh, yes, a nice improvement there15:07
bigjoolssinzui, jcsackett: you're welcome.  Let me know how you get on.  I may be taking a few hours off and coming back later, I feel like death.15:07
danilosjtv, anyway, thanks for the fix, I'll get it through ec2 and land15:07
danilosbigjools, don't go!15:07
=== matsubara-afk is now known as matsubara
jtvdanilos: thanks.  FWIW it got through at least all the Translations pagetests and doctests and all the windmill tests I observed, as well as lp.translations.tests15:08
bigjoolsdanilos: can I help? :)15:08
jtvbigjools: wait!  What _does_ death feel like?  We're all not quite dying to know.15:09
danilosbigjools, no, no, I am good, I am just sad to see you go, get drunk and all those things15:09
* bigjools raises scythe and points at jtv15:10
* jtv ducks15:11
bigjoolsdanilos: I wouldn't be able to drink if I wanted to, my throat is on fire15:11
danilosbigjools, oh well, get some rest man, I am sure you'll be back to check on PQM has-closed midnightish :)15:14
bigjoolsyou'd think :)15:14
marswgrant, still around?  You meantioned something about both builders blessing devel and db-devel?15:18
bigjoolsmars: apparently that was the case earlier, I think mthaddon is aware?15:19
mthaddonbigjools: not really - I haven't looked into it at all15:20
bigjoolsoh ok, I thought wgrant had told you15:20
=== salgado is now known as salgado-lunch
=== Ursinha is now known as Ursinha-lunch
jmljelmer_, what should I do?16:45
jmljelmer_, trigger a rebuild or actually investigate the source of failure?16:46
* jml suspects an erratic test.16:46
jelmer_jml: Perhaps trigger a rebuild first?16:46
jelmer_could the mocking about with the buildbots and their recent restart perhaps be related?16:46
jml4 hrs, 4 mins, 56 secs at 20:52:0016:47
jmljelmer_, probably not.16:47
jmlI suspect the root cause of the problem is TacTestSetup being terrible.16:48
jmlwhich is actually a mask for a deeper problem with Twisted16:48
* jml frowns16:48
jelmer_oh, db-devel just broke too, but with different errors16:49
jmlyeah, but danilos warned us about that.16:49
danilosjelmer_, jml: the fix for that is already in db-devel so I am just forcing a build16:50
danilos(the same will happen on lucid-db-lp which will actually get us into testfix mode again)16:51
jmldanilos, sweet.16:51
danilos(this should at least minimize the testfix mode for everyone, and again, I apologize for your potentially failing db-devel ec2 test runs)16:52
=== beuno is now known as beuno-lucnh
sinzuiAnyone available for a quick vote on milestone caching? The choices are remove it all, or leave it for anonymous only17:15
danilossinzui, my vote would be that whoever goes and does it decides what to do :) (i.e. weights the pros and cons on both: there's no perfect answer, so voting won't really help much)17:19
sinzuiI prefer keeping anon cache. they cannot change something to see it change. The tests need minor updates to record the cache type.17:21
=== salgado-lunch is now known as salgado
=== Ursinha-lunch is now known as Ursinha
=== deryck is now known as deryck[lunch]
marswgrant, I think we figured out the db-devel landings: I /think/ PQM stopped processing submissions for about 5 hours, so both db-devel landings ended up in the queue, landing right beside each other.17:56
jelmer_sinzui: I think caching for anonymous users makes sense, as a developer it's confused me a few times18:09
sinzuithanks jelmer18:09
=== beuno-lucnh is now known as beuno
jmlgrr... how do I use pip to install a package from a tarball.18:34
benjijml: you can probably tell it the directory with the tarball in it is your index18:36
jmlbenji, thanks.18:36
benjijml: oh, wait, it's easier than that: "pip install path/to/mypackage.tgz"18:36
benjifrom http://guide.python-distribute.org/usage.html#installing-from-a-tarball18:36
jmlbenji, but after my frustrated outburst I just untarred it and installed it with good ol' python setup.py install.18:36
benjiheh18:37
jmlbenji, thanks. good to know both the doc & the command for the future18:37
=== deryck[lunch] is now known as deryck
* rockstar lunches19:39
jkakarderyck: btw, I release Storm 0.17 yesterday.19:50
jkakarderyck: Do you need anything else before you can upgrade the version of Storm Launchpad is using?19:51
jkakarderyck: The release is here: https://edge.launchpad.net/storm/trunk/0.1719:51
deryckjkakar, nope, that's perfect.  Getting my branch blessed now to update us.19:51
jkakarderyck: Awesome!19:52
sinzuiDoes anyone know how to make a view render() with ANONYMOUS in a unit test? passing principal=None does what I expect to the request, but render fails wanting a logged in user20:18
salgadosinzui, principal=UnauthenticatedPrincipal, maybe?20:21
sinzuisalgado, None cause this to be set:20:22
sinzuirequest.setPrincipal(20:22
sinzui            getUtility(IPlacelessAuthUtility).unauthenticatedPrincipal())20:22
sinzuisalgado,  I think the request is correct, but render() ...20:22
sinzuioh, maybe I need to login as ANONYMOUS as well as call render with principal=None20:23
salgadoisn't your view expecting a user to be logged in?  iow, is it not a launchpad.AnyPerson view?20:24
sinzuiIt is a milestone view and I am trying to update the test to show memcache is only enabled for anonymous uers20:26
sinzuiwoot!20:28
sinzuisalgado, I had to login(ANONYMOUS), I was actually logged in as another user from the test setup. I had written the create_initialize_view to have none as the principal...and assumed the latter was the issue20:29
lifelessmars: hi?21:51
kikolifeless, would you care to look at some bzr bugs loic filed and see what you think?21:53
lifelessurl me up22:01
kikohttps://launchpad.net/bugs/59356022:03
_mup_Bug #593560: Slow performance for many operations on the gcc code import branches <udd> <Bazaar:Confirmed> <https://launchpad.net/bugs/593560>22:03
kikohttps://launchpad.net/bugs/60506722:03
_mup_Bug #605067: want option to allow uncommit but disallow changing mainline <amd64> <apport-bug> <maverick> <Bazaar:Confirmed> <bzr (Ubuntu):Confirmed> <https://launchpad.net/bugs/605067>22:03
lifelessso the second I'd already seen, I agree it would be good22:03
lifelessprobably fairly easy too22:03
lifelessthe first bug I've seen too22:04
lifelessits a bit of a problem bug because its very very wide22:05
kikoyes, it's annoying22:05
lifelesswe've talked just about the new-tree creation time22:05
lifelesswhich is being addressed - john & martin were doing a patch @ the rally to disable accelerator trees (which in this case are a pessimisation), and john has been working on performance on the gcc tree ever since22:06
lifelessit might be good to file a series of targeted bugs22:06
kikolifeless, oh, that's really good to hear -- I think he and loïc didn't sync up then22:06
lifelessand andrew has just landed a patch that also helps as well22:06
lifelessby being leaner on the ie objects22:07
kikoyeah, the one that mark wrote to us about :)22:07
lifelessright22:07
lifelessjam's work loads the dirstate faster and reduces memory load from the chk pages22:07
lifelessits probably going to be 2.3 only22:07
kikolifeless, do you know when that's due?22:52
lifeless2.2 was just released22:52
lifelessso 2.3 betas will be coming out soon, and 2.3 itself 6 months22:52
kikohmm22:56
kiko"that's a long time to wait" :-)22:56
lifelesswell22:57
kikolifeless, I had one user, ams_cs, who had a commit take 30 minutes the other day, and a few take a couple of minutes22:57
lifelessyou can track betas22:57
kikoI was surprised -- do you think there's anything pathological he's doing?22:57
kikoyeah, I should tell them to22:57
lifelessuhm, its possible that that 30 minute was a complete repack22:57
kikoyes, that's what he said he thought it was22:57
lifelesswhich happens when you click over to a new power-of-10 commits22:57
lifelessso, if he hit the 100000022:57
kikoaha22:58
=== Ursinha is now known as Ursinha-afk
=== matsubara is now known as matsubara-afk

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