← Back to issue list

cli: add --destructive-mode flag

View original Github issue

Metadata

Project
rockcraft
Number
#227
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #227 as commit 84f76b85, adding --destructive-mode so ROCKs can be built directly on the host, matching Snapcraft and Charmcraft.

Resolution: closed resolved

Reason: PR #227 was approved and merged as commit 84f76b85 (cli: add --destructive-mode flag (#227)), implementing host-side destructive builds.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Just like in Snapcraft or Charmcraft, this flag builds the ROCK on the host. - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #227 as commit 84f76b85, adding --destructive-mode so ROCKs can be built directly on the host, matching Snapcraft and Charmcraft.
stealth/space-bunny-alpha — closed resolved Merged rockcraft#227, adding --destructive-mode to enable building ROCKs directly on the host, consistent with Snapcraft and Charmcraft.
qwen/qwen3.6-35b-a3b — — Merged the addition of a --destructive-mode CLI flag enabling direct host-based ROCK builds, similar to Snapcraft and Charmcraft. Approved by two reviewers, modifying six files with 104 additions and 8 deletions.
qwen3.6-35b-a3b-mtp-q6 — — Merged the addition of a --destructive-mode flag to the CLI, enabling direct host-based ROCK builds similar to Snapcraft and Charmcraft.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#57 Add "destructive" mode craft-application closed Added support for --destructive-mode in commit c0dd21a3, delivering the requested in-host build feature parity.
77%
#2577 cli: Add --destructive-mode to clean snapcraft merged Merged in snapcraft#2577 via commit 2d661c723, adding --destructive-mode support to clean so wrapper scripts can pass it to lifecycle commands.
75%
#93 feat: support "--destructive-mode". craft-application merged Merged PR #93 (commit c0dd21a3) added --destructive-mode support to all lifecycle commands, including pack and clean, closing issue #57; maintainer confirmed it also re-enabled a disabled rockcraft spread test.
75%
#1827191 --destructive-mode is not available in `snapcraft clean` snapcraft (launchpad) closed Added --destructive-mode support to snapcraft clean in snapcore/snapcraft PR #2577, enabling host-side project artifact cleanup.
74%
#1791201 add support for --destructive-mode snapcraft (launchpad) closed Host builds via --destructive-mode landed in merged PR canonical/snapcraft#2339 (commit 024c63453), making Multipass default while retaining host builds.
72%
#93 commands: add clean command rockcraft merged Merged as c4502a7a via PR #93, adding the rockcraft clean command scaffold with TODO paths for part, destructive-mode, and provider cleanup.
70%