=== Nigel_ is now known as G === Mission-Critical is now known as MissionCritical === idnaria is now known as idnar === benji___ is now known as benji === BradCrittenden is now known as bac === slank_away is now known as slank === gmb` is now known as gmb === GabrieleV_ is now known as GabrieleV === bdmurray_ is now known as bdmurray === matsubara is now known as matsubara-lunch === deryck is now known as deryck[lunch] === matsubara-lunch is now known as matsubara === deryck[lunch] is now known as deryck === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === BradCrittenden is now known as bac [20:03] hi [20:04] is upload to ppa broken at the moment? === glebihan__ is now known as glebihan === mwhudson_ is now known as mwhudson [21:33] where can I ask for help with launchpadlib? [21:33] I can't figure out how to list bugs targeted to a specific milestone [21:34] lp.projects["elementaryos"].searchTasks(milestone=['luna-beta1']) # doesn't work - prints: milestone: "luna-beta1" is not a valid URI. [21:48] shnatsel: I'd guess you need a milestone object, one from the active_milestones or all_milestones properties of project [21:48] tsimpson: ah I see, thanks! I'll try getting one [22:05] yes you need the object there [22:05] I can't get it by trial and error [22:05] I tried getting the object from project, no luck [22:05] from series, no luck [22:05] I can't even access a series [22:06] lp.projects["elementaryos"].landmarks prints nothing because ".landmarks" is for series but I can't find a way to list series [22:06] or access them in any other way [22:06] I guess I'll just grep the bug numbers from curl [22:06] that's easiest [22:06] (it's a one-time script) [22:07] project.getMilestone(name=milestone_name) ? [22:07] and project.getSeries(name=series_name) [22:07] that worked [22:08] thanks! [22:08] I've ctrl+f'd through all API reference and haven't found it [22:09] search doesn't work well if you don't know what you're searching for. you need to not only look at the properties, but also the methods underneath them, when reading the api docs :) [22:09] how do I get to the methods? [22:09] I've ctrl+f'd "milestone" :) [22:09] I can see only properties at https://launchpad.net/+apidoc/1.0.html [22:09] eh? [22:10] scroll down? [22:10] oooh [22:10] the stuff with the blue backgrounds underneath the properties for each object type, are the methods [22:10] there they are [22:10] thanks! [22:13] What do I need to do to set up translations for my project? I have a .pot file but I don't know what to do on my project's translations page. [22:14] I've set the translations settings to using Launchpad, set the group and policy, and set it to auto-import templates. Is this correct and what else do I need to do? [22:28] mspencer: sounds OK to me. It's also useful to set up auto-export, so translations from Launchpad get exported to a branch in .po files usable by apps on a daily basis [22:31] shnatsel: Do I set the auto-export to the same branch or a different branch? [22:32] shnatsel: Do I want to auto-import just templates or translations also? [22:33] mspencer: just templates if you're not going to modify translations in the branch directly [22:33] mspencer: I think exporting to the same branch worked for me [22:33] I'm not an actual launchpad developer or expert or anything [22:35] shnatsel: I'm not familar with translations in Launchpad; should I see anything in the "Translations for trunk" table or does stuff show up when someone starts working on translating into different languages? [22:35] shnatsel: Here's the translations page for my project: https://translations.launchpad.net/contributor-console [22:36] mspencer: I have to admit I don't understand what your question is [22:39] shnatsel: Sorry for not being more clear. At the link I sent, and at the bottom of the page, there is something called "Translation for trunk". Should it show anything in the table? [22:40] no, I don't think so [22:40] it just indicates to which series the displayed table belongs, I guess [22:40] let me try translating a few strings into Russian [22:41] mspencer: by the way, the project looks damn cool. [22:44] shnatsel: Thanks for your help, glad you like the project. I'm glad I saw the spec on wiki.ubuntu.com to work on! [23:05] shnatsel: I see Russian and your translations now. Thanks for helping me understand this stuff and thanks for helping translate! [23:06] mspencer: you're welcome [23:06] mspencer: that's a really neat tool, I hope we'll be able to use it in elementary project someday [23:07] mspencer: I did Glimpse for elementary to simplify testing; it never really took off because it lacks a D-bus proxy and I never got the time to write one [23:12] shnatsel: I'm not that familar with elementary, but maybe my project will be able to be ported to it. [23:12] shnatsel: Glimpse looks like a cool idea! [23:13] mspencer: yeah, and it works, which is fun. I still use it to run foreigh-architecture chroots on my system easily. Its integration comes in handy. [23:13] mspencer: the only really missing thing is a d-bus proxy [23:13] without it people can't install anything via software center to start with and that ruins the experience