← Back to issue list

feat!: error on snapcraftctl

View original Github issue

Metadata

Project
snapcraft
Number
#5983
Type
pull request
State
merged
Author
mr-cal
Labels
PR: Squash
Created
Updated
Closed

Current evaluation

Merged. Introduces a breaking change that errors on snapcraftctl usage in core26+ override scripts and renames all internal references. Legacy binaries are deferred to a follow-up PR, with core22/24 example updates planned for a future release.

Suggested action:

No scores available.

Issue body

This PR raises an error when `snapcraftctl` is used in an `override` script for core26+. It also renames references to snapcraftctl throughout the codebase. (SNAPCRAFT-1226) --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged. Introduces a breaking change that errors on snapcraftctl usage in core26+ override scripts and renames all internal references. Legacy binaries are deferred to a follow-up PR, with core22/24 example updates planned for a future release.
qwen3.6-35b-a3b-mtp-q6 Squash-merged. Raises an error when snapcraftctl is used in override scripts for core26+ and renames all references throughout the codebase. Related binary cleanup was handled in #5754, with future example code updates planned.
qwen3.6-35b-a3b-mtp-q6 Merged. Raises an error when snapcraftctl is used in core26+ override scripts and renames all codebase references. Bin file deletion tracked in #5754, with example code updates planned for a future release.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5774 Remove all snapcraftctl code and compatibility wrapper for core22 snapcraft closed Maintainers closed the proposed removal of deprecated snapcraftctl code for core22 and core24 without merging. The change was rejected to prevent breaking existing builds.
71%
#6336 Snapcraft 9: snapcraftctl errors in core22 snaps snapcraft open Regression in snapcraft 9: core22 snaps using snapcraftctl in override-build fail validation. Maintainer confirmed as a regression.
70%