web API call for listing recipes
Bug #712329 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Ian Booth |
Bug Description
At the moment it is only possible to find a recipe using the web service API if you know it's name - using person.getRecipe.
It would be useful if it was also possible to access recipes without knowing their name - e.g. to find all recipes for a particular person or team. In other words, if IHasRecipes.
Related branches
lp:~wallyworld/launchpad/recipe-webservice-api
- Leonard Richardson (community): Approve
-
Diff: 758 lines (+201/-99)20 files modifiedlib/canonical/launchpad/interfaces/_schema_circular_imports.py (+17/-0)
lib/lp/code/browser/branch.py (+1/-1)
lib/lp/code/browser/sourcepackagerecipe.py (+3/-3)
lib/lp/code/browser/sourcepackagerecipelisting.py (+2/-2)
lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+13/-11)
lib/lp/code/interfaces/hasrecipes.py (+12/-3)
lib/lp/code/interfaces/sourcepackagerecipe.py (+34/-9)
lib/lp/code/model/branch.py (+3/-2)
lib/lp/code/model/sourcepackagerecipe.py (+36/-19)
lib/lp/code/model/tests/test_hasrecipes.py (+9/-15)
lib/lp/code/model/tests/test_sourcepackagerecipe.py (+50/-14)
lib/lp/code/scripts/tests/test_request_daily_builds.py (+5/-11)
lib/lp/code/stories/webservice/xx-branch.txt (+2/-1)
lib/lp/code/templates/sourcepackagerecipe-listing.pt (+1/-1)
lib/lp/codehosting/scanner/bzrsync.py (+1/-1)
lib/lp/registry/model/person.py (+4/-3)
lib/lp/registry/model/product.py (+2/-1)
lib/lp/registry/stories/webservice/xx-person.txt (+2/-0)
lib/lp/registry/stories/webservice/xx-project-registry.txt (+2/-0)
lib/lp/registry/tests/test_person.py (+2/-2)
Changed in launchpad: | |
importance: | Medium → High |
Changed in launchpad: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r12459 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12459>.