Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from launchpadlib.launchpad import Launchpad
- launchpad = Launchpad.login_with('hello-world', 'production')
- print launchpad.branches.getByUrl(url="lp:pantheon-terminal")
- print launchpad.branches.getByUrl(url="lp:pantheon-terminal").recipes_collection_link #gives a collection of recipes for this branch
- # IDK how to access individual recipes though
- # the reference for source_package_recipe class is at https://launchpad.net/+apidoc/1.0.html#source_package_recipe
- # 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