Public bug reported:

APT has gained a new JSON hook protocol version, 0.2, and 0.1 is
deprecated with a warning in impish (as of apt 2.3.2)

* (incompatible change) The mode flag of arguments gained upgrade, downgrade, 
reinstall modes. All of these are install
* (compatible change) The hooks org.debian.apt.hooks.install.package-list and 
org.debian.apt.hooks.install.statistics have been added
* (compatible change) Version objects gained a new origins array

I believe given the scope of the snapd integration, it can just
negotiate 0.2 protocol with 0.2 servers and 0.1 with 0.1 servers and not
need further changes.

0.2 protocol support will be available first in impish and xenial for
the new ESM hooks, however, the warning is only in impish. It is
advisable to continue shipping 0.1 support for the foreseeable future in
snapd.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- snapd migrate to APT hooks 0.2
+ migrate advise-snap --from-apt to APT JSON hooks 0.2

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

Title:
  migrate advise-snap --from-apt to APT JSON hooks 0.2

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

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

Reply via email to