[01:24] lifeless: So, sinzui told me about another table that I had forgotten about on the call this morning. [01:24] launchpad_dogfood=> SELECT sourcepackagename from distributionsourcepackage as dsp join sourcepackagename as spn on dsp.sourcepackagename = spn.id where dsp.distribution = 1 and spn.name like '%linux%'; [01:24] Time: 37.420 ms [01:24] is that populated now ? [01:24] Seems to be [01:24] 30k rows, a whole bunch for Ubuntu and Debian [01:25] lifeless: Try that query on staging for me? [01:25] 53ms [01:25] 136 rows [01:25] which suggests it includes stale packages. [01:26] is linux 2.6.8 still valid, for instance ? [01:26] StevenK: spn was never a problem anyhow ;) [01:27] It's a published source package, at least [01:27] lifeless: Well, no, but if we can fetch a good list of spns in 50 ms, it gives us a bit more time for the binary side [01:29] StevenK: You can't use DSP. [01:29] :-( [01:29] StevenK: It's used for storing bug reporting guidelines. [01:29] That is its only meaning. [01:29] Some uploads and gina create them. [01:29] But you cannot derive any meaning from them. [01:30] Curtis was of the opinion that it was used for upstream linking too [01:30] it is [01:30] it could be used, if you extend it to know active/inactive [01:31] and make sure its kept up to date [01:31] TBH, if wgrant says the data in it is not trustworthy I'm inclined to not use it [01:31] StevenK: oh, and for the vocab, don't forget to also look for published source package branches with no SPR [01:32] lifeless: Right, and that 26 minute query can take even longer :-P [01:33] StevenK: there is a escalated bug for ensemble requesting this [01:33] lifeless: Curtis and I have discussed it a few times. I want to get to the vocab working and then work on extending it [01:33] sure [01:36] Aha! [01:36] Unity has taken minimalism a step further. [01:36] It is now Nautilus. [01:37] The launcher and dash and indicators are gone... all there is is the Nautilus root window and its menu bar. [01:50] does anyone know how to create a project or distro with an icon for testing purposes? [01:51] set the branding [01:51] click on 'edit details' scroll to the bottom then 'edit branding', I think [01:51] its a very clunky bit of ui [01:51] lifeless: i mean in code [01:52] not offhand - does the factory have an option ? [01:52] not that i can see :-( [01:52] factory.makeDistribution() and then you probably have to twiddle something in it [01:52] Let's see [01:52] look for tests for branding to see how [01:53] ok, thanks. my other searches have failed to find anything [01:53] wallyworld_: Create an LFA and then set IDistribution.icon to it [01:53] You also have IDistribution.logo [01:53] LFA? [01:53] LibraryFileAlias [01:54] ok, there is a factory or something for that? [01:54] factory.makeLibraryFileAlias(content=) ; transaction.commit() [01:54] excellent, thanks [02:59] wgrant: StevenK: want a small review (one line change plus tests)? https://code.launchpad.net/~wallyworld/launchpad/person-affiliation-breakage-823644/+merge/70981 [03:00] wallyworld_: It will cost you. What do you have? [03:00] Oh, right. You're married with kids, so nothing. [03:00] my eternal gratitude? [03:00] hah [03:00] i keep photos in my wallet where my money used to be :-/ [03:02] > from lazr.restful.interfaces import IRepresentationCache [03:02] ImportError: cannot import name IRepresentationCache [03:03] Any idea what might be going on? (I have lucid's python-lazr.restful installed) [03:04] wallyworld_: r=me with a comment [03:04] StevenK: thanks [03:06] StevenK: with the commit, there's a number of other usages of LFA in tests without a commit. modt of them seem to not have one [03:07] j-johan-edwards: The version of python-lazr.restful in lucid is about 18 months old [03:07] wallyworld_: Right, so I'm not saying thou must add thy commit, or no +1 from me [03:08] wallyworld_: I'm just saying it's something to watch for [03:08] StevenK: np. thanks [03:08] StevenK: Ah. The wiki Running page said Lucid was the only support version [03:08] j-johan-edwards: What are you trying to do with lazr.restful? [03:10] Trying to make heads or tails of the source tree. Imported lp.soyuz.model.binarypackagerelease, which asks for that module. [03:11] j-johan-edwards: I would strongly suggest you use rocketfuel-setup to check out LP's tree [03:11] I did. It claimed everything was okay, so I ran `make schema`, which also worked [03:11] `make run` also works, oddly [03:12] I actually tried building on Natty too, but had a similar import error for lazr.config [03:12] Oh! Are you running 'python' and trying to import stuff? [03:13] Yup [03:13] Yes, that won't work [03:13] Use 'bin/py' in the source tree, or 'make iharness' [03:14] Thanks a ton! Just tried it again, and that works great. [03:22] j-johan-edwards: LP uses lots of dependencies that aren't in Lucid. You can find them in eggs/ within the LP branch. [03:24] nesting project groups would be mega useful. [03:25] lifeless: No. [03:25] lifeless: Nesting projects :) [03:30] wgrant: well, if project groups died, sure [03:30] They are going to die before they get any significant changes. [03:57] Project devel build #960: FAILURE in 5 hr 42 min: https://lpci.wedontsleep.org/job/devel/960/ [04:18] is it intentional that LP shows a /!\ in the involvement portlet when you select 'N/A' for translations ? [04:19] It's probably supposed to be an icon [04:20] well it is an icon [04:20] I'm just confused [04:20] if you say 'unknown', a warning with 'lp needs to know' is sensible [04:20] but its set to N/A [04:20] shouldn't that just hide the line ? [04:29] Hello, sorry to come crying for help again so soon [04:29] Every getUtility(Iwhatever) call I make results in a zope.component.interfaces.ComponentLookupError [04:30] j-johan-edwards: bin/py doesn't set up utilities -- use bin/harness for that. [04:30] thanks! [04:32] Is there some piece of documentation I'm missing on the wiki? Or are some sections of the Hacking page (eg #Storm) just incomplete? [04:32] * j-johan-edwards ignores the possibility he simply fails to grasp the obvious [04:32] j-johan-edwards: theres a vast learning curve around lp development [04:32] we want to improve that [04:32] (by lowering the curve, not documenting the curve :P) [04:33] j-johan-edwards: Well, Hacking doesn't say it should be run in bin/py. [04:33] It isn't a curve, it's a bleeding cliff! [04:34] haha [04:35] j-johan-edwards: so what are you hacking on ? [04:37] lp:archive-index (I might give up if I can't hack in though) [04:38] j-johan-edwards: integration with LP ? [04:38] lifeless: yeah, for the past few months I've been working on an archive crawler for mvo [04:39] but it's becoming obvious it won't scale, so an automated solution is important [04:39] what sort of data does it extract? [04:39] app-install-data-ubuntu, basically [04:40] Right, so it's as I feared. You'd like an easier way to get at contents rather than parsing Contents-.gz? [04:41] Yup, I saw your populate-bprc branch, which boosted my hopes of making that possible [04:41] * StevenK had no idea he had a stalker ... :-P [04:42] haha, lifeless actually directed me to you, so you've got two [04:42] lifeless just stalks all LP devs, so that's nothing new [04:43] StevenK: and now its my job! [04:43] * StevenK waits for "And I'm watching you ..." [04:44] StevenK: that will arrive by a postcard slipped under your door. [04:45] Haha [04:45] No, he'll find it in his pocket. [04:45] ... of his pyjamas [04:45] Along with a video called "The Branch" ? [04:46] j-johan-edwards: Keep in mind the BPRC work is in my spare time, and I'm not really pushing it with any priority [04:46] StevenK: "It isn't a curve, it's a bleeding cliff!" +! [04:46] +1 [04:46] It's not that bad! [04:47] I submitted my first branch after like a day. [04:47] wgrant: Yes, but 1) You're insane. 2) You already knew Zope. [04:47] And it even changed tests. [04:47] haha [04:47] I wsa about tos ay that. [04:47] I wrote a one line patch. [04:47] Then I realized I had to write 25 lines of tests :) [04:48] so, for someone starting out, you open the code. and you need to grep to find what you're looking for. Then you a *lot* xml files. [04:49] My first branch for LP changed 2 lines. Sadly, it then broke 200 tests [04:49] fun! [04:49] I redid a branch 2 times I think. [04:50] nigelb: Why? You can get away with ignoring the ZCML [04:50] And bzr grep is *love* [04:50] StevenK: of course you can. but its scary to see a lot of xml :) [04:50] nigelb: Lots of XML is solved by shovelling more XML at the problem [04:51] After a while you forget what you were trying to solve. [04:52] is that like regular expresssions? [04:52] ;) [04:52] Oh hey, I wrote one of those yesterday [04:52] * ajmitch is suddenly scared [04:52] And then ran it over devel ... [04:52] "if you have a problem and you use regular expressions to solve it, then you have 2 problems" [04:53] % bzr di -r submit: | wc -l [04:53] Using submit branch /home/steven/launchpad/lp-branches/devel [04:53] 6501 [04:54] also of note, now I'm more comfortable with lp. [04:55] nigelb: You need to submit more branches! [04:55] StevenK: working on one, need more hours in a day. [04:55] Make a branch for that too? [04:56] against what project? [04:56] lp:universe [04:57] aha [05:00] * StevenK ponders how to write a db patch, given this whole FDT thing [05:00] I'm going through rtfd that jml set up some time back. [05:01] I wonder if lp will ever get a feature like rtfd/github pages [05:01] if someone does it well, sure [05:02] though there is merit in just integrating with rtfd well, particularly if that site is open source (is it?) [05:02] it is [05:02] its django based [05:02] nigelb: and its source is available ? [05:02] https://github.com/rtfd/readthedocs.org [05:03] cool [05:03] now just need to get them hosted on an open site [05:04] so, out of the box, rtfd already can scan bzr branches. [05:04] That is one thing that annoys me. How much flak did LP cop for not being open, and you don't see people complaining about github [05:04] heh [05:04] Nobody is going to clamour for GitHub to be open, because GitHub is not crap. [05:04] that seems spurious :) [05:04] Oh? [05:05] People wanted LP to be open partly because LP was a piece of shit :) [05:05] I would expect the reverse correlatio [05:05] more good -> more desire for it to be open [05:05] everyone seems to have a github. === StevenK is now known as wgrant_ [05:05] jtv: QA! === wgrant_ is now known as StevenK [05:06] haha [05:06] That was a real WTF moment for a while there. [05:06] wgrant: FO! [05:06] lol [05:06] WIN [05:06] StevenK: That was awesome. [05:06] I must need to crank up the protection on wgrant_... [05:07] Now to look up my Nickserv password again [05:07] can't protect it for these less that 30 sec bursts. [05:07] unless you're signed into it. [05:07] in which case, StevenK can still d wgrant__ [05:07] or wgrant` [05:08] It was for comedic value only [05:08] and it was sucessfull run! [05:08] Yeah, I only have wgrant and wgrant_, and ENFORCE only works after a certain time. [05:08] Sad. [05:08] I told jtv he had QA to do and he told me I could have been better at impersonating wgrant. [05:08] So I was. [05:23] So, hacking on Lp can still be counted as rest when I'm sick right? :) [05:23] I hope so, or I'm a bad person. [05:23] if it counts as rest, thats proof you are sick ? [05:24] hah [05:30] pop quiz [05:31] * wgrant blames python-oops. [05:31] Would defining an oops report as a 'dict suitable for bson serialisation' be problematic ? [05:31] wgrant: :P [05:31] lifeless: That's what has always made a lot of sense to me. === wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 237 - 0:[#######=]:256 [05:35] I just retrieved a record from a table [05:35] Most beautiful moment of my life... [05:37] * wallyworld__ doing qa, and finds an interesting user on qas: [05:37] Cost Of Viagra - Online Pharmacy - No Prescription Drugs, Health and Beauty, plus more in Launchpad in Launchpad (dalefyoboardinghouse) [05:37]