the desktop attribute from snapcraft.yaml ends up in snap.yaml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
I made a snapcraft.yaml with a desktop attribute in an app. After creating the snap, this attribute is copied to snap.yaml:
$ cat /snap/keepassxc
apps:
keepassxc:
command: command-
desktop: share/applicati
plugs:
- unity7
- opengl
- gsettings
- home
architectures:
- amd64
confinement: strict
description: |
KeePassXC is an application for people with extremly high demands on secure
personal data management. It has a light interface, is cross platform and
published under the terms of the GNU General Public License.
grade: stable
name: keepassxc
summary: "community driven port of the windows application \u201CKeepass Password\
\ Safe\u201D"
version: develop
That is wrong because the snap.yaml specification doesn't include a desktop attribute. It should be stripped during the creation of the snap.
Changed in snapcraft: | |
status: | New → In Progress |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 2.26 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Setting priority to low because it doesn't seem to affect the snap at all, it's just ignored.