]> git.saurik.com Git - apt.git/commit - test/integration/test-apt-by-hash-update
add by-hash sources.list option and document all of by-hash
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 14 Sep 2015 11:18:29 +0000 (13:18 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 14 Sep 2015 13:22:19 +0000 (15:22 +0200)
commit24e8f24e1e94ec3816b0bfc7a05d1c4e3f73248e
tree0d40411af7333733aa11b56516a065892b6d7148
parent63c7141275c8c5c0f6e60f5242785e50cabaf2a0
add by-hash sources.list option and document all of by-hash

This changes the semantics of the option (which is renamed too) to be a
yes/no value with the special additional value "force" as this allows
by-hash to be disabled even if the repository indicates it would be
supported and is more in line with our other yes/no options like pdiff
which disable themselves if no support can be detected.

The feature wasn't documented so far and hasn't reached a (un)stable
release yet, so changing it without trying too hard to keep
compatibility seems okay.
apt-pkg/acquire-item.cc
apt-pkg/deb/debmetaindex.cc
apt-pkg/deb/debmetaindex.h
apt-pkg/indexfile.cc
apt-pkg/indexfile.h
apt-pkg/sourcelist.cc
doc/acquire-additional-files.txt
doc/apt.conf.5.xml
doc/sources.list.5.xml
test/integration/test-apt-by-hash-update