<div dir="ltr">What does this do:<div><br></div><div style>1) juju deploy --repository ~/charms mycharm</div><div style><br></div><div style>What about this:</div><div style><br></div><div style>2) juju deploy local:mycharm</div>
<div style><br></div><div style>Or:</div><div style><br></div><div style>3) juju deploy --repository ~/charms cs:mycharm</div><div style><br></div><div style><br></div><div style>I think these are all invalid command line combinations and should error out instead of doing the surprising thing:</div>
<div style>1) will deploy mycharm from the charm store (bit me a few times)</div><div style>2) I don't know, charm store?</div><div style>3) charm store I guess?</div><div style><br></div><div style>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.</div>
<div style><br></div><div style>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:</div>
<div style><br></div><div style> "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.</div><div style>
<br></div><div style>See above for 3 examples of what I think are such invalid combinations.</div><div style><br></div></div>