summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-05-22 11:09:11 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-05-22 11:09:11 +0200
commitffa8189668e54572318d1834881e470c238f3642 (patch)
tree898693735b1d603fc54631109c2a200dd5159354 /apt-pkg
parent50d98a1be2e15f44dea23a5d3840c79366a42fe0 (diff)
add TODO
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 1f3d83941..7fc556b7c 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1021,6 +1021,11 @@ void pkgAcqIndex::Init(string const &URI, string const &URIDesc, string const &S
}
// do the request by-hash
+ // TODO:
+ // - add Support-By-Hash hashtype into Release time so that we
+ // know we can use it
+ // - (maybe?) add support for by-hash into the sources.list as flag
+ // - make apt-ftparchive generate the hashes (and expire?)
if(_config->FindB("APT::Acquire::By-Hash", false) == true &&
MetaIndexParser)
{