The issue here is that we're using the value of --series for two distinct things:
- The charm revision to pull from Charmhub
- The platform to use for the new machine
Currently there is no way to supply different values for these two "series". Maybe we could have a --cross-series flag that allows this. e.g.
juju deploy foo --cross-series jammy:kinetic
will pull the jammy version of the charm "foo", but spin up a kinetic machine and deploy "foo" to it. Naturally --cross-series would imply --force (or at least disable the series checks).
The issue here is that we're using the value of --series for two distinct things:
- The charm revision to pull from Charmhub
- The platform to use for the new machine
Currently there is no way to supply different values for these two "series". Maybe we could have a --cross-series flag that allows this. e.g.
juju deploy foo --cross-series jammy:kinetic
will pull the jammy version of the charm "foo", but spin up a kinetic machine and deploy "foo" to it. Naturally --cross-series would imply --force (or at least disable the series checks).