← Back to issue list

feat: allow title to have only one character

View original Github issue

Metadata

Project
craft-application
Number
#894
Type
pull request
State
open
Author
alesancor1
Labels
Status: Needs information
Created
Updated
Closed

Current evaluation

Reduces project title min_length from 2 to 1 so single-char names (valid per name regex) don't fail title validation. Pending, 0 reviewers, CI green, but maintainer disputes the approach and prefers tightening name to min 2 chars instead.

Suggested action: needs review

Reason: The 1-line change is trivial and CI is green, but the maintainer (lengau) explicitly pushed back on the approach, arguing the store rejects single-character names and that Rockcraft should instead require a name of at least 2 chars (rockcraft#943). The PR is labeled 'Needs information' with no resolution to that design disagreement, so it needs a maintainer decision on direction rather than a mechanical merge.

Impact: 30 Quick Win: 25.5 Staleness: 72 Complexity: 15 Confidence: 70

Issue body

- [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? --- This PR decreases the `min_length` of the project title to 1. ### Rationale Some of the craft-applications (rockcraft, snapcraft, etc) set the project title equal to the name when the former is not set. However, the `name` allows single character values while being more restrictive (regex) meaning that setting a (valid) name with a single character would fail the validation of `title`. Proposed solution: Make the `title` equal or less restrictive than `name` by reducing the `min_length` to `1`.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 30
Quick Win: 25.5
Staleness: 72
Complexity: 15
Confidence: 70
needs review Reduces project title min_length from 2 to 1 so single-char names (valid per name regex) don't fail title validation. Pending, 0 reviewers, CI green, but maintainer disputes the approach and prefers tightening name to min 2 chars instead.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 90
close stale Reduces project title min_length to 1 to align with name validation. Stalled for over a year due to cross-project compatibility concerns and lack of maintainer review.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 70
close stale Reduces project title min_length to 1 to align with name validation. Currently inactive for 10 months with unresolved maintainer concerns about store rejection rules and cross-project compatibility.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 40
Confidence: 85
close stale Proposes allowing single-character project titles to align with name validation. Currently under discussion due to conflicting store validation rules. Awaiting resolution on adjusting craft-application constraints or warning users about store rejections.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#957 (confidence 80%)

    Author cites this merged rockcraft PR (allow single-char names) as the motivation; the maintainer suggests revisiting it instead.

  • Related To: canonical/rockcraft#943 (confidence 70%)

    Maintainer points to this issue as the basis for requiring a 2-char minimum name, the alternative approach to this PR.

Related issues

No related issues found above the similarity threshold.