← Back to issue list

Deprecate the `build` command

View original Github issue

Metadata

Project
charmcraft
Number
#664
Type
issue
State
closed
Author
facundobatista
Labels
—
Created
Updated
Closed

Current evaluation

Charmcraft 1.5 deprecated `build` through merged PR #683 (commit ae230370), adding a notice directing users to `pack`.

Resolution: closed resolved

Reason: PR #683 merged the deprecation warning in commit ae230370. Maintainer facundobatista subsequently confirmed that `build` was deprecated in v1.5.

Evaluated by: mr-cal-bot

No scores available.

Issue body

We have `pack` for a lot of time now. It's time to officially add a deprecation notice when `build` is used.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Charmcraft 1.5 deprecated `build` through merged PR #683 (commit ae230370), adding a notice directing users to `pack`.
stealth/space-bunny-alpha — closed resolved Deprecated the `charmcraft build` command in v1.5 via merged PR #683 (commit 98e78a1c), directing users to `pack`; it was later removed by PR #798.
stealth/space-bunny-alpha — closed resolved Deprecated `charmcraft build` in v1.5 via merged PR #683 (commit ae230370), adding a notice to use `pack` instead.
stealth/space-bunny-alpha — closed resolved Charmcraft 1.5 deprecated the legacy build command in favor of pack through merged PR #683 (commit ae230370).
stealth/space-bunny-alpha — closed resolved Deprecated the `build` command with a notice directing users to `pack`; merged in PR #683 (commit ae230370) and released in Charmcraft 1.5.
stealth/space-bunny-alpha — closed resolved Deprecated `charmcraft build` in v1.5 via merged PR #683 (commit 98e78a1c, CRAFT-768), which printed a notice pointing users to `pack`. Maintainer facundobatista confirmed this in the closing comment.
stealth/space-bunny-alpha — closed resolved Build was deprecated in Charmcraft 1.5 by merged PR #683 (commit ae230370), which added a notice directing users to pack; the maintainer confirmed its release in the closing comment.
qwen3.6-35b-a3b-mtp-q6 — — The build command was deprecated in v1.5. Maintainers rejected repurposing it for faster local development, noting it will serve a different purpose later. Future speed improvements will target the pack command instead.
qwen/qwen3.6-35b-a3b — — The build command was officially deprecated in v1.5. Maintainers rejected proposals to repurpose it as a faster developer tool, opting instead to improve the pack command's speed.
qwen3.6-35b-a3b-mtp-q6 — — The build command was deprecated in v1.5. Maintainers rejected repurposing it as a rapid developer build mode, citing future semantic conflicts and plans to optimize pack speed instead.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/charmcraft#683 (confidence 100%)

    Merged PR implementing the requested deprecation warning for `build`.

  • Related To: canonical/charmcraft#798 (confidence 98%)

    Later merged removal of the long-deprecated `build` command.

Related issues

Issue Project State Summary Similarity
#720 `charmcraft --help` still mentions `build` that is deprecated charmcraft closed Fixed in canonical/charmcraft#739 (commit 1a461c39): removed deprecated build from top-level help and promoted pack as the standard build command.
80%
#683 Issue a deprecation notice when using the 'build' command (CRAFT-768). charmcraft merged Merged #683, adding a deprecation notice when users invoke the build command (CRAFT-768).
77%
#817 docs(README): Replace obsoleted build command charmcraft merged Merged PR #817 updated the README to use charmcraft pack instead of the removed charmcraft build command for Charmcraft 2.0.0.
75%
#739 Hide the 'build' command and make 'pack' the common one (CRAFT-938). charmcraft merged Merged PR #739 as commit 1a461c39, hiding deprecated build from help and promoting pack as the standard command; it fixes #720 (CRAFT-938).
74%
#798 Removed the long time deprecated 'build' command (CRAFT-1109). charmcraft merged Merged PR #798 (commit 2da73fb8) removed the long-deprecated build command; pack absorbed bases_index validation and redundant validator arguments.
72%