← Back to issue list

chore!: drop core20

View original Github issue

Metadata

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

Current evaluation

Merged PR #6019 as fa7952b4d, removing core20 build support and moving dropped entry points to snapcraft_legacy; generic store commands remained for later migration.

Resolution: closed resolved

Reason: PR #6019 was squash-merged as fa7952b4d, removing core20 build support and resolving #5675. Its prerequisite #6009, merged as d0f1b4394, removed the corresponding core20 Spread coverage.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR removes support for building core20 snaps. It drops entry points from `snapcraft/` to `snapcraft_legacy/`. The exception is for some store commands in snapcraft_legacy, which aren't specific to any base. A set of follow-up tasks will migrate the store commands out of the legacy codebase and remove `snapcraft_legacy`. Depends on #6009 Fixes #5675 (SNAPCRAFT-1195) --- - [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`. - [x] I've added or updated any relevant documentation. - [x] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #6019 as fa7952b4d, removing core20 build support and moving dropped entry points to snapcraft_legacy; generic store commands remained for later migration.
stealth/space-bunny-alpha — closed resolved Squash-merged PR #6019 removed core20 build support, moved legacy entry points to snapcraft_legacy, and retained generic store commands for later migration; merged as commit fa7952b4d.
qwen/qwen3.6-35b-a3b — — Squash merged to drop core20 snap build support. Removes legacy entry points and resolves #5675. Unrelated CI failures were acknowledged.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Removes core20 snap build support by dropping legacy entry points while retaining store commands. Fixes #5675. Spread failures were unrelated.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#5675 (confidence 100%)

    Core20 lifecycle removal issue closed by PR #6019.

  • Blocked By: canonical/snapcraft#6009 (confidence 100%)

    Prerequisite PR removed core20 Spread tests before the drop was merged.

  • Related To: canonical/snapcraft#5338 (confidence 96%)

    Follow-up work migrated the remaining generic store commands out of snapcraft_legacy.

Related issues

Issue Project State Summary Similarity
#1339 chore: migrate snap from core20 to core22 charmcraft closed PR #1339 (core20→core22 snap migration) was closed unmerged; the same work landed via merged PR #1321, commit e83fc1a9 "chore(snap): base migration from core20 to core22", resolving issue #1320.
79%
#368 chore(snap): base migration from core20 to core22 rockcraft merged Merged into main as commit 318ecdf8, migrating the rockcraft snap base from core20 to core22 (snap/snapcraft.yaml, +113/-24 across 4 files). Closes issue #373 (CRAFT-2118). Review status: approved with 2 reviewers.
78%
#1321 chore(snap): base migration from core20 to core22 charmcraft merged Merged charmcraft#1321 via commit e83fc1a9, migrating the snap base from core20 to core22 and resolving charmcraft#1320.
78%
#6241 chore: remove snapcraft_legacy snapcraft merged Merged #6241 via commits ffb164b7a and 995f0a3bc, deleting snapcraft_legacy, obsolete specs, and legacy-only dependencies after its entry points were removed.
78%
#4186 snap: migrate to core22 snapcraft merged PR #4186 merged, moving the Snapcraft snap's own build environment to base core22 (8 files, +71/-70), landing as commit 60033305b and closing the core22 migration issue #4166.
77%
#24 chore(docs): update readme snapcraft-rocks merged Merged in #24 via commit af4a382, updating the README to list core22-8 and core24-8 as supported Snapcraft/core combinations.
76%
#3579 snap: move base to core20 (CRAFT-509) snapcraft merged Merged PR #3579 via ed2baf8bd, moving Snapcraft's own snap to the core20 base; implementation commit 18a974e01.
76%
#5675 Remove core20 lifecycle snapcraft closed Merged PR #6019 via commit fa7952b4d, removing core20 build/lifecycle support and core20 command entries; core20 spread tests were removed separately in PR #6009.
76%
#5136 chore: migrate snapcraft itself to core24 snapcraft merged Merged in canonical/snapcraft#5136 as 2e7f5c3b9, migrating Snapcraft’s own snap packaging and runtime to core24.
76%
#2761 Core20 base snapcraft merged Core20 base support was merged via #3579, moving Snapcraft to core20 in commit 18a974e01 (merge ed2baf8bd).
75%