fix: properly ignore source-code field in metadata linter
Metadata
Current evaluation
Merged PR #5795 as commit 11898bc89, fixing #5794 so the hyphenated source-code metadata field is ignored by the linter; shipped in Snapcraft 8.13.0.
Resolution: closed resolved
Reason: PR #5795 was approved with all CI checks passing and merged as commit 11898bc89. Snapcraft 8.13.0 release notes confirm that #5794 was resolved.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint`?
- [x] Have you successfully run `make test`?
---
Fixes #5794. Does a little fly-by typing work while I'm in this file, as well.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5795 as commit 11898bc89, fixing #5794 so the hyphenated source-code metadata field is ignored by the linter; shipped in Snapcraft 8.13.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5795 as commit 11898bc89, fixing #5794 by properly ignoring the hyphenated source-code field in metadata lint configuration. The fix was included in snapcraft 8.12.1. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5795 fixed the metadata linter’s handling of the hyphenated source-code ignore key, resolving #5794; commit 11898bc89 is the resolving change. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5795 as commit 11898bc89, fixing ignored source-code metadata linting; released in Snapcraft 8.12.1. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to resolve issue #5794 by properly ignoring the source-code field in the metadata linter. Approved by two reviewers, passed all CI checks, and verified working. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix updating the metadata linter to properly ignore the source-code field, resolving issue #5794. Verified by a user after building from the branch. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#5794
(confidence 100%)
PR #5795 fixes the metadata-linter issue reported in #5794.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5794 Can't ignore source-code metatada key in linter configuration | snapcraft | closed | Fixed in merged PR #5795 (commit 11898bc89), correcting metadata linter ignores for the hyphenated source-code key; the fix shipped in 8.12.1. | |
| #5850 style: fix pending lints from snapcraft itself | snapcraft | merged | Merged PR #5850 as commit bc10f1dc1, resolving Snapcraft's pending lint warnings by excluding unused ICU libraries and adding missing contact and donation metadata. |