Confusion around --repository and charm name prefix
Andreas Hasenack
andreas at canonical.com
Fri Jun 7 13:55:14 UTC 2013
What does this do:
1) juju deploy --repository ~/charms mycharm
What about this:
2) juju deploy local:mycharm
Or:
3) juju deploy --repository ~/charms cs:mycharm
I think these are all invalid command line combinations and should error
out instead of doing the surprising thing:
1) will deploy mycharm from the charm store (bit me a few times)
2) I don't know, charm store?
3) charm store I guess?
I don't know what's the background story behind --repository and charm name
prefixes, but it seems they could mean the same thing, and yet be used in
contradictory ways.
I'm almost proposing to get rid of --repository and use bzr-like "urls"
only (which can be local paths), but as I said, I don't know the full
story, so at first what I'm proposing is:
"make invalid combinations of --repository and charm name (qualified with
a URI or not), er, invalid." In other words, juju should not run the
command as supplied.
See above for 3 examples of what I think are such invalid combinations.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20130607/10e66f8d/attachment.html>
More information about the Juju-dev
mailing list