Merge lp:~abentley/charmworld/use-latest-charm into lp:~juju-jitsu/charmworld/trunk
Proposed by
Aaron Bentley
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Aaron Bentley | ||||||||||||
Approved revision: | 376 | ||||||||||||
Merged at revision: | 377 | ||||||||||||
Proposed branch: | lp:~abentley/charmworld/use-latest-charm | ||||||||||||
Merge into: | lp:~juju-jitsu/charmworld/trunk | ||||||||||||
Diff against target: |
111 lines (+41/-4) 5 files modified
charmworld/testing/factory.py (+1/-1) charmworld/views/api.py (+2/-2) charmworld/views/charms.py (+2/-1) charmworld/views/tests/test_api.py (+20/-0) charmworld/views/tests/test_charms.py (+16/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~abentley/charmworld/use-latest-charm | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+183661@code.launchpad.net |
Commit message
Ensure latest version of charm is shown.
Description of the change
On API 2, on the old JSON API and on charm pages, the latest version of the charm was not being selected. (Bugs 1219061, 1219062, 1219064). This branch fixes it by sorting by revision.
To post a comment you must log in.
Thank you.