juju / charm-tools

Tools for charm authors and maintainers
Other
42 stars 64 forks source link

Add missing stage-package for git on bionic and deprecate the `charm create` command #643

Closed fnordahl closed 1 year ago

fnordahl commented 1 year ago

Please review commit by commit.

fnordahl commented 1 year ago

For ease of review I have included what the output would look like on command execution here:

root@ctb:~# snap install --dangerous --classic /tmp/charm_3.0.3_amd64.snap 
charm 3.0.3 installed
root@ctb:~# charm create test
WARNING: The `charm create` command is DEPRECATED and will be
removed in the 3.1 release of charm-tools.

Please refer to the following resources for
information on creating new charms:
https://juju.is/docs/sdk/charmcraft-init
https://juju.is/docs/sdk/ops

INFO: Using default charm template (reactive-python). To select a different template, use the -t option.
INFO: Generating charm for test in ./test
INFO: No test in apt cache; creating an empty charm instead.
Cloning into '/tmp/tmpu36iu9nd'...
remote: Enumerating objects: 32, done.
remote: Total 32 (delta 0), reused 0 (delta 0), pack-reused 32
Receiving objects: 100% (32/32), 8.48 KiB | 789.00 KiB/s, done.
Resolving deltas: 100% (8/8), done.
root@ctb:~# exit