/srv/irclogs.ubuntu.com/2010/10/01/#launchpad-dev.txt

thumperpoolie: correction, no lp committers have commented on it00:03
thumperI've looked at it and determined that I'm not qualified00:03
thumperI'll poke jml and mwhudson :)00:03
pooliehaha00:03
poolieok, thanks :)00:03
lifelessso, if its conditional.00:04
lifelesslets land it.00:04
lifelessand iterate.00:04
thumperlifeless: you review it then00:04
lifelessrs=lifeless00:04
lifelessdone00:04
mwhudsonpoolie: is it proposed into the right branch?00:04
mwhudson4907+<!-- TranslationTemplateBuild -->00:04
mwhudsondoesn't seem like something i'd expect to see00:04
poolielifeless: i think it is worth fixing the issues andrew raised00:05
lifelesspoolie: right00:05
pooliebut none of them seem profound so i wanted to pipeline other reviews00:05
lifelessI knew that the code had been reviewed.00:05
lifelessand andrew is an emeritus lp reviewer.00:05
lifelessso he can vote it through.00:05
pooliemwhudson: i suspect it is a mix of db-devel and devel, so it may not be possible to land until they merge00:05
pooliewhich may now have happeende00:06
pooliejam will also need someone to sponsor this and to help him shake it out on staging00:06
thumperor it is landed on db-devel00:06
* thumper is off next week00:06
pooliethumper:  you mean it could land on db-devel instead?00:09
thumperyes00:09
mwhudsonpoolie: it definitely can't land on devel until the next release00:13
mwhudsonwell, unless there's some history rewriting00:13
pooliemeaning 2 weeks from now?00:13
mwhudsoni think it's a bit more than that00:14
pooliebut if it landed on db-devel, it would be available for testing on staging?00:14
mwhudsonyes00:14
mwhudsonpoolie: the branch has conflicts with db-devel it seems00:18
mwhudsonjam: can you merge db-devel, fix the conflicts and repropose it against db-devel?00:18
pooliei don't think he's here at the moment but i put that on the mp00:25
mwhudsonthanks00:26
thumperI think getting a new mp against db-devel would help00:29
thumperas it would avoid all the extra crap00:30
thumperwe should allow target editing00:30
thumper(but don't yet)00:30
thumperand a way to regenerate the diff00:30
thumperyet more on the mp todo list00:30
nh2hi, I'd like to develop new features for rosetta (launchpad translations), but there are quite a lot of branches. Which one should I use as a base?00:54
maxbhttps://dev.launchpad.net/Trunk will help you understand how the various branches relate01:00
maxbOr, in short, base of lp:launchpad/devel01:00
nh2maxb: nice, thank you01:06
wallyworldthumper: yo01:07
thumperwallyworld: hi01:13
wallyworldskype?01:14
thumperok01:15
pooliethumper: i agree changing the target wbn01:21
wgrantmars: Um, good luck with getting dpkg to downgrade packages.01:28
wgrantDowngrades aren't actually supported.01:28
poolie?01:29
wgrants/dpkg/apt/01:29
pooliemeaning the packages aren't required to cope with it?01:29
wallyworldpackaging 101 question: is there a script to make a tar.gz from an egg for adding to download-cache?01:29
wgrantpoolie: Correct.01:30
wgrantapt will try very hard to avoid it.01:31
* thumper feels like crying01:39
thumperwhy is this so fucking hard01:39
* thumper is upset bzr doesn't allow me to push without stacking01:39
pooliethumper: init the branch, turn off stacking, then push01:40
thumperI can't init the branch01:40
thumperthe branch is trunk01:40
poolie?01:40
thumperI'm trying to fix up the remaining 9 maverick branches that are stacked on lucid01:40
poolieit already exists on lp and is stacked?01:40
thumperwhere reconfigure --unstacked breaks01:40
thumperpoolie: yes01:41
thumperI have local full copies of the branches on devpad01:41
thumperand I was trying to move the existing .bzr to backup.bzr using hitchhiker01:41
thumperand repush the full unstacked branch01:41
thumperbut I can't01:41
thumpertwo problems stop it01:41
thumperthere is a bug in LP where the trunk is offered to stack when pushing trunk01:42
thumper(in the weird edge case where you do that)01:42
thumperand that bzr can't avoid stacking at creation time01:42
thumperyou'd think it wouldn't be that hard01:44
wgrantthumper: --stacked-on= doesn't help?01:45
thumperwgrant: is that valid?01:45
wgrantthumper: I think so.01:45
wgrantIt used to be.01:45
* thumper pokes something01:45
thumper$ bzr push lp:~thumper/wikkid/test --stacked-on=01:46
thumperCreated new stacked branch referring to file:///home/tim/sandbox/wikkid-sandbox.01:46
wgrant.... great.01:46
wgrantWell, you could start pushing, kill it before it finishes, then push again.01:46
wgrantThat should result in it being unstacked.01:46
thumperI'm tempted to just use hitchhiker to copy the .bzr dir from the devpad copy01:47
thumperthat may work01:48
poolie:/01:48
lifelesspoolie: lynne is back, but I'm feeling shitty - going to find a local gp and pop in.01:48
lifelessonce I get through to a human @ vodafone01:48
poolienp01:48
thumperalthough I'd have to do something about the checkout dir01:48
pooliethere is a medical centre under the forum, on the side nearest the urban; good luck01:49
lifeless6 minutes on hold so far01:49
thumperpoolie: can you think of a better idea?01:49
pooliei'm trying to understand what you're trying to do01:50
thumperpoolie: ok... here goes01:50
thumperhttps://code.edge.launchpad.net/~ubuntu-branches/ubuntu/maverick/libsoup2.4/maverick is stacked on https://code.edge.launchpad.net/~ubuntu-branches/ubuntu/lucid/libsoup2.4/lucid01:51
thumperit shouldn't be01:51
thumperthe lucid branch should be stacked on maverick01:51
thumperI'm trying to fix that01:51
thumperor01:51
thumpermore correctly01:51
thumperI'm trying to unstack the maverick branch01:51
thumperI don't care about lucid not being stacked01:51
thumperhowever01:51
poolieok, and just reconfiguring it fails how?01:51
thumperreconfigure --unstacked breaks01:52
thumperwith an error similar to what I pastebinned yesterday01:52
thumperhttp://pastebin.ubuntu.com/502991/01:52
thumperwell, this is for lp:ubuntu/language-pack-gnome-tg01:52
thumperbut it is also one of the 9 that fail01:52
poolieok and you have new proper copies of the branches elsewhere01:53
thumper312 of the 321 incorrectly stacked branches got unstacked correctly using reconfigure --unstacked01:53
thumperyes, on devpad01:53
pooliehm01:54
poolieis it an option to just overwrite it using sftp+?01:55
thumperwhat do you mean?01:56
pooliewell, first, let me try to work out if that revision is meant to be in either of those brancehs01:57
maxbthumper: Why can't you just mv .bzr backup.bzr.~1~ in hitchhiker, then bzr init lp:foo; bzr reconfigure --unstacked lp:foo; bzr push lp:foo ?01:58
thumpermaxb: because bzr init lp:foo errors01:58
maxb!01:58
thumperyeah01:58
pooliethumper: because it tells it to stack on itself?01:58
pooliecan you pastebin that error?01:59
thumperthe error is worse now :(01:59
poolieuh, still?02:00
thumperbzr: ERROR: Server sent an unexpected error: ('error', '<Fault -1: "Unexpected Zope exception: CannotHaveLinkedBranch: <Distribution \'Ubuntu\' (ubuntu)> cannot have linked branches.">')02:00
poolie!02:00
pooliethat's not my fault :)02:01
thumperI was going to look at those after I had fixed these branches02:01
pooliehm so what do you want?02:01
pooliei can make a patch to disable stacking on random things02:01
poolieor we can manually edit that repo02:01
poolieor we can investigate why it won't unstack02:01
thumperpoolie: is it possible to have a hacky plugin to allow me to push without stacking?02:03
thumperpoolie: that might be easiest02:03
pooliesure02:04
thumperpoolie: then I could move the .bzr to backup.bzr with hitchhiker02:04
thumperpoolie: and push the full copy in02:04
pooliei'm just wondering if you're going to hit the same zope error?02:04
thumperthat zope error is due to it looking for the branch to stack on02:04
thumperI can use the full url to hitchhiker in still02:04
thumperso all we need is to be able to push an unstacked branch02:05
thumperthen we can look into the unstacking failure02:05
thumperet al02:05
thumperI need to fix those error messages02:05
thumperbut I'm not sure that'll get done in time02:05
thumperi.e. by EOD as I'm off next week02:05
thumperI might get abentley to look into it next week02:05
thumperI'm guessing it isn't actually that hard02:06
thumperjust catching the error in the right place02:06
thumperand returning it correctly though the smart server02:06
* thumper looks for food02:15
pooliethumper, i'll see what i can do about it02:16
pooliei don't think i'll have access to write to those branches but that can probably be fixed02:16
thumperpoolie: if you can get me the hacky plugin, I can put it on devpad and push the branches02:35
thumperpoolie: you can always test it locally02:35
pooliek02:35
pooliejust testing it02:39
maxbDid anyone make any headway on the CSCVS  NoWhoami problem yesterday?03:09
* maxb is collating a list of failed imports03:10
thumpermaxb: not that I know of03:10
thumpermaxb: is there a bug filed?03:11
mwhudsonwe need a losa to look at the importds i think03:11
thumpermwhudson: do you think that is better than hacking CSCVS?03:12
mwhudsonthumper: maybe not03:13
pooliethumper: ok, lp:~mbp/bzr/stacking adds a -Ddisable_stacked_on_url debug flag03:13
pooliewhich should do what you need03:13
poolieyou can set that for pushing, etc03:13
mwhudsoni don't understand why it changed though :/03:13
thumperpoolie: can I just check that out on devpad and use the bzr in it directly?03:15
thumperpoolie: do I have to compile anything?03:15
thumper$ bzr branch  lp:~mbp/bzr/stacking mbp-bzr03:16
thumperbzr: ERROR: The branch lp:~mbp/bzr/stacking has no revision None.03:16
thumper?03:16
poolieah, heh03:17
pooliei'm using it to push itself, so it's taking a bit longer than usual :)03:17
pooliei'll push it to devpad in a shared repo03:17
pooliehang on03:17
pooliethumper: that branch is there for you now03:23
thumperpoolie: on lp?03:23
poolieyup03:24
thumperpoolie: do I have to "make" anything03:27
thumper?03:27
thumperpoolie: doesn't quite work: $ ~/mbp-bzr/bzr push -Ddisable_stacked_on_url --use-existing lp:~ubuntu-branches/ubuntu/maverick/libsoup2.4/maverick03:47
thumperUsing default stacking branch /~ubuntu-branches/ubuntu/maverick/libsoup2.4/maverick at lp-64804368:///~ubuntu-branches/ubuntu/maverick/libsoup2.403:47
thumperbzr: ERROR: The branch 'bzr+ssh://bazaar.launchpad.net/~ubuntu-branches/ubuntu/maverick/libsoup2.4/maverick/' cannot be stacked on '/~ubuntu-branches/ubuntu/maverick/libsoup2.4/maverick'.03:47
pooliethumper: sorry, back now, no, you shouldn't need to build anythnig04:13
pooliecan you paste the traceback please?04:14
thumperthere was no traceback04:15
poolienot even in .bzr.log?04:15
* thumper looks04:16
thumperpoolie: devpad:/home/tim/.bzr.log04:17
thumpermwhudson: ping04:17
pooliesorry thumper, that's -Ddisable_set_stacked_on_url04:19
poolie:/04:19
pooliemy mistake04:19
* thumper sighs04:19
poolieobviously it's too long04:19
thumperwhat about -Ddisable_stacking04:20
mwhudsonthumper: hi04:20
thumpermwhudson: got a few minutes for a pre-impl?04:20
pooliethat would've been smarter04:20
thumpermwhudson: translatePath errors04:20
mwhudsonthumper: ok04:20
thumpermwhudson: thanks04:21
mwhudsonhmm04:22
mwhudsonthumper: can you hear me?04:22
thumpermwhudson: no all I could here was me04:22
mwhudsonbah04:22
pooliethumper: i'm trying to work out if i should file a follow-on bug to  fix this properly04:23
mwhudsonoh ffs04:24
poolieperhaps it is that we want a configuration option to say whether bzr should trust server-suggested stacking?04:24
thumperpoolie: it would be great to have a client side way of saying "ignore stacking"04:24
pooliethumper:  i guess it's bug 36891304:31
_mup_Bug #368913: bzr tries to stack on a new branch with stacking policy pointing at . <launchpad> <stacking> <Bazaar:Confirmed> <https://launchpad.net/bugs/368913>04:31
poolieand bug 39140504:31
_mup_Bug #391405: want an option to force stacking or not when creating a branch <stacking> <Bazaar:Confirmed for mbp> <https://launchpad.net/bugs/391405>04:31
pooliethumper: sorry for the lag, is it ok now?04:38
thumperpoolie: looks like that works04:41
thumper8 left to fix04:41
poolieit's hard to get used to having so much code in .txt files04:55
pooliehow do i run just a single doctest?05:09
pooliei mean, a single file?05:09
wgrantbin/test -t blahblah.txt05:11
wgrantDon't try to give the full path -- it's often not what you expect.05:11
poolieah, so bugs-emailinterface as a workaround for something appears under lib.canonical.launchpad.ftests05:14
poolienot the module that actually contains it05:15
wgrantIt varies.05:17
stubpoolie: Everything in canonical.launchpad shouldn't be there (but where to put it? Its still unclear often where under lp. things should go)05:18
pooliestub: well, in this case the actual file is in lp.bugs.tests05:23
pooliewhich is not a bad place for it imo05:23
pooliesomething to do with bug 30585605:24
_mup_Bug #305856: Spurious/intermittent test failure in answers/doc/emailinterface.txt <spurious-test-failure> <tech-debt> <Launchpad Answers:Triaged> <https://launchpad.net/bugs/305856>05:24
stubright. but people are encouraged to put new stuff in the 'correct' place rather than in canonical. which might explain the disconnect05:24
thumperwallyworld: normally page tests test no-js functionality06:45
thumperwallyworld: and the windmill ones test js functionality06:45
thumperwallyworld: interactively I use a firefox plugin to disable js06:46
wallyworldthumper: in that case, everything should be sweet, no?06:46
thumperwallyworld: have you checked that the existing test coverage covers the case you care about?06:46
wallyworldyes, xx-branchmergeproposals.txt06:46
thumperwallyworld: have you made the fix?06:47
wallyworldthat doc test basically creates merge proposals etc and checks the results06:47
wallyworldi added to it as well as part of the increased test coverage for the new stuff in the branch06:47
thumperwallyworld: you are good to go now06:48
* thumper EOWs06:48
wallyworldthumper: thanks. enjoy your week off :-)06:49
=== almaisan-away is now known as al-maisan
noodles775Morning07:32
wgrantMorning noodles775.07:32
poolieok07:59
poolietrying to fix my dkim/gpg failures now07:59
poolieomg these doctests with everything running together08:07
pooliew08:35
adeuringgood morning08:40
lifelessstub: ttps://bugs.edge.launchpad.net/launchpad-foundations/+bug/640125 is linked to the branch in rev 11567, but it needs qa09:01
_mup_Bug #640125: cron scripts should log everything, but only send mail for errors <canonical-losa-lp> <qa-needstesting> <Launchpad Foundations:Fix Committed by stub> <https://launchpad.net/bugs/640125>09:01
stubYup. That might have got to staging now so can be tested when I've kicked off the 8.4 slave09:02
wgrantWhat do we use python-tickcount for?09:03
wgrantIt seems odd that nobody else on the planet needs it.09:04
lifelessstub: its causing https://devpad.canonical.com/~lpqateam/qa_reports/launchpad-stable-deployment.txt issues  because (like me) you reuse branches09:04
lifelesswgrant: lsprof didn't exist09:04
bigjoolsmorning all09:05
wgrantMorning bigjools.09:05
poolieoh yay09:07
wgrantlifeless: Can we use lsprof instead?09:07
lifelesswell we won't get ticks, but I'm not sure they are a great proxy09:07
lifelessbetter to implement bug xxxx for per thread resource usage in oops.09:07
wgrant(python-tickcount and ubuntu-keyring are the two packages that really tie us to Ubuntu)09:08
mrevellHey09:09
jmlGood morning09:12
jmlthumper, poolie: hi09:12
jmlthumper, poolie: I've honestly been meaning to check out jameinel's branch. Really.09:13
poolienp, it shouldn't be your job to review everything09:19
pooliethough i guess this is a bit in your areao09:19
pooliegmb: can i trouble you for an incremental review on https://code.edge.launchpad.net/~mbp/launchpad/dkim/+merge/3598509:23
jmlnoodles775: just looking at your comment ordering post...10:15
jmlnoodles775: out of curiosity, is the code in that demo using lp.services.comments?10:16
noodles775jml: yep.10:16
jmlnoodles775: cool :)10:16
mrevellnoodles775: ping10:18
noodles775jml: I had to modify lp.services.comments a bit, and I think lp.services.comments could be generalised a bit more too.10:19
noodles775mrevell: yup?10:19
jmlnoodles775: both make sense.10:19
jmlnoodles775: as far as I know, lp.s.comments is an intent-to-generalize more than an actual proven generic solution.10:19
mrevellnoodles775: Hey, do you have time for a call today? I'd like to pick your brains on your screencast recording setup.10:20
noodles775mrevell: sure, although it's just gtk-recordmydesktop. I can talk now, or after lunch, whatever works for you.10:20
mrevellnoodles775: Is in five minutes okay?10:21
noodles775Sure, I'll be in the soyuz 1-1 on mumble?10:21
mrevellTa10:21
jmlafk for ~20 mins10:46
jmlnow, to action11:07
bigjoolsjml: where is your bzr plugin to show the XXXes?11:12
jmllp:difftodo11:13
bigjoolsjml: rock, thanks11:13
jmlit's not bundled as a regular plugin. am happy to help w/ install issues11:13
* bigjools as adding copious more to the b-m code11:13
=== al-maisan is now known as almaisan-away
bigjoolsjml: I checked it out in plugins/ and did "bzr todo" - how easier can it be? :)11:18
jmlbigjools: glad to hear it. it's just been ages since I've installed it or had a new user, so was expecting worse.11:19
bigjoolsjml: this _deferred_list stuff is a nightmare :/11:28
jmlbigjools: I've long thought so :)11:28
bigjoolsjml: in particular the way it chains callables together in the recording slave with the *DispatchResult at the end11:29
jmlbigjools: you mean the way it hangs so much on exactly what kind of dispatch result you get?11:29
bigjoolsjml: it's a consequence of the recording slave strategy.  Because it doesn't know in advance what Deferreds will be fired or how many of them, it just keeps processing the recorded slave calls until it hits an instance of the BaseDispatchResult11:30
jmlahh11:31
bigjoolswhich, when called,p does a Thing11:31
jmlbigjools: that makes a strange kind of sense11:31
bigjoolsthe Thing to do was decided ages ago11:31
bigjoolsjml: yes, that's the annoying thing about it :)11:31
jmlbigjools: actually, I was going to ask you about the branch anyway...11:32
bigjoolsjml: fire away11:32
jmlbigjools: I'd like to keep up-to-date with the changes. I'll probably have thoughts, questions etc. What's the most helpful way of sending those back to you?11:33
jmlbigjools: as I get them, or wait until you've reached some kind of checkpoint or... ?11:33
bigjoolsjml: as you get them would be good - I'm committing a few times a day when I work on it, but that's not regular at all11:33
jmlbigjools: will do.11:33
bigjoolsI'm trying to make the commit messages as useful to you as possible11:33
lifelessstub: any idea about the 15 second update in the +delete bug?11:34
stubENOCONTEXT11:34
jmlbigjools: not promising I'll get any time. I just filled up an a4 page with "work things currently on the go"11:34
bigjoolsha11:34
lifelessstub: https://bugs.edge.launchpad.net/launchpad-registry/+bug/65280211:35
_mup_Bug #652802: Person:+delete timeouts on teams <Launchpad Registry:Triaged> <https://launchpad.net/bugs/652802>11:35
bigjoolsjml: BTW remember all those traps we added that just log messages?11:35
jmlbigjools: yeah.11:35
bigjoolsjml: I've decided that we should remove them, because inside scan() it catches all errors anyway and does the failure counting.11:35
bigjoolsif we can make all aspects of the job management get failure counted for free, that would be...win11:36
jmlbigjools: that makes sense... as long as the errors don't get lost.11:36
bigjoolsjml: I can still log - just throw the failure again11:36
jmlbigjools: for me, the confusing part of the error handling is that some parts catch and throw away and others re-raise and others catch and then signal failure with some different mechanism11:37
bigjoolsjml: you're not alone in confusion11:37
jmlbigjools: it would be nice if everything just damn well raised & let the bm take care of it all.11:37
lifelessexceptions are great for errors11:38
bigjoolsin exceptional cases11:38
bigjoolsroutine errors - no11:38
lifelessyou've argued this before, but not made a compelling case11:41
stublifeless: It is slow because it is trying to update 25k rows in a table of 60million11:44
lifelessoh wow.11:44
lifelessdeceptive ;P11:45
lifelessthanks for looking that up11:45
stubreal question is how come it managed that query in 15s. Took my test 46s :)11:46
deryckMorning, all.12:02
lifelessnight all12:07
* bigjools drowns in build manager hideousness12:35
deryckThat rabbitmq hang on shutdown is annoying.12:37
bigjoolsderyck: yes12:38
bigjoolsI've made a /etc/default/rabbitmq file that overrides the DAEMON variable in the startup script to /bin/true12:39
deryckI shall do that now.12:39
bigjoolsdeath to persistent services only needed by LP....12:40
jmlom nom nom13:03
maxbMy /etc/default/rabbitmq says "exit 0" :-)13:14
bigjoolsheh13:27
=== matsubara-afk is now known as matsubara
bigjoolsour fake logger copes quite miserably when one of the strings it's trying to log has a % in it13:31
jelmerwhich of our 3 fake loggers ? :-)13:31
bigjoolsquite13:32
allenapbryceh: Can you triage bug 644794? It's one of yours :)13:40
_mup_Bug #644794: Link BugTrackerComponents to distro/sourcepackages <Launchpad Bugs:New> <https://launchpad.net/bugs/644794>13:40
jmlbigjools: I thought we fixed that.13:43
jmlsinzui: hi13:45
sinzuihi jml13:45
jmlsinzui: (foo,) is perfectly valid Python syntax, PEP 8 preferred and our historical coding standard. Why are we changing it?13:45
sinzuibecause PEP8.py is complaining and I do not want to see the complaint13:46
jmlsinzui: fix pep8.py13:46
sinzuimaybe13:47
jmlsinzui: or stop using it. it's putting the cart before the horse to change the way we write code to match a bug in a third-party tool.13:49
sinzuiwould you like to put pylint back13:49
jmlno.13:49
jmlbut that's not the only other option open to us :)13:49
jmlsinzui: https://code.edge.launchpad.net/~jml/pocket-lint/singleton-tuples/+merge/3724214:01
deryckallenap, many many thanks for helping triage bugs today.  Sorry if I'm stepping on you, too. :-)  Was trying to help catch them up today as well.14:02
allenapderyck: I haven't noticed actually.14:02
deryckok, cool14:03
jmlsinzui: thanks for the review. how soon can we have the patched version on developer machines?14:07
bigjoolsjml: we have, but this time it's in the string outside of the exc_info14:07
jmlderyck: is sladen filing bugs by email, or is the dupe checker substantially worse14:07
jmlbigjools: huh what?14:07
bigjoolsjml: a traceback being passed in instead of using exc_info, basically14:08
sinzuijml: soon is never an option with building PPAs. maybe Wednesday14:08
jmlsinzui: what needs to happen?14:08
jmlbigjools: sorry I think I missed some context.14:08
jmlbigjools: oh never mind14:09
bigjoolssinzui: there are plenty of buildd-admins around who can rescore builds, I'm one of them ;)14:09
sinzuiI push the new source package then we wait for its turn to be built14:09
* sinzui has never consider cheating14:09
jmlsinzui: I have a graph that shows the queue empties regularly14:09
sinzuiwel not on this subject anyway14:09
sinzuijml, the last pocket-lint build for Jelmer took about a weeks to do all the hops14:10
bigjoolssinzui: anyway the queue is small14:10
jmlsinzui: well, let me know when you've pushed the build. I guess it has to go into the launchpad developer PPA?14:11
sinzuijml, okay14:11
sinzuijml, we just vopy it14:11
sinzuicopy14:11
jmlsinzui: nice.14:12
allenapderyck: Can you triage bug 651128? I can't really judge how important it is.14:24
_mup_Bug #651128: Email bug submission fails due to erroneous bad signature detection <Launchpad Bugs:Confirmed> <https://launchpad.net/bugs/651128>14:24
deryckallenap, sure, I'll take a look.14:41
allenapderyck: Thanks.14:41
derycknp14:42
deryckjml, I believe he is email filing the bugs.14:43
jmlderyck, I wish we could force a dupe checker into everyone's email client.14:44
deryckyup14:44
deryckwould save us all a lot of time. :-)14:45
=== almaisan-away is now known as al-maisan
deryckI don't really like our behavior of adding bug watches when someone adds a link for a tracker we recognize.14:50
deryckMaybe this helps other projects but for malone it's almost always wrong to do this.14:50
noodles775mars: Regarding bug 644984, does that mean that lifeless' fix (r11597 in devel) is not in production-devel, or that it is but didn't fix it?15:04
_mup_Bug #644984: test_runAll_mails_oopses fails sometimes <qa-needstesting> <Launchpad Foundations:Fix Committed by mars> <https://launchpad.net/bugs/644984>15:04
noodles775(you might want to re-open the bug if so)15:05
marsnoodles775, I haven't looked yet (that is why I left it Fix Commited)15:05
noodles775Ah.15:05
marsneed to do this first, then thtat15:05
deryckhurray for allenap and I!  bug box 0.15:06
allenapderyck: We rule :)15:06
marsderyck, is that a first?15:07
marsfor anyone?15:07
deryckmars, oh, no.  We keep our New bug count at zero as best we can.15:08
deryckmars, I've just let it slip for a little over a week as I was coding more.  And I new most of them were dupes or need lots of explaining to users and was being lazy.15:08
deryckto my defense this is often the case for malone bugs and I was just worn down by it temporarily :-)15:09
marsheh15:09
deryckThe overlays are not aligned properly anymore, I think15:18
deryckallenap, what do you make of kitterman's comment in the follow up to bug 651128?  Maybe this is a problem with that script?  No one else is having issues with bad sigs.15:23
_mup_Bug #651128: Email bug submission fails due to erroneous bad signature detection <Launchpad Bugs:Confirmed> <https://launchpad.net/bugs/651128>15:23
malariadanilos: Hi, are you here?15:25
allenapderyck: We could ask him to file a bug by email directly to try and isolate requestsync.15:26
deryckallenap, indeed.  I'll ask him to confirm on staging.15:26
malariadanilos: about the agreement, do I send it to you? (I mean, in addition to contributor-agreement@canonical.com )15:29
danilosmalaria, hi, no, no need to15:29
malariadanilos: ok, so just for contributor-agreement@canonical.com15:30
malariadanilos: done. I re-created my branch on top of trunk and I updated the patch (now tests in browser-helpers.text work)15:33
malariadanilos: what more can I do?15:34
danilosmalaria, the next step is to propose it for merging :)15:35
danilosmalaria, see https://dev.launchpad.net/CoverLetters for how to describe the change as well :)15:36
=== deryck is now known as deryck[lunch]
jmldanilos: can you please give me a non-ascii unicode literal for Python?16:12
danilosjml, in what format? :)16:15
danilos\u0422 is probably a Cyrillic character16:15
jmldanilos: something I can paste into a Python file as a unicode literal :)16:15
marsjml, ā16:16
danilosjml, does the above work, or you want something like "д" :)16:16
danilosI seem to ask too many questions and mars is quicker to the point :)16:16
jmlfoo = <thing>; I want something for <thing>16:16
danilosjml, right, well, foo = u'проба' should do if you are using utf-8 encoding16:17
jmldanilos, mars: thanks.16:17
jmldanilos: groda?16:17
danilosjml, it's "proba" (п is like Greek pi :), meaning "test"16:18
jmldammit. I always get that wrong.16:18
jmlsome day...16:19
jmlfwiw, if you paste the literal into a file, you get... SyntaxError: Non-ASCII character '\xd0' in file testrepository/tests/ui/test_cli.py on line 198, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details16:20
jmlusing         error_text = u'\u043f\u0440\u043e\u0431\u0430'16:20
jml instead.16:20
marsjml, you have to tell your editor to save it as utf-8 with a BOM16:20
danilosjml, you need to use "# -*- encoding: utf-8" (PEP-9 I think)16:21
=== jcsackett_ is now known as jcsackett
danilosuhm, I mean PEP263 as the error message says :)16:22
jmlahh :)16:22
jmlI'm going to live on in merry ignorance of what BOM means in this context16:22
marsbyte order mark16:22
marssilly thing needed by Windows16:22
danilosjml, BOM with UTF-8 is creepy stuff (it's "byte-order mark" and "byte-order" doesn't make much sense with a byte stream like UTF-8; it's something like \ufffe or \ufeff)16:24
jmlalthough I value the beauty and richness of human culture16:25
jmlsometimes I wish the Romans had beaten everyone16:26
=== matsubara is now known as matsubara-lunch
mptCredo te iustum locum quaerere Quotes Page16:28
=== salgado is now known as salgado-lunch
jmlmpt: no, I'm not.16:41
mpt:-)16:41
=== jam1 is now known as jam
=== Ursinha is now known as Ursinha-lunch
malariadanilos: 'make lint' give me some "Line exceeds 78 characters" warning is this a problem? (there are other warnings for no-patched parts of the code...)16:57
danilosmalaria, yeah, a reviewer will usually ask you to fix these (even if you didn't cause them)16:58
=== deryck[lunch] is now known as deryck
malariadanilos: ok, so I'm going to fix these.16:58
malariadanilos: one more thing, it complains about "narrative uses a moin header." I don't really get what this mean...17:01
bigjoolsjml: have you looked at my changes yet?  No rush, but I have a question if you have.17:09
jmlbigjools: no, not ye.17:09
bigjoolsjml: ok, I am in the mood to delete code and I think I can blitz about 100 lines of crap in manager.py17:10
bigjoolsbut some of it is most intriguing17:11
jmlbigjools: ooh.17:12
malariadanilos: ok, I found17:12
jmlbigjools: which bits?17:12
bigjoolsjml: it's all of the stuff that deals with recording slave, processing the deferred_list etc17:14
bigjoolsbut I can't figure out wtf the stuff in checkDispatch is needed for17:14
bigjoolsthe error handling I think can move moved wholesale to the startCycle method17:15
bigjoolss/move/be/17:15
jmlbigjools: agree re error handling17:16
jml(also, we should have a doCycle method, or something that does everything sans scheduling the next call)17:16
bigjoolsjml: already done :)17:17
jmlbigjools: sweet.17:17
bigjoolsmakes the tests somewhat nicer ...17:17
jmlbigjools: in that case, error handling should be there, not startCycle17:17
jmlbigjools: I'm not at all surprised :)17:17
bigjoolsyes the error handling is in the equivalent of your doCycle17:17
jmlon checkDispatch, the bit that I don't get is this:17:18
jml            if method in buildd_success_result_map:17:18
jml                expected_status = buildd_success_result_map.get(method)17:18
jml                status, info = response17:18
jml                if status == expected_status:17:18
jml                    self.callSlave(slave)17:18
jml                    return None17:18
bigjoolsthat's exactly what I am pondering over too17:18
=== al-maisan is now known as almaisan-away
jmlunder what circumstances is 'response' a 2-list?17:19
bigjoolsI think it's checking return values only for some of the calls17:19
bigjoolswhy.... who knows17:19
jml'callSlave' is just "do the next step", iiuc17:19
bigjoolsyep17:19
bigjoolsit's clearly not needed any more, I'm just trying to work out if it's doing something we need17:19
bigjoolserr that doesn't parse well17:20
bigjoolsbut you get the idea :)17:20
jmlyeah, I do :)17:20
jmlbigjools: my guess is that the chunk of code pasted above is belt-and-braces for RecordingSlave17:21
jmlbased on how buildd_success_result_map gets used in it17:21
bigjoolsI tend to agree17:21
jmlwhere does checkDispatch get 'response' from?17:21
jmlfrom callSlave...17:21
bigjoolsxmlrpc.Proxy callback17:21
jmlyeah17:23
jmlso if I'm reading this correctly (big 'if'), the behaviour in trunk is to terminate the series of calls to the remote slave as soon as we get an 'ensurepresent' return value that's not (True, $SOMETHING) or a 'build' return value that's not (BUILDING, $SOMETHING)17:24
bigjoolsthat's about it17:25
jmlI don't know why that's desirable behaviour.17:25
bigjoolsI've looked at that code many many times in the last 6 months and I still don't know either17:26
jmlit sounds to me as if those checks ought to be done around explicit calls to build() and ensurepresent()17:26
jmlperhaps it's a fail-fast kludge?17:26
bigjoolswe can bear it in mind when we change the BlockingProxy over17:26
jmlI don't think we need to.17:26
jmlwe can bear it in mind if stuff on dogfood breaks because we call the slave too often.17:27
bigjoolsmebbe17:28
=== matsubara-lunch is now known as matsubara
bigjoolsin that case, I'm nearly done, it's just a case of removing swathes of this code, its tests, and dealing with the errors at the top of the call chain17:29
jmlwoot :)17:30
bigjoolsoh, and working out where to commit now that I'm removing the *DispatchResults17:32
jmlbigjools: this code & conversation reminds me of Kernighan's Law17:32
jml"Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?"17:32
bigjoolsthey're wrapped in @write_transaction17:32
bigjoolsindeed17:32
jmlbigjools: I guess it makes sense to commit at the very end17:35
bigjoolsjml: I'm not sure about that17:36
jmlbigjools: well, that's what it does now.17:36
bigjoolsjml: not entirely - it has three separate commits17:36
bigjoolsthere's the one around scan(), the one after calling updateStatus and the one when dealing with the end of the dispatch chain17:37
jmlbigjools: yeah, I mean one to replace the calls in dispatch17:40
=== Ursinha-lunch is now known as Ursinha
malariadanilos: I requested merge :)17:45
jmlbigjools: just in case you missed it...17:46
jml<jml> bigjools: yeah, I mean one to replace the calls in dispatch17:46
danilosmalaria, cool, you can probably get a review from someone on #launchpad-reviews, if not, I'll get to it on Monday (mostly done for the day and I am starving :)17:47
bigjoolsjml: those ones are only wrapping the assesFailureCounts() and the reset_result which cleans the job17:47
bigjoolsboth already dealt with17:47
bigjoolsjml: so I'm going to add one at the end of the scan for good measure :)17:47
jmlhmm.17:48
malariadanilos: ok, I'm going to #launchpad-review. Otherwise, have a good week-end ;)17:48
=== salgado-lunch is now known as salgado
danilosmalaria, thanks :)18:03
dobeyderyck, allenap: do you guys know what the heck http://pastebin.ubuntu.com/504016/ means?18:05
deryckdobey, I do, unfortunately :-)18:05
deryckdobey, your trying to edit the slave bug task rather than the master. where the series is the master, the upstream the slave.18:06
dobeyi don't think so?18:08
dobeyor i don't understand what that means18:08
dobeybut the error message is obviously not helpful to me directly :)18:08
bigjoolsgood evening all, have a nice weekend18:09
dobeyhmm18:14
dobeyderyck: ok, if that is the problem, how do i determine if i am editing the right thing?18:14
deryckdobey, sorry, on call.  I'll explain better in a minute.18:25
dobeyok18:28
jmlg'night all.18:38
jmlif you see lifeless, tell him to release testr.18:38
=== jcsackett|afk is now known as jcsackett_
deryckdobey, sorry for delay.  Had to finish calls.  Does this help explain?  http://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/annotate/head%3A/lib/lp/bugs/doc/bugtask.txt#L28618:59
deryckThe section starting there, "Conjoined Bug Tasks"19:00
=== Ursinha-afk is now known as Ursinha
* dobey reads19:04
=== Ursinha-afk is now known as Ursinha
dobeyderyck: does launchpadlib know anything about the conjoined_* attributes?19:12
deryckdobey, no19:13
dobeyderyck: so how do i tell if the target i'm looking at, is the one i want, if the bug has a conjoined task for the development series?19:14
deryckdobey, perhaps bdmurray or bryceh have some stock code snippets for this they could share.  I don't do this myself much since we don't use series targeted bugs on launchpad.19:16
deryckbdmurray, bryceh -- what sort of check do you guys do in lplib to make sure you have the right side of the conjoined bug task?19:16
bdmurrayI'm still not clear on what a conjoined bug task is. ;-)19:20
maxbUrgh. We need support for the code import dispatcher to only dispatch one job per svn repository uuid per importd19:21
dobeybdmurray: i think it's sort of like http://southparkstudios-intl.mtvnimages.com/shared/sps/images/shows/southpark/vertical_video/import/season_02/sp_0205_08_v6.jpg?width=48019:21
sinzuileonardr, your authorisation email is a great read19:23
leonardrsinzui, thanks19:24
dobeybdmurray: do you know where the code is that closes Ubuntu bugs based on the (LP: #xxx) comments in debian/changelog for package uploads?19:25
deryckbdmurray, so what do you do?  try/except around conjoined?19:26
deryckdobey, if it were me, I would inspect the target and see what it is before trying to edit the task.19:26
bdmurrayderyck: I can't answer that without knowing what exactly a conjoined bug task is19:26
dobeyderyck: yes, but there is no obvious information about whether the target and series are the same19:27
dobeyderyck: because the main generic task always has no series19:27
brycehI'm not sure what conjoined means either19:27
dobeyderyck: better question: why doesn't editing the master, simply edit the slave instead?19:27
deryckyou'll get a ConjoinedBugTask error if you try to edit the main bug task when it's tracked in the series.19:27
bdmurraydobey: No someone the code team would know there is a dpkg part that parses the changelog gets the numbers though19:27
deryckit's in soyuz.19:28
bdmurrayright, that's what I meant!19:28
dobeybdmurray: yeah, i'm less interested in the number parsing, than how it deals with picking the bug task based on series19:28
deryckdobey, if you edit the master, it will work.  it's editing the slave that fails.  In this case, the primary task, not series task, is the slave.19:28
dobeyoh19:28
dobeyderyck: ok, then transpose slave and master in my question :)19:29
dobeyLaunchpad does not know where Soyuz - The Launchpad Package Manager hosts its code.19:29
dobeynice.19:29
deryckdobey, just construct your searchTasks query to get the ones you want.  using nominated_for19:29
dobeyderyck: branches don't have a nominated_for19:30
deryckso you're going branch-->bug-->bugtask?19:30
dobeyderyck: i am taking a list of the bugs fixed in a branch (from bzr commit --fixes=blah), and trying to mark them as 'fix committed' when the branch is merged into its target19:30
dobeyderyck: and having to support different series, makes it hate life19:31
dobeybecause the conjoined task thing kind of screws everything up19:31
deryckdobey, I don't know how you can do that without looking at the target.  Because there could be any number of tasks on the bug.19:32
dobeyderyck: i am looking at the target19:32
deryckand can you not tell the different in a series targeted bug from the regular task, looking at the target?19:33
dobeyderyck: let me try to find a meaningfully useful example to explain with19:34
=== salgado_ is now known as salgado
james_wsee process_bug in http://bazaar.launchpad.net/~ubuntu-archive/ubuntu-archive-tools/trunk/annotate/head:/mass-sync.py19:39
james_wit does two passes, one to fill related_tasks for those tasks which have a slave task, then the other to process the bugs19:40
=== You're now known as ubuntulog
dobeyderyck: so on             try:19:41
dobey                print task.target.development_focus19:41
dobey            except AttributeError:19:41
dobey                pass19:41
dobeyah, stupid paste19:41
dobeysorry19:41
deryckdobey, I think what james_w pasted above will get you unstuck.  Thanks much, james_w! :-)19:42
=== almaisan-away is now known as al-maisan
dobeynot sure that will help19:47
bdmurraywill a rootsite parameter with canonical_url remove 'edge' from a returned url?19:50
=== al-maisan is now known as almaisan-away
bdmurraysinzui: do you know? the answer to my question above?20:16
sinzuibdmurray, no it removed bugs|translations|etc20:17
bdmurraysinzui: does anything strip edge?20:18
sinzuino20:18
sinzuiwell, logout does it very well20:18
bdmurrayheh20:18
sinzuibdmurray, few conditions that allow users to leave the env name do so by hardcoding the url, or they set the cookie to disable edge redirection20:19
bdmurraysinzui: it's appearing in a bug email body which is then sent to users20:20
sinzuiwell I think that is correct. as an edge user it should be clear I am being directed to edge20:22
sinzuibdmurray, is the issue that non-edge users are being sent to edge?20:22
sinzuiI recall that lp recognises that the user is not an edge user a redirects him or her to lpnet instead20:23
bdmurrayI believe its more a matter of consistency most, if not all, urls don't contain edge20:24
=== jcsackett__ is now known as jcsackett
sinzuibdmurray, did you find a solution to you link problem?21:43
sinzuibdmurray, I think a lot of email orginate from an lpnet process so they always have lpnet urls21:44
bdmurraysinzui: no I did not find a solution21:45
sinzuii'll look too21:47
sinzuibdmurray, what part of the application is sending emails? is it in proc. Most bug mail is queue and the bug mailer which runs on lpnet only send the email, which has the expected urls21:50
bdmurrayits in bugchange.py which I think is used by the cronjob that sends bug change notifications21:54
sinzuibdmurray, many templates do something like this instead of a canonical_url https://launchpad.net/~%(person)s/+editemails21:54
sinzuibdmurray, I do not think edge has cronjobs running21:56
sinzuibdmurray, so the problem is in getBugNotification()?21:57
bdmurrayof BugDuplicateChange yes21:58
bdmurrayI'm really pretty sure that bugnotification.py is running on loganberry as I had to have a fix cowboyed there once22:00
sinzuilooks like we are making the data too early. We make it in proc on edge. The data is queue. An external proc on lpnet then pull from the queue and it has urls with edge in it22:00
sinzuiI wonder if we want to do create something like expand path that takes a path and make it a canonical_url for the current env22:02
sinzuibdmurray, so gmb introduce the bug last month, but the first wrong use if it was added by myself in 200722:05
sinzuino, this bug is from 200922:06
sinzuiwell, regardless we need to decide how to postpone making URLs until we are ready22:07
=== matsubara is now known as matsubara-afk
sinzuibdmurray, we may want try forcing canonical url to use config.launchpad,non_restricted_hostname22:16
sinzuibdmurray, I think this can be used in any env to make make a canonical path that is concatenated to the non-edge version of the site:  config.launchpad.non_restricted_hostname + canonical_url(bug_task, force_local_path=True)22:18
=== jcsackett_ is now known as jcsackett
bdmurraysinzui: how would you test it?22:22
sinzuibdmurray, this is an example of a less hackish way. We do this for openid/XRDS to ensure lpnet is used: http://pastebin.ubuntu.com/504160/22:24
bdmurraysinzui: okay, thanks for the help!22:29
sinzuibdmurray, I think we need to push test information into the config to be certain the method under test is making the url we control: maybe http://pastebin.ubuntu.com/504162/22:30
sinzuiconfig.pop() reset the config. the config is global...we need to do this so that other tests do not see it22:30
sinzuibdmurray, I can see other things, to covert bug to question is also broken22:33
sinzuiinstead of hacking this method. write a function that takes any canonical url, converting it to a URI, then switches the host. That is very easy to test and then reuse22:34
bdmurraywhere would you put such a function?22:35
lifelesswhy do you ned to do that ?22:37
sinzuibdmurray, I think we might want add helpers.py to lp.services.mail. There is already a helpers in c.l and I think it too has mail template helpers in it22:40
sinzuilifeless, urls are generated in some case edge, then inserted into emails. I see three cases for bugs. I see that many old registry templates avoid the edge host by hard coding the domain in the email template, and interpolate the path from the canonical_url22:42
lifelesswell we're nuking edge very soon22:43
lifelessmay be simpler to justs not bother addressing this22:43
sinzuioh, then we can also nuke some openid code then22:43
lifelessby soon, on the order of weeks22:44
lifelessthe roadmap is:22:44
sinzuibdmurray, maybe you can mark the bug as wont fix, or just note it will be fixed when edge is torn down in a few weeks22:44
lifeless - get qastaging going [in progress with losa]22:44
lifeless - disable edge deploys - start deploying just stable (to both the lpnet and edge servers)22:45
bdmurraythat makes a fair amount of sense to me when I first looked at the bug I didn't realize the amount of work required22:45
lifeless - disable the edge redirect22:45
lifeless - make apache redirect edge urls to lpnet22:45
bdmurraydoes anybody see what's wrong in my commit message?22:53
bdmurrayhttp://pastebin.ubuntu.com/504170/22:53
lifelessjam: https://bugs.edge.launchpad.net/loggerhead/+bug/653297 may interest you (or may not, I'm not sure if its something you've looked at)22:55
_mup_Bug #653297: http://bazaar.launchpad.net/%7Eindicator-applet-developers/libindicate/trunk/revision/382 errors <oops> <loggerhead:Triaged> <https://launchpad.net/bugs/653297>22:55
sinzuigary_poster, ping22:58
gary_postersinzui, here, but running very soon22:58
sinzuigary_poster, do you have any immediate plans for Account and EmailAddress22:59
gary_postersinzui: all plans are recorded in https://dev.launchpad.net/LEP/OpenIdRoadmap with associated (linked) bugs23:00
jamlifeless: I had not seen that before, offhand it looks like concurrent access to the structure, popping an item out while the other is accessing it.23:00
sinzuigary_poster, I think Foundations does not claim EmailAddress any more since full separation and I also think you have no interest in LoginToken because only the registry uses it to confirm (not login)23:01
lifelessjam: yeah, thats plausible23:01
jamanyway, end-of-week here23:01
lifelessditto :)23:01
gary_postersinzui: noone is working on these at this time, nor will they be in the next few weeks at least (and you can see that stuff ideally happens before EmailAddress/Account work, in the form of separating ShipIt)23:02
gary_posterdoes not claim...um...23:02
sinzuigary_poster, I want to move LoginToken and EmailAddress to lp.registry. I may do that with Account because I think it is being demoted to something smaller like an ssh key23:02
sinzuigary_poster, unless you say no right now, I am taking all three objects. your roadmap tells me you do not want them and are working to not have them23:04
gary_postersinzui, we care about EmailAddress because of SSO integration; and we have some clean-up plans for it that you can see on that wiki page (e.g. bg 629172).  Other than that we don't care about it.  I don't care about LoginToken at all AFAIK.  If you are OK with our plans on the roadmap and with being very careful with the EmailAddress because of the SSO stuff, I'm happy for you to take them (and even appreciative)23:05
gary_posterMay have been truncated: ...If you are OK with our plans on the roadmap and with being very careful with the EmailAddress because of the SSO stuff, I'm happy for you to take them (and even appreciative).23:06
sinzuimy immediate goal it to get A and EM out of c.l so that I can make progress resolving circular imports23:06
sinzuiI can move account somewhere else, I think I think in 6-12 months, you will be done and the models will be largely a registry concern23:07
gary_postersinzui, I like that goal.  The SSO stuff is my only immediate concern, and I don't think that your change will affect it.  Maybe check with stub if you are not confident yourself.23:08
sinzuigary_poster, thank. I am not changing db. I just want the import lines in our code fixes23:09
gary_postersinzui, great, thank you.  have a great weekend.23:09
lifelesssinzui: rev 11576 needs qa23:12
lifelesssinzui: you reviewed it, perhaps you can tell if its ok or not ?23:12
lifeless  [r=gmb][ui=salgado, sinzui][bug=439831, 489483,23:12
lifeless        629063] Add a font-family declaration for inline description editing23:12
lifeless        widgets which ensures consistency and uses the Ubuntu font if present.23:13
* sinzui lookds23:13
lifelesshttps://bugs.edge.launchpad.net/malone/+bug/435865 is the blocking bug I think23:13
_mup_Bug #435865: Use fixed-width fonts for bug summaries <Launchpad Bugs:Fix Committed by deryck> <https://launchpad.net/bugs/435865>23:13
lifelessaccording to https://devpad.canonical.com/~lpqateam/qa_reports/deployment-stable.html23:13
lifelesssinzui: thanks23:17
lifelessback after breakfast23:18
sinzuiwell that is a little easier than my negative tag search23:18
sinzuilifeless, does this report of fix committed without tags concern you: https://bugs.edge.launchpad.net/launchpad-project/+bugs?orderby=targetname&search=Search&field.status:list=FIXCOMMITTED&field.tag=-qa-ok+-qa-needstesting+-qa-untestable&field.tags_combinator=ALL23:25
sinzuiI use it from time to time to check if we missed something23:25
lifelessthat useful23:28
lifeless(not back, just picking upo a book for lynne)23:28

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