/srv/irclogs.ubuntu.com/2012/12/10/#launchpad.txt

=== 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
hrwhi20:03
hrwis upload to ppa broken at the moment?20:04
=== glebihan__ is now known as glebihan
=== mwhudson_ is now known as mwhudson
shnatselwhere can I ask for help with launchpadlib?21:33
shnatselI can't figure out how to list bugs targeted to a specific milestone21:33
shnatsellp.projects["elementaryos"].searchTasks(milestone=['luna-beta1'])    # doesn't work - prints:   milestone:  "luna-beta1" is not a valid URI.21:34
tsimpsonshnatsel: I'd guess you need a milestone object, one from the active_milestones or all_milestones properties of project21:48
shnatseltsimpson: ah I see, thanks! I'll try getting one21:48
dobeyyes you need the object there22:05
shnatselI can't get it by trial and error22:05
shnatselI tried getting the object from project, no luck22:05
shnatselfrom series, no luck22:05
shnatselI can't even access a series22:05
shnatsellp.projects["elementaryos"].landmarks prints nothing because ".landmarks" is for series but I can't find a way to list series22:06
shnatselor access them in any other way22:06
shnatselI guess I'll just grep the bug numbers from curl22:06
shnatselthat's easiest22:06
shnatsel(it's a one-time script)22:06
dobeyproject.getMilestone(name=milestone_name) ?22:07
dobeyand project.getSeries(name=series_name)22:07
shnatselthat worked22:07
shnatselthanks!22:08
shnatselI've ctrl+f'd through all API reference and haven't found it22:08
dobeysearch 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
shnatselhow do I get to the methods?22:09
shnatselI've ctrl+f'd "milestone" :)22:09
shnatselI can see only properties at https://launchpad.net/+apidoc/1.0.html22:09
dobeyeh?22:09
dobeyscroll down?22:10
shnatseloooh22:10
dobeythe stuff with the blue backgrounds underneath the properties for each object type, are the methods22:10
shnatselthere they are22:10
shnatselthanks!22:10
mspencerWhat 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:13
mspencerI'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:14
shnatselmspencer: 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 basis22:28
mspencershnatsel: Do I set the auto-export to the same branch or a different branch?22:31
mspencershnatsel: Do I want to auto-import just templates or translations also?22:32
shnatselmspencer: just templates if you're not going to modify translations in the branch directly22:33
shnatselmspencer: I think exporting to the same branch worked for me22:33
shnatselI'm not an actual launchpad developer or expert or anything22:33
mspencershnatsel: 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
mspencershnatsel: Here's the translations page for my project: https://translations.launchpad.net/contributor-console22:35
shnatselmspencer: I have to admit I don't understand what your question is22:36
mspencershnatsel: 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:39
shnatselno, I don't think so22:40
shnatselit just indicates to which series the displayed table belongs, I guess22:40
shnatsellet me try translating a few strings into Russian22:40
shnatselmspencer: by the way, the project looks damn cool.22:41
mspencershnatsel: Thanks for your help, glad you like the project. I'm glad I saw the spec on wiki.ubuntu.com to work on!22:44
mspencershnatsel: I see Russian and your translations now. Thanks for helping me understand this stuff and thanks for helping translate!23:05
shnatselmspencer: you're welcome23:06
shnatselmspencer: that's a really neat tool, I hope we'll be able to use it in elementary project someday23:06
shnatselmspencer: 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 one23:07
mspencershnatsel: I'm not that familar with elementary, but maybe my project will be able to be ported to it.23:12
mspencershnatsel: Glimpse looks like a cool idea!23:12
shnatselmspencer: 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
shnatselmspencer: the only really missing thing is a d-bus proxy23:13
shnatselwithout it people can't install anything via software center to start with and that ruins the experience23:13

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