Merge lp://staging/~gary/juju-gui/simplifycharmstore into lp://staging/juju-gui/experimental
Proposed by
Gary Poster
Status: | Merged |
---|---|
Merged at revision: | 206 |
Proposed branch: | lp://staging/~gary/juju-gui/simplifycharmstore |
Merge into: | lp://staging/juju-gui/experimental |
Diff against target: |
1329 lines (+365/-462) 14 files modified
app/app.js (+2/-1) app/models/charm.js (+172/-259) app/modules.js (+3/-1) app/store/charm.js (+31/-51) app/templates/charm-search-result.handlebars (+3/-6) app/views/charm-search.js (+31/-15) test/data/search_results.json (+16/-9) test/data/series_search_results.json (+7/-2) test/test_app.js (+1/-1) test/test_charm_configuration.js (+2/-2) test/test_charm_search.js (+4/-4) test/test_charm_store.js (+17/-14) test/test_model.js (+74/-95) test/test_service_view.js (+2/-2) |
To merge this branch: | bzr merge lp://staging/~gary/juju-gui/simplifycharmstore |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email:
|
Description of the change
change charm store data structures
This change is hopefully the last round of changes, at least for a long while, to the underlying charm store infrastructure. It is more deletes than additions, and changes the code to take advantage of the changes Kapil made to the charm store.
The sorting code is simplified yet again.
To post a comment you must log in.
Reviewers: mp+131086_ code.launchpad. net,
Message:
Please take a look.
Description:
Last change round of charm store data structures
This change is hopefully the last round of changes, at least for a long
while, to the underlying charm store infrastructure. It is more deletes
than additions, and changes the code to take advantage of the changes
Kapil made to the charm store.
I made some decisions as to how to factor some of these things and would
be happy to describe my rationale for changes if desired. I'm thinking
particularly of the immediate creation of charm objects as search
results. That allowed for some simplifications and I think is mostly a
win.
The sorting code is simplified yet again.
Thanks
Gary
https:/ /code.launchpad .net/~gary/ juju-gui/ simplifycharmst ore/+merge/ 131086
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6733067/
Affected files: charm-search- result. handlebars charm-search. js search_ results. json series_ search_ results. json charm_configura tion.js charm_search. js charm_store. js service_ view.js
A [revision details]
M app/app.js
M app/models/charm.js
M app/modules.js
M app/store/charm.js
M app/templates/
M app/views/
M test/data/
M test/data/
M test/test_app.js
M test/test_
M test/test_
M test/test_
M test/test_model.js
M test/test_