SHOW:
|
|
- or go back to the newest paste.
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 |
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 |