build: inform user that packing charm may take time (CRAFT-347)
Metadata
Current evaluation
Merged in charmcraft/charmcraft#428 via commit 0b752d3a, adding per-charm packing notices that name the artifact and warn that packing may take several minutes.
Resolution: closed resolved
Reason: PR #428 was merged as a3560a46. Commit 0b752d3a emits the named charm and expected duration before packing.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Let the user know which charm is being packed and that it may take some
time. Move launched_environment() logic into pack_charm_in_instance()
to have the information required (charm name) prior to launching.
Example output:
```
$ charmcraft pack
Packing charm 'foo_ubuntu-18.04-amd64.charm' which may take several minutes...
Created 'foo_ubuntu-18.04-amd64.charm'.
Packing charm 'foo_ubuntu-20.04-amd64.charm' which may take several minutes...
Created 'foo_ubuntu-20.04-amd64.charm'.
```
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in charmcraft/charmcraft#428 via commit 0b752d3a, adding per-charm packing notices that name the artifact and warn that packing may take several minutes. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged CRAFT-347: charmcraft pack now names each charm before packing and warns that it may take several minutes. | |
| stealth/space-bunny-alpha | — | closed resolved | CRAFT-347 was merged in charmcraft#428 via 0b752d3a, adding a notice showing each charm being packed and warning that it may take several minutes. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation adds progress feedback during charm packing to inform users of duration. Refactored environment logic to retrieve the charm name earlier. Approved by two reviewers and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to improve user feedback during charm packing. The update displays the target charm name and a wait message before packing begins. Refactored launched_environment() logic into pack_charm_in_instance() to access the charm name earlier. Resolves CRAFT-347. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.