← Back to issue list

lifecycle: warn about bases

View original Github issue

Metadata

Project
snapcraft
Number
#2569
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2569 added lifecycle warnings for projects missing a base or using an incompatible host, resolving LP #1774012.

Resolution: closed resolved

Reason: PR #2569 was approved and merged. It warns when a project omits the base keyword and when its declared base does not match the build host.

Evaluated by: mr-cal-bot

No scores available.

Issue body

LP: #1774012 Signed-off-by: Sergio Schvezov <sergio.schvezov@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
stealth/space-bunny-alpha — closed resolved Merged PR #2569 added lifecycle warnings for projects missing a base or using an incompatible host, resolving LP #1774012.
stealth/space-bunny-alpha — closed resolved Merged PR #2569 added lifecycle warnings for projects missing a base or building a declared base on a mismatched host, encouraging use of base snaps.
stealth/space-bunny-alpha — closed resolved Merged PR #2569 adds lifecycle warnings when projects omit the base keyword or build on a host that does not match their declared base.
qwen/qwen3.6-35b-a3b — — Merged after resolving test failures and conflicting warning messages. Adds lifecycle warnings for snaps missing the base keyword or building on mismatched hosts. Approved and merged following local validation and code formatting.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds lifecycle warnings for projects missing a base keyword or targeting mismatched host OS versions. Fixed test failures and formatting. Warnings now include documentation links and host compatibility checks.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#263 feat(lifecycle)!: don't build on incompatible bases craft-application merged Merged PR #263 (b916620e) added lifecycle checks preventing destructive builds when the stored BuildInfo base is incompatible with the host; it fixes #154.
78%
#251 feat(lifecycle)!: don't build on incompatible bases craft-application closed Closed unmerged in favour of canonical/craft-application#263, which merged as commit b916620e adding the Lifecycle base/host compatibility check and fixing issue #154.
77%
#898 feat(lifecycle): update UX for unmaintained bases craft-application merged Merged PR #898 as commit 2ed7aae7, updating lifecycle UX for unmaintained bases and adding --ignore=unmaintained support.
74%