diff --git a/charmtools/create.py b/charmtools/create.py index 1c0874f..3e0ca3a 100755 --- a/charmtools/create.py +++ b/charmtools/create.py @@ -84,6 +84,14 @@ def main(): level=logging.INFO, ) + log.warning('The `charm create` command is DEPRECATED and will be\n' + 'removed in the 3.1 release of charm-tools.\n' + '\n' + 'Please refer to the following resources for\n' + 'information on creating new charms:\n' + 'https://juju.is/docs/sdk/charmcraft-init\n' + 'https://juju.is/docs/sdk/ops\n') + if not args.template: log.info( "Using default charm template (%s). To select a different " diff --git a/helpers/snap-wrappers/charm b/helpers/snap-wrappers/charm index 423b52e..a3477ce 100755 --- a/helpers/snap-wrappers/charm +++ b/helpers/snap-wrappers/charm @@ -18,7 +18,7 @@ tools for building reactive charms commands: build - build a charm from layers and interfaces. - create - create a new charm. + create - (DEPRECATED) create a new charm. help - Show help on a command or other topic. layers - inspect the layers of a built charm. proof - perform static analysis on a charm or bundle. diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6349cd3..a00a705 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -38,6 +38,7 @@ parts: # in the libc6 package. The libc6 package contains absolute symlinks # pointing at /, which is not allowed in a core22 classic snap. stage-packages: + - libbrotli1 - git-core - libpython3.10 - libpython3.10-minimal