← Back to team overview

linaro-infrastructure-stakeholders team mailing list archive

Re: [proposal] components.linaro.org

 

W dniu 25.01.2011 17:30, James Westby pisze:
On Tue, 25 Jan 2011 16:35:25 +0100, Zygmunt Krynicki<zygmunt.krynicki@xxxxxxxxxx>  wrote:
W dniu 25.01.2011 16:26, James Westby pisze:

What information would you like to mirror?

Description, releases, announcements for a start I think.

Would you like to actually fetch and reupload the release to redmine or simply link there?


Could you please show me some snippets that access this information
using launchpadlib?

from launchpadlib.launchpad import Launchpad

lp = Launchpad.login_with("testing", service_root="production")
lc = lp.projects['launch-control']
print lc.title
print lc.summary
print lc.description
for series in lc.series:
     print series.title
     release = series.releases[0]
     print release.title
     for release_file in release.files:
         print release_file.description

Thanks, let me play with this.

I have found http://code.google.com/p/pyredminews/ that allows to interact with projects and issues and can be easily extended to other things exposed via REST.

I can't see that announcements are currently exported.

How difficult would it be to implement that on lp.net?


Thanks
ZK



Follow ups

References