summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-709560-set-candidate-release
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-09-14 14:57:56 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-09-14 15:22:19 +0200
commitaf81ab9030229b4ce6cbe28f0f0831d4896fda01 (patch)
treea625669f88751b07c902c7766f5ecaeed14255c9 /test/integration/test-bug-709560-set-candidate-release
parent24e8f24e1e94ec3816b0bfc7a05d1c4e3f73248e (diff)
fallback to well-known URI if by-hash fails
We uses a small trick to implement the fallback: We make it so, that by-hash is a special compression algorithm and apt already knows how to deal with fallback between compression algorithms. The drawback with implementing this fallback is that a) we are guessing again and more importantly b) by-hash is only tried for the first compression algorithm we want to acquire, not for all as before – but flipping between by-hash and well-known for each compression algorithm seems to be not really worth it as it seems unlikely that there will actually be mirrors who only mirror a subset of compressioned files, but have by-hash enabled. The user-experience is the usual fallback one: You see "Ign" lines in the apt update output. The fallback is implemented as a transition feature, so a (potentially huge) mirror network doesn't need a flagday. It is not meant as a "someday we might" or "we don't, but some of our mirrors might" option – we want to cut down on the 'Ign' lines front so that they become meaningful – if we wanted to spam everyone with them, we could enable by-hash by default for all repositories… sources.list and config options are better suited for this. Closes: 798919
Diffstat (limited to 'test/integration/test-bug-709560-set-candidate-release')
0 files changed, 0 insertions, 0 deletions