FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu Development

LinkBack Thread Tools
Old 07-10-2011, 05:11 PM
Philip Muskovac
Default Script to copy packages from one PPA to another

Since you can't copy more than 2-3 packages at the same time using the
Launchpad UI without getting timeout errors, I wrote a script using
launchpadlib to make that easier, esp. since out package count just
exploded with 4.7. It's called kopypackages and you can find it in the
trunk of lp:kubuntu-dev-tools under bin/.
Feel free to send bugreports or extension wishes to me.

$ ./kopypackages -h
Usage: kopypackages [-h|-n|-q|-c <credfile>] (-a |-p <package> |-b
<batchfile>) ppa:fromPPA from_release ppa:toPPA to_release

-h, --help show this help message and exit
-n, --nobinaries Don't copy binary packages
-q, --quiet Be quiet and don't print anything on success
use the specified credentials file for
with launchpad instead of the keyring
-a, --all Copy all packages in the ppa
-p PKG, --package=PKG
Source package to copy, may be be given multiple
File with source packages to copy (newline seperated

I used it to copy the 4.6.5 packages with
./kopypackages -a ppa:kubuntu-ppa/staging natty ppa:kubuntu-ppa/ppa natty


kubuntu-devel mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Thread Tools

All times are GMT. The time now is 12:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org