Skip to content

Commit

Permalink
Merge pull request #643 from fnordahl/issue/642
Browse files Browse the repository at this point in the history
Add missing stage-package for git on bionic and deprecate the `charm create` command
  • Loading branch information
fnordahl authored Oct 9, 2022
2 parents 30534c8 + c597eb6 commit 977ec1f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions charmtools/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
2 changes: 1 addition & 1 deletion helpers/snap-wrappers/charm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 977ec1f

Please sign in to comment.