/srv/irclogs.ubuntu.com/2010/05/24/#launchpad-dev.txt

* thumper afk for a bit00:04
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
pooliehi all08:23
pooliehow do i run a single launchpad test?  i thought there was a test.py script08:24
mwhudsonpoolie: ./bin/test is that script now08:26
pooliethat doesn't seem to exist08:27
poolieah it's now a generated file08:29
poolieor maybe it has been for a long time08:29
pooliemwhudson, when I try to run make i get a complaint about missing download-cache08:31
poolieand when i run link-external-sourcecode, that complains the egg directory is missing08:31
pooliehow do i fix that?08:31
mwhudsonpoolie: have you read ./utilities/rocketfuel-setup?08:32
mwhudsonor even run it, if you're adventurous08:32
pooliei thought i had but perhaps not08:33
pooliei might try rocketfuel-update08:33
mwhudsonwell, 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 it08:34
poolieah ok08:35
pooliei have it in another branch08:35
pooliei guess if i'd used rocketfuel-branch or something it would have been copied?08:35
mwhudsonoh you should be able to use link-external-sourcecode then08:35
poolieanother question if i may08:36
pooliebzr-svn doesn't seem to be in launchpad-dependencies08:36
mwhudsonmaybe you need to give it an argument like ./utilities/link-external-sourcecode ../trunk08:36
poolieshouldn't it be?08:36
poolieoh ok08:36
mwhudsonpoolie: no, we use a branch of bzr-svn in sourcecode08:36
mwhudsonwe tend to use a newer version than anything packaged (or released, for that matter)08:36
poolieok08:36
poolieok, 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.py08:38
poolieis there something else i need to run first?08:38
mwhudsonnot that i can think of08:39
mwhudsonpoolie: pastebin the error?08:39
pooliehttp://pastebin.ubuntu.com/438700/08:39
mwhudsonpoolie: maybe bzr update download-cache?08:40
poolieah, i didn't know that was a branch08:41
mwhudsonyeah it is, for all that that isn't a very good idea08:41
pooliemwhudson, that seems to be running now, thanks08:55
pooliemwhudson, and is bzr-builder supposed to come from a branch too? i get an import error about that09:02
mwhudsonpoolie: ./utilities/update-sourcecode09:03
pooliek09:03
pooliejeez you wouldn't want to be in a hurry09:18
pooliespm, mwhudson, is this outage known09:19
=== almaisan-away is now known as al-maisan
poolieyay, my test fails09:50
poolieok good night09:50
lifelessnight09:52
deryckMorning, all.11:03
wgrantderyck: Why not have a root +filebug which just has a unified project/distro search widget and redirects to the right +filebug?12:47
wgrantThat will redirect to the right Ubuntu wiki page, removes the widget complexity, and removes the bad Ubuntu default.12:47
wgrantAnd makes everyone happy.12:47
deryckwgrant, 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:49
wgrantderyck: You can't search for projects.12:52
wgrantAt least without using the generic search widget on the top of another page.12:53
wgrantYes, it would be awesome if everybody just landed on the project page.12:53
wgrantThat's clearly how the current UI was designed.12:53
wgrantBut it's not how things happen.12:53
wgrantAnd this sort of page would be generically useful, across several applications.12:53
wgrant(and the unified project/distro search widget itself even more widely applicable)12:54
deryckwgrant, then let's open a new bug about that suggestion.  The original bug was about one-click search.12:56
wgrantderyck: 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:58
deryckwgrant, 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.12:59
wgrantderyck: Why would they file against Ubuntu?13:00
wgrantThey did so before because it was the default.13:00
wgrantIf you ignored the form, you got Ubuntu.13:00
wgrantWith my design (based rather strongly on the design of the AJAX pickers), there is no default.13:01
wgrantAnd if somebody does enter Ubuntu, they will simply be redirected to the usual wiki page.13:01
deryckwgrant, 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
wgrantderyck: The plan was not to do a dupe search at that stage.13:04
wgrantUsers would select the project or distro, sending them to the normal +filebug for that target.13:05
deryckwgrant, 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
wgrantderyck: You can't search from bugs.launchpad.net.13:05
wgrantAnd yes, a guided workflow is approximately an awful lot easier.13:05
wgrantIf you don't provide guided workflows, you end up like Launchpad.13:06
deryckwgrant, you can't search?  there is a big "Search bug reports" form at the top of bugs.lp.net, no?13:06
wgrantderyck: The desired functionality is to search for *projects*, not bugs.13:07
deryckwgrant, are you personally planning to work on this?13:07
wgrantderyck: No.13:08
wgrantI'm just saying that Won't Fixing every bug about it is silly.13:08
wgrantBecause it's a valid concern.13:08
wgrantAnd I've seen it confuse lots of users.13:08
wgrantAnd once the widely useful widget exists, this view is trivial.13:09
deryckwgrant, 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
wgrantderyck: There have been one or two before.13:09
deryckwgrant, that I have marked won't fix?13:10
wgrantBug #162271 comes to mind.13:12
mupBug #162271: search results page doesn't offer link to report a bug <ui> <Launchpad Bugs:Won't Fix> <https://launchpad.net/bugs/162271>13:12
wgrantAnd it comes up on IRC every so often.13:13
deryckwgrant, fine.  Update the bug with your suggestions and I'll mark it low.  You win.13:14
wgrantSince you seem to feel strongly that I am wrong, I shall not.13:15
deryckwgrant, 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
wgrantHmmmmm.13:17
deryckwgrant, and I'm saying now if you update the bug with your suggestions, I'll change my mind on the bug.13:18
wgrant"Not worth fixing": by that rationale, shouldn't most Low bugs need Won't Fxing?13:18
wgrantI understand Won't Fix as a policy decision that a change is inappropriate.13:18
wgrantThat is how it tends to be used normally.13:18
wgrantAlthough not its original intention.13:18
deryckwgrant, 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:19
deryckwgrant, 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:20
deryckwgrant, 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
wgrantBut not all solutions to that bug revive the Ubuntu issue. That was indeed a big issue, but it is easy to leave resolved.13:21
deryckwgrant, so why not propose an alternate solution in the bug report, rather than taking me to task from my call on this bug?13:25
wgrantderyck: 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:27
deryckwgrant, if changing the status of a bug turns it from clean to dirty then we might as well quit reporting bugs.13:32
deryckor triaging them13:32
deryckor working on launchpad altogether13:32
wgrantderyck: 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:34
* jml out to lunch13:53
=== 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
adiroibanleonardr: hi. Do you know how could I debug the lazr.restful when the error  is  ComponentLookupError ? http://paste.ubuntu.com/438961/17:45
leonardradiroiban: it looks like the web service is trying to serialize a field where the field object doesn't exist?17:50
leonardras if you had put foo = exported(None) in your interface instead of eg. foo = exported(Text)17:50
leonardrdoes that make any sense?17:50
leonardrif i were you i'd catch the exception in _unmarshallField and see what field it is17:51
adiroibanleonardr: thanks. but is there a way for finding how which field can not be serialized?17:51
leonardradiroiban -^17:51
=== matsubara-lunch is now known as matsubara
adiroibanleonardr: thanks. so there is no other way of finding out which field is raising this error?17:51
leonardradiroiban: ordinarily you would get a clue from the first part of the component lookup--that would be the field object17:52
leonardrbut here the field object is None17:52
adiroibanthanks!17:55
=== al-maisan is now known as almaisan-away
adiroibanleonardr: it looks like the error was caused by an exported(List) field http://paste.ubuntu.com/438968/18:13
adiroibanDo you think it would make sense to have this patch http://paste.ubuntu.com/438969/ ?18:13
=== deryck[lunch] is now known as deryck
leonardradiroiban: when publishing a list through the web service, you need to use Collection, not List18:22
leonardrlet me find you an example18:22
leonardr    bugtasks = exported(18:22
leonardr        CollectionField(18:22
leonardr            title=_('BugTasks on this bug, sorted upstream, then '18:22
leonardr                    'ubuntu, then other distroseriess.'),18:22
leonardr            value_type=Reference(schema=IBugTask),18:22
leonardr            readonly=True),18:22
leonardr        exported_as='bug_tasks')18:22
leonardrfrom lib/lp/bugs/interfaces/bug.py18:22
leonardrlazr.restful.fields.CollectionField18:22
leonardrthe semantics of a List field are undefined in the web service18:23
leonardrsame thing for Object -- if you want to relate one object to another you need to use Reference18:23
adiroibanyes. and replace IChoice with IReferenceChoice ... but I was puzzled by that „None” field name18:24
leonardri think lazr.restful may have been looking up a deserializer for the .schema18:25
leonardrsince oyu didn't have a .schema that was None18:25
adiroibanand I was asking if you think that lazr.restfull could be improved and give a better error message18:25
leonardrsure it can18:25
leonardrah, sorry18:25
leonardri was looking at the wrong paste18:25
=== 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
mtaylorthumper: hey, up yet?21:55
thumpermtaylor: hey21:55
thumpermtaylor: up but need some food21:55
thumpermtaylor: a somewhat frustrating morning21:56
mtaylorthumper: no prob... I'm here all day :)21:56
mtayloroh, that's no good21:56
mtayloryou should eat! eating makes it better21:56
* thumper nods21:56
mtaylor(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 espresso21:56
mtaylormmm21:57
thumpermtaylor: you've got me one handed for a few minutes while I eat22:17
thumperwhazzup?22:17
lifelessnom nom nomification22:18
mtaylorthumper: so, an unnamed organization I know of is going to be hosting some open source development on launchpad22:23
mtaylorthumper: and amongst the things entailed in that process are going to be a CLA22:23
thumpermtaylor: ok22:23
thumperCLA?22:23
mtaylorcontributor license agreement22:24
mtaylorwhich is one of those "need to sign this form before you can contribute" sorts of thing22:24
* thumper nods22:25
mtaylorI was trying to figure out if/how that process could be integrated into launchpad22:25
thumperwell, it is something we've been talking about in the past22:25
mtaylorwhich made me think of the (currently one-off hardcoded) ubuntu code of conduct22:25
thumperbut I'm not entirely up with the play22:25
thumperask sinzui22:25
lifelesso22:25
lifelessso22:25
lifelesslp has the CoC for Ubuntu22:25
sinzuimtaylor, CoC is a flatfile with a table mapping the version signed22:26
lifelessI *think* that a generalisation of that, to make multiple cocs available might be a reasonable thing22:26
mtaylorlifeless: that was the real question - I'm happy to write the code for that, if it's something that people might be interested in22:26
lifelessbut I *don't know* if the concept of scaling to 1-per-project would be expected ;)22:26
lifelesssinzui: ^22:27
lifelessor even N per project, because Ubuntu related projects have several cocs to choose from22:27
sinzuimtaylor, The model classes assume that all CoC are Ubuntu. I considered adding a naming convention test to permit multiple CoCs for canonical projects.22:27
lifeless(oroginal, rev 2, leadership)22:28
sinzuimtaylor, I think we need a real DB class to manage file content and versions if we let any project have a CoC22:28
mtaylorsinzui: yes. I believe adding them as flat-files with mapping would be the wrong way22:28
lifelesssinzui: is there any reason, in principle, not to accept a patch that does that to your standard ?22:28
lifelessrephrasing:- 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
sinzuilifeless, mtaylor we would love patches to improve CoC to support more than Ubuntu22:29
lifelessmtaylor: there you go22:29
mtaylorsinzui: awesome! I will write up some thoughts on how I might go about that and see what you think22:30
sinzuithanks22:30
mtaylorsinzui: how soon would I need to have code reviewed and accepted for it to land in a running launchpad by early july?22:43
sinzuimtaylor, I think 2010-06-1822:46
mtaylorsinzui: thanks22:46
=== salgado is now known as salgado-afk

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