cli: add --destructive-mode flag
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added --destructive-mode flag to the CLI, enabling host-based ROCK builds similar to Snapcraft and Charmcraft. The change was merged without comments. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #93 feat: support "--destructive-mode". | craft-application | merged | Merged. Implements --destructive-mode across all lifecycle commands, fixing issue #57 and a disabled rockcraft spread test. Approved by two reviewers, passed CI with 100% diff coverage, and changed three files. | |
| #1791201 add support for --destructive-mode | snapcraft (launchpad) | closed | Implemented. Added --destructive-mode CLI flag and SNAPCRAFT_BUILD_ENVIRONMENT=host variable to allow building directly on the host machine instead of using Multipass. | |
| #2577 cli: Add --destructive-mode to clean | snapcraft | merged | Merged into master, adding --destructive-mode to the clean CLI command to allow wrapper scripts to pass the flag to lifecycle commands. Approved by two reviewers, the change was merged with 100% diff coverage and a 0.02% overall coverage increase. |