Hey all,
I am currently looking into how to publish a charm which was namespaced on the old Charm Store but now gets imported and handled entirely by Charmhub.
For example I have a charm currently accessible in the Charm store as cs:~foo/bar
. It is reflected as foo-bar
on the Charmhub after the import.
As soon as the charm store switches to read-only mode updates to the charm have to be done via charmcraft upload
. Currently the charm has recorded name: bar
in its metadata.yaml
but to allow charmcraft
to upload it it must be changed to name: foo-bar
(charmcraft pulls the name of the charm to upload to from metadata.yaml
in the .charm
file, see here)
Is that expected and the recommended way on how to update charms formerly only available on the charm store?
If yes, are there any other issues expected given that the charm now internally has a different name than what existing deployments have recorded in the Juju model based on them being deployed from the charm store with the old name?
Thanks!
Simon