We currently expect charm version info given to
--revision-info to be for stable charms and as
a result we silently ignore any charm that is
not cs:<charm>. This patch displays a message
showing any charms whose version is ingored
and if no versions are found, does not switch
to --use-stable-charms.
The final exit code of this script is non-zero when it's success.
When grep fails (i.e. no unbound variables), it exits immediately
because of -e option. || ensures that grep failure doesn't exit the
script and also explicitly exit with 0. Otherwise, "last command"'s
(= grep) return code will be used for exit code which is non-zero.
While it makes sense to ask confirmation when shutting down
the VMs for a model, powering on does not. This is particularly
annoying when STS is a bit slow and after starting the model
and switch to other tasks, you came back later just to find
that your model still not up.
Bundles that depend on --dvr require a data-port
which results in a user input-request. If
data-port has been set and you re-run generate-bundle
it will ask for a data-port value and default to
empty. This patch allows for any existing charm value
to be re-applied so as not to clobber