瀏覽代碼

* methods/mirror.cc:
- updated the TODO

Michael Vogt 19 年之前
父節點
當前提交
933833c51f
共有 1 個文件被更改,包括 9 次插入5 次删除
  1. 9 5
      methods/mirror.cc

+ 9 - 5
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 :)
  */