Skip to content

Commit 977ec1f

Browse files
authored
Merge pull request #643 from fnordahl/issue/642
Add missing stage-package for git on bionic and deprecate the `charm create` command
2 parents 30534c8 + c597eb6 commit 977ec1f

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

charmtools/create.py

+8
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ def main():
8484
level=logging.INFO,
8585
)
8686

87+
log.warning('The `charm create` command is DEPRECATED and will be\n'
88+
'removed in the 3.1 release of charm-tools.\n'
89+
'\n'
90+
'Please refer to the following resources for\n'
91+
'information on creating new charms:\n'
92+
'https://juju.is/docs/sdk/charmcraft-init\n'
93+
'https://juju.is/docs/sdk/ops\n')
94+
8795
if not args.template:
8896
log.info(
8997
"Using default charm template (%s). To select a different "

helpers/snap-wrappers/charm

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tools for building reactive charms
1818
1919
commands:
2020
build - build a charm from layers and interfaces.
21-
create - create a new charm.
21+
create - (DEPRECATED) create a new charm.
2222
help - Show help on a command or other topic.
2323
layers - inspect the layers of a built charm.
2424
proof - perform static analysis on a charm or bundle.

snap/snapcraft.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ parts:
3838
# in the libc6 package. The libc6 package contains absolute symlinks
3939
# pointing at /, which is not allowed in a core22 classic snap.
4040
stage-packages:
41+
- libbrotli1
4142
- git-core
4243
- libpython3.10
4344
- libpython3.10-minimal

0 commit comments

Comments
 (0)