Skip to content

Instantly share code, notes, and snippets.

@Yofel
Last active May 2, 2016 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yofel/c4c6ca5270ea1e8c4b8f69a0ec2b8769 to your computer and use it in GitHub Desktop.
Save Yofel/c4c6ca5270ea1e8c4b8f69a0ec2b8769 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
from launchpadlib.launchpad import Launchpad
lp = Launchpad.login_with("kubuntu-dev-tools", "production", version="devel")
packagers = lp.people['kubuntu-packagers']
packaging = lp.projects['kubuntu-packaging']
for repo in lp.git_repositories.getRepositories(target=packagers):
if repo.name is not 'kubuntu-automation':
#print(repo.name)
repo.target = packaging
repo.lp_save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment