=== uws [n=mathilda@scrat.hensema.net] has joined #launchpad === JanC [n=janc@lugwv/member/JanC] has joined #launchpad [12:21] ddaa: ping [12:21] pong [12:22] I realised while talking with elmo that we have not discussed the data access requirements of the baz2bzr conversion for importd [12:22] b.u.c. does not have db access. Is this a problem ? [12:22] yes [12:22] meep [12:23] ok. We really dont want it to have db access. So we need to change our plans to accomodate. [12:23] *sigh* [12:23] so, it's going to work on another host after all? [12:23] (I was evisaging a dumb script that *queryed* launchpads list of branches, which at the *back of* my head was to address this. [12:24] so. [12:24] there are some possibilities [12:24] we can run the entire thing remotely, and push the resulting branches to b.u.c. [12:24] we can run the entire thing on b.u.c. and have it emit the data to insert into the database [12:25] it does not need to write the db [12:25] just read [12:25] or emit the data needed to do the database insertion [12:25] oh. thats much less problematic. [12:25] elmo: ping [12:25] lets see what elmo thinks of this [12:27] I guess if no db access is possible, the simplest thing would be to make another private page, as you did for the pull-listing [12:27] yeah [12:27] I think that too [12:31] elmo, don't forget my request for the ubuntu.com-sync-code === JanC [n=janc@lugwv/member/JanC] has joined #launchpad === mdz_ [n=mdz@69-175-232-197.vnnyca.adelphia.net] has joined #launchpad === robitaille [n=robitail@ubuntu/member/robitaille] has joined #launchpad === mdz__ [n=mdz@ppp-69-228-134-182.dsl.irvnca.pacbell.net] has joined #launchpad === Kinnison [n=dsilvers@haddenham.pepperfish.net] has joined #launchpad [02:33] Merge to devel/launchpad: [r=salgado] first cut of TicketTrackerOutgoingEmail. fixes bug 3157 as well. (r2897: Bjorn Tillenius) === slomo_ [n=slomo@ubuntu/member/slomo] has joined #launchpad === stub [i=stub@sweep.bur.st] has joined #launchpad === robitaille [n=robitail@ubuntu/member/robitaille] has joined #launchpad === GoRoDeK [n=gorodek@p5083D28E.dip.t-dialin.net] has joined #launchpad === robitaille [n=robitail@ubuntu/member/robitaille] has joined #launchpad [07:49] I thought I'd found a hang in the bug importer [07:50] but it turns out that the bugzilla bug just had ~ 7500 comments [07:51] hmog [07:51] debzilla bug by the look of it [07:51] most of the comments seem to be the same [07:52] https://bugzilla.ubuntu.com/show_bug.cgi?id=248 if you want to hang your browser ... [07:52] Ubuntu bug #248: abiword: Debian appears to be violating AbiWord's license Product: Ubuntu, Component: abiword, Severity: major, Assigned to: debzilla@ubuntu.com, Status: RESOLVED, Resolution: NOTWARTY https://bugzilla.ubuntu.com/show_bug.cgi?id=248 [07:53] can we dedup ? [07:54] that's what I'm thinking of doing [07:58] I'm just ignoring them completely [07:59] people won't miss "\n--=20\n Jacobo Tarr=EDo | http://jacobo.tarrio.org/\n\n\n" 7800 times [08:01] no [08:01] indeed not === fabbione [n=fabbione@port49.ds1-van.adsl.cybercity.dk] has joined #launchpad [08:08] lifeless: when adding new features to the pending-reviews script, do you think it is worth trying to keep the baz-1.x stuff working? [08:08] no [08:08] lp is bzr only [08:09] the direction we should be going is launchpad branch listings driving this [08:09] so bzr only is fine ;) [08:09] lifeless: okay. I was wondering from the point of view of opening it up as a tool other projects could use (driven from the data they've entered into LP) === minghua [n=minghua@69-153-139-23.dsl.hstntx.swbell.net] has joined #launchpad [08:09] whether we want to support baz-1.x for that use case [08:09] is there any easy way to quote a bug comment in malone? [08:10] I want to click a link so I have quoted text (with ">" at the beginning of the line) in my new comments [08:10] right [08:10] minghua: if you use the email interface, hit reply in your email client :) [08:10] maybe with the quoted author and time as well [08:10] but they cannot enter baz1.x data in [08:10] minghua: if you see comments with ">" quoting, they've probably come in via email [08:11] jamesh: ah okay. I only used the lpbugs.py in MOTU tools, haven't used my MUA to deal with malone yet [08:11] jamesh: any doc about the email interface? [08:11] minghua: assuming you've registered your PGP key with Launchpad, it should be as simple as replying to a bug mail and signing it with that key [08:12] minghua: there is some docs here: http://wiki.launchpad.canonical.com/MaloneEmailInterfaceUserDoc [08:12] (there is a link to it at https://launchpad.net/malone) [08:13] jamesh: cool, I'll read that, thanks === Nafallo_away is now known as Nafallo === minghua [n=minghua@69-153-139-23.dsl.hstntx.swbell.net] has left #launchpad ["Leaving"] [08:54] morning launchpadders! === koke [n=koke@ubuntu/member/koke] has joined #launchpad === stub [n=stub@costello.z3u.com] has joined #launchpad [09:04] hi [09:04] lifeless: some kind of baz2bzr [09:04] issue in the scrollback? [09:10] ? === Nafallo is now known as Nafallo_away [09:30] lifeless: database access for the baz3bzr conversion? [09:39] bug 2230 [09:39] Malone bug #2230: /distros/ubuntu/+sources will need to present something useful In: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New https://launchpad.net/bugs/2230 [09:52] SteveA: b.u.c. does not have db access. Basically resolved, just need to get elmos attention to ask him if read only access from there during the transition period is ok, else write a read only page for the converter [09:54] i see [09:54] i guess it needs to read only certain tables, too [09:56] jamesh: on the PendingReviews page, cprov/launchpad/build-ui is marked needs-reply, but on ~jamesh/pending-reviews the same branch is marked as merge-approved. can you take a look at it? === jinty [n=jinty@205.134.224.215] has joined #launchpad === beyond [n=beyond@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [10:00] BjornT: just updated the PendingReviews wiki page, which should fix the problem on next run [10:00] BjornT: it wasn't correctly identifying the branch after buildd-ui, so picked up that branch's date+status [10:01] cool [10:02] BjornT: I've done the final few fixups to the bugzilla-import branch. Could you take a quick look over it again after the current pending-reviews run is finished? [10:02] jamesh: sure [10:02] I removed the event subscriber modifications, so it looks a lot cleaner now :) [10:02] sounds good :) [10:03] I also fixed a small bug in the distro bug +viewstatus page [10:04] it would oops if the bug had a milestone set === TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has joined #launchpad === ddaa [n=ddaa@nor75-18-82-241-238-155.fbx.proxad.net] has joined #launchpad [10:42] Merge to devel/launchpad: [trivial] Fix and test for bug 5423: URL auto-linkification doesn't recognize SFTP URLs (r2898: Christian Reis) [10:49] BjornT: here's the diff: https://chinstrap.ubuntu.com/~jamesh/pending-reviews.new/jamesh/launchpad/bugzilla-import/full-diff [10:50] the bugtask +viewstatus fix is right at the bottom (just a 1 line change) [10:55] jamesh: ok, i'll take a look soon. [11:13] kiko-zzz: I commented on https://launchpad.net/products/launchpad/+bug/3603 as you requested, it's still not fixed on staging. [11:14] Malone bug #3603: Summary field in spec tracker is not sensitive for links. In: launchpad (upstream), Severity: Normal, Assigned to: Matthew Paul Thomas, Status: New https://launchpad.net/bugs/3603 [11:15] kiko-zzz: that is, not fixed on the whiteboard part - the summary part is fixed. === WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad [11:23] SteveA: bug 5461 [11:23] Malone bug #5461: redirects should canonicalise URLs In: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New https://launchpad.net/bugs/5461 [11:23] thanks daf [11:24] bug 5461 [11:24] Malone bug #5461: redirects should canonicalise URLs In: launchpad (upstream), Severity: Normal, Assigned to: Steve Alexander, Status: Accepted https://launchpad.net/bugs/5461 [11:27] Hi all. I was reading earlier on #ubuntu-motu about members receiving an [11:27] ubuntu.com email address forward to their primary launchpad address once [11:27] they signed the CoC. I am a Ubuntu member as of earlier this year, [11:27] before launchpad was in full swing, and have signed the CoC then, and [11:27] now in launchpad. I don't mind if it can't be done, but is it possible I [11:27] could get the ubuntu.com address forward like others? It would help mail [11:27] filtering. :) There are IRC logs and CC reports stating that I was [11:27] offered membership, and Benj Mako Hill probably has record of me signing [11:27] the COC if you need any other evidence of my claim. [11:29] we should make T-shirts [11:29] "I've signed the CoC. Have you?" [11:29] "I'm a CoC signer -- are you?" [11:29] or even "Yeah baby! Sign that CoC" [11:30] "This is my CoC, now show me yours" // #include [11:37] community council slogan: "Respect the CoC" === SteveA wonders if anyone has seen the film Magnolia === stub [i=stub@sweep.bur.st] has joined #launchpad [11:42] they've had arse signings at Gnome conferences but never CoC signings [11:42] my arse signed the Coc ? [11:43] lifeless: you just have to lower the tone, don't you? === poningru [n=poningru@n128-227-82-53.xlate.ufl.edu] has joined #launchpad [11:43] Its a skill [11:45] lifeless: i am 1/3 through a detailed reading of your paper. i have detailed comments. i'm going to take a break, and then continue. [11:45] SteveA: wow, thanks [11:45] SteveA: If any are on the relevance of DI vs SL, I have some planned updates already - if you are time crunched, feel free to skim that aspect of it === GoRoDeK [n=gorodek@p5083D28E.dip.t-dialin.net] has joined #launchpad [11:49] DI? SL? [11:49] hey lifeless, how did things went with elmo yesterday, about db access on b.u.c? [11:50] DependencyInjection [11:50] * how did things go [11:50] SL? [11:50] SteveA: that sounds like narcotic abuse [11:58] SteveA: ServiceLocation [11:58] ddaa: no response yet === matsubara [n=matsubar@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [12:14] good morning! === Keybuk [n=scott@descent.netsplit.com] has joined #launchpad === niemeyer [n=niemeyer@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [12:18] morning matsubara :) [12:18] GOOOOOOOD MORNING VIETNAM [12:19] ServiceLocator [12:22] Kinnison: I'd like one short of each version :) [12:22] s/short/shirt/ [12:22] sivang: *g* [12:22] kiko-zzz: Yo dude [12:22] Kinnison, is it good news or is it good news? [12:23] it's pretty good news IMO === janimo [n=jani@Home03207.cluj.astral.ro] has joined #launchpad [12:23] Kinnison: there's actually no conditionality in you last sentence :) [12:23] err, [12:24] that was for kiko ^^^ [12:24] cool [12:24] where can I create a specification in launchpad? === sivang wishe IRC could capture voice gestures. [12:24] sivang: Colloquial turn of phrase for "don't tell me anything bad, mmkay?" :-) [12:24] janimo: depends against which product/ distro you want to do that [12:25] sivang, ubuntu dapper [12:25] janimo: are you logged in? [12:25] yep [12:25] there's a specification tab which lists I do not have specs but discovered nothing about how to k=make one [12:26] janimo: ok, cool --> https://launchpad.net/distros/ubuntu/+specs [12:26] oh that large page? :) [12:26] janimo: on your right "New Specification" [12:26] sivang, thanks [12:26] also, https://launchpad.net/distros/ubuntu/+addspec [12:27] janimo: my pleasure :) [12:27] ok, I guess I have never waited for that large page to load with 206 specs till it showed the whole content [12:27] janimo: hmm, well it does that pretty quick for me - shaky net connect? === cprov [n=cprov@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === siretart1 [i=siretart@tauware.de] has joined #launchpad [12:28] 25-30Kbytes per sec [12:28] this part ot launchpad is sluggish here [12:28] morning dudes === zyga [n=zyga@2-mi2-1.acn.waw.pl] has joined #launchpad === zyga [n=zyga@ubuntu/member/zyga] has left #launchpad ["Leaving"] === janimo [n=jani@Home03207.cluj.astral.ro] has left #launchpad [] [12:32] cprov: hey Celso === salgado [n=salgado@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad [12:37] Goooooooooooooooooooooooooooooood morning Launchpadders! [12:37] moin mpt :) [12:38] hey mpt [12:38] moin sucks! [12:38] Is that what I'm supposed to say? :-) [12:38] hehe, I don't think so - no :) [12:38] moins doesn't suck worse then media wiki does, for sure [12:38] oh, sivang, you're away but awake === LarstiQ isn't talking about wikis! === sivang checks his away status [12:39] Mediawiki at least returns you to nearly the correct page after you log in [12:39] mpt: just responding to your morning [12:39] mpt: yes, but it's formatting sucks bad. especially it's lack of intelligence regarding bullet points. === sivang likes moin better [12:42] its lack [12:42] well [12:42] moin is nice except for where it isn't and in those places it SUCKS [12:42] case in point: the default login form [12:42] The only thing I really like about Moin is the automatic /MoinEditorBackup [12:42] case in point: the fact that a new "empty page" textarea contains text that you need to delete (#!@#!#@!) [12:45] kiko: you mean "Describe HomeUserBackupCheck here." ? [12:45] I guess this can be tweaked , no? [12:45] it can be fixed [12:45] it's just a very stupid default decision === sivang wonders why the hell everything that is idented one line or more in media wiki by default, counts as a code snippet? [12:47] shouldn't *I* be able to decide weather it is or is not a code snippet? [12:47] kiko: btw, I guess you already seen that I commented on the bug you asked me about. (in this channel's backlog) [12:47] yeah [12:51] lifeless: ping [12:52] pong [12:54] lifeless: want to do a voice call about the testing paper? [12:55] if you think it would be useful, that would be great. [12:55] ddaa: i am worried. your responses on the "raising exceptions" thread seem to be written with excessive pedantry. [12:55] I agree they are borderline. [12:55] But I think I was stepping down at the end of the message. [12:55] ddaa: i just replied, but i'll restate here. [12:56] ddaa: you can raise AssertionError. You can catch AssertionError in the code of your tests. [12:56] SteveA: yes I understand you answer. [12:56] do you have any concerns about how this affects your code? [12:57] The discussion with lifeless is about whethere or not, and how, to use subclasses of AssertionErrors for precise testing of sanity checks. [12:57] SteveA: shall I ring thee ? [12:57] i wouldn't worry about the __debug__ thing [12:58] optimise later [12:58] I know some code that _does_ have test case for sanity checks. And I think generally, they are a good thing to have as they help erroring out earlier. [12:58] i think sanity checks are quite like test code [12:58] that is, it is like having test code inline in your application code [12:59] i don't think you need to test that your sanity checks are working, most of the time [12:59] just like you generally don't write tests for your tests [12:59] heh. [12:59] I'm glad you put the word generally in there [12:59] this is different to sanity checks that are an important part of checking invariants in your processing [12:59] the term "sanity check" is overloaded [01:00] Well... in good TDD you _do_ test your tests. [01:00] if your check is just to fail early due to programmer error elsewhere, i wouldn't bother checking it [01:00] By writing them when they fail. [01:00] the TDD process tests your tests [01:00] but there is no evidence of this, outside of your advanced RCS system [01:00] There's no devel process that I know of that test sanity checks. [01:00] (such as aegis ;) [01:00] lifeless: i'm about to find my headset [01:01] ok. I'm ready to dial ;0 [01:01] evidence is not all that important, what's important there is writing tests that will not always pass because of trivial programming errors. For example "assert (foo, bar)" [01:01] lifeless: ok [01:01] this kind of mistake happen on the first write most of the time [01:02] Anyway, this issue has been talked about more than it deserves. [01:03] I find it difficult to find the thin line between argumented discusion of coding style and process and pedantic argument. [01:03] SteveA: is that 'ok to ring; ? [01:03] And I think not everybody draws the line at the same place. [01:04] lifeless: yes [01:05] stub, can I have your opinion on bug 4845? [01:05] Malone bug #4845: oops trying to add distro package In: launchpad (upstream), Severity: Normal, Assigned to: Diogo Matsubara, Status: Accepted https://launchpad.net/bugs/4845 [01:05] ddaa: ask yourself the question, is this discussion merely interesting, or is it valuable too. [01:05] lifeless: please try again [01:06] i picked up, but couldn't hear you [01:06] crappy line perhaps [01:06] darn proprietory software in the POTS system... [01:06] I think it is valuable to clarify the coding guidelines and untold assumptions. [01:06] But I also think this discussion is over now. [01:07] thank god [01:19] stub, can I have your opinion on bug 4845? [01:19] Malone bug #4845: oops trying to add distro package In: launchpad (upstream), Severity: Normal, Assigned to: Diogo Matsubara, Status: Accepted https://launchpad.net/bugs/4845 === Nafallo_away is now known as Nafallo [01:21] kiko: We can adjust the constraints if we want - might be some spurious bugtasks that need to be removed, but the fallout should be minor. [01:21] stub, do you believe it's the right thing to do? [01:21] (I do.) [01:21] kiko: But I suspect it should be discussed on the launchpad mailing list in case others have valid use cases [01:21] okay [01:22] I'll take it there. thanks. [01:22] Adding the constraint only updates the safety net though - the real work is in the UI [01:22] yes. [01:25] Actually, the constraint will be tricky and possibly not-worth-the-complication, because we need to allow multiple (distro, sourcepackage) targettings, yet not allow a new (distro,sourcepackage) targetting if the (distro, NULL) targetting exists. [01:25] So it might end up as a use case for OscarTheGrouch [01:26] But that wont affect the UI work and how it appears to the end user === rbelem [n=rodrigo@ubuntu/member/rbelem] has joined #launchpad [01:28] indeed. [01:29] stub, do you want to comment on the bug before I take it to launchpad@lists? [01:30] nah - decide what needs doing first, then I can worry about constraints [01:32] commented anyway [01:34] thanks [01:34] niemeyer, can ctags give me a list of places a certain symbol is used? [01:35] kiko: Yep [01:35] ts [01:36] In vim, I mean [01:37] interesting [01:37] :ts? [01:37] kiko: Yep [01:38] kiko: If the tag stack is non empty (you've "navigated" to one) and you use no arguments, it gives you the options for the current tag. [01:38] kiko: If you pass an argument, it will look for that identifier. [01:39] niemeyer, how do I make vim smart enough to look in parent directories for tag files? [01:40] kiko, set tags=.tags;/ [01:40] kiko: You use the vim script I'll mail you [01:41] cool. [01:41] salgado: Does it work for parent directories? [01:42] niemeyer, yes, it'll look for a file named .tags in all parent directories [01:42] that's what I use, and I store a single .tags file in the root of any development tree === gml_ [i=gml@dyn-83-156-6-105.ppp.tiscali.fr] has joined #launchpad [01:44] niemeyer, hmm. what I wanted wasn't ts, but the "opposite" of it [01:44] niemeyer, I wanted a list of /callsites/ [01:44] not of providers [01:45] kiko: Ahh, I see [01:45] kiko: cscope can do it, but it doesn't work for python :( [01:46] that's what I wanted. is there no such thing for python? [01:46] salgado: Doesn't seem to work for me [01:47] Humm.. wait [01:47] salgado: Yes, it does work! [01:47] kiko, I saw a python plugin for eclipse that had that, 2 years ago [01:47] salgado: Cool! [01:47] salgado, have a web reference handy? [01:48] niemeyer, indeed. I saw it in a vim tip a few weeks ago. :) [01:48] kiko, IIRC, it was something like xored [01:48] salgado: It's a completely undocumented feature :) [01:49] niemeyer, not completely --the source code is there. :p [01:49] the DOCUMENTATION you mean [01:50] not that I have looked at it to find it out [01:50] kiko, the one and only [01:51] kiko: have you tried bicyclerepair? i just installed it, and it seems to have that feature [01:52] BjornT, no, I haven't hmm [01:52] how do you run it? [01:53] kiko: :BikeFindRefs [01:55] oh [01:55] it's a vim plugin?! [01:55] wow! [01:55] cool! [01:55] COOL [01:56] this is /awesome/ === kiko showers BjornT with the holiday vim love [01:56] kiko: it's a general tool, but if you install the package, a vim plugin will be installed automatically [02:01] ah crap [02:01] matsubara, so mark bug 5355 as fixed :-) [02:01] Malone bug #5355: Typo in registration form In: launchpad (upstream), Severity: Normal, Assigned to: Matthew Paul Thomas, Status: Accepted https://launchpad.net/bugs/5355 [02:03] kiko: salgado told me to wait my fixes land on production before mark than fixed. [02:03] oh [02:03] I see [02:03] pendingupload for now [02:04] on that note [02:04] mpt, I managed to get mdz to accept the arguments for Fixed/Released except for one point [02:04] kiko: ok. it's on my post it note too. :) [02:04] he still doesn't like Released [02:04] mpt, we also need to think about what NeedInfo means [02:09] kiko: users won't care what we think it means -- they'll use it in the way they think it's supposed to work [02:10] in part I'm suggesting a rename [02:11] kiko: ROTFL [02:11] kiko: I am SURE I've told you about bicyclerepair [02:11] I didn't know it was a vim plugin [02:12] think what you want of that [02:12] heh ;) [02:12] kiko, "Fix Committed" and "Fix Released"? [02:12] check the maintainer on the package ;) [02:13] mpt, it's more "Fix is in a Released Version of Product or Distribution Source Package" :) [02:14] FIIARVOPODSP for short [02:14] too long, Clanky, too long! [02:14] also [02:14] needinfo may be NeedsInfoFrom: [ ] [02:14] or it may be NeedsReporterInput [02:14] Yes, I saw that === kiko shrugs [02:14] I have a crises to fix [02:14] I'm actually up to date with my e-mail now [02:14] kiko: can you get someone to do a grepwize survey of method names in database code? [02:15] "a crises", eh [02:15] SteveA, yeah. [02:15] you make a good point [02:15] I am holding off the tears at the publisher run [02:15] i was focusing before on choosing a good style, and making new code use it consistently. i had neglected to consider the overall effect over the coming months. [02:16] let's make an assessment later today, and make a final final pronouncement tomorrow at the meeting. [02:16] good idea [02:16] it may be that the other option, that methods are special, is a better way to go [02:22] daf: hello [02:22] SteveA: hi [02:23] i'm ready for a call === TheMuso [n=luke@dsl-202-173-132-131.nsw.westnet.com.au] has left #launchpad [] [02:49] How do I get local launchpad to really send e-mail, so I can test account creation workflow? [02:52] mpt: edit configs/default/launchpad.conf [02:52] find the zopless send_email config [02:52] turn it on [02:55] thanks [02:58] Merge to devel/launchpad: [trivial] Fix librariangc dying when too many duplicates (r2899: Stuart Bishop) === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #launchpad [03:18] daf: I'm gonna have to go home now === Kinnison packs up === kjcole [n=kjcole@pchb1f.gallaudet.edu] has joined #launchpad === WaterSevenUb [n=WaterSev@azevedo.astro.up.pt] has joined #launchpad [03:52] jblack: ping [04:00] what happened with the in-page tracebacks when something goes wrong? [04:01] salgado, you know, it's weird, but I re-added the launchpad cert and it worked. [04:01] eh? [04:01] in my local branch, I mean [04:03] somebody set up us the bomb [04:03] thanks bradb [04:04] salgado, what's the bug # for flush_database_updates? [04:05] kiko, https://launchpad.net/products/launchpad/+bug/3989 [04:05] Error: I cannot access this bug [04:07] thanks man === marcolu [n=marcolu@218.81.182.151] has joined #launchpad === bradb & # IBC [04:19] salgado++ # writes bug titles in merge summaries which makes commit message scanning much easier. /me makes a point to do that from now on. [04:20] yeah, I always ask people to do that [04:21] I found why the tracebacks are not shown anymore [04:22] salgado: why? [04:22] because mpt forgot to close a he introduced in launchpad-oops.pt [04:22] oh, cool [04:22] i'm surprised the page still rendered [04:22] and there is no test of that template [04:23] and also because we don't have a test for that page [04:23] hmm... i guess we can test that page. it is a view on an exception [04:23] we can make a dummy object that provides IException [04:23] then instantiate the view [04:23] so, it is a system doc test, not a page test [04:23] salgado: would you do that/ [04:24] ? [04:24] SteveA, sure. can I add that to xx-notfound-traversals.txt? === matsubara is now known as matsubara-lunch [04:24] don't treat it as testing raising an exception, instead treat it as a doctest of the exception view class [04:24] salgado: I lost about 300 karma points in production. Why? [04:24] because you've been very bad, bradb [04:25] salgado: i'm proposing testing it more thoroughly, as a piece of code, and not as a page [04:25] salgado: read what i wrote above please [04:25] Each time karma gets "reset" like this, the value of the karma system diminishes significantly, IMHO. [04:26] SteveA, I read it. but when I wrote that I hadn't received what you wrote. [04:26] bradb: did you acquire those 300 points all on one day? [04:26] A better solution, IMHO is this policy: never deploy a fix that blows away karma. [04:26] SteveA: no idea, but that's possible [04:26] bradb, was the karma reset again? [04:26] bradb: if so, then you'll lose them all on one day [04:26] salgado: Not reset, but I'm definitely down a few hundred points [04:27] that's how karma is calculated [04:27] SteveA: Why does that happen? [04:28] an action performed three months ago is worth less karma points than the same action performed one month ago which is worth less points than the same action performed today [04:28] hm, my conceptual model is broken [04:29] Maybe we can think of ways to make the UI more clear that karma is related to one's recent activities [04:29] salgado: my plan for testing this page can't be done right now, unfortunately. [04:30] bug 5481 [04:30] Malone bug #5481: "oops" page isn't tested properly In: launchpad (upstream), Severity: Normal, Assigned to: Steve Alexander, Status: Accepted https://launchpad.net/bugs/5481 [04:31] Holy cow, is push slow... half an hour to push launchpad to a new location locally... === bradb cleared out my entire commit messages folder in the time it took to merge last nights changes [04:32] (about 50 messages) [04:32] (about 15 were from stub's prod config update :P) [04:32] I have a few interesting fetcher optimisations in my branch. [04:33] I need to find the time to send them to the mailing list. [04:36] SteveA, salgado: why not add a notfound test? [04:36] kiko: i want to test the page properly. notfound tests are not all that thorough. also, the notfound page is different from the oops page. [04:38] hmm yeah. [04:38] I know you want to test it properly [04:39] SteveA, so, no tests for now or is there some way to have at least a basic test? [04:40] what salgado said === Ubugtu [n=bugbot@ubuntu/member/seveas] has joined #launchpad === heyko [n=heyko@tor/session/x-74b8e5089ca083eb] has joined #launchpad [04:42] a notfound test for the notfound page i guess [04:43] you can register a view on the pagetest layer [04:43] that raises an exception [04:43] and do a pagetest of this [04:43] see layers.py for the PageTest layer [04:43] right [04:46] hmm [04:46] but, this will not really test it [04:46] because for pagetests, the oops page will output plain text [04:46] so, it needs to be a doctest [04:46] a doctest like i described above [04:47] which i don't really expect salgado to write, because it is quite infrastructurally involved === poningru [n=poningru@n128-227-82-53.xlate.ufl.edu] has joined #launchpad [04:47] so, bug 5481 stands [04:47] Malone bug #5481: "oops" page isn't tested properly In: launchpad (upstream), Severity: Normal, Assigned to: Steve Alexander, Status: Accepted https://launchpad.net/bugs/5481 [04:51] salgado: bug 5482 [04:51] Malone bug #5482: Dear Launchpad: Please stop arbitrarily blowing away my KARAMAAM In: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New https://launchpad.net/bugs/5482 [04:52] Now, enough yak shaving, /me & # IBC, really === duchier [n=duchier@AOrleans-152-1-42-124.w86-192.abo.wanadoo.fr] has joined #launchpad === matsubara-lunch is now known as matsubara === stelt [n=chatzill@dabrick.kabel.utwente.nl] has joined #launchpad [05:15] does it take a while before my new account works on the ubuntu wiki? I can't login [05:17] stelt, did you follow the instructions in the email and set your password already? [05:17] yes [05:18] SteveA, is it possible to remove all GET parameters from a request at once? [05:20] stelt, did you get any error message when trying to login? [05:20] what is a GET parameter? like, a query parameter in the URL? [05:21] salgado: it says wrong password [05:21] SteveA, yes, a query parameter sent via GET [05:22] salgado: maybe you can add this idea i've written down on http://www.bryceharrington.org/pollxn.cgi?storypath=/dam.html to the Ubuntu Wiki. That's all i need the account for [05:23] salgado: it is possible. why do you want to do that? [05:23] the rosetta/+about page is broken on production. the fix is pretty trivial (just a mismatch in a closing html tag) and I already committed it with a test [05:24] SteveA, stub: I think this (^) is something pretty critical. what do you guys think? [05:25] It doesn't stop anyone from working, so I wouldn't count it as critical. [05:26] SteveA, the BugListingPortletView is a view class that constructs the views for all different buglistings page in order to call the search() method of these views and count the number of the results [05:26] well, maybe critical is the wrong word. [05:26] I brought this here because I've seen quite a few errors in the error reports from people trying to access this === Kinnison goes shopping while apt-ftparchive chews CPU [05:28] SteveA, to construct these views, the current request is used. but the query parameters in the request change the behaviour of the search method. that's why I'd like to remove the query parameters [05:32] salgado: Good bringing it here. I don't think it warrents a cherry pick, but if it is really just a mismatched tag I can alter it live if you can give me the diff === duchier [n=duchier@AOrleans-152-1-42-124.w86-192.abo.wanadoo.fr] has left #launchpad [] === salgado gets the diff [05:34] actually this is what I was going to propose. I wasn't going to propose a cherry pick [05:34] stub, https://chinstrap.ubuntu.com/~dsilvers/paste/filequeBVx.html [05:37] ok - that is fixed [05:48] SteveA, is that a valid use case for what I want to do or is there something else that I can do? [05:48] stub, thanks, dude [06:21] spiv: ping? [06:32] X-Launchpad-Bug: product=launchpad; status=New; priority=None; assignee=None; [06:32] bradb, sweet :) === auth00 [i=auth@fiji.grd.sgsnet.se] has joined #launchpad === eruin [n=eruin@proxy-gw.uib.no] has joined #launchpad === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has joined #launchpad === bradb & # lunch [07:26] mpt, what do you mean with bug 5283? [07:26] Malone bug #5283: "Home Page" field should be merged into "Description" In: launchpad (upstream), Severity: Normal, Assigned to: Guilherme Salgado, Status: New https://launchpad.net/bugs/5283 [07:27] Merge to devel/launchpad: [trivial] Fix launchpad-oops.pt (r2900: Guilherme Salgado) [07:27] kiko, arg, I've only tried to re-explain it thrice :-) [07:27] People have a "Home page" field, which makes no sense, it should be "Description" [07:27] And teams have a "Home page" field and a "Description" field that do exactly the same thing, so they should be merged. [07:29] by merged you mean a single DB field? [08:06] kiko, yes [08:06] ok. [08:09] salgado: what exactly is the situation where you want to clear this form data? [08:12] SteveA, there's some code like this: [BugListing(context, 'All open bugs', '+bugs-open', request), BugListing(context, 'Critical', '+bugs-critical', request)] in BugListingPortletView. and BugListing will do a getView(context, name, request) [08:13] the request may have some query parameters from a form that was submitted and I don't want to pass these parameters to these views I'm going to create [08:14] why not? [08:14] because these views are created just to call their search() method and do a count on the number of results === bradb_ [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has joined #launchpad [08:15] to show the number of bugs you'll see when you click on that link [08:16] what harm does having stuff in request.form do these views? [08:18] the search method gets its parameters from there [08:19] so the count of bugs you see with a request that has query parameters is not the same you'll see with a request that has no query parameters [08:19] so, what you're saying is, you have a view that should normally get its parameters from the request, but sometimes you want to override that [08:20] with explicit parameters [08:20] if that is so, make the search method take optional parameters. if the parameters are provided, use those, if not, use the request [08:20] make it explicit [08:27] I want to get a view that reproduces the behaviour I'll see when I go to that view's URL, so I can have an idea of what I'll see when I click on that URL [08:28] yes [08:28] (I'm trying to find how to explain what's going on, but I can't find a good way for it) [08:28] you have some data that influences how a view is rendered [08:28] this data can come from the request [08:29] or it can come from somewhere else [08:29] it'll always come from the request [08:29] so, design the view so that if there is no data explicitly provided, it gets it from the request [08:29] and then [08:29] when you want to use this view and tell it to ignore the request, you can do that [08:31] but I don't want to tell the view to ignore the request. I think that's broken in this case [08:32] as the view will always get its parameters from the request [08:32] why? [08:32] it's only in a very specific (and hackish, in my opinion) case that I want to get a view with an empty request [08:33] the view isn't a reusable component that must be pure for all time [08:34] it is a part of the application designed to work with other parts of the application [08:34] don't make it any harder than necessary to make the view do what you need it to do [08:35] that's what I'm trying to do [08:35] SteveA, you don't talk to me [08:36] what's up kiko? [08:36] we had arranged for things to happen today [08:36] salgado: so, give the view an API to allow you to say "don't use the request, be empty" or whatever [08:36] kiko: i'm still around [08:37] and you ignore my privmsgs [08:37] trying to get you to use proprietary software [08:38] odd... i see no privmsgs [08:38] odd indeed [08:38] are you ided with NickServ? [08:38] -NickServ- You have already identified [08:38] try privmsging me [08:41] SteveA, this is going to be a considerable amount of work, and IMO it's work that won't bring any beneffits. apart from that, I think a view shouldn't pass its own request to other views. but again, it's only my opinion [08:42] the request is the request [08:42] it represents the user connecting into the system [08:42] i don't really see what the large amount of work is, but i guess i don't fully understand the situation [08:43] I'll look into it soon === auth00 [i=auth@fiji.grd.sgsnet.se] has joined #launchpad === BjornT [n=bjorn@84.32.140.183] has joined #launchpad [08:51] SteveA, I can't think clearly today. I'll try to summarize the problem and mail it to you [08:51] are we going to have a reviewers meeting in a few minutes? [08:52] the last message on the subject said Tuesdays 2000 UTC [08:52] although, jamesh pointed out that it's not a good time for him [08:52] oh, I thought it was wednesdays, as they used to be [08:54] salgado: we can talk using voip if it will help [08:54] hmmm [08:55] I'll be up in a bit [08:55] bradb_ or BjornT, ping? [08:55] mpt: pong [08:55] SteveA, I think the only thing that can help today is me getting some lunch and rest so I can think tomorrow [08:56] bradb, in bugtask-macros-buglisting.pt, we shouldn't say "No matching results found" if you haven't searched for anything yet [08:56] but I cannot figure out, from the rest of the stuff in the template, how to tell whether that's true [08:56] I suppose one way of telling is if the URL *ends in* "+bugs" [08:57] mpt: We also shouldn't show a list of bugs by default, IMHO. Just the search widgets. [08:58] IME, I've never gotten any use from the default list of bugs presented to me on the distro bugs listing. (Not showing bugs by default would only apply to certain pages, obviously) [08:58] bradb, so implement MaloneFrontPages :-P [08:58] but anyway [08:59] Is there an easy way of getting a tal:condition for "has performed a search"? If so, how could I have found it myself? [09:00] mpt: MFP is about showing three columns of bugs on the distro bug listing. Not quite the same as what I'm suggesting. [09:00] It's about changing the bugs that are shown on a distribution's "Bugs" page [09:00] that they're in columns is a layout detail. [09:01] mpt: the easy way is to program the view class so that there is an attribute called has_performed_search that is set === bradb & # IBC [09:11] If I was smart, I'd know how to do that [09:11] you are [09:11] It looks like it should go in bugtarget.py [09:11] but that has nothing about searches in it [09:11] ah, bugtask.py [09:12] that has searchy stuff in it [09:13] class BugTaskSearchListingView -- that seems about right === Nafallo is now known as Nafallo_away [09:18] so kiko, do I just plunk "has_performed_search = True" inside search() in BugTaskSearchListingView? [09:19] mpt, that should work -- are you calling search() from the template? [09:19] ... task_batch_navigator view/search"> [09:20] looks like it [09:20] you should put has_performed_search = False in the class, at the class level [09:21] right [09:21] right after the docstring? [09:21] that's fine [09:22] then tal:condition="view/has_performed_search" [09:23] right [09:24] hmm [09:24] I can go up and help you soon if you like [09:24] or ask matsubara [09:24] It's no longer showing "No results found" when I haven't searched [09:24] but nor is it showing when I *have* searched [09:29] kiko, we're a little stuck [09:29] okay, I need to finish this phone call [09:29] matsubara thought they both needed "self." on the front [09:30] the one at the class level, and the one in the function [09:30] no [09:30] but self. doesn't work at the class level, so that's not right [09:30] the class-level attribute doesn't need self [09:30] right [09:31] I think I know the problem [09:31] the template is doing a search for nothing even on "...+bugs" [09:31] which is setting off view/search, which is setting the flag to True [09:32] you can raise AssertionError to make sure [09:32] SteveA: up for a quick review? The update to BranchPullListing, for jblack: https://chinstrap.ubuntu.com/~jamesh/pending-reviews/david/launchpad/BranchPullListing-by-id/full-diff [09:32] I'd like to send the merge for that tonight so it can make it into monday's rollout. [09:33] ddaa: not today, sorry [09:33] kiko? [09:33] I'm on the phone today, grumble [09:34] BjornT: ? [09:34] ddaa, if nobody else can I can do it [09:35] kiko: no worries, I still have a few reviewers left to try. [09:35] ddaa: sure, i can do it [09:35] yay! [09:35] cool [09:49] matsubara, what bug is https://launchpad.net/malone/bugs/5489 [09:49] Malone bug #5489: "You are now logged in" provides no way out. In: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New https://launchpad.net/bugs/5489 [09:49] a dupe of [09:49] ddaa: looks good, r=bjornt [09:49] comments? [09:50] kiko, I was going to get to that shortly [09:51] mpt, ah, most valuable [09:52] we need to fix this friggin bug [09:52] kiko: 3057 maybe [09:52] kiko: bug 3057 maybe [09:52] Malone bug #3057: "You're already logged in" message should never occur In: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New https://launchpad.net/bugs/3057 [09:52] no, matsubara, an earlier one [09:53] 3057 is a bit different [09:53] it's different [09:54] ddaa: well, it was a really small change. maybe i'd say that test_get_line_for_branch tests the same thing three times. or maybe i'm just too tired to spot the other flaws in the patch :) [09:55] mpt: bug 449 ? [09:55] Malone bug #449: Logging in should take you to logged-in version of previous page In: launchpad (upstream), Severity: Normal, Assigned to: Steve Alexander, Status: Fixed https://launchpad.net/bugs/449 [09:55] BjornT: well spotted. The patch made the logic much simpler, I simplified some tests but missed that one. [09:55] later than that :-) [09:56] 449's fixed, matsubara [09:56] and when it was fixed, the front page was deliberately made an exception, and should not have been [09:57] Merge to devel/launchpad: [trivial] Minor cleanup of person page (r2901: Matthew Paul Thomas) [09:59] hmmm [09:59] maybe it isn't filed [09:59] matsubara found it, and it has four (now) five duplicates [09:59] bug 1612 [09:59] Malone bug #1612: Logging in from front page doesn't return to front page In: launchpad (upstream), Severity: Critical, Assigned to: Nobody, Status: New https://launchpad.net/bugs/1612 [10:00] https://launchpad.net/malone/bugs/1612 [10:00] right [10:00] Malone bug #1612: Logging in from front page doesn't return to front page In: launchpad (upstream), Severity: Critical, Assigned to: Nobody, Status: New https://launchpad.net/bugs/1612 [10:00] :) [10:00] dupe it! [10:00] matsubara's the man [10:01] mpt, kiko: done === lamont [n=lamont@mib.fc.hp.com] has joined #launchpad [10:03] 7pm, I'm going home === mpt [n=mpt@200-171-140-32.dsl.telesp.net.br] has left #launchpad ["http://mpt.net.nz/"] [10:07] thanks! [10:07] thanks BjornT, merge request sent [10:17] ddaa: pong [10:18] jblack: I wanted to know if you wanted your urls to be urlencoded. But too late, the patch has been reviewed and merge request has been sent already. [10:19] my urls to be url encoded. More context please? [10:21] ddaa:^ [10:21] in your branch listing [10:22] you can check /home/warthogs/archives/david/launchpad/BranchPullListing-by-id to see if that's what you want. [10:23] I'm expecting raw urls. [10:23] Fine. [10:23] I'm wasted, got 9 working hours on chronometer === eruin [n=eruin@proxy-gw.uib.no] has joined #launchpad [10:23] Heh. === ddaa sends activity report [10:24] Give me a moment. ;) [10:24] What concern are you addressing by urlencoding the urls in the branch list? [10:24] none in particular [10:25] it just occured to me that the tests did not cover anything fancy, non-ascii chars, whitespaces, etc. in urls [10:25] which module did you use for urlencode? [10:25] I did not use anything [10:25] no, mine don't either. [10:25] Is lp sanitizing input? [10:25] I just did the simplest thing possible [10:25] well... there's a DB constraint [10:26] so it will reject patently unsafe output like file paths... [10:26] dunno how much it does besides that [10:26] Ok. I'll think about it tonight while you're sleeping [10:27] the page is not going to show anything that starts with 'http://bazaar.ubuntu.com/', as well. [10:28] jblack: may I turn into a pumpkin now? [10:28] sleep well buddy === eruin_ [n=eruin@unaffiliated/eruin] has joined #launchpad [10:36] matsubara, can you file a bug on the issue for https://launchpad.net/sprints/instant/+workload [10:36] it's a 500 error [10:36] the traceback is in the error reports [10:36] also: [10:36] 3 UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: [10:36] +ordinal not in range(128) [10:36] https://launchpad.net/calendar/+index/+login [10:36] https://launchpad.net/token/dSBmQ91J4TWrmSD9651W/+newaccount [10:37] 25 TypeError: int() argument must be a string or a number [10:37] https://shipit.ubuntu.com/myrequest [10:37] and another one [10:37] 4 NotFoundError: ( +object at INSTANCE-ID>, 'date') [10:37] +https://launchpad.net/products/edubuntu.cookbook/+milestone/bzr-branch-created/+e [10:37] +dit [10:43] bug 5495 [10:43] Malone bug #5495: System error when trying to access the Show workload of a sprint In: launchpad (upstream), Severity: Normal, Assigned to: Nobody, Status: New https://launchpad.net/bugs/5495 [10:44] matsubara, you can fix that one :) === mdz [n=mdz@studiocity-motorola-bsr1-70-36-194-85.vnnyca.adelphia.net] has joined #launchpad [10:45] mdz! === sivang is now known as sivang-zzz [10:57] mpt: ping [10:57] ahoy maties [10:57] long phone call but SteveA is the man [11:13] SteveA, I forgot to explain salgado's problem, will do so tomorrow [11:19] kiko: Still plugging away on IBC. I /feel/ like I've been getting a lot done over the past couple days, but there's still a bit more to do (fix a few more broken tests and add UI tests if the test recorder can hack it.) activity report says it all. [11:19] okay, that's cool === bradb heads off au cinma. later. === bradb [n=bradb@modemcable033.209-70-69.mc.videotron.ca] has left #launchpad [] === mdke [n=matt@ubuntu/member/mdke] has joined #launchpad === siretart [i=siretart@ubuntu/member/siretart] has joined #launchpad