migrate advise-snap --from-apt to APT JSON hooks 0.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
New
|
Undecided
|
Michael Vogt |
Bug Description
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.
* (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.
Changed in snapd (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
For details of the changes, see https:/ /salsa. debian. org/apt- team/apt/ -/merge_ requests/ 166