Advertisement
Shnatsel

launchpadlib script (incomplete)

Jan 24th, 2013
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from launchpadlib.launchpad import Launchpad
  2. launchpad = Launchpad.login_with('hello-world', 'production')
  3. print launchpad.branches.getByUrl(url="lp:pantheon-terminal")
  4. print launchpad.branches.getByUrl(url="lp:pantheon-terminal").recipes_collection_link #gives a collection of recipes for this branch
  5. # IDK how to access individual recipes though
  6. # the reference for source_package_recipe class is at https://launchpad.net/+apidoc/1.0.html#source_package_recipe
  7. # You'll have to check .daily_build_archive_link for each, and if it points to elementary daily PPA, print the .recipe_text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement