add support for --destructive-mode
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Implemented. Added --destructive-mode CLI flag and SNAPCRAFT_BUILD_ENVIRONMENT=host variable to allow building directly on the host machine instead of using Multipass.
Suggested action: —
No scores available.
Issue body
This will allow you to use your current host as the environment to build on (overriding the default bound to be set to use multipass).
This is achieved by adding --destructive-mode to the cli arguments or setting the SNAPCRAFT_BUILD_ENVIRONMENT environment variable to "host".
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Implemented. Added --destructive-mode CLI flag and SNAPCRAFT_BUILD_ENVIRONMENT=host variable to allow building directly on the host machine instead of using Multipass. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented and closed. The --destructive-mode flag and SNAPCRAFT_BUILD_ENVIRONMENT=host variable were added to allow host-based builds instead of Multipass. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as implemented. Added --destructive-mode CLI flag and SNAPCRAFT_BUILD_ENVIRONMENT=host support to bypass multipass and build directly on the host machine. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #227 cli: add --destructive-mode flag | rockcraft | merged | 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. | |
| #441 commands/pack: add --destructive-mode support (CRAFT-358) | charmcraft | merged | Merged after approval. Adds --destructive-mode to the pack command, updating Builder.run() for consistent destructive builds. Includes a reusable project builder fixture and refactors packaging logic. | |
| #1827191 --destructive-mode is not available in `snapcraft clean` | snapcraft (launchpad) | closed | Closed without resolution. The snapcraft clean command lacks --destructive-mode support; users are advised to use SNAPCRAFT_BUILD_ENVIRONMENT=host as a workaround. |