[00:04] * thumper afk for a bit === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [08:23] hi all [08:24] how do i run a single launchpad test? i thought there was a test.py script [08:26] poolie: ./bin/test is that script now [08:27] that doesn't seem to exist [08:29] ah it's now a generated file [08:29] or maybe it has been for a long time [08:31] mwhudson, when I try to run make i get a complaint about missing download-cache [08:31] and when i run link-external-sourcecode, that complains the egg directory is missing [08:31] how do i fix that? [08:32] poolie: have you read ./utilities/rocketfuel-setup? [08:32] or even run it, if you're adventurous [08:33] i thought i had but perhaps not [08:33] i might try rocketfuel-update [08:34] well, if you don't have download-cache either you never set up this tree fully or it's a very long time since you last used it [08:35] ah ok [08:35] i have it in another branch [08:35] i guess if i'd used rocketfuel-branch or something it would have been copied? [08:35] oh you should be able to use link-external-sourcecode then [08:36] another question if i may [08:36] bzr-svn doesn't seem to be in launchpad-dependencies [08:36] maybe you need to give it an argument like ./utilities/link-external-sourcecode ../trunk [08:36] shouldn't it be? [08:36] oh ok [08:36] poolie: no, we use a branch of bzr-svn in sourcecode [08:36] we tend to use a newer version than anything packaged (or released, for that matter) [08:36] ok [08:38] ok, and now i have that directory, but i get 'no such file or directory' on an egg when i run make and it runs bootstrap.py [08:38] is there something else i need to run first? [08:39] not that i can think of [08:39] poolie: pastebin the error? [08:39] http://pastebin.ubuntu.com/438700/ [08:40] poolie: maybe bzr update download-cache? [08:41] ah, i didn't know that was a branch [08:41] yeah it is, for all that that isn't a very good idea [08:55] mwhudson, that seems to be running now, thanks [09:02] mwhudson, and is bzr-builder supposed to come from a branch too? i get an import error about that [09:03] poolie: ./utilities/update-sourcecode [09:03] k [09:18] jeez you wouldn't want to be in a hurry [09:19] spm, mwhudson, is this outage known === almaisan-away is now known as al-maisan [09:50] yay, my test fails [09:50] ok good night [09:52] night [11:03] Morning, all. [12:47] deryck: Why not have a root +filebug which just has a unified project/distro search widget and redirects to the right +filebug? [12:47] That will redirect to the right Ubuntu wiki page, removes the widget complexity, and removes the bad Ubuntu default. [12:47] And makes everyone happy. [12:49] wgrant, I suppose that's a better version of what was there before. But is that really *that* much quicker than just searching for the project? [12:52] deryck: You can't search for projects. [12:53] At least without using the generic search widget on the top of another page. [12:53] Yes, it would be awesome if everybody just landed on the project page. [12:53] That's clearly how the current UI was designed. [12:53] But it's not how things happen. [12:53] And this sort of page would be generically useful, across several applications. [12:54] (and the unified project/distro search widget itself even more widely applicable) [12:56] wgrant, then let's open a new bug about that suggestion. The original bug was about one-click search. [12:58] deryck: I do not see the difference. The workflow here is 1) Go to bugs.launchpad.net. 2) Click "Report a bug". 3) Enter search terms. 4) Click on match. This jumps into the workflow that is currently reached with 1) Go to launchpad.net/fooproject. 2) Click "Report a bug". [12:59] wgrant, ok, I thought you were saying something different. I would not be in favor of that. That isn't too far off what was there before. People still have to know what project to file against, and if they don't, they will file against Ubuntu. [13:00] deryck: Why would they file against Ubuntu? [13:00] They did so before because it was the default. [13:00] If you ignored the form, you got Ubuntu. [13:01] With my design (based rather strongly on the design of the AJAX pickers), there is no default. [13:01] And if somebody does enter Ubuntu, they will simply be redirected to the usual wiki page. [13:04] wgrant, ah, I see what you mean now. I don't think technically we could do a text search like what's on the current dupe search across all bugs and not timeout 100% of the time. But I'm fine to entertain the idea of the feature. [13:04] deryck: The plan was not to do a dupe search at that stage. [13:05] Users would select the project or distro, sending them to the normal +filebug for that target. [13:05] wgrant, so why is this any better than just searching from bugs.launchpad.net now? because it has the semblance of a guided filebug workflow? [13:05] deryck: You can't search from bugs.launchpad.net. [13:05] And yes, a guided workflow is approximately an awful lot easier. [13:06] If you don't provide guided workflows, you end up like Launchpad. [13:06] wgrant, you can't search? there is a big "Search bug reports" form at the top of bugs.lp.net, no? [13:07] deryck: The desired functionality is to search for *projects*, not bugs. [13:07] wgrant, are you personally planning to work on this? [13:08] deryck: No. [13:08] I'm just saying that Won't Fixing every bug about it is silly. [13:08] Because it's a valid concern. [13:08] And I've seen it confuse lots of users. [13:09] And once the widely useful widget exists, this view is trivial. [13:09] wgrant, ok, first, you're being a bit too dramatic. I haven't Won't Fix'ed *every* bug, I've marked one bug this way. [13:09] deryck: There have been one or two before. [13:10] wgrant, that I have marked won't fix? [13:12] Bug #162271 comes to mind. [13:12] Bug #162271: search results page doesn't offer link to report a bug [13:13] And it comes up on IRC every so often. [13:14] wgrant, fine. Update the bug with your suggestions and I'll mark it low. You win. [13:15] Since you seem to feel strongly that I am wrong, I shall not. [13:17] wgrant, I don't feel that your suggestion is bad. I feel that this bug is not worth fixing. I marked the bug as such, and you're challenging my call on that bug. I can only mark the bug in front of me. Had you opened a different bug making your suggestion, I doubt very seriously I would have marked it won't fix.... [13:17] Hmmmmm. [13:18] wgrant, and I'm saying now if you update the bug with your suggestions, I'll change my mind on the bug. [13:18] "Not worth fixing": by that rationale, shouldn't most Low bugs need Won't Fxing? [13:18] I understand Won't Fix as a policy decision that a change is inappropriate. [13:18] That is how it tends to be used normally. [13:18] Although not its original intention. [13:19] wgrant, so my language is not accurate. I mean "should not be fixed." by "worth," I only meant the fix suggested (i.e. renable reporting from the top-level) is not worth the pain it causes. [13:20] wgrant, I marked it won't fix because if someone submitted a patch to re-enable reporting from the top-level page, we would not accept it. [13:21] wgrant, and your alternate suggestion is fine, but it's a feature request, not a bug. And trying to salvage the bug into a feature request is fair enough, and maybe that's why I used the phrase "not worth it" thinking about the whole spectrum of this bug to feature discussion. [13:21] But not all solutions to that bug revive the Ubuntu issue. That was indeed a big issue, but it is easy to leave resolved. [13:25] wgrant, so why not propose an alternate solution in the bug report, rather than taking me to task from my call on this bug? [13:27] deryck: I'd not intended to take you to task; I started by merely asking why other potential solutions were not considered. It seemed at the time to be a better idea to check before polluting a nice clean bug on which you had made a policy decision. [13:32] wgrant, if changing the status of a bug turns it from clean to dirty then we might as well quit reporting bugs. [13:32] or triaging them [13:32] or working on launchpad altogether [13:34] deryck: I knew it was probably to end with the idea being crushed and the bug flipped back to Won't Fix. I imagined that a couple of lines of discussion here would remove the need for such useless operations. As can be seen, I was quite wrong. [13:53] * jml out to lunch === salgado is now known as salgado-lunch === matsubara is now known as matsubara-lunch === jtv1 is now known as jtv === salgado-lunch is now known as salgado === deryck is now known as deryck[lunch] === gary_poster is now known as gary-lunch [17:45] leonardr: hi. Do you know how could I debug the lazr.restful when the error is ComponentLookupError ? http://paste.ubuntu.com/438961/ [17:50] adiroiban: it looks like the web service is trying to serialize a field where the field object doesn't exist? [17:50] as if you had put foo = exported(None) in your interface instead of eg. foo = exported(Text) [17:50] does that make any sense? [17:51] if i were you i'd catch the exception in _unmarshallField and see what field it is [17:51] leonardr: thanks. but is there a way for finding how which field can not be serialized? [17:51] adiroiban -^ === matsubara-lunch is now known as matsubara [17:51] leonardr: thanks. so there is no other way of finding out which field is raising this error? [17:52] adiroiban: ordinarily you would get a clue from the first part of the component lookup--that would be the field object [17:52] but here the field object is None [17:55] thanks! === al-maisan is now known as almaisan-away [18:13] leonardr: it looks like the error was caused by an exported(List) field http://paste.ubuntu.com/438968/ [18:13] Do you think it would make sense to have this patch http://paste.ubuntu.com/438969/ ? === deryck[lunch] is now known as deryck [18:22] adiroiban: when publishing a list through the web service, you need to use Collection, not List [18:22] let me find you an example [18:22] bugtasks = exported( [18:22] CollectionField( [18:22] title=_('BugTasks on this bug, sorted upstream, then ' [18:22] 'ubuntu, then other distroseriess.'), [18:22] value_type=Reference(schema=IBugTask), [18:22] readonly=True), [18:22] exported_as='bug_tasks') [18:22] from lib/lp/bugs/interfaces/bug.py [18:22] lazr.restful.fields.CollectionField [18:23] the semantics of a List field are undefined in the web service [18:23] same thing for Object -- if you want to relate one object to another you need to use Reference [18:24] yes. and replace IChoice with IReferenceChoice ... but I was puzzled by that „None” field name [18:25] i think lazr.restful may have been looking up a deserializer for the .schema [18:25] since oyu didn't have a .schema that was None [18:25] and I was asking if you think that lazr.restfull could be improved and give a better error message [18:25] sure it can [18:25] ah, sorry [18:25] i was looking at the wrong paste === Ursinha is now known as Ursinha-lunch === gary-lunch is now known as gary_poster === Ursinha-lunch is now known as Ursinha === matsubara is now known as matsubara-afk [21:55] thumper: hey, up yet? [21:55] mtaylor: hey [21:55] mtaylor: up but need some food [21:56] mtaylor: a somewhat frustrating morning [21:56] thumper: no prob... I'm here all day :) [21:56] oh, that's no good [21:56] you should eat! eating makes it better [21:56] * thumper nods [21:56] (so does coffee for me, but not everyone is as obsessed as I am) [21:56] * thumper goes to make some bacon and egg muffins with espresso [21:57] mmm [22:17] mtaylor: you've got me one handed for a few minutes while I eat [22:17] whazzup? [22:18] nom nom nomification [22:23] thumper: so, an unnamed organization I know of is going to be hosting some open source development on launchpad [22:23] thumper: and amongst the things entailed in that process are going to be a CLA [22:23] mtaylor: ok [22:23] CLA? [22:24] contributor license agreement [22:24] which is one of those "need to sign this form before you can contribute" sorts of thing [22:25] * thumper nods [22:25] I was trying to figure out if/how that process could be integrated into launchpad [22:25] well, it is something we've been talking about in the past [22:25] which made me think of the (currently one-off hardcoded) ubuntu code of conduct [22:25] but I'm not entirely up with the play [22:25] ask sinzui [22:25] o [22:25] so [22:25] lp has the CoC for Ubuntu [22:26] mtaylor, CoC is a flatfile with a table mapping the version signed [22:26] I *think* that a generalisation of that, to make multiple cocs available might be a reasonable thing [22:26] lifeless: that was the real question - I'm happy to write the code for that, if it's something that people might be interested in [22:26] but I *don't know* if the concept of scaling to 1-per-project would be expected ;) [22:27] sinzui: ^ [22:27] or even N per project, because Ubuntu related projects have several cocs to choose from [22:27] mtaylor, The model classes assume that all CoC are Ubuntu. I considered adding a naming convention test to permit multiple CoCs for canonical projects. [22:28] (oroginal, rev 2, leadership) [22:28] mtaylor, I think we need a real DB class to manage file content and versions if we let any project have a CoC [22:28] sinzui: yes. I believe adding them as flat-files with mapping would be the wrong way [22:28] sinzui: is there any reason, in principle, not to accept a patch that does that to your standard ? [22:29] rephrasing:- Would a patch that generalises this and makes it editable via the web UI for all open source projects be accepted [if of appropriate quality] [22:29] lifeless, mtaylor we would love patches to improve CoC to support more than Ubuntu [22:29] mtaylor: there you go [22:30] sinzui: awesome! I will write up some thoughts on how I might go about that and see what you think [22:30] thanks [22:43] sinzui: how soon would I need to have code reviewed and accepted for it to land in a running launchpad by early july? [22:46] mtaylor, I think 2010-06-18 [22:46] sinzui: thanks === salgado is now known as salgado-afk