← Back to issue list

Update snap install command to include --classic

View original Github issue

Metadata

Project
charmcraft
Number
#805
Type
pull request
State
closed
Author
NucciTheBoss
Labels
Created
Updated
Closed

Current evaluation

Closed and abandoned by author to reauthor commit for CLA compliance. The PR updates the snap install command to include the required --classic flag and was approved. Not merged.

Suggested action:

No scores available.

Issue body

Very basic pull request focused on updating the `snap install ...` command for charmcraft in the main README of this repository. ### The problem The snap install command is originally written as `sudo snap install charmcraft`, however, if you look in the Snap Store, you see that the charmcraft snap has `--classic` confinement. This means that the `--classic` flag needs to included when you install charmcraft using snap. The absence of the `--classic` flag is made evident when you go to install charmcraft as it throws an error if you use the original command: ``` $ sudo snap install charmcraft error: This revision of snap "charmcraft" was published using classic confinement and thus may perform arbitrary system changes outside of the security sandbox that snaps are usually confined to, which may put your system at risk. If you understand and want to proceed repeat the command including --classic. ``` ### The fix Update the snap install command to include `--classic` so that the install is successful and does not throw an error about confinement. This will hopefully be beneficial to new charmers who are not familiar with snap confinement, and are working off of this repository to install charmcraft on their system.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed and abandoned by author to reauthor commit for CLA compliance. The PR updates the snap install command to include the required --classic flag and was approved. Not merged.
qwen3.6-35b-a3b-mtp-q6 Closed by author to reauthor commit and resolve CLA check failure. The --classic flag update was not merged and requires resubmission.
qwen3.6-35b-a3b-mtp-q6 Closed and abandoned by the author to reauthor the commit and pass a failing CLA check. The update adds the missing --classic flag to the snap install command in the README. Not merged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#813 Update snap install to use --classic charmcraft merged Merged a one-line update to the snap install command, adding the --classic flag. The change was a reauthored version of #805 to satisfy the CLA check. Approved by one reviewer with no unresolved comments.
89%