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
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
Revision history for this message
Leo Arias (elopio) wrote :

Discussion in the mailing list resulted in the following regex:


Nessita proposes a length of 50, Bret proposes to cut it down to 35 or 40.

Changed in snapcraft:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.