]> git.saurik.com Git - apt.git/commit - doc/acquire-additional-files.txt
implement Fallback-Of for IndexTargets
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 8 May 2016 09:58:36 +0000 (11:58 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sun, 8 May 2016 11:39:32 +0000 (13:39 +0200)
commit7f2d1eef183dbebaaabe07a296d9a97e9cfd0f4a
treed4b783fa9946462547b6dda8ae0214c2631835bd
parent7c1dca1439b956a085b09c73fdbe5a66af20241b
implement Fallback-Of for IndexTargets

Sometimes index files are in different locations in a repository as it
is currently the case for Contents files which are per-component in
Debian, but aren't in Ubuntu. This has historic reasons and is perhaps
changed soon, but such cases of transitions can always happen in the
future again, so we should prepare:

Introduced is a new field declaring that the current item should only be
downloaded if the mentioned item wasn't allowing for transitions without
a flagday in clients and archives.

This isn't implemented 'simpler' with multiple MetaKeys as items (could)
change their descriptions and perhaps also other configuration bits with
their location.
apt-pkg/acquire-item.cc
apt-pkg/deb/debmetaindex.cc
apt-pkg/indexfile.cc
apt-pkg/indexfile.h
doc/acquire-additional-files.txt
test/integration/test-apt-acquire-additional-files