cli: enable config file for base snapcraft command
Metadata
Current evaluation
Merged a single-line update enabling config file parsing for the base snapcraft command. The change extends existing lifecycle configuration support to the main entry point, approved by maintainers and passing all CI checks.
Suggested action: —
No scores available.
Issue body
If using the lifecycle commands, the config file is read. This
commit also extends it to the base `snapcraft` command, which runs
the snap lifecycle command.
Signed-off-by: Chris Patterson <chris.patterson@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 single-line update enabling config file parsing for the base snapcraft command. The change extends existing lifecycle configuration support to the main entry point, approved by maintainers and passing all CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Extends configuration file parsing to the base snapcraft CLI command, previously limited to lifecycle commands. Integrated by maintainer cjp256 without additional review comments. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Extends config file reading to the base snapcraft CLI command, previously restricted to lifecycle commands. Successfully merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2411 cli: snapcraft init with a base | snapcraft | merged | Merged. Adds a syntax documentation link after snapcraft init execution. Approved by one reviewer, passed CI checks, modified five files, and achieved 100% diff coverage. Resolves LP #1803776. | |
| #3898 config: add snap config model | snapcraft | merged | Merged into main following reviewer approval and passing CI. Adds a snap config model to parse data set via snap set snapcraft key=value, mirroring charmcraft. The change modifies 11 files with 317 additions. | |
| #3631 parts: add early base parsing (CRAFT-766) | snapcraft | merged | Merged into snapcraft/7.0. Adds early base parsing for lifecycle commands, verifying the base entry via project YAML and falling back to legacy handlers if not core22. Approved, passed CI, +0.81% coverage. |