Hi Eric,

Thanks for the call yesterday.

Similar to other cases we covered yesterday, and unlike stated above,
the translation of the alias in "snap get system" to "snap get core" is
actually made inside the daemon, so there shouldn't be any difference in
results, whether via the command line or via the API.

The following excerpt is a plain copy & paste from my terminal just now:

[niemeyer@nomad ../snapcore/snapd]% sudo curl -s --unix-socket 
/run/snapd.socket http:/v2/snaps/system/conf | sha1sum
d3f0bde1349f24893cc64573a6706f0065abb505  -

[niemeyer@nomad ../snapcore/snapd]% sudo curl -s --unix-socket 
/run/snapd.socket http:/v2/snaps/core/conf | sha1sum  
d3f0bde1349f24893cc64573a6706f0065abb505


We share the values you raised, and we try hard not to make incompatible 
changes, whether in a minor or not (releasing breaking changes often is a pain, 
even if clearly labeled as such).

An example where we've failed to do that, though, is the result of the
/v2/interfaces API. It will indeed return an alias where before it would
not, so this is a potential breaking change that we should have been
more careful about, and per the conversation yesterday we'll be happy to
revert if it becomes necessary.

Ironically, precisely because we share the values of respect for greater
API stability, we won't revert this change unless it is necessary,
because our most recent stable release now presents that behavior
already, and it's out there for a while. So reverting the change means
modifying the behavior in a stable release, and that needs to be
carefully considered among the other options.

That's why in our call yesterday I explicitly asked what is the current
impact of that change, and you said the issue is under control and
reverting it won't bring a direct benefit to you. That's again confirmed
above. So unless we receive further feedback indicating the pros of
reverting outweigh the cons, my recommendation is for the change to
remain in.

As always, we remain available for further discussing this specific
issue, the concept of API stability in general, and testing approaches
to mitigate such issues in the future.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  [2.35.1] /v2/interfaces returns "system" instead of "core" as owning
  snap of core interface slots

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1791814/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to