charm names/ids need to handle remote repositories
Bug #857016 reported by
William Reade
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
William Reade |
Bug Description
when "juju deploy CHARM"ing, we need more interesting ways to specify CHARM.
"local:series/name" should look in a local repo specified by --repository
"local:name" should insert a series based on the environment default
"cs:series/name" should look in the remote charm store
"cs:name" should insert series as for local
"series/name" should assume a cs: prefix
"name" as above again
As part of this, local repositories need to have intermediate series directories.
Related branches
lp://staging/~fwereade/pyjuju/resolve-formula-names
- Gustavo Niemeyer: Approve
-
Diff: 2698 lines (+824/-456)44 files modifiedexamples/readme.txt (+2/-2)
juju/agents/tests/test_machine.py (+10/-9)
juju/agents/tests/test_unit.py (+6/-5)
juju/charm/config.py (+0/-1)
juju/charm/errors.py (+5/-7)
juju/charm/metadata.py (+2/-47)
juju/charm/provider.py (+3/-4)
juju/charm/publisher.py (+13/-16)
juju/charm/repository.py (+49/-7)
juju/charm/tests/__init__.py (+3/-0)
juju/charm/tests/repository/series/mysql-alternative/metadata.yaml (+1/-1)
juju/charm/tests/repository/series/varnish-alternative/metadata.yaml (+1/-1)
juju/charm/tests/test_bundle.py (+4/-3)
juju/charm/tests/test_config.py (+0/-2)
juju/charm/tests/test_directory.py (+1/-2)
juju/charm/tests/test_errors.py (+4/-4)
juju/charm/tests/test_metadata.py (+7/-41)
juju/charm/tests/test_provider.py (+3/-3)
juju/charm/tests/test_publisher.py (+33/-33)
juju/charm/tests/test_repository.py (+112/-26)
juju/charm/tests/test_url.py (+131/-0)
juju/charm/url.py (+144/-0)
juju/control/deploy.py (+22/-9)
juju/control/tests/test_add_relation.py (+4/-4)
juju/control/tests/test_debug_hooks.py (+2/-1)
juju/control/tests/test_deploy.py (+67/-60)
juju/control/tests/test_remove_relation.py (+2/-2)
juju/control/tests/test_status.py (+18/-17)
juju/control/tests/test_upgrade_charm.py (+17/-10)
juju/control/upgrade_charm.py (+17/-14)
juju/environment/environment.py (+5/-0)
juju/hooks/protocol.py (+2/-0)
juju/hooks/tests/test_invoker.py (+1/-1)
juju/lib/tests/test_under.py (+29/-0)
juju/lib/under.py (+12/-0)
juju/machine/tests/test_unit_deployment.py (+2/-2)
juju/state/charm.py (+26/-40)
juju/state/service.py (+3/-4)
juju/state/tests/test_charm.py (+24/-25)
juju/state/tests/test_machine.py (+3/-3)
juju/state/tests/test_relation.py (+3/-18)
juju/state/tests/test_service.py (+17/-16)
juju/unit/charm.py (+2/-2)
juju/unit/tests/test_charm.py (+12/-14)
Changed in juju: | |
status: | New → In Progress |
milestone: | none → eureka |
assignee: | nobody → William Reade (fwereade) |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.