Last commit made on 2021-06-15
Get this branch:
git clone -b 1.6.y https://git.launchpad.net/apt

Branch merges

Branch information


Recent commits

53f71ab... by Julian Andres Klode

Release 1.6.14

f1be04b... by Julian Andres Klode

json: Minor fixes to include and C++ namespacing

Seems we missed a bit, this syncs up the bug fixes with

1d5f037... by Julian Andres Klode

json: Hook protocol 0.2 (added upgrade,downgrade,reinstall modes)

Hook protocol 0.2 makes the new fields we added mandatory, and
replaces `install` mode with `upgrade`, `downgrade`, `reinstall`
where appropriate.

Hook negotiation is hacky, but it's the best we can do for now.
Users are advised to upgrade to 0.2

(cherry picked from commit 80dd1447595c536d31912c486ac5e96f983ccc7a)
(cherry picked from commit 25cc4d29d27355a8e1beb43570259c46f7430eb9)

5c61c24... by Julian Andres Klode

json: Add `package-list` and `statistics` install hooks

This enables hooks to output additional information.

(cherry picked from commit dc11a4422d99cb49817c827b9f827617b5880600)
(cherry picked from commit 17633e6b60bcf093447fccb71e0345ca8f4ce756)

81bc491... by Julian Andres Klode

upgrade: Add JSON hook support (AptCli::Hooks::Upgrade)

(cherry picked from commit de86a4b076a37db2f70ee5fbfbb295cc71c344df)
(cherry picked from commit 6b9194b8b99fb6ffdd0a5db489d5e31c1c6e6b5d)

3c4861d... by Julian Andres Klode

json: Add origins fields to version

Provide access to the origins of a package, such that tools
can display information about them; for example, you can write
a hook counting security upgrades.

(cherry picked from commit 4b5215e8e2e31637cb0998ecb80d3c3146760579)
(cherry picked from commit e4cab7d633acb320afe53d57596d01bcf49b2ecc)

1734ed2... by Brian Murray

Fix a typo in json-hooks-protocol.md

(cherry picked from commit 289b7d2e8c8fb1ee4d5ef67a57ca74ce6f19b727)
(cherry picked from commit b94bf145d60df5740b5793a2a9ae97f1a34c313b)

64b7bd9... by Julian Andres Klode

test/json: Make the test hook more reliable

Ugh, this was super flaky under -j 16 and -j 4, each behaving
in slightly different ways. This seems to be stable now. No
real bug though, all behaviors were OK.

(cherry picked from commit 329f0cc3654f8d13bbaff71cc400cb9c4154ad53)
(cherry picked from commit c7736967bb498bab8a2fad3223262060e79c94f1)

3fda363... by Julian Andres Klode

Avoid infinite loop on EOF on media change prompt

The code missed a break, so it was looping infinitely because
the while loop condition only checked for '\n' and '\r', but not
end of file.

(cherry picked from commit 94cf53979640ff8a29d445a2b056a6b17c7b3e49)
(cherry picked from commit 30979216fc4b63996bd5dd4e46db1a3384b6f448)
LP: #1928687

14da22c... by Julian Andres Klode

test: Set -e in our test hook

Gbp-Dch: ignore
(cherry picked from commit 949f3821268943149ddc26d4eaee3bfbaa1255a9)
(cherry picked from commit b7ec379023614cfd1be058ac6e788ebbdb3e689a)