
TODO:
 
 - smarter cleanup of download connection handles, polling them and keeping the
   still usable ones for longer than the default expiration period

 - support flags of Remap- configs (maybe squid.conf style), implement switches
   for pipelining and limited hopping between mirrors in file-not-found
   situations (Debian bug #616091)

 - more clever detection of disappeared distributions, i.e. evaluate 404 errors
   for whitelist files for X days before deleting them (and consequently the
   contents owned by them)

 - consider creating Debian and Ubuntu security mirror setup, like:
 Remap-ubusec: file:ubuntu_security /ubuntu-security ; http://security.ubuntu.com/ubuntu

 - (maybe) get the additional index files for i18n (Translation*) and d-i files
   and parse them in expiration

 - decide what to do with installer-$ARCH file checking. Add MD5SUMS files to
   the index file? How to work around its absense in old branches?

 - ZeroConf support

 - better control of reconnect attempts limitation (recon. count) (Prio: low,
   external motivation required)

 - support detection and temporary or permanent blacklisting of dead peers,
   configurable with number of retries, maybe using background ping job or sth.
   (Prio: low, external motivation required) 

 - Document all options in the manpage (Prio: low)

 - (maybe) for import: smart mirror structure discovery... if _$ARCH.deb found but no
   binary-$ARCH data for them, try to locate binary-$ARCH folder positions in
   the cache

 - dynamic update/scrolling of the log pages

For 0.9:

 - Add Backports.org profile to the lists? Debian-Ports? Anything else?

 - For import, make it more controlable. Control page should offer checkboxes:
[] Thrust old apt-cacher metadata if found (skip file verification)
[] Learn index files locations from old metadata
[] Forced copy of imported index files (overwrites existing!)
[] Optimistic Precaching Strategy

 - write installation rule

For 1.0:

In report page, list desc-sorted index files (by size)
list the last error messages
