Merge lp:~brian-murray/errors/search-by-sourcepackage into lp:errors
Proposed by
Brian Murray
Status: | Merged |
---|---|
Merged at revision: | 243 |
Proposed branch: | lp:~brian-murray/errors/search-by-sourcepackage |
Merge into: | lp:errors |
Diff against target: |
300 lines (+118/-60) 3 files modified
api/resources.py (+51/-37) launchpad.py (+66/-22) static/js/most_common_problems.js (+1/-1) |
To merge this branch: | bzr merge lp:~brian-murray/errors/search-by-sourcepackage |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Evan (community) | Approve | ||
Review via email: mp+140306@code.launchpad.net |
Description of the change
I've set it up so that a check is made to see if package is a source package and if it is then the binary packages making up that source package are found which are then used to find problems pertaining to all of those packages. I tested this in juju and it worked well.
I also did some python cleanup of the launchpad.py code.
The thing most needing review is the change to json_request in launchpad.py. I changed it so that now in the event of a KeyError the result of json.loads(content) is returned. This was necessary as 'ubuntu/
To post a comment you must log in.
I also wonder if it might be a good idea to modify the 'Package' column label in the most common problems table to be 'Binary Package'.