]> git.saurik.com Git - apt.git/commit
Add APT::Acquire::$(host)::By-Hash=1 knob, add Acquire-By-Hash to Release file
authorMichael Vogt <mvo@ubuntu.com>
Thu, 22 May 2014 15:36:09 +0000 (17:36 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Thu, 22 May 2014 15:36:09 +0000 (17:36 +0200)
commita2fdb57ff93c1b1f35b796c3c99878ec3ae54a06
treecb25d89bff41de4fe35366a8ec6033844df989ff
parentffa8189668e54572318d1834881e470c238f3642
Add APT::Acquire::$(host)::By-Hash=1 knob, add Acquire-By-Hash to Release file

The by-hash can be configured on a per-hostname basis and a Release
file can indicate that it has by-hash support via a new flag.

The location of the hash now matches the AptByHash spec
apt-pkg/acquire-item.cc
apt-pkg/indexrecords.cc
apt-pkg/indexrecords.h
apt-pkg/tagfile.cc
apt-pkg/tagfile.h
test/integration/test-apt-by-hash-update