← 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

One-line change lowering ProjectTitle min_length from 2 to 1 in craft_application/models/constraints.py. All CI green, but maintainer lengau disputes the premise and the PR has had no activity for ~379 days (Status: Needs information).

Suggested action: close stale

Reason: lengau's last comment argues the change is based on a wrong premise ("the reason we made the title require a minimum length of 2 is because the store rejects items with a title length of 1") and redirects the fix to rockcraft instead; the label "Status: Needs information" plus zero reviewer activity and no author response for 379 days shows the thread is abandoned. The originating problem was already resolved downstream: canonical/rockcraft#943 was closed as fixed by canonical/rockcraft#957 (merged), so the one-line loosening is likely obsolete as well as rejected on architectural grounds.

Evaluated by: mr-cal-bot

Impact: 22 Quick Win: 5 Complexity: 10 Confidence: 70 Actionability: 25

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
stealth/space-bunny-alpha
Impact: 22
Quick Win: 5
Complexity: 10
Confidence: 70
Actionability: 25
close stale One-line change lowering ProjectTitle min_length from 2 to 1 in craft_application/models/constraints.py. All CI green, but maintainer lengau disputes the premise and the PR has had no activity for ~379 days (Status: Needs information).
stealth/space-bunny-alpha
Impact: 15
Quick Win: 3
Complexity: 10
Confidence: 78
Actionability: 20
close not mergeable Relaxes ProjectTitle min_length from 2 to 1 in craft_application/models/constraints.py (+1/-1). CI green but idle 379 days; reviewer lengau objected the store rejects 1-char titles and the real fix belongs in rockcraft.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 8
Complexity: 10
Confidence: 65
Actionability: 30
close stale Changes project title min_length from 2 to 1 in craft-application. Stale for 368 days with unresolved reviewer concerns about store compatibility.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 26
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.

Update history

No update history recorded yet.

Related work

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

    The PR that motivated this change was merged and allowed one/two-character project names in rockcraft, addressing rockcraft#943 without loosening craft-application's title rule.

  • Likely Fixed By: canonical/rockcraft#943 (confidence 75%)

    Original single-character name/title issue was closed as fixed by rockcraft#957, reducing the need for this craft-application change.

Related issues

Issue Project State Summary Similarity
#972 fix: bump name length minimum back up to 2 rockcraft closed Closed unmerged after 377 days without review or explanation; no Rockcraft commit landed, and craft-application still enforces ProjectTitle min_length=2.
70%