← Back to issue list

build: set grade based on version number

View original Github issue

Metadata

Project
charmcraft
Number
#1402
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1402 as a968adfa, setting the snap grade to devel for post versions and stable otherwise, resolving #1401.

Resolution: closed resolved

Reason: PR #1402 was approved and merged as commit a968adfa. The build now derives snapcraft.yaml's grade from the Charmcraft version, directly fixing #1401.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Fixes #1401

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1402 as a968adfa, setting the snap grade to devel for post versions and stable otherwise, resolving #1401.
stealth/space-bunny-alpha — closed resolved Merged #1402 as a968adfa, setting the snapcraft.yaml grade from the version number and fixing #1401.
stealth/space-bunny-alpha — closed resolved PR #1402 (lengau) merged as commit a968adfa, deriving the snap grade from the charm version number in snapcraft.yaml and closing issue #1401.
stealth/space-bunny-alpha — closed resolved Merged as a968adfa, setting the snapcraft.yaml grade from the version number and resolving #1401.
stealth/space-bunny-alpha — closed resolved Merged in canonical/charmcraft#1402 (a968adfa), setting the package grade from the version number to close #1401.
qwen/qwen3.6-35b-a3b — — Merged changes that set the build grade based on the version number, resolving issue #1401. Approved by two reviewers with a single-file, two-line modification.
qwen3.6-35b-a3b-mtp-q6 — — Merged by maintainer lengau, this change resolves issue #1401 by configuring the build system to automatically set the grade based on the version number.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1401 (confidence 100%)

    The issue requesting dynamic grade selection was fixed by merged PR #1402.

Related issues

Issue Project State Summary Similarity
#427 build: set snap grade based on version rockcraft merged Merged in #427 via commit 91214e03, setting snap grade from the build version: post versions are devel and other versions are stable.
91%
#1401 snapcraft.yaml: set grade dynamically charmcraft closed Dynamic snap grade was implemented by merged PR #1402 (commit a968adfa), assigning devel grade to post-releases and stable otherwise.
79%
#2230 snap: use set-version and set-grade snapcraft merged Merged PR #2230 as commit e1b59b75, updating snap handling to use set-version and set-grade and resolving Launchpad bug #1789695.
79%
#114 snap: set grade to stable fetch-service merged Merged in #114 via commit c7b9a39, setting the Snap grade to stable so releases can target the candidate channel.
78%
#440 fix: Set imagecraft snap grade dynamically from version metadata imagecraft closed Merged in #440, dynamically setting the snap grade to devel for post/dev versions and stable for tagged releases, fixing #439.
76%
#2064 Support for set-grade snapcraft closed Added snapcraftctl set-grade support in merged PR #2067 (commit 4713f4ae3), including final snap metadata and schema validation, resolving #2064.
71%
#4068 meta: allow support for `build-base: devel` snapcraft merged Merged PR snapcore/snapcraft#4068 added build-base: devel support, selecting Ubuntu devel images and APT repositories and setting grade to devel.
71%