← Back to issue list

cli: Add --destructive-mode to clean

View original Github issue

Metadata

Project
snapcraft
Number
#2577
Type
pull request
State
merged
Author
sparkiegeek
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Allow wrapper scripts to pass --destructive-mode to lifecycle commands Fixes https://bugs.launchpad.net/snapcraft/+bug/1827191 - [ :x: ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ :ballot_box_with_check: ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ :x: ] Have you successfully run `./runtests.sh static`? - [ :x: ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Added --destructive-mode flag to the clean CLI command, enabling wrapper scripts to pass it to lifecycle commands. Merged into master after approval and 100% diff coverage, resolving Launchpad bug 1827191.
qwen3.6-35b-a3b-mtp-q6 Merged into master, adding the --destructive-mode flag to the clean CLI command. This enables wrapper scripts to pass the flag to lifecycle commands, resolving Launchpad bug 1827191. Approved with 100% diff coverage.

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.
74%
#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.
72%