[20:03] <hrw> hi
[20:04] <hrw> is upload to ppa broken at the moment?
[21:33] <shnatsel> where can I ask for help with launchpadlib?
[21:33] <shnatsel> I can't figure out how to list bugs targeted to a specific milestone
[21:34] <shnatsel> lp.projects["elementaryos"].searchTasks(milestone=['luna-beta1'])    # doesn't work - prints:   milestone:  "luna-beta1" is not a valid URI.
[21:48] <tsimpson> shnatsel: I'd guess you need a milestone object, one from the active_milestones or all_milestones properties of project
[21:48] <shnatsel> tsimpson: ah I see, thanks! I'll try getting one
[22:05] <dobey> yes you need the object there
[22:05] <shnatsel> I can't get it by trial and error
[22:05] <shnatsel> I tried getting the object from project, no luck
[22:05] <shnatsel> from series, no luck
[22:05] <shnatsel> I can't even access a series
[22:06] <shnatsel> lp.projects["elementaryos"].landmarks prints nothing because ".landmarks" is for series but I can't find a way to list series
[22:06] <shnatsel> or access them in any other way
[22:06] <shnatsel> I guess I'll just grep the bug numbers from curl
[22:06] <shnatsel> that's easiest
[22:06] <shnatsel> (it's a one-time script)
[22:07] <dobey> project.getMilestone(name=milestone_name) ?
[22:07] <dobey> and project.getSeries(name=series_name)
[22:07] <shnatsel> that worked
[22:08] <shnatsel> thanks!
[22:08] <shnatsel> I've ctrl+f'd through all API reference and haven't found it
[22:09] <dobey> 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] <shnatsel> how do I get to the methods?
[22:09] <shnatsel> I've ctrl+f'd "milestone" :)
[22:09] <shnatsel> I can see only properties at https://launchpad.net/+apidoc/1.0.html
[22:09] <dobey> eh?
[22:10] <dobey> scroll down?
[22:10] <shnatsel> oooh
[22:10] <dobey> the stuff with the blue backgrounds underneath the properties for each object type, are the methods
[22:10] <shnatsel> there they are
[22:10] <shnatsel> thanks!
[22:13] <mspencer> 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] <mspencer> 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] <shnatsel> 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] <mspencer> shnatsel: Do I set the auto-export to the same branch or a different branch?
[22:32] <mspencer> shnatsel: Do I want to auto-import just templates or translations also?
[22:33] <shnatsel> mspencer: just templates if you're not going to modify translations in the branch directly
[22:33] <shnatsel> mspencer: I think exporting to the same branch worked for me
[22:33] <shnatsel> I'm not an actual launchpad developer or expert or anything
[22:35] <mspencer> 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] <mspencer> shnatsel: Here's the translations page for my project: https://translations.launchpad.net/contributor-console
[22:36] <shnatsel> mspencer: I have to admit I don't understand what your question is
[22:39] <mspencer> 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] <shnatsel> no, I don't think so
[22:40] <shnatsel> it just indicates to which series the displayed table belongs, I guess
[22:40] <shnatsel> let me try translating a few strings into Russian
[22:41] <shnatsel> mspencer: by the way, the project looks damn cool.
[22:44] <mspencer> 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] <mspencer> shnatsel: I see Russian and your translations now. Thanks for helping me understand this stuff and thanks for helping translate!
[23:06] <shnatsel> mspencer: you're welcome
[23:06] <shnatsel> mspencer: that's a really neat tool, I hope we'll be able to use it in elementary project someday
[23:07] <shnatsel> 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] <mspencer> shnatsel: I'm not that familar with elementary, but maybe my project will be able to be ported to it.
[23:12] <mspencer> shnatsel: Glimpse looks like a cool idea!
[23:13] <shnatsel> 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] <shnatsel> mspencer: the only really missing thing is a d-bus proxy
[23:13] <shnatsel> without it people can't install anything via software center to start with and that ruins the experience