Merge lp:~abentley/charmworld/hide-same-series into lp:~juju-jitsu/charmworld/trunk
Proposed by
Aaron Bentley
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Curtis Hovey | ||||
Approved revision: | 256 | ||||
Merged at revision: | 250 | ||||
Proposed branch: | lp:~abentley/charmworld/hide-same-series | ||||
Merge into: | lp:~juju-jitsu/charmworld/trunk | ||||
Diff against target: |
206 lines (+83/-16) 5 files modified
Makefile (+1/-1) charmworld/search.py (+14/-1) charmworld/tests/test_search.py (+25/-0) charmworld/views/api.py (+12/-11) charmworld/views/tests/test_api.py (+31/-3) |
||||
To merge this branch: | bzr merge lp:~abentley/charmworld/hide-same-series | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+168167@code.launchpad.net |
Commit message
Exclude related charms from different series.
Description of the change
It is confusing to show charms from a different series as "related", because it's very unusual to deploy charms from different series. This branch suppresses such results in the "related" endpoint (API 2).
As a driveby, it tweaks the "make test" command to suppress urllib and pyelasticsearch logs, making most debugging easier.
As another driveby, it moves API2._filter_
To post a comment you must log in.
Thank you.