← Back to issue list

bad error message for parts with upper case letters

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1578024
Type
issue
State
closed
Author
~elopio
Labels
snap-docs
Created
Updated
Closed

Current evaluation

Snapcraft and other Craft apps now accept uppercase letters in part names, removing the confusing validation error; maintainer ~mr-cal closed the report as resolved.

Resolution: closed resolved

Reason: Maintainer ~mr-cal explicitly closed the report as resolved on 2026-08-14, noting that uppercase letters in part names are now accepted.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The name of the parts can't have upper case letters. I tried defining a part called libArcus and got the following error: Issues while validating snapcraft.yaml: The 'parts' property does not match the required schema: Additional properties are not allowed ('libArcus' was unexpected) The docs don't mention anything about the parts being all lower-case. If this was on purpose, it must be documented and a better error should be reported to the user.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Snapcraft and other Craft apps now accept uppercase letters in part names, removing the confusing validation error; maintainer ~mr-cal closed the report as resolved.
stealth/space-bunny-alpha — closed resolved Resolved by allowing uppercase letters in part names across Snapcraft and other Craft apps; the maintainer closed the report as fixed.
stealth/space-bunny-alpha — closed resolved Merged PR #1615 (commit baef97109), replacing misleading schema output with clearer validation errors for invalid app, hook, and part names.
qwen/qwen3.6-35b-a3b — — Closed and resolved by documenting the lowercase naming requirement for snapcraft parts and improving the validation error message to clearly indicate the restriction.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Reports a confusing validation error when snapcraft part names contain uppercase letters, requesting improved error messaging and documentation. Unaddressed for over 10 years with zero maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 10
close stale Reports a confusing error message when using uppercase letters in snapcraft part names, requesting documentation updates and improved error handling. Unchanged for over a decade with no maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Snapcraft parts with uppercase letters trigger a confusing validation error. The lowercase requirement is undocumented and the error message needs improvement. The report is inactive for over eight years.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.