← Back to issue list

cli: ignore sudo warning when using multipass

View original Github issue

Metadata

Project
snapcraft
Number
#3275
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged a pull request that updates the CLI to ignore sudo warnings when using multipass. The change (+8/-2 lines in one file) was approved by one reviewer, passed CI checks, and successfully integrated into the main branch.

Suggested action:

No scores available.

Issue body

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a pull request that updates the CLI to ignore sudo warnings when using multipass. The change (+8/-2 lines in one file) was approved by one reviewer, passed CI checks, and successfully integrated into the main branch.
qwen3.6-35b-a3b-mtp-q6 Merged a CLI update to suppress the sudo warning when Multipass is used. Authored by maintainer sergiusens, the change was integrated directly into the codebase without additional review comments.
qwen3.6-35b-a3b-mtp-q6 Merged CLI updates to suppress sudo warnings when using the multipass backend. Authored by maintainer sergiusens, the change was integrated directly into the codebase with no additional comments or revisions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3240 cli: only issue warning when checking for usage of sudo snapcraft merged Merged a maintainer pull request that updates the CLI to only issue a warning when checking for sudo usage. Approved by one reviewer, the change modifies four files and reduces the codebase by 38 lines.
78%
#3150 cli: error/warn when using sudo snapcraft merged Merged PR #3150 into master. Adds CLI checks to error on sudo for LXD, Multipass, and remote-build, while warning host and destructive-mode users. Updates spread tests to prevent permission errors.
75%
#2961 build providers: remove over use of -i in sudo snapcraft merged Merged changes removing unnecessary -i flags from sudo commands in build providers. This resolves an ioctl warning in Multipass when stdin is set to DEVNULL. Approved by one reviewer, passed CI, and modified four files.
73%