Can't search for DistroSeriesDifferences on the webservice API
Bug #766158 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
The objects are accessible if you know their URLs, which was implemented for the AJAX parts of the UI, but there's no generic search function. We should add one!
Related branches
lp:~rvb/launchpad/dsd-api-bug-766158
- Данило Шеган (community): Approve
-
Diff: 378 lines (+180/-22)9 files modifiedlib/canonical/launchpad/interfaces/_schema_circular_imports.py (+14/-0)
lib/lp/registry/browser/tests/test_distroseries_webservice.py (+44/-0)
lib/lp/registry/interfaces/distribution.py (+1/-1)
lib/lp/registry/interfaces/distroseries.py (+41/-0)
lib/lp/registry/interfaces/distroseriesdifference.py (+7/-3)
lib/lp/registry/model/distroseries.py (+15/-0)
lib/lp/registry/model/distroseriesdifference.py (+10/-3)
lib/lp/registry/tests/test_distroseriesdifference.py (+34/-4)
lib/lp/testing/factory.py (+14/-11)
tags: | added: derivation |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: api |
Changed in launchpad: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
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.
An IDistroSeries. getDifferencesT o(parent_ series= None) would be good. parent_series can be specific or left out to get diffs to all parents.