SilverWav's Journal

The best is yet to come…

Note: Using the launchpad API for copying

leave a comment »

Saved for reference.

Celso Providelo said on 2009-03-20:

It will probably get too boring, at this point you might consider writing a script using the launchpad API for copying your stuff. Check the API guide at https://help.launchpad.net/API and try something along these lines:

{{{
    from_archive = launchpad.me.archive
    to_archive = launchpad.people['kde3-maintainers'].archive
    sources_to_be_copied = ['x', 'y', 'z']
    print to_archive.syncSources(
        source_names=sources_to_be_copied,
        from_archive=from_archive,
        to_pocket='release',
        to_series=None,
        include_binaries=True,
        )
}}}
Advertisements

Written by SilverWav

April 28, 2010 at 2:52 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: