/srv/irclogs.ubuntu.com/2011/07/29/#launchpad-dev.txt

LPCIBotProject db-devel build #764: STILL FAILING in 6 hr 2 min: https://lpci.wedontsleep.org/job/db-devel/764/00:00
wallyworldjtv: you back on board yet?00:17
pooliewallyworld: hello, can you review https://code.launchpad.net/~xaav/loggerhead/export-tarball/+merge/6640800:56
poolieand merge it if appropriate00:57
wallyworldpoolie: sure00:58
wallyworldthat one was marked as needing info for a while i think00:58
poolieit stalled for a bit00:59
poolieif people push and don't ask for more review it's easy for things to get stuck01:00
pooliewhich is https://bugs.launchpad.net/launchpad/+bug/745469 i guess01:12
_mup_Bug #745469: please send notifications when merge page has been updated with new revisions <code-review> <Launchpad itself:Triaged> < https://launchpad.net/bugs/745469 >01:12
wallyworldpoolie: in the above case, i normally add a comment to the mp explaining what i did and why and how it relates to any previous request for change01:23
wallyworldthis causes an email to be sent01:23
poolieyup01:23
poolieit's not obvious that you ought to do this though01:23
poolieought/need01:23
wallyworldtoo true01:23
lifelessfixing up aaron's incremental diff thing will address that - and get sensible incremental diffs with merges from trunk (which the loggerhead based diff thing does not do)01:39
LPCIBotProject devel build #928: STILL FAILING in 5 hr 37 min: https://lpci.wedontsleep.org/job/devel/928/01:49
wallyworldlifeless: can you +1 this? i'm not 100% familar with loggerhead etc but it seems reasonable and has had a lot of input already.... https://code.launchpad.net/~xaav/loggerhead/export-tarball/+merge/6640802:28
pooliethanks wallyworld02:32
poolieto merge it, when you're ready, you should be able to just merge into lp:loggerhead02:33
poolieand i guess it would be good to deploy that to lp too02:33
wallyworldpoolie: np. i'll clean up the lint first02:33
wallyworldpoolie: i may need to ask for help deploying - i've had nothing to do with loggerhead so far :-)02:34
poolienp02:46
pooliei'm getting "lib/canonical/launchpad/icing/yui/yui/yui.js" in my lp checkout02:46
poolieoh, a broken symlink or something, isn't it02:47
wallyworldpoolie: likely. a make clean will fix it02:50
wallyworldwill || should02:50
lifelessare there any tests of the personmerge view other than the doctest ?05:06
LPCIBotProject db-devel build #765: STILL FAILING in 5 hr 40 min: https://lpci.wedontsleep.org/job/db-devel/765/05:41
lifelesshahaha05:49
wgrant?05:50
lifeless-> ops05:50
lifelesswgrant: are there unit tests for person.merge() ?06:15
wgrantI doubt it. But let's see..06:17
lifelessI can't see any in test_person06:17
wgrantThere is a _do_merge in test_person.06:18
wgrantIs that not relevant?06:18
wgrantI haven't actually seen anything beyond its existence.06:18
lifelessnothing in there looking for notifications that I can see06:18
lifelesswhich is what I'm touching06:18
wgrant:/06:18
lifeless and \o/06:29
lifelesscan has review ?06:33
lifelesshttps://code.launchpad.net/~lifeless/launchpad/bug-761874/+merge/6974806:33
lifelesswgrant: ^ or wallyworld ^06:44
lifelesswallyworld: I will look at the loggerhead thing monday; it requires some pagination06:44
wallyworldlifeless: ok, thanks. will look at your mp06:44
lifelesswallyworld: deployment is the usual thing - update the version we use, and qa that once that commit hits qa-staging06:44
wallyworldok06:44
=== jtv-afk is now known as jtv
=== wallyworld changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 240 - 0:[#######=]:256
pooliecheerio wallyworld07:21
pooliewhat's the idiomatic way to html-escape things in lp python code?07:21
wgrantDon't do it.07:22
wallyworldpoolie: i'll do that mp on monday when it gets +1ed07:22
wgrantpoolie: What are you trying to do?07:22
wgrantEscaping is usually the wrong thing.07:22
wallyworldwgrant: you want to mentor: ://code.launchpad.net/~lifeless/launchpad/bug-761874/+merge/69748 ?07:22
pooliewgrant: test_scope_documentation_displayed is checking that the feature scopes are in the browser.contents07:23
poolieit's failing to find them, i think because the new one i've added contains angle brackets07:23
wgrantAh, so this is in a test?07:23
wgrantJust use cgi.escape.07:23
poolieheh :) ok07:23
LPCIBotProject devel build #929: STILL FAILING in 5 hr 34 min: https://lpci.wedontsleep.org/job/devel/929/07:24
pooliei agree with not having random escaping and unescaping in  production code07:24
adeuringgood morning07:35
pooliehi abel07:42
pooliecould someone do a review for me, on https://code.launchpad.net/~mbp/launchpad/mail-scope/+merge/6028107:42
adeuringpoolie: I'll look07:52
pooliethanks07:53
lifelesswallyworld: still here ?07:55
lifelesswallyworld: you asked for create to mention delete, but I do that in my patch already.07:55
lifelesswallyworld: do you mean you want the interface to talk about implementation ?07:55
* lifeless loads the question07:55
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring | Critical bugs: 240 - 0:[#######=]:256
adeuringlifeless: could you have a look at this mp: https://code.launchpad.net/~adeuring/launchpad/bug-739052/+merge/6962507:57
lifelessadeuring: hahha, on friday night no less.08:01
lifelessadeuring: great stuff08:01
adeuringlifeless: thanks!08:01
bigjoolsmorning08:12
poolieo/08:14
=== almaisan-away is now known as al-maisan
mrevellhallo there bigjools08:15
poolieok, good night08:26
lifelessadeuring: reviewed08:41
adeuringlifeless: thanks!08:42
lifelessadeuring: no probs08:52
bigjoolswgrant: need a chat with you08:53
bigjoolsadeuring: morning!  I have a lovely branch for you if you can take it please?09:05
adeuringbigjools: sure09:05
bigjoolsadeuring: https://code.launchpad.net/~julian-edwards/launchpad/utf-codes-in-emails-bug-817106/+merge/6975809:06
wgrantbigjools: Not entirely here, but what's up?09:06
bigjoolswgrant: I wanted to talk about the no-builds-in-progress check in the IDSJ, and whether/how we should fix the packagecopier09:07
bigjoolsI am very concerned09:07
wgrantYour concern is well-placed.09:08
bigjoolswgrant: so I'd rather mumble/skype.  If now is bad, next week is ok.09:09
wgrantbigjools: Next week is probably best, sorry.09:09
bigjoolsnot a problem09:09
bigjoolsthanks09:09
adeuringbigjools: the diff on the MP page shows a minor merge conflict09:10
bigjoolsadeuring: ah I'll fix that, thanks09:12
bigjoolsadeuring: conflict fixed, just waiting for the branch scanner09:22
adeuringbigjools: thanks09:22
adeuringbigjools: r=me09:38
bigjoolsadeuring: thank you sir.  Did the unicode stuff look ok?  I figured you'd have more experience of that than me :)09:38
adeuringbigjools: as I wrote in the MP, we used something like u'Lo\u2345c' and avoided the "coding: utf-8" line at the top09:39
bigjoolsah ok09:39
adeuringbigjools: but09:39
adeuringI thin k we can really switch to the way you did it09:39
bigjoolsI took inspiration from a different python file in our tree09:40
adeuringbigjools: even better then :)09:40
bigjoolsLoïc looks better than Lo\u2345c huh? :)09:40
adeuringthere is a small risk that somebody uses an editor which does not understnd utf-809:40
adeuringbut I am not aware of any such editors...09:40
bigjoolsyeah - I had issues with Vim but then it seems all ok with it today :/09:41
adeuringbigjools: and yeah, this '\u3456' looks really ugly and is sometimes hard to understand09:41
bigjoolsindeed09:42
jmllifeless: can you please merge: lp:~jml/python-fixtures/misc-fixes09:42
adeuringI think Python supports also something like "LATIN_CAPITAL_A_WITHDIERESIS" with some escape mechanism but that's not much better than \u123409:43
bigjoolsheh09:44
bigjoolsit is a total minefield09:44
adeuringbigjools: not such a big pitfall as some Qt unicode -> string conversion method (can't remember which one exactly) It gave you ISO8859-1 strings by default. Was quite annoying for any language spoken that did not originate in western europe09:47
bigjoolsadeuring: nice.09:48
cjwatsonhttps://dev.launchpad.net/LaunchpadPpa says "The current development series [...] (currently: natty)" and "The current release [...] (currently: maverick)"10:14
cjwatsonshould that be changed to oneiric and natty respectively now?10:15
wgrantIndeed. It does work on oneiric.10:15
cjwatsonlaunchpad-dependencies has versions 0.95~oneiric1, 0.95~natty1, 0.95~lucid1.  lp:meta-lp-deps only has 0.95.  Is that done by hand?  How do you deal with different versions of dependencies in different releases?10:17
bigjoolsjtv: the expander sections on the queue syncs look nicer now10:17
cjwatsonoh, hm, https://code.launchpad.net/~launchpad/+recipe/meta-lp-deps-on-demand10:17
jtvbigjools: Thanks.  Actually expanding does look more appropriate on an expander, does it not?10:17
bigjoolsjtv: generally :)10:18
jtvBTW it looks like the other expanders don't get the colspan quite right.10:18
jtvMy eye keeps expecting a link where the archive name is.  Is there anything to link to?10:19
wgrantcjwatson: Right, that recipe is used. The deps are identical between series these days, though, so the series-specific sources are unnecessary.10:19
cjwatsonI guess I can use substvars to force the right versions of apt/python-apt10:19
cjwatsoncleaner than series-specific sources10:20
wgrantSlightly.10:20
wgrantmaverick doesn't have a sufficient version?10:20
cjwatsonno10:20
wgrantThat is inconvenient.10:21
cjwatsonbigjools has copied stuff into the PPA now (including maverick), but I assume that that won't necessarily get upgraded without forcing versions in lp-deps10:21
wgrantSometimes we force it, sometimes we don't...10:21
cjwatsonShould I just not bother?10:22
wgrantProbably not. Only the two buildbots + cocoplum really need it.10:23
wgrantAnd we can ensure that those are correct easily.10:23
wgrantAnd it avoids the substvar mess.10:23
cjwatsonit's mildly inconvenient that cocoplum doesn't seem to have the Launchpad PPA in sources.list10:24
wgrantRight, the DC machines use CAT.10:24
wgrantWe generally import stuff from the PPA into CAT.10:24
cjwatsonso I should RT that?  it's just for apt/lucid10:24
wgrantNot sure. LOSAs ^^?10:24
* mthaddon catches up10:25
mthaddonyeah, an RT asking for it to be uploaded to the -cat repos and installed would be good10:26
cjwatsonOK10:26
mthaddoncjwatson: unf we can't install directly from PPAs on servers in the DC as that would basically mean a compromise of LP would root all DC servers10:26
mthaddons/would/could/10:26
wgrantErm...10:26
wgrantYou know what controls the Ubuntu archive, yeah? :)10:26
mthaddonwell, that's true, but it's a slightly different case10:27
wgrantThe security of the primary archive is less tested, yes.10:27
cjwatsonI'd normally use the ubuntu-platform@ RT address, but I assume I should use the launchpad@ address in this case ...10:29
=== jtv is now known as jtv-eat
cjwatsonwgrant: assuming that the buildbots are up to date or will update, then https://code.launchpad.net/~cjwatson/launchpad/dpkg-xz-support-619152 could be landed now, I believe10:31
wgrantcjwatson: Has it been through ec2 lately?10:32
cjwatsonNo10:33
bigjoolswgrant: can you help the dude in #launchpad?10:34
cjwatsonmthaddon: done, RT#4711010:45
_mup_Bug #47110: [UNMETDEPS] php4-yaz links against old libmysqlclient <php4-yaz (Ubuntu):Fix Released> < https://launchpad.net/bugs/47110 >10:45
mthaddonthx10:45
mthaddoncjwatson: do you know if this has been tested on staging/dogfood?10:47
allenapadeuring: Would you be able to review a mostly JavaScript branch for me? https://code.launchpad.net/~allenap/launchpad/localpackagediffs-filter-by-person-or-team-bug-798873-ui/+merge/6976611:05
adeuringallenap: sure11:05
allenapThanks :)11:06
allenapadeuring: I am going to get some lunch now but I'll try to watch for pings. Is that okay? If not, leave it for later when I'm back.11:06
adeuringallenap: then let me ytart my lunch break too before I start to look at the mp :)11:07
allenapadeuring: Cool :)11:07
LPCIBotProject db-devel build #766: STILL FAILING in 5 hr 43 min: https://lpci.wedontsleep.org/job/db-devel/766/11:24
bigjools"""Gina's changelog parser and muncher for great justice"""11:29
jmlam thinking of doing work to address / mitigate https://bugs.launchpad.net/launchpad/+bug/81472511:53
_mup_Bug #814725: No feedback between upload & acceptance/rejection <Launchpad itself:Triaged> < https://launchpad.net/bugs/814725 >11:53
jmljames_w suggested adding an API method for upload11:53
jmlany thoughts from folk here? bigjools? wgrant? StevenK?11:54
bigjoolsjml: it's not a trivial problem11:54
wgrantUntil we have a message queue.11:55
bigjoolsan API for upload is not going to work, it'll time out11:55
wgrantUntil then, best not to think about it :)11:55
bigjoolswe need to decide what feedback people would be happy with11:56
jmlbigjools: so the timeout starts from 'request received'?11:56
jmlor rather, request started11:56
jmlrather than, say, request finished11:56
wgrantjml: The processing itself can easily take many seconds.11:57
bigjoolsjml: to make sure we're talking about the same thing, is that a webservice API?11:57
bigjoolss/seconds/minutes/11:57
jmlbigjools: yes.11:57
jmlwhy minutes?11:57
bigjoolsjml: ok, that will never work.  we need a different transport11:57
bigjoolsjml: the upload processor has to unpack the package11:58
bigjoolsthat can take a loooong time11:58
jmlwhy does it need to do that?11:58
bigjoolsto verify its contents11:58
wgrantIt should never take minutes, but it can have to un-xz and un-bz2 a few hundred megabytes :/11:58
bigjools"should" :)11:58
bigjoolsjml: at a stretch we could make poppy poke something into the database to say "pending uploads +=1" and then make the upload processor decrement that.  Then the UI can show something.11:59
bigjoolsnot sure of the ramifications of that though12:00
jmlbigjools: well, there are other checks that are fast to do that the user would be well served to be told about sooner12:00
jmle.g. permission checks12:00
bigjoolsjml: yes, they are all done first12:00
wgrantI have considered deferring the extraction to a job.12:01
jmlbigjools: yeah, but currently asynchronously12:01
wgrantWe could possibly get away with removing a couple of the pedantic checks on the extracted package.12:01
bigjoolsjml: I think it doesn't try to unpack unless all the other stuff passes12:01
jmlI can't see any mention of tarfile in archiveuploader12:01
wgrantAnd then do the file retrieval async.12:01
wgrantjml: Hahah12:01
wgrantdpkg-source12:01
bigjoolsanyway - there's a load of bugs which means it'll just OOPS12:01
wgrantNot that easy :)12:01
jmlwgrant: ah, ok. got it.12:01
* bigjools has deja vu12:02
wgrantarchiveuploader is a bit special.12:02
wgrantNot gina-special.12:02
wgrantBut still fairly special.12:02
* bigjools found a horrible bug in gina12:02
bigjoolsit doesn't help when the doctest that checks for output format doesn't have a -NORMALIZE_WHITESPACE :/12:02
jmlafaict, the verification here is just for 'single directory', 'changelog' and 'copyright'12:03
jmlI guess dpkg-source might do verification that the code implicitly relies on.12:03
wgrantbigjools: While you're there, want to fix archiveuploader's changelog_entry generation?12:04
bigjoolswhat aspect?12:04
wgrantjml: Right. dpkg-source does a lot of checks.12:04
jmlwhy not check the first by listing the tarball contents, and get the other two by just extracting those files?12:04
wgrantjml: But if we accept an invalid package, it will just fail to build, so it's not that bad.12:05
wgrantExtracting those files how?12:05
wgrantWe'd have to be able to unpack all the source formats.12:05
wgrantUntar + diff12:05
wgrantOr untar + untar12:05
wgrantOr whatever they come up with next.12:05
bigjoolsaccepting invalid packages to the build farm is nuts, don't do that12:05
wgrantbigjools: They are rare and will just end up FAILEDTOBUILD. It's not *that* bad.12:06
bigjoolsit's build time wasted12:06
jmlwgrant: hmm. I see. I guess you'd have to patch upstream to provide the feature.12:06
bigjoolsdisk space wasted12:06
bigjoolsand crufty12:06
jmlbigjools: every successful check is wasted CPU too12:06
bigjoolsreject early, reject often12:07
bigjoolsjml: no, it's just getting deferred12:07
bigjoolsthe later you reject in a pipeline that has a lot of steps, the harder it is to produce a decent error message12:10
jmlCertainly failing early is good.12:11
jmlBut if you are doing an expensive check early that is also implicitly done in later steps, you are penalizing successful cases to help the bad ones.12:11
bigjoolsin this case I disagree; you're just pushing the penalty to later on12:12
wgrantPerhaps we should get some data.12:14
jmlbut it's actually making it take longer, isn't it? Or is the output of dpkg-source in the upload check saved so that the build farm doesn't need to run it?12:14
wgrantI suspect it's very rare that dpkg-source fails.12:15
jmlwgrant: yeah, that'd be interesting to see.12:15
jmlfunnel graphs12:15
wgrantNo, all the buildds have to rerun it.12:15
bigjoolsso assuming most uploads are actually OK, then you're right.  But yeah we need data on that.12:15
bigjoolsI still think we need to check this stuff :)12:16
wgrantI'm also not quite sure on how a webservice API would work here.12:17
bigjoolsit wouldn't12:17
wgrantI guess you'd upload files to the librarian and then fire off an MQ-based job.12:17
wgrantIt's doable, and should be done eventually :)12:17
bigjoolsplease not the librarian12:18
wgrantThey would have a <24h expiry.12:18
=== bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: adeuring, bac | Critical bugs: 240 - 0:[#######=]:256
bachola abel12:19
jmlstill probably need a  MQ though.12:19
bigjoolsthe way we do it is fine.  We can make poppy send a message to something to kick off processing12:19
bigjoolsI'd like to parallelise per archive (up to a max thread count)12:19
wgrantIndeed.12:20
wgrantIt would be nice if Python did threads :/12:20
bigjoolsheh12:20
wgrantMaybe by the time we have a MQ-based jobrunner we will have moved to PyPy.12:21
* bigjools can't believe this changelog parsing bug has been in Gina so long12:21
jmlwell12:21
bigjoolswgrant: haha12:21
jmlwe'll see what I actually need to get my thing done.12:22
bigjoolsjml: in lieu of a message, another solution would be to have some sort of pending upload indicator in IArchive which poppy increments and the upload processor decremements12:23
wgrantjml: Recipes!12:23
jmlwgrant: I asked for in-page updates for async jobs for every feature LP did since January 2010.  Including recipes.12:23
bigjoolsjml: when we finish DDs, we'll be finishing *that* :)12:23
jmlbigjools: looking forward to it.12:24
bigjoolshellyes12:24
wgrantBug #62873812:24
_mup_Bug #628738: SourcePackageRelease.changelog_entry now incorrectly generated <lp-soyuz> <soyuz-upload> <Launchpad itself:Triaged> < https://launchpad.net/bugs/628738 >12:24
wgrantbigjools: That's the bug.12:24
wgrant(also not caught because of NORMALIZE_WHITESPACE, IIRC)12:25
bigjoolsyay12:25
bigjoolsdifferent problem to the one I am fixing though12:25
wgrantdoctests, yay12:25
wgrantYeah.12:25
bigjoolsthere's nothing like testable documentation12:25
bigjoolsand our doctests are nothing like testable documentation12:26
jmlexcept maybe burgers with turds in them.12:26
* bigjools blinks12:26
adeuringallenap: r=me12:28
allenapThanks adeuring :)12:28
bigjoolswgrant: do you know if iron is in NDT?12:32
wgrantbigjools: It is.12:32
wgrantmcmurdo too.12:32
bigjoolsgood12:32
bigjoolsI love the way that someone thought that list.append(string) included a newline12:33
wgrantftpmaster, ppa, librarian, librarian2, mailman, codehosting are not in nodowntime.12:33
wgrantEverything else is.12:33
wgrantmailman might be as of 12 hours ago. I forget.12:33
wgrantAnd codehosting will be on monday.12:34
wgrantShall be good.12:34
bigjoolswoo12:34
=== jtv-eat is now known as jtv
cjwatsonmthaddon: TTBOMK it has not12:46
mthaddoncjohnston: ok, I've added a note to the ticket that we should do that first, so we'll make it so12:46
cjwatsongreat, thanks12:46
jmlcjwatson: that's a new acronym for me.12:47
jmlexcellent. no more learning required from me for the rest of the day.12:47
* cjwatson prescribes jml alcohol12:53
cjwatsonmthaddon: do I need to take that backlogged message seriously, or is it automatic irrelevancy?12:53
mthaddoncjwatson: it basically just means it hasn't been directly assigned to someone yet, but I've given in a priority, and if that needs bumping up it can be done at any time12:54
mthaddons/given in/given it/12:54
jmlcjwatson: with prescriptions like that, perhaps there's more to be said for private medical practitioners than I had previously thought!12:54
cjwatsonmthaddon: ok, cool12:54
deryckMorning, all.13:08
jtvHi bac!  Free for a review?  I've got this: https://code.launchpad.net/~jtv/launchpad/bug-818032/+merge/6979113:42
bacjtv: sure13:43
jtvThanks.13:43
bacjtv: did you have any pre-implementation discussions about this bug and branch?13:45
jtvbac: yes, hence the "pre-implementation notes" :)13:45
jtvWith Julian, to be precise.13:45
bacjtv: ok.  since you didn't list any one in that section i wanted to find out.14:01
jtvbac: in retrospect I see I wasn't very helpful in that section, sorry.14:04
bacjtv: looks good.  thanks!14:04
jtvthank you.14:04
=== stub1 is now known as stub
abentleyadeuring or bac: could you please review https://code.launchpad.net/~abentley/launchpad/fix-lpviews/+merge/69800 ?14:27
bacabentley: i will14:27
adeuringbac: you bebat me :)14:27
abentleybac: I have fixed the lint.14:27
baci did bebat you!14:27
bacabentley: done.  good catch.14:39
abentleybac: thanks.14:40
baci didn't realize we had pages using the zope default14:40
jcsackettsinzui: i see that you are working on 800361. i just unassigned myself from that in lp; shall i assign you?15:04
sinzuijcsackett, I suppose15:06
jcsackettsinzui: is there a reason i shouldn't? i only unassigned myself b/c i'm not currently working further on it after UI tests and thought someone else might have the time to do it. which seemed to be you.15:07
sinzuijcsackett, I have been very distracted the last two days and have made no progress. If I am distracted today, I will give up the work to wallyworld. This is critical path work and I not certain I should ever be on the critical path15:08
jcsackettsinzui: ok. leave it till monday and decide then?15:08
sinzuijcsackett, I have been working to unblock others. I am participating in the product strategist interviews15:09
jcsackettsinzui: aaah.15:09
sinzuijcsackett, do you have time to mumble?15:09
jcsackettsinzui: sure.15:09
gary_posterbigjools, is there anyone with a somewhat overlapping timezone to mine whom I can bother about a relatively simple soyuz question (https://answers.launchpad.net/launchpad/+question/166346 fwiw)?  I'm sorry I've been bothering you a lot lately.15:22
bigjoolsgary_poster: that doesn't look like a soyuz question15:23
gary_posteroh15:23
bigjoolsproject release stuff isn;t it?15:23
* gary_poster feels dumber...15:23
gary_posterok15:24
gary_posterbac...do you have any idea about https://answers.launchpad.net/launchpad/+question/166346 ?15:24
bigjoolsgary_poster: oh and I think the answer is "no" anyway :(  You've got 2 Aussies, and me.15:24
gary_posterbigjools, heh, ok, thanks15:25
=== al-maisan is now known as almaisan-away
bacsorry, gary your message didn't get highlighted.  maybe my client doesn't like "bac..."15:47
bacgary_poster: i can't answer that question off the top of my head.  i'm not familiar with how that pattern is used.  i can look into it, though.15:50
gary_posterthanks bac.  maybe on your CHR rotation.  I'm not pursuing it16:14
=== beuno is now known as beuno-lunch
=== adeuring changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: bac | Critical bugs: 240 - 0:[#######=]:256
jmlmrevell: did you just put Welsh on the Launchpad blog?16:28
=== deryck is now known as deryck[lunch]
dobeyhey guys16:50
dobeyi got OOPS-2036MPJ10 from lp trying to generate a diff for my branch16:51
dobeyi think it might be a bug in bzr or something16:51
jelmerhi dobey16:56
jelmerhmm, that OOPS hasn't synced yet16:57
dobeyok17:01
dobeyjelmer: it probably says something akin to this, anyway: http://pastebin.ubuntu.com/654553/17:01
LPCIBotProject db-devel build #767: STILL FAILING in 5 hr 38 min: https://lpci.wedontsleep.org/job/db-devel/767/17:03
=== beuno-lunch is now known as beuno
jelmerdobey: that's a known bug17:17
jelmera 5 digit bug even17:17
jelmerbug 8255517:17
_mup_Bug #82555: Merging to an empty branch doesn't work <merge> <Bazaar:Confirmed> < https://launchpad.net/bugs/82555 >17:17
dobeywow17:20
jelmerdobey: while you're here... :)17:22
jelmerdobey: did you see my mps against lptools?17:22
dobeyyeah, but i haven't had time to look at them. i guess poolie hasn't either17:23
jelmerthere's no hurry17:24
dobeythat bug is interestingly odd17:29
dobeysince it is possible to merge to an empty branch, but weird things can happen17:29
dobeyif i just merge to the empty branch and commit straight away, it sort of 'rights' itself17:30
dobeyso, this is interesting...17:33
dobeyjelmer: http://pastebin.ubuntu.com/654630/ <- notice the revnos that are listed as negative :)17:34
dobeyand log -n0 shows them as 1..517:35
jelmerdobey: yeah, there seem to be multiple issues here17:37
jelmerdobey: this sort of thing is tricky because of the way we do revno assignment, as you can see :)17:37
dobeysure17:38
gmbbac: I have a branch that needs reviewing, if you've got time: https://code.launchpad.net/~gmb/launchpad/remove-unused-potmsgsets/+merge/6984117:42
bacgmb: i do have time.17:43
gmbThanks17:43
gmbWoah.17:43
gmbbac: Hang on. Bad diff.17:43
gmbbac: Should have submitted against db-devel. https://code.launchpad.net/~gmb/launchpad/remove-unused-potmsgsets/+merge/6984217:44
=== Ursinha is now known as Ursinha-lunch
=== deryck[lunch] is now known as deryck
bacgmb: review done with a couple of suggestions18:07
gmbbac: Thanks18:08
=== Ursinha-lunch is now known as Ursinh
=== Ursinh is now known as Ursinha
deryckabentley: I'll be ready for our call in about 3 minutes.  Meet you in mumble then?19:00
abentleyderyck: sounds good.19:00
LPCIBotProject devel build #930: STILL FAILING in 6 hr 1 min: https://lpci.wedontsleep.org/job/devel/930/19:13
=== almaisan-away is now known as al-maisan
abentleygary_poster: ping20:07
gary_posterabentley, hi20:08
abentleygary_poster: I'd like to talk about the jsoncache.  Do you have a couple of minutes?20:08
gary_posterabentley, sure, in 5 ok?20:09
abentleygary_poster: sure.20:09
gary_postercool, abentley, I'll ping20:09
gary_posterabentey, thanks, ready20:17
gary_posterI'd prefer skype20:17
=== al-maisan is now known as almaisan-away
gary_posterabentley ping :-)20:24
* gary_poster has EoD in 520:24
abentleygary_poster: So that the Thunderdome, you expressed concern about the idea of reloading the whole JSONRequestCache as a means of updating pages.20:24
gary_posteryeah20:25
gary_posterat least as one to be applied as a blanket approach20:25
abentleygary_poster: Was the concern about the size of the download or the expense of calculating it server-side?20:25
gary_posterprobably fine in some cases20:25
gary_posterabentley, expense20:25
abentleygary_poster: I think you suggested using ETAGs as a remedy to avoid retrieving already-known data?  But wouldn't that still be expensive server-side?20:26
gary_posterabentley, I don't remember suggesting ETAGs for this problem, but who knows. :-)  My preferred solutions might be long poll pushes, and/or MVC in client-side code (which in isolation would only address part of the "curentness" problem, but would be better than what we have).20:29
abentleygary_poster: I don't understand how MVC would address it.  The +sharing-details page wants to use it, and IS MVC.20:32
abentleygary_poster: Anyhow, I guess we can pick this up next week.20:34
gary_posterabentley, ack.  I'm glad that we have the mechanism, and my concerns/thoughts maybe can go under the category of "future work".20:36
lifelessgmb: still her e?20:37
abentleygary_poster: Anything I come up with will be opt-in, at least initially.  But If there opportunities to support other use cases better, I don't want to miss them.20:37
gary_posterabentley, ack.  You might want to talk to wgrant; he has some thoughts about the long poll that might be nicely integrated in the future20:38
abentleygary_poster: Yes, we've chatted about that.  He was my roommate at the Thunderdome.20:38
gary_posterabentley, heh, ok20:39
gary_postercool20:39
* gary_poster needs to run20:39
gary_posterhave a good weekend abentley, all20:39
abentleygary_poster: you too.20:39
abentleylifeless: IIRC, we have a mechanism for a web client to control what page a form submission redirects us to.  Do you know what it is?20:42
lifelessI'm not aware of that except in the special case of the login / logout handshakes20:43
abentleylifeless: cool, thanks.20:43
lifelessI believe those cases are special-cased by the page being submitted to20:44
abentleylifeless: XHR automatically follows redirects, so submitting a form via AJAX redirects to a useless page, which is a pointless roundtrip.  I'd like to either avoid the redirect or redirect to a useful page.20:48
lifelessabentley: is this the new ++ thing, or existing form submissions ?20:50
abentleylifeless: existing form submissions, but the "useful page" would be the ++model++.20:51
lifelesscan you tell that its an ajax xhr request on the server?20:51
lifelessabentley: also, if you're tuning this, wouldn't it be better not to redirect at all ?20:52
lifelessthe redirect exists for web clients to end up with nice urls is all.20:52
lifeless(ah, as you say above 'avoid the redirect') +120:52
abentleylifeless: Yes, it would be better to not redirect at all, but that would have to be decided server-side.20:52
abentleylifeless: Even better would be to return the data we actually want.20:53
abentleylifeless: I don't know whether there's a generic way to detect an XHR client, but I'm sure we could set a header or something.20:54
lifelessI think having a 'this is xhr' flag and then calculating and returning -only- the needed data would be ideal.20:59
lifelessit would avoid the redirect, and avoid the concerns around ++model++ doing too much work on big pages (e.g. BugTask:+index w/bug 1)21:00
_mup_Bug #1: Microsoft has a majority market share <iso-testing> <ubuntu> <Clubdistro:Confirmed> <Computer Science Ubuntu:Confirmed for compscibuntu-bugs> <dylan.NET.Reflection:Invalid> <dylan.NET:Invalid> <EasyPeasy Overview:Invalid by ramvi> <elementary OS:In Progress by elementaryproject> <GenOS:In Progress by gen-os> <GNOME Screensaver:Won't Fix> <Ichthux:Invalid by raphink> <JAK LINUX:Invalid> <LibreOffice:In Progress by bjoern-michaelsen> <Th21:00
=== bac changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 240 - 0:[#######=]:256
lifelesshttp://activitystrea.ms/21:02
abentleylifeless: "returning -only- the needed data", where that's a subset of the ++model++ would be quite a trick.21:04
lifelessabentley: are we blocked on deploys until we fix all these views ?21:05
abentleylifeless: The only known-broken view is fixed in r13560.21:07
lifelessabentley: I'm a little worried that there are others we don't know about, and we'll find out the hard way.21:08
lifelessabentley: is it possible to make the code gracefully handle the absence of the method (and perhaps log / write a soft oops) when that happens ?21:08
abentleylifeless: In the words of Robert Collins, "Untested code is broken code".21:08
abentleylifeless: Writing a soft oops would be fine with me.21:09
lifelessI agree that untested code is broken code. We know now that we have (at least) one untested view.21:10
lifelessIf we deploy as-is and find more untested views exist, we'll have to halt all deployments, rollback the deploy - moderately expensive shenanigans21:11
abentleylifeless: That's not the only way to handle a regression.  You can also just fix it.21:12
abentleylifeless: these fixes are trivial, e.g. a line of zcml or adding a parent class.21:13
abentleylifeless: this morning I searched the oopses for any more affected views and didn't find any.  I can search again.21:14
lifelessreverting the deployment takes minutes; the fixing pipeline takes (minimal) 6 hours21:15
lifelessdoing a cowboy on the spot requires an incidentreport and analysis - its something we want to avoid as much as possible (perhaps too much, but thats a separate discussion)21:16
lifelessLynne and I are popping out, so I have to go21:17
lifelesssorry21:17
abentleylifeless: I just re-synced qastaging oopses and didn't find any more broken views.21:19

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