[00:08] * StevenK nails _mup_ to the channel. [00:18] cjwatson: That looks good. [00:19] cjwatson: indices look as expected. [00:20] great. where should I look on mawson? [00:23] ah, deribuntu/baleful by the looks of things [00:24] cjwatson: Oh, forgot you had access to mawson. [00:25] agreed, that looks cromulent to me [00:25] cjwatson: Indeed, that's the one I tried. As we don't have any oneiric on there at the moment. [00:25] admittedly only a single package but should be fine [00:25] I think I whined a few years back until I got it [00:25] I wonder why Translations-en is only uncompressed + gzip [00:26] maybe should add bzip2 versions at some point, but we'll see how things look in production [00:26] ah, need to set Translation::Compress for that [00:26] OK. I think this is good though. Shall I tell lamont to roll that out to production? [00:27] I can throw in a few more packages if you want, but I think this seems to work. [00:27] Please do. [00:27] Even if it does happen to break on prod, it's going to be pretty obvious within two hours. [00:28] I'm fine with that. I'll be watching shortly after I flick the switch anyway [00:31] Yep. [00:31] RTificated [00:32] Ah, you exposed it through the API? [00:32] Handy. [00:35] Yup. You suggested that. :-) [00:41] wgrant: you're rolling back the db-devel patch ? [00:41] wgrant: what revno is being reverted? [00:41] lifeless: Yes, just checking up on what qa-tagger is going to do. [00:41] 10978 [00:47] mail sent about it [00:47] Thanks. [00:47] There seems to be a lot of inclarity over how things work now. [00:52] wgrant: feel free to update the docs everytime someone is confused ;) [01:15] wgrant, is there any more of a traceback for https://bugs.launchpad.net/launchpad/+bug/847485 ? [01:15] <_mup_> Bug #847485: process-mail.py crashing with Unicode logging errors < https://launchpad.net/bugs/847485 > [01:16] it might have been my change that provoked it [01:27] poolie: There isn't. [01:27] poolie: I was hoping maintenance squads would intervene on Monday. [01:27] But nobody did :( [01:27] that's strange [01:28] that there is just a one entry traceback [01:28] Rather. [03:21] Hah, it has changed [03:21] PircBot 1.4.6 Java IRC Bot versus PircBotX 1.5, a fork of PircBot, the Java IRC bot [03:23] what has changed ? [03:23] I upgraded Jenkins and then updated all of the plugins [03:24] StevenK: Is canonistack letting you in yet? [03:24] No [03:41] wgrant: BAH! I didn't know :( [03:42] nigelb: 'tis rolled back and I stopped it getting onto staging, no harm done. [03:42] Sorry! [03:42] StevenK: As I said the other day, I don' know how to QA it. [03:43] nigelb: It's pretty difficult to QA it directly. [03:43] So I poked around a bit and said it was qa-ok. [03:44] nigelb: I've tweaked https://dev.launchpad.net/PolicyAndProcess/DatabaseSchemaChangesProcess [03:44] Thanks lifeless. [03:45] nigelb: can you tell me if step 6 is clear enough to you? [03:45] lifeless: Reading [03:45] It is :-) [03:46] wallyworld: I tweaked the javascript unit testing and mockio pages after a few hours of headdesk. There were small typos in the code for both. [03:47] wgrant: Ah, is that why I don't have a success mail? :) [03:47] nigelb: hopefully your head doesn't hurt too much :-) is it ready for a formal review? [03:47] No, not yet :) [03:47] I want to write more testss [03:48] more tests = good :-) [04:34] wallyworld! [04:35] wallyworld: Your presence is *required* [04:35] That is not good :P [04:35] StevenK: hello! [04:35] wallyworld: Can you log into Jenkins using SSO -- check the box for team membership and see if you get buttons on the right hand side [04:35] nigelb: ^ [04:36] nigelb: You shouldn't get the box and no buttons, but you should be able to log in [04:36] we dont sleep dot org? [04:36] StevenK: i forgot the url [04:36] https://lpci.wedontsleep.org [04:36] That's it [04:37] ok, i can see a jenkins console [04:37] What box am I looking for? [04:38] wallyworld: So it says "wallyworld | log out" on the top right? [04:38] StevenK: yes [04:38] wallyworld: Are there two icons on the far right of devel and db-devel that say "Schedule a build" when you hover on them? [04:39] * wallyworld looks [04:39] yes [04:39] wallyworld: Excellent, thanks [04:39] np [04:39] nigelb: Are you logged in? [04:39] StevenK: http://people.ubuntu.com/~nigelbabu/jenkins.png [04:40] Excellent [04:40] Thanks [04:40] Did you write java code for this? [04:40] StevenK: You might want to get it authorized to get launchpad membership by default. [04:40] If so, respect. [04:40] Doesn't that require an RT? [04:40] nigelb: I did not [04:41] It requires an RT [04:41] and probably grabbing stuart [04:42] g26 [04:49] A LOSA may be able to JFDI for you. May not require ISD intervention these days. [04:51] wgrant, lifeless, is it ok if i send up my bug 643223 branch to ec2? [04:51] <_mup_> Bug #643223: should accept dkim based on from address and signing address belonging to the same person < https://launchpad.net/bugs/643223 > [04:52] poolie: Sure. [04:53] Reviewer wanted: https://code.launchpad.net/~jtv/launchpad/katie-and-gina-are-bad-bad-girls/+merge/75472 [04:55] jtv: I can't review right now, but FWIW the katie celebrity is unrelated to gina. [04:56] But is it related to katie.py? [04:56] Well, related only in that the celebrity represents katie for historical reasons, and gina's katie module was used to talk to katie. [04:56] gina's katie.py is not katie. [04:56] katie is part of dak. [04:56] gina's katie.py reads dak's DB. [04:57] *cry* [04:58] Yes [04:59] Oh well, it's not a concern for my branch then. [04:59] That's something: Katie will at least mean Katie, not frontend for Dak. [05:03] where should a script for developer-only use go [05:03] specifically process-one-mail [05:03] in scripts? utilities? [05:03] well, perhaps losas will find it useful, but it's not for production [05:04] utilities, probably. [05:04] But maybe scripts... [05:05] well, i'll leave it, someone can move it [05:05] no one complained in review [05:32] hm, what would be a clean way to let this hook into sendmail() so that what's going to be sent is instead printed [05:32] i can easily imagine how to do it by, eg, monkeypatching, or adding a new configuration option [05:33] i guess config is done for the special during-testing code, so perhaps i should do the equivalent? [05:36] poolie: It's... not config. [05:37] wallyworld! [05:37] yo [05:37] you rang [05:37] poolie: lib/lp/services/mail/sendmail.py, search for isZopeless. [05:37] poolie: That's the right part of the code. [05:37] poolie: You can see how it handles testing there. [05:37] wallyworld: var co = new Y.lp.app.confirmoverlay.ConfirmationOverlay({ [05:37] poolie: (you may need to consult a medical professional afterwards) [05:37] i do [05:38] the simplest thing that would possibly work is just to stick another variable on config [05:38] Sigh, never mind, I see the error [05:38] It's confirmationoverlay [05:38] excellent! pleased to help [05:38] the results are awesome though [05:38] :-) [05:38] wallyworld: JS has the 77 char limit? [05:38] StevenK: sadly yes [05:38] imho, in 2011, 78 chars is mental [05:39] with wide screen monitors etc [05:39] should be at least 120 [05:39] wallyworld: http://pastebin.ubuntu.com/689734/ [05:39] wallyworld: Suggestions how to break that up? [05:39] * wallyworld looks [05:39] * StevenK would like to say "Where's my hammer?" in a Jeremy Clarkson voice. [05:39] StevenK: var ns = Y.lp.app.confirmationoverlay; [05:40] var overlay = new ns.ConfoimationOverlay() [05:40] or something like that [05:40] where ns is short for namespace [05:41] Obviously [05:41] :-) [05:41] wallyworld: Where is your cape? :-P [05:41] in the wash, it;s dirty :-) [05:41] From overuse, I bet [05:41] you don't want to know :-) [05:42] the Wonder Woman costume is also dirty :-P [05:43] * StevenK scratches his own eyes out [05:43] CAN NOT UNSEE [05:44] Can I tell Firebug to jump to a line number in a JS file? [05:45] StevenK: not sure. i usually just search for the loc [05:45] Oh, look, it has search [05:45] you can type pretty well with no eyes :-) [05:45] I installed a screen reader, duh [05:46] And I don't need to look at the keyboard [05:46] wallyworld: Can haz mumble? [05:46] StevenK: ok. just a sec. gotta plug in mic [05:51] jtv: katie and gina are bad girls? BWAHAHA [05:51] Bad, bad girls. [05:53] *now* I know why lifeless had included "Don't be cute" with names for services :P [05:56] not to mention e.g. roomba [05:58] There is a part of launchpad called roomba? [05:58] Does it suck? :P [05:58] there was [06:00] That's news to me. [06:00] What was it? [06:00] librarian-gc? [06:01] import related [06:01] see circa 2006 [06:01] there was another, named after one of the other automatic vaccums [06:01] we've done some terrible things [06:02] what's the origin of "gina"? [06:02] dak [06:02] ish [06:02] Yeah, it's following the dak naming scheme. [06:02] I forget who exactly it is named after. [06:03] I think dak's source says... [06:03] What is dak again? [06:03] VCS? [06:03] dak is Debian's archive software. [06:04] Like Soyuz, except even more of a trainwreck :P [06:04] heh [06:05] Blah, elmo deleted README.names in 2006. [06:05] Bad elmo. [06:05] heh [06:06] "Gina (Gershon)" is listed as a future name. 18 months after gina was written :( [06:18] wgrant: Land demolish-unused-tables-3-db! [06:20] StevenK: Can't. [06:20] StevenK: -2 is not deployed to loganberry/ackee yet. [06:20] And can't be, because garbo-frequently isn't alive yet. [06:20] Because puppet. [06:22] What is the "correct" way to split long javascript strings? [06:23] long strings in javascript rather. [06:23] nigelb: 'don't' ? [06:24] oh, lines of length 268 in js is okay? [06:25] well depends what you mean [06:26] js source code? no, our normal rules apply. [06:26] js sent to the browser? see the various compressors out there. [06:26] https://code.launchpad.net/%7Enigelbabu/launchpad/bug-title-849121/+merge/75267 (line 189) [06:26] Its a test [06:27] (also, why I can't I href to those lines :/) [07:09] Good morning 'padders [07:10] Morning all, morning mrevell. [07:10] Morning mrevell / rvba :) [07:10] Hey nigelb. [07:10] Salut rvba! Qu'est-ce qu'i ce pass en France? (/me realises how much he's forgotten) [07:11] rvba: Reviewing today? I *may* be able to get you something [07:11] Namaste nigelb ... I might as well try and do a bad job of greeting everyone in something approaching their local manner :) [07:11] mrevell: Haha [07:11] heh [07:12] mrevell: Not so bad actually ;). Well, the rugby cup is on. Oh, and the economy is collapsing. [07:12] nigelb: Okay. [07:12] hello rvba [07:12] rvba, The first one helps us forget the second. [07:12] True ;) [07:12] heh [07:12] poolie: Hi! [07:13] could someone read https://code.launchpad.net/~mbp/launchpad/mail-script/+merge/75488 for me? [07:13] it's pretty small === rvba changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: rvba* (allenap) | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated [07:14] poolie: I can do that but will have to wait a bit for Gavin to double check that my review is ok. [07:14] that's fine, and it would be appreciated [07:15] Okay then, I'm on it. [07:39] poolie: review done. I'll ping Gavin (my mentor) when he logs in to double check what is actually my first review on lp ;). [07:45] awesome [07:55] good morning [07:58] rvba, poolie: I'll do that now. [08:01] henninge: while you're still here, are you free for a pre-imp call in an hour or so? For old time's sake. ☺ [08:01] jtv: yes, please! ;) [08:01] \o/ [08:01] jtv: just ping me [08:01] Will do. [08:01] Tu'ich! [08:04] thanks allenap [09:07] henninge: ping :) [09:07] henninge: can I find you on mumble somewhere? [09:07] jtv: In the orange room. Gimme 2 mins. [09:07] OK [09:30] jtv: hello. I've made the fix you required. What happens next? [09:31] jml: otp, but if that's fixed, I'll approve right now [09:31] jtv: thanks. could you also land it please? I don't have commit access. [09:31] ! [09:31] OK [09:36] How do I get make lint to 'see' files? [09:36] I commited something before linting and now make lint doesn't see it. [09:40] nigelb: I'll explain in a moment, hang on [09:41] nigelb: moment has passed. “make lint” looks for files to check in stages: [09:41] If any files have uncommitted changes, it assumes you want to check those. [09:41] If no files have uncommitted changes, it looks for changes compared to the parent branch, and if there are any, assumes you want to check those. [09:41] If it doesn't find any changes at all, it checks everything. [09:42] nigelb: so try running it right after a commit. [09:42] okay :) [09:42] I did the hack of making whitespace changes [09:42] so it found those :D [09:43] nigelb: You probably also can shelve your current changes for a moment. [09:43] Lint seems to think i should use === instead of == in javascript. [09:44] It's right. == is almost never what you want. It does type coersion. [09:44] Dear god. [09:44] That's what its been doing all this while. [09:44] Also, <3 YUI tests now. [09:45] Easy to run 'em. [09:49] * nigelb curses lint. [09:55] Erm, help. I have this huge string in a line of javascript (for a test), how do I split it? [09:55] 'foo' + 'bar' + 'baz'? [09:55] nigelb: think so. [09:55] jml: Thanks. [09:55] its going to end up looking ugly :P [10:00] nigelb: if the string is big but not huge, you can use the 'array trick' (see lib/lp/soyuz/javascript/tests/archivesubscribers_index.js) [10:00] nigelb: if the string is really huge and is html code, the right place for this is the .html file associated with the js test code. [10:01] nigelb: for an example of that, bzr grep derivedtd-template. [10:02] let me check out the array trick :-) [10:03] Oh, the array trick is *neat* [10:10] rvba: Can I add https://code.launchpad.net/~nigelbabu/launchpad/bug-title-849121/+merge/75267 to your list? :) [10:10] nigelb: Sure. [10:11] Yay for a branch where I knew most of what I wanted to do :-) [10:36] jtv: any idea when that branch is going to land? I don't actually know the landing process. [10:37] jml: I'm having some trouble landing it myself. [10:38] jml: it looks like “bin/ec2 land” won't do it; wants a GPG key I don't have. Do we have anyone who's more familiar with the project? [10:38] jtv: benji, I think. [10:39] which project? [10:39] launchpadlib? [10:39] wgrant: yes. [10:39] personally, I would like to have landing and release processes for launchpadlib & other lazr projects in the source trees [10:39] (because guess what I'm going to ask for after landing things?) [10:39] https://dev.launchpad.net/HackingLazrLibraries [10:40] It's not PQM-managed, let alone supported by ec2test :) [10:40] ahh, thanks. [10:43] https://code.launchpad.net/~jml/launchpadlib/hacking-documentation/+merge/75520 [10:54] jml: how do I run the tests? [10:55] jtv: buildout, then ./bin/test [10:55] Thanks. [10:55] How do I get buildout? [10:57] jtv: it's documented here: . Essentially, 'python bootstrap.py' and then './bin/buildout'. [10:58] I find the dev wiki hard to read. I think it's the grey text. [10:59] It's also a lot of work just to run tests. [10:59] “a non-system Python, or a virtualenv executable that does not include site-packages, is highly recommended, and may be required” [11:02] “Download error: [Errno -2] Name or service not known -- Some packages may not be found!” [11:03] May be normal. [11:05] jml: There's a bug for that. [11:05] wgrant: yeah. I might have filed it. [11:05] jtv: that's the glory of buildout. If it's any consolation, it's even more work just to run the tests for Launchpad itself. [11:06] jtv: that's not normal. [11:06] Well, the tests ran. [11:06] Did they pass too? [11:06] jml: Bug #666143 is for the blog, which is a similar theme. [11:06] <_mup_> Bug #666143: Launchpad blog uses grey text < https://launchpad.net/bugs/666143 > [11:06] Hah, closed. [11:06] wgrant: yes [11:07] Oops, still open for the theme. [11:08] jml: landed. [11:09] jtv: thanks! [11:09] jtv: could I trouble you to review the hacking documentation branch I just put up? https://code.launchpad.net/~jml/launchpadlib/hacking-documentation/+merge/75520 [11:09] jtv: it's waffer thin [11:09] jml: not tonight, sorry. [11:09] jtv: no worries. thanks. [11:09] rvba: could I trouble you to review this branch? https://code.launchpad.net/~jml/launchpadlib/hacking-documentation/+merge/75520 I'd land it myself sans review if I had commit access. [11:14] jml: Sure. I'll take care of it after lunch. [11:21] rvba: thanks. [11:24] wgrant: How do I turn on feature flags? [11:24] You told me a while back and now I forget :/ [11:24] nigelb: https://launchpad.dev/+feature-rules [11:24] Thanks! [11:27] Now I need to figure out which was the feature Julian and I were confused about. [11:29] What's priority? [11:30] (in the context of feature flags) [11:32] nigelb: The highest priority matching rule wins. [11:32] So, say I have 'default' and 'pageid:Person:+index' rules for a particular flag. [11:32] what's wrong with this line? [11:32] (code.incremental_diffs.enabled, default$, 1, true) [11:32] default$? [11:32] What's that %? [11:33] $ [11:33] from the https://launchpad.dev/+feature-info page. [11:33] default$ [11:33] The default scope. Always active. [11:33] Ah, that's a bit confusing. [11:33] That describes the regular expression that is used to match the scope in the rule. [11:34] so the rule would be something like 'code.incremental_diffs.enabled default 1 true' [11:34] GAH [11:35] On each line: (flag, scope, priority, value), [11:35] How confusing. [11:35] rvba: hi, can I add a small merge proposal to your queue? [11:39] jelmer: Yes you can ;). You'll be number 3. (I'm working on number 1) [11:40] rvba: thanks! [11:40] np [11:45] jml: You merged it! AWESOME! :) [11:46] jkakar: :D [11:46] jml: Man, that feels so good... that's the longest living branch I've ever had. :) [11:46] Thanks for picking it up and getting it landed, much appreciated. [11:47] what do I do to see a diff in an MP for local codehosting [11:47] jkakar: my pleasure [11:47] jkakar: I know the feeling. I personally resent every unlanded branch I have. [11:49] jml: Yep, me too. :) [11:53] nigelb: 'make sync_branches' should scan the branches and generate requested MP diffs. [11:54] wgrant: I just realized that branch didn't have contnet. [11:54] This means I have to setup local codehostign to fix a bug I can't even see! :P [11:55] Heh. [11:55] make run_codehosting [11:56] Add http://paste.ubuntu.com/689936/ to your ~/.ssh/config [11:56] or the make run all option (it's run_all right?) [11:56] utilities/make-lp-user nigelb [11:56] bzr push lp://dev/~nigelb/+junk/something [11:56] G: Or that, yeah. [11:57] https://dev.launchpad.net/Code/HowToUseCodehostingLocally describes it all [11:57] I did see that. [11:58] But I was trying to figure out the effort of fixing a bug I can't see :p [11:58] (I still can't see it, until I go through all the hoops!) [12:00] wgrant: heh, a bug you filled seems to be a dup of one I filed [12:01] * nigelb marks [12:01] bug 847556 vs bug 847682 [12:01] <_mup_> Bug #847556: Person picker in the MP ignored the fact that I filled out a review type < https://launchpad.net/bugs/847556 > [12:01] <_mup_> Bug #847682: Can no longer set review type in "Request another review" person picker < https://launchpad.net/bugs/847682 > [12:01] ni Bah, sorry. [12:02] Why does irssi do that... [12:02] I'm duping mine to yours === matsubara-afk is now known as matsubara [12:02] wgrant: too quick w/ the tab & typing and latency I find [12:03] wgrant: You're is marked higher than the one I field :D [12:03] *filed [12:03] G: Yeah, irssi is currently running on a slow ARMv5 machine which is also a file+print+mail server, so the load sometimes gets a bit high and it lags. [12:03] nigelb: generally we dup onto the lower bug # [12:03] G: And about 18 months ago it started interpreting tabs literally during high lag. [12:04] It's annoyinfuriating. [12:04] Haha [12:04] There we go again. [12:04] His is marked critical, mine is low. [12:04] and has the right tags :) [12:04] How did that get marked low :/ [12:04] lifeless: an unnamed bug tracker & project I used to work with had the policy, dupe to the 'best' bug :) [12:05] That's my policy most of the time :) [12:05] wgrant: irssi and tabs with lag... thats been like that for many many years [12:05] lifeless: Hm. Only noticed it in the last couple. [12:05] Odd. [12:06] yeah, it used to happen a lot on my Linode [12:06] wgrant: its the paste detection heuristic [12:06] Perhaps load has just increased too much. [12:06] May need to offload some stuff to a pandaboard. [12:06] wgrant: ARM macine? Your phone? :P [12:06] But they are no good for routers and fileservers :( [12:06] wgrant: http://irssi.org/about under 'paste detection' [12:07] wgrant: they aren't what a pity [12:07] wgrant: its retarded but upstream consider it a feature [12:08] lifeless: That is indeed reasonably retarded. [12:08] if you have less text than the multi-line threshold, and faster-text than the input buffer heuristic, what you see happening will happen [12:08] GAH. I have just wondered why patches have an edit sprite. Despite me adding them. [12:08] lifeless: can't you turn off? (I thought you could) [12:08] http://irssi.org/documentation/settings paste_detect_time = 5msecs [12:08] Irssi will detect pastes when your input has less than this much time between lines. [12:09] except its a lie [12:09] its not line based ;) [12:09] ahh you can yeah [12:09] paste_detect_time = pleasedie [12:09] heh [12:09] and/or paste_detect_keycount = 5 [12:09] wgrant: alternatively, set your irssi as a bouncer :) [12:09] I think its the latter for the tab breakage [12:10] note the special special special docs about it on that page [12:13] wgrant: I guess the other solution is to write a script to detect it happening ;) [12:14] night all [12:15] lifeless: have a good one [12:15] night lifeless [12:16] Night lifeless. [12:16] Is bug 845339 already? [12:16] <_mup_> Bug #845339: Incorrect sorting on "Last Modified" or "Last Commit" in Code page < https://launchpad.net/bugs/845339 > [12:17] Not able to reproduce it in production [12:17] nigelb: It depends on the browser. [12:17] Firefox 8 works. [12:19] Ohyes. Chrome. [12:20] Still reproducible there? [12:20] yup [12:21] Hrm, everyone has taken jtv's email to heart! :-) [12:23] rvba: Hi, I didn't understand the first bit [12:26] nigelb: I think you should keep the logic that was in place before your change and create the list of the invalid bugs like it was done before instead of building it like you do now. [12:26] nigelb: invalid = set(bugs) - set(bug_ids) [12:26] I can't do that anymore [12:26] since I don't get bugids [12:26] I get bugtask objects instead [12:27] so, doing that means looping through the list again. [12:27] * rvba checks again. [12:29] (interestingly, that logic was written by me as well) [12:30] nigelb: why do you need to deal with bugtasks instead of bugs? [12:30] rvba: to get the bug title [12:30] earlier I was just getting bug ID [12:31] I see. [12:46] nigelb: I guess I'll let you get aways with this if you add a comment saying that we're left with the invalid bugs before the second loop ;) [12:46] s/aways/away/ [12:46] rvba: heh, okay :) [12:47] I hope I didn't make your eyes bleed with that JSON ;) [12:47] s/bleed/bleed too much/g [12:47] my eysdqsd sqdd sf. [12:47] (I can't see the keyboard anymore) [12:48] haha [12:48] ;) === jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: rvba* (allenap), jcsackett | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated [12:58] Hi jcsackett! [12:58] good morning, rvba. :-) [12:58] or good afternoon, in your tz. [12:59] Afternoon, right, good morning to you ;) [13:01] timezones are too much to deal with on low levels of coffee. :-) [13:01] hehe [13:03] jcsackett: LP seems to have a problem generating diffs atm. [13:03] merge-proposal-jobs failed to run [13:03] StevenK: someone on maintenance looking at that? [13:03] This has been a fascination of mine for a while.. It would seem natural that inhabitants of a country that spans 6 timezones were able to deal with timezones literally in their sleep :) [13:03] or does it just appear to be one off death? [13:05] jcsackett, rvba: See #-ops [13:05] wgrant: looking in it now. [13:06] soren: it's my hope that we ditch TZs all together ;) [13:06] soren: they are funny timezones though [13:06] soren: I mean, they call their west coast timezone, "Pacific time", as if the great big blue wobbly thing outside their windows stretched only a mile out from the coastline [13:10] hey, I just learnt a thing about source package publishing [13:10] which is that SPPH.sourceFileUrls() will give you some interesting stuff that's not the same for every package. [13:11] that's links to the .dsc .orig.tar.gz etc? [13:11] or whatever makes up that package? [13:12] james_w: yeah. sometimes there's a .debian.tar.gz (e.g. w/ gtk+2.0-0), other times just a diff. [13:12] yeah [13:13] the easy way of reliably getting it is the slow one [13:13] fetch them all and call dpkg-source -x passing the .dsc file with them all in the same dir [13:13] then grab the debian/ dir from the resulting directory [13:13] james_w: *awesome* [13:14] you could write something 90% that extracts what you want from the debian.tar.gz or the diff.gz [13:14] but if you want 100% that's the easy way to do it [13:14] james_w: I want 100%. Have too many other 90% things in this. They multiply and get smaller pretty quickly. [13:15] yeah [13:16] actually, I'm not experienced with it, but just looking in debian.tar.gz if one is there may be 100% for that subset [13:16] and if there is no diff.gz then there is only one tarball to look in, so that's 100% [13:16] so it's only the diff.gz case that is a bit tricky [13:16] but given that maybe just coding one thing is the easiest for now [13:17] +1 [13:18] james_w: did you not have to solve this for the udd importer? [13:18] jml, we need the whole thing for that [13:18] so I never looked for optimizations [13:18] but yeah, it has code to download the files and extract them [13:18] maybe split across two different places [13:19] heh [13:21] import_package.py:dget [13:22] import_dsc.py:SourceExtractor and subclasses in bzr-builddeb [13:22] it doesn't use that API you mention [13:22] and I'm not sure if it's going to be directly applicable to what you want [13:22] the extraction probably does more than you need [13:23] rvba: I'm fairly sure I updated that MP with the changes you requested. I suspect something broke with diff generation, so you can't review it for a bit anyway. [13:24] nigelb: indeed, wgrant is working on it. [13:24] Well, I'd prefer to drop it on abentley or a maintenance person :) [13:24] s/a/another/ [13:25] nigelb: I'll grab the branch directly. [13:25] \o/ [13:25] james_w: thanks. [13:28] wgrant: do you have a quick minute to point me in the right direction for bug 843415? [13:28] <_mup_> Bug #843415: Can't assign people on bugs that affect many projects < https://launchpad.net/bugs/843415 > [13:28] nigelb: Do you feel like optiming all of lazr-js? [13:28] optimising [13:28] :/ [13:28] I thought it was a simple bug. [13:28] Well, you could "fix" it by adding an assignee edit link. [13:29] Yeah, that's what I was looking to fix. [13:29] wgrant: would you have time to review https://code.launchpad.net/~cjwatson/launchpad/bzip2-translations/+merge/75547 ? [13:29] I'm at bugtask-tasks-and-nominations-table-row.pt and can't find anything relevant. [13:29] is indeed trivial. [13:30] jml: 'man dpkg-source' for the various source package format [13:30] s [13:30] cjwatson: thanks. [13:31] cjwatson: this learning thing is fun [13:32] james_w: sadly I'm fairly sure there's a non-zereo number of packages where the tarball has some debian/ bits in it and the diff just mildly patches them. You're probably right in the case of debian.tar.gz [13:32] matsubara, hi, I've put up a MP for review for oops-tools, I hope you can take that [13:33] cjwatson: Hm, difficult. [13:33] Want me to land it? [13:33] wgrant: difficult? [13:34] Probably because diff thing isn't working. [13:34] Yeah, diffs are broken at the moment. [13:34] But loggerhead worked. [13:34] To see the whole one line of non-test diff. [13:35] Ah, my sarcasm detector was broken I think. [13:35] wgrant: yes please, landing would be good [13:37] james_w: indeed, on checking, dpkg-source removes any debian/ directory it finds in the upstream tarball before unpacking debian.tar.gz [13:37] which is a much better design than we used to have [13:37] rvba, allenap: would one of you please land that branch? I don't have commit access. (https://code.launchpad.net/~jml/launchpadlib/hacking-documentation/+merge/75520) [13:38] jml: Okay, I'll give it a go. [13:38] allenap: thanks. [13:44] nigelb: re-reviewed. I've a few more nitpicks but I've asked Gavin to do that final check anyway. After that we'll be good to land. [13:45] rvba: cool! Thanks :) [13:45] Welcome. [13:56] danilos, will do. thanks! [14:00] danilos, I didn't get any email about it yet. [14:01] oh, just read the backlog. diffs are broken... [14:31] cjwatson: That branch has been in ec2 for a little while now. [14:47] wgrant: great, thanks === almaisan-away is now known as al-maisan === salgado is now known as salgado-brb [14:56] LP mail is slow today. === rvba changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated [15:34] rvba: Anything else I need to do? [15:34] Just wait for allenap? :) [15:34] nigelb: I'm looking at it now. [15:35] AH! [15:35] hi jcsackett, can I add a branch to your queue? [15:35] allenap: I just pushed the last set of changes. [15:35] Okay. [15:38] jelmer: you can indeed. [15:39] jcsackett: thanks :) the MP is at https://code.launchpad.net/~jelmer/launchpad/follow-http-redirects/+merge/75561 [15:39] i'll start reviewing it in just a moment. :-) === al-maisan is now known as almaisan-away === salgado-brb is now known as salgado [15:53] danilos, replied [15:59] diffs still broken? [16:00] nigelb: apparently yes. [16:00] Ouch. [16:03] If I visit https://code.launchpad.net/lp-production-configs, for which I don't have permission, Launchpad tells me - "Launchpad Production Configs has 0 active branches." [16:03] But the very next line is "There were 5 commits by 3 people in the last month. " [16:03] Pretty much makes the first line a lie. Is this known? [16:04] jelmer: quick question; i see this code apparently captures too many redirections, but i see no tests for that. is it tested elsewhere? [16:04] jcsackett: do_catching_redirects will raise TooManyRedirections in that case [16:05] jelmer: that's what i see, but i don't see a test making sure everything works as expeced (e.g. i do see a test for forbidden conditions). [16:05] jcsackett: ah, yeah, that's true - it's indeed only tested in bzr itself [16:05] jkakar: hi [16:06] jcsackett: would you like me to add a test for that in lp as well? [16:06] jelmer: i think it would probably be appropriate, since the lp buildbot doesn't check the bzr tests, to my knowledge. [16:06] (and given that my understanding is those also take several hours, that's a very good things. :-P) [16:07] it's not that bad actually, I think it was just 10 minutes on an 8 core machine :) [16:08] anyway, I'll have a look at adding a test [16:09] jelmer: cool. i've marked the MP as Needs Fixing so i'll remember to take another look. aside from the test, this looks good, so i'll be happy to approve once that's addressed. :-) [16:10] nigelb: regarding the lying code page, i'm checking if there's a bug now. we have several related to the disclosure work that are about confusing messages like that. [16:10] jkakar: so now I'm trying to use the launchpadlib testing that just got in. [16:10] nigelb: known bug. It's filed somewhere. [16:10] jcsackett: I just filed one, feel free to dup it if there's another [16:10] will do. :-) [16:10] jkakar: I'm confused as to how to assign collections. [16:13] jkakar: and by how the code is supposed to work in that case. [16:13] jml: Its fun to catch LP lying :) [16:13] jkakar: I want to have lp.distributions['ubuntu'] return something useful. [16:14] nigelb: can't find any dupes of it, so i've triaged your bug and tagged it with disclosure. concievably it will be addressed as part of our work. [16:15] cool! [16:15] nigelb: jcsackett seems related to 656941. [16:16] Not the exact same location. [16:17] rvba: no, but close enough one could be made a dupe of the other and the summary updated. but i do sort of wonder why that bug wasn't added to the disclosure tag ... [16:18] I wonder if its simple enough to check if the value of branches is 0 and based on that hide the next sentence. [16:18] nigelb: This won't be sufficent to fix the bug completely I think. [16:18] sufficient* [16:19] Ah right. Public and private. [16:19] Tricky! [16:22] nigelb: I'll be off soon. I'm off tomorrow but I think allenap will be delighted to give you a hand to land your branch when it's fixed. [16:23] rvba: Ah, thanks again for all the nitpick ;-) [16:23] You're welcome nigelb. [16:23] Like jtv said in his email, its probably sad when there isn't nitpick :) [16:23] nigelb: that depends entirely on how long one reviewer's queue is. :-P [16:24] heh [16:32] allenap: Woah. I just learned a lot of Javascript! Thanks :-) [16:34] nigelb: Hehe, cool. Btw, I like the change; it's a neat feature. === matsubara is now known as matsubara-lunch [16:36] allenap: It was easier than all the changes I made too. I touched this code before, so I knew what I was doing most of the time :-) === salgado is now known as salgado-lunch [16:43] jcsackett: I've added a test for the too many redirections issue [16:44] * jcsackett goes to look [16:44] nigelb, you and I are thinking about the issue in the same way. The template already uses the convention of checking the count. The bad chunk violates the rule [16:44] nigelb, you are now subscribed to the master bug [16:45] I think you could fix this in a few minutes [16:46] jelmer: r=me. [16:46] jcsackett: thanks! [16:48] sinzui: But that's only a partial fix. [16:49] It would fail in the event of a project with public and privuate branches (is that possible?) [16:50] sinzui: Oh wait. My concerns depends on how private branches work. I don't know :-) [16:54] nigelb, we show private bug stats in all bug stats because it is too expensive to separate them [16:55] nigelb, We know something is amiss on the page because of the contradictory statement, and we can see in the template that other parts avoid contradictory statements. only the block we see is misbehaving [16:57] sinzui: Ah. So, this should be a good fix because its expensive for the "better" fix? [16:57] I'll take it to go ;-) [16:57] yes. if there is one public branch, we do want to show data [16:58] also note that there are now three reported bugs about this issue now, and all are about the one chunk of text, so I believe the hard fix is overkill. Someone has to prove the data is exposed elsewhere to justify a deeper fix [17:01] heh :) [17:01] Because this is very apparent. The other situation less so. [17:03] allenap: Y.Lang.hasOwnProperty isn't working :( [17:03] (javascript tests++) === beuno is now known as beuno-lunch === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === deryck is now known as deryck[lunch] [18:00] Any JavaScript / YUI person around for some debugging help? === matsubara-lunch is now known as matsubara === salgado-lunch is now known as salgado === beuno-lunch is now known as beuno === deryck[lunch] is now known as deryck [18:50] nigelb: var a = {fred: 123}; a.hasOwnProperty("fred") // true [18:50] It's part of JavaScript rather than YUI. [18:55] Oh. [18:55] allenap: that helps! Thanks [19:03] sinzui: is lp-release-manager-tools mature enough as per your expectations? [19:05] sinzui: That bug sounds way too easy. Want me add tests as well? :-) [19:07] m4n1sh, thy are for me [19:11] allenap: Pushed. Do you have time for another review of that MP? [19:11] nigelb: Sure :) [19:17] nigelb: Looks good. One *tiny* thing: [19:17] bugs_ids = set([int(link[len('/bugs/'):]) for link in links]) [19:17] Sure [19:17] The outermost [] braces are not needed. [19:17] ah [19:17] since its a set anyway. [19:17] Right! [19:18] nigelb: I'll land it as it is; it's not worth changing. [19:18] Unless you're very keen :) [19:19] allenap: wait, doing set(1,2,3) gives me a traceback in python shell. [19:20] nigelb: That does, but try set(i for i in 1,2,3), which is equivalent to set((i for i in 1,2,3)), i.e. set() gets passed a generator. [19:20] ah [19:21] SyntaxError: Generator expression must be parenthesized if not sole argument [19:22] Grr, sorry, let me try again! [19:23] set(i for i in (1,2,3)), which is equivalent to set((i for i in (1,2,3))) [19:23] aha! [19:34] allenap: Ah, you landed it? :) [19:34] jcsackett, do you have time to review https://code.launchpad.net/~sinzui/launchpad/private-bug-5/+merge/75614 [19:35] nigelb: Well, it's in ec2, but if you have another change I can restart it, no problem. [19:35] nah, let it go :-) [19:45] sinzui: sure. [19:45] thank you [19:46] sinzui: this appears to be a big diff. lemme finish poking at one thing first and then i'll get into it. :-) [19:47] jcsackett, yes. it is larger than anticipated since I updated some supporting classes. I think you will find the implementation is often trivial, though I wanted better tests than what I started with [19:48] jcsackett, oh yes, I neglected to mention I wrote a test for every class before I made my change...that double the change size [19:49] sinzui: I'm assigining that bug to myself. [19:49] nigelb, thanks you very much [19:53] sinzui: dig, that'll help me sort the diff out, thanks. :-) [20:20] sinzui: Hey, do you have a minute for a bit of UI help? [20:20] I tried fixing bug 806660. It ended up looking very ugly with too much whitespace. [20:20] <_mup_> Bug #806660: "Add a new address" in e-mail settings does the wrong thing when pressing Enter < https://launchpad.net/bugs/806660 > [20:20] has anyone seen something like this when trying to run the LP tests? OperationalError: FATAL: role "benji" does not exist [20:21] This is on a brand new oneiric install [20:39] nigelb, are you splitting the forms or adding a keypress handler? [20:40] I tried splitting the forms. [20:40] Its not a pretty approach for the UI. [20:44] nigelb, I wonder if we can hack the add button to have accesskey="Enter" [20:45] Hrm, I didn't think of that. That should be easier for sure. [20:45] The last time I tried it in JS, there was an issue with IE. [20:45] nigelb, of when something is entered, the other two buttons are deactivated, so the browser will choose the only active button [20:45] Oh. [20:45] deactivate the otheres on focus? [20:46] and activate it back when focus is lost for the text box? [20:46] nigelb, We may not need hacks. I looked at the template [20:47] oh. [20:48] The template is doing the actual layout, explicitly stating which chunk of the for to render. I think we want to call the form twice, each time only rendering the blocks we want [20:49] Didn't parse that :-) [20:52] nigelb, something like this: http://pastebin.ubuntu.com/690315/ [20:54] nigelb, I think the table elements need reconciliation in my paste. We only want to render the add field and button in the second call of the form. [20:54] sinzui: heh, that's very close to what I did [20:54] Let me see if yours renders better than the mess I made [20:59] sinzui: took a bit to read through all the tests, but r=me. [21:00] jcsackett, thank you for your patience [21:02] sinzui: thank you for yours, given the time. :-) [21:05] sinzui: that didn't work. [21:05] one form cannot be inside another form. [21:06] actually, ignore me. [21:06] I was running the wrong launchpad. === salgado_ is now known as salgado === matsubara is now known as matsubara-afk [21:34] lifeless: ping === Ursinha is now known as Ursinha-afk === jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated [21:55] bac: hi [21:56] hi lifeless ... i've been looking at your branch for bug 759467 [21:56] <_mup_> Bug #759467: incomplete-with-response searches require complex searches < https://launchpad.net/bugs/759467 > [21:56] bac: cool [21:56] lifeless: i'm unsure of your intentions, though. do you want someone to pick it up or do you plan to fix and land it? [21:56] it has considerable bit rot due to the BugSummary work [21:57] bac: I don't have the cycles to pick it up myself for a few weeks [21:57] need to get the SOA stuff rolling or risk blocking red [21:57] right [21:57] I would -love- it if someone else picks it up [21:57] if noone does, it still needs doing and I have the most context on the problem so would indeed pick it up eventually [21:58] if you're in a position to pick it up, I would love that. [21:58] as you said in my MP, the escalated bug i worked on really needs this in place to properly proceed [21:58] lifeless: i may need to pick your brain a bit to get through all of the conflicts caused by BugSummary [22:00] for instance, would BugSummary.status be the real db status with INCOMPLETE_WITH*_RESPONSE or the visible one? [22:01] bac: it would transition [22:01] so 2 stages [22:01] stage one, we start querying for both the current semi-status + date, *and* the actual explicit status [22:02] on bugsummary and bug queries [22:02] we also start *writing* explicit status at this point [22:02] then we do a garbo job to rewrite every bugtask's status from the semi-status+date into an explicit status [22:03] lastly we drop the garbo job, and the querying of both the semi status +date [22:03] so bugsummary.status in stage one will be mixed, until the garbo job has migrated all the rows of bugtask across [22:03] one sec [22:04] back [22:05] the contents of the bugsummary table don't need to be explicitly updated: as the garbo updates bugtask rows, the triggers will auto-update bugsummary for us. [22:05] so for writing, the db procedures will simply need to start using BugTask._status rather than BugTask.status [22:05] * lifeless refreshes his memory [22:05] _status is real, what is in the db [22:05] status is the model view showing INCOMPLETE [22:05] yes [22:06] ideally we would migrate all the model code to be explicit too, but thats got lots of complicated bits from what I could see [22:06] and the performance / clarity wins are all db-side. [22:07] righto, so my branch has all the stage one stuff *except* making queries on bugsummary also include the two new enums [22:07] can anyone think of a reason why responses from answers.launchpad.dev is substantially slower than from launchpad.dev? [22:08] jcsackett: nope :) [22:08] i'm running in a vm setup for remote access per the wiki; can't figure out why subdomains are *so* much slower. [22:08] lifeless: well damn. :-P [22:09] lifeless: ok, i think i have a shove in the right direction [22:09] jcsackett: i run with that configurationa and haven't seen such a thing [22:09] bac: I've just re-read the branch and yeah, I think that that is all thats missing (modulo surprises) [22:10] bac: yeah, i've run this way before (new vm, but everything is roughly the same) and haven't seen this either. very perplexed. [22:10] for clarity 'all that is missing is teaching bugsummary queries that want INCOMPLETE to want INCOMPLETE + INCOMPLETE_WITH_RESPONSE + INCOMPLETE_WITHOUT_RESPONSE' [22:10] (unless they really want to be narrower anyway, in which case INCOMPLETE + one of the others) [22:11] lifeless: right, plus resolving all of the conflicts towards using BugSummary not BugTask in queries === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [22:20] bac: yes, though they should be mainly just take trunk's side [22:21] bac: I think you'll find, if you diff .BASE.THIS that the local changes are all INCOMPLETE -> INCOMPLETE + ... ,or status -> _status [22:24] flacoste: I think you win on the 'find oldest regression to date' [23:24] hi all === wallyworld_ changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: wallyworld | Critical bugs: 261 - 0:[########*** stack smashing detected ***: ./lp terminated