charm-store should be able to map "foo" into "cs:precise/foo"
Bug #1290828 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Casey Marshall |
Bug Description
This is the server side of bug #1290824
We want to allow charms to select the "best" series for, eg "mysql". We will change the juju client to make requests for something like "cs:foo" and the charm-store should map that into whatever the best one is (eg cs:precise/foo or cs:trusty/foo).
In the initial implementation, this can just be "always map to precise", but we need to make sure the client can make the request.
Related branches
lp:~cmars/juju-core/no-default-series
- Juju Engineering: Pending requested
-
Diff: 973 lines (+343/-137)15 files modifiedcharm/charm.go (+1/-1)
charm/repo.go (+46/-9)
charm/repo_test.go (+2/-2)
charm/testing/mockstore.go (+15/-2)
charm/url.go (+100/-47)
charm/url_test.go (+88/-34)
cmd/juju/bootstrap_test.go (+2/-2)
environs/jujutest/livetests.go (+1/-1)
juju/conn_test.go (+7/-5)
state/apiserver/charms.go (+6/-4)
state/apiserver/client/client_test.go (+14/-9)
store/lpad.go (+4/-1)
store/server.go (+21/-3)
store/server_test.go (+14/-10)
testing/charm.go (+22/-7)
Changed in juju-core: | |
assignee: | nobody → Casey Marshall (cmars) |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 1.18.0 → 1.17.6 |
Changed in juju-core: | |
milestone: | 1.17.6 → 1.18.0 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
milestone: | 1.18.0 → 1.17.7 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.