snapcraft can generage snaps with a name longer than 107 characters
Bug #1590620 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Incomplete
|
Medium
|
Sergio Schvezov |
Bug Description
I generated a snap with a long long long name. The store then refused to upload this snap saying:
The package name {long} cannot be more than 107 characters long.
The limit in snapcraft is only for the file name it generates. Maybe it should have a 107 limit too.
Changed in snapcraft: | |
importance: | Undecided → High |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 2.12 |
status: | New → Triaged |
status: | Triaged → Incomplete |
milestone: | 2.12 → none |
To post a comment you must log in.
Discussion in the mailing list resulted in the following regex:
^(?:[a- z0-9]+- ?)*[a-z] (?:-?[a- z0-9])* $
Nessita proposes a length of 50, Bret proposes to cut it down to 35 or 40.