snap upload rejected with "refresh-timer" interface attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Click Reviewers tools (obsolete) |
Invalid
|
Undecided
|
Unassigned | ||
Snap Store Server |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With the transition from snapd's refresh.schedule to refresh.timer config key [1], a customer is declaring an interface attribute accordingly in snapcraft.yaml, but the store rejects the upload.
I confirm in my test. That is, if my snapcraft.yaml has the following:
plugs:
snapd:
interface: snapd-control
refresh-timer: managed
apps:
daemon:
daemon: simple
command: daemon
plugs: [snapd]
And then I push to the store I get this:
Error while processing...
The store was unable to accept this snap.
- unknown attribute 'refresh-timer' for interface 'snapd-control' (plugs)
But, if I use the interface attribute refresh-schedule (which corresponds to the deprecated snapd config refresh.schedule key), the upload succeeds.
Please also see this snapd bug: https:/
That error is actually given by the click reviewer tools, which the store runs to scan every incoming snap upload.
I'll add a task for the click reviewer tools; once a version is available which is happy with the new attribute name, I can update what we have in the store so this works as intended.