diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-08 13:07:22 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-01-08 13:07:22 +0100 |
commit | 933833c51fbfe3dca3f3a3073d441e5856462605 (patch) | |
tree | 14dbaccdee436242a35de79a0a590591427ce87e | |
parent | 0c312e0ed24fed69412c181634dd4515e9b1d46f (diff) |
* methods/mirror.cc:
- updated the TODO
-rw-r--r-- | methods/mirror.cc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/methods/mirror.cc b/methods/mirror.cc index 00f7b7807..f08b324ec 100644 --- a/methods/mirror.cc +++ b/methods/mirror.cc @@ -34,14 +34,18 @@ using namespace std; * TODO: * - send expected checksum to the mirror method so that some checking/falling back can be done here already - * - keep the mirror file around in /var/lib/apt/mirrors - * can't be put into lists/ because of the listclearer - * cleanup by time (mtime relative to the other mtimes) - * - use a TTL time the mirror file is fetched again (6h?) + use pkgAcquire::Custom600Header() for this? what about gpgv + failures? + #OR# + * - implement it at the pkgAcquire::Item::Failed() level but then + we need to send back what uri exactly was failing + * - deal with runing as non-root because we can't write to the lists dir then -> use the cached mirror file * - better method to download than having a pkgAcquire interface here - * - magicmarker is (a bit) evil + * - magicmarker is (a bit) evil, maybe just use a similar approach as in + clean and read the sources.list and use the GetURI() method to find + the prefix? * - testing :) */ |