custom-device interface: 'files' is not 'list' lint-snap-v2_slots_attributes
Bug #1991963 reported by
Alex Lewontin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
review-tools |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For the following snippet of snap.yaml:
mycustomdevice:
interface: custom-device
custom-device: mycustomdevice
devices: [ /dev/my-
files:
write:
- /etc/foo
- /etc/bar
upload to the store fails with the message
'files' is not 'list' lint-snap-
Per snapd source, it looks like 'files' should not be a list, but rather a dict with keys 'read' and 'write', each of which should be a list.
Related branches
~alexclewontin/review-tools:custom-device-files-fix
- Alex Murray: Approve
-
Diff: 13 lines (+1/-1)1 file modifiedreviewtools/sr_common.py (+1/-1)
To post a comment you must log in.
Thanks - I have merged the MR, tagged a new release (https:/ /git.launchpad. net/review- tools/tag/ ?h=20221010- 0140UTC) and asked the snap store team to update to this new version.