← Back to issue list

Snapcraft 7 inconsistent CLI options handling

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1980515
Type
issue
State
closed
Author
~farshidtz
Labels
launchpad snap snapcraft
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution due to inactivity. The inconsistent CLI option handling across different snap bases in Snapcraft 7 remains unaddressed.

Suggested action:

No scores available.

Issue body

The snapcraft 7 command options differ depending on the snap's base. The command help shows options that work only if the snap base is core22. This is particularly an issue in reusable CI workflows when the snap base isn't fixed. Snapcraft 7 + core22 doesn't print the build errors to standard output/err but rather to a file which isn't always accessible (e.g. when building snaps on Launchpad). Setting the verbose flag will work when core22 is used but results in an error and non-zero exit code otherwise. $ snapcraft --version snapcraft 7.0.8 $ snapcraft --help Usage:     snapcraft [help] <command> Summary: Package, distribute, and update snaps for Linux and IoT Global options:                        -h, --help: Show this help message and exit                     -v, --verbose: Show debug information and be more                                     verbose                       -q, --quiet: Only show warnings and errors, not                                     progress                       -t, --trace: Show all information needed to trace                                     internal behaviour                     -V, --version: Show the application version and                                     exit ... $ snapcraft --verbose ... Try 'snapcraft -h' for help. Error: No such option: --verbose Did you mean --version? $ yq ".base" snap/snapcraft.yaml core20

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. The inconsistent CLI option handling across different snap bases in Snapcraft 7 remains unaddressed.
qwen/qwen3.6-35b-a3b Closed without resolution. The inconsistent CLI option handling across snap bases in Snapcraft 7 remains unresolved, causing CI workflow failures.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. Snapcraft 7 CLI options varied by base, causing CI failures. No fix was implemented, suggesting the issue was abandoned or superseded by newer versions.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.