text
stringlengths
15
499
[00:38] <mwhudson> heh
=== spm changed the topic of #launchpad-dev to: Launchpad Development Channel | https://dev.launchpad.net/ | Please use #launchpad for support. | https://launchpad.net/~launchpad-dev | Get it: https://dev.launchpad.net/Getting | http://people.canonical.com/~herb/ | http://paste.ubuntu.com/
[00:56] <thumper> oh FFS
[00:56] <thumper> why are our pagetests so sucky
[00:56] <lifeless> because they are doctests?
[00:57] <gmb> because doing integration tests with sample data is a really bad idea?
[00:58] <sinzui> because they test the wrong thing
[00:58] <jml> thumper: I have some ideas about the OOPS stuff
[00:58] <thumper> d) all of the above!
[00:58] <thumper> jml: I've got it sorted now
[00:58] <gmb> thumper: Common denominator: Because.
[00:58] <jml> but I have to go, because my flatmate's student has turned up 50 mins early!
[00:58] * jml relocating
[00:59] <sinzui> Changing page layouts /could/ break lots of tests. I propose we replace them instead of fix them
[00:59] <lifeless> sinzui: hey
[00:59] <sinzui> hi lifeless
[00:59] <lifeless> sinzui: I would like to see bugs and blueprints be less different
[00:59] <lifeless> sinzui: as in, I love bugs, but hate blueprints :)
[00:59] <sinzui> lifeless: issue type?
[00:59] * sinzui feels the same
[01:00] <gmb> sinzui: I agree, by and large, in a "it's one in the morning what the hell am I doing in #launchpad-dev" kind of way.
[01:00] <gmb> (about the tests, that is)
[01:00] * gmb heads to bed.
[01:00] <Ursinha> good night gmb
[01:00] <lifeless> sinzui: I'd like to be able to say to a bug, 'depends on other bug'
[01:01] <lifeless> and, 'I think this is a 5 hour problem'
[01:01] <lifeless> and finally, get reports with that data
[01:01] <thumper> lifeless: +1 on those
[01:01] <lifeless> but thats all - the approval process stuff and so on isn't something we use in any of the projects I contribute to
[01:01] <thumper> anyone know BeautifulSoup well?
[01:02] <thumper> I want the second last html comment in the body
[01:02] <sinzui> thumper: http://www.crummy.com/software/BeautifulSoup/documentation.html
[01:02] <thumper> sinzui: thanks
[01:04] <sinzui> lifeless: I don't hack on bugs, I sometimes hack on blueprints on my own time. I l want better dependency handling on both apps. I want to qualify the dependency as essential, expected, or optional
[01:05] <lifeless> I'd actually like blueprints to fade away, into a cleaner single app. But I know that isn't a universal viewpoint
[01:05] <lifeless> hmm, why do you need a type on the dependency?
[01:06] <sinzui> lifeless: I suggested that on more than one occasion. I was that was not likely to ever happen and that I should instead focus on common behaviour
[01:07] <sinzui> lifeless: When I plan a big project, I want to say features 100% implemented. We cannot say that about our specs, not even if we break them into atomic parts because the dependency is absolute
[01:08] * thumper is almost finished with the oops on demand branch
[01:08] <sinzui> lifeless: Many stories depend on common features (other stories), but the feature might be essential one and optional in another
[01:09] <lifeless> sinzui: if its optional in the other, is it really a dep?
[01:09] <lifeless> sinzui: I don't object to an optional type flag
[01:09] <sinzui> I want a library of ideas that I can define features from using better dependancies
[01:09] <lifeless> I just don't really get it :)
[01:11] <sinzui> lifeless: I was toying with the idea of showing bugs linked by blueprint in an alternate view of the milestone page...I expect to have a week off next month
[01:12] * thumper afk for a while
[01:12] <lifeless> sinzui: that would be interesting. It still causes duplication though, which is my major objection to blueprints
[01:13] <sinzui> yes. I really want to solve that. I really don't want 4.0 stories to be all in a wiki, but I cannot bring myself to use blueprints
[01:13] <lifeless> yup
[01:13] <lifeless> and I don't believe its a matter of polish
[01:23] <jml> back
[01:25] <Shane_Fagan> So any canonical devs around I just have to ask a question
[01:25] <jml> always just ask :)
[01:25] <jml> questions are free :)
[01:26] <Shane_Fagan> Oh ok I thought I should ask first
[01:26] <Shane_Fagan> Ok so I want to handle apt:// just like the way http:// is handled so where should I be looking?
[01:27] <lifeless> where do you want to handle apt://
[01:27] <Shane_Fagan> answers
[01:27] <Shane_Fagan> apturl would be a lot easier than going go sudo apt-get install package
[01:29] <Shane_Fagan> Because then it takes the scary command line away from new users
[01:29] <lifeless> do you mean "I want text typed into answers with apt:// urls to get rendered as <a href="...">, like happens for http://"?
[01:30] <Shane_Fagan> Yep
[01:30] <Shane_Fagan> Thats exactly what I mean
[01:31] <wgrant> It uses fmt:email-to-html.
[01:31] * wgrant finds that.
[01:31] <jml> ooh, I changed this code quite recently
[01:32] <jml> canonical.launchpad.webapp.tales.FormattersAPI.text_to_html and above.
[01:33] <wgrant> That's a nice regex.
[01:34] <jml> Shane_Fagan, tests are in lib/canonical/launchpad/doc/displaying-paragraphs-of-text.txt
[01:34] <Shane_Fagan> Oh good
[01:35] <jml> './bin/test -cvvt displaying-paragraphs-of-text.txt' will run the tests
[01:35] * jml puts on his best Captain Planet voice,
[01:35] <jml> "The power is yours!"
[01:36] <Shane_Fagan> Good, its a feature I really want
[01:41] <Shane_Fagan> jml: do you think it would be useful?
[01:42] * wgrant does.
[01:42] <jml> Shane_Fagan, I reckon so.
[01:42] <Shane_Fagan> Its something I complained a lot about myself because I couldnt see why it wasnt used
[01:44] <Shane_Fagan> But I suppose ye have a lot better things to be hacking
[01:44] <jml> subjectively better, perhaps.
[01:44] <Shane_Fagan> So anyway ill go and make it. Oh and congrats on the open sourcing
[01:45] <jml> Shane_Fagan, thanks :)
[01:48] <wgrant> sinzui: There seems to be a bug in your bug closing script - you apparently just released Launchpad sinzui, not Launchpad 2.2.7.
[01:52] <sinzui> wgrant: your are correct. I will look into it
[02:08] <wgrant> The test suite makes my laptop unhappy :(
[02:09] <mwhudson> the test suite makes everything unhappy
[02:09] <mwhudson> but laptops particularly, yes
[02:09] <jml> wgrant, unhappy how? select at least two from: morbid, maudlin, melancholic, stressed, depressed, upset, troubled, vexed
[02:10] <lifeless> using ec2test
[02:10] <wgrant> jml: All of the above.
[02:10] * wgrant likes the look of the 3.0 project page.
[02:10] <wgrant> Interestingly, it seems to be returning to the 1.0 project group page style
[02:11] <mwhudson> lifeless: we haven't granted non-canonicalers access to the ec2test image yet aiui, and it currently still requires access to devpad aiui
[02:11] <mwhudson> i guess this should all change...
[02:12] <lifeless> well, all the code to create an image is out there, isn't it? :)
[02:12] <mwhudson> uh, i _guess_ ...
[02:12] <wgrant> We also don't have the code.
[02:12] <lifeless> hell, bzr's ec2test uses stock images
[02:13] <lifeless> wgrant: you don't?
[02:13] <jml> lifeless, bzr has fewer dependencies and requires less system configuration