]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
Add a GetListOfFilesInDir() helper method which replaces the old
[apt.git] / doc / examples / configure-index
index 05826feaaccafb22eebcb573c6834f799ae9ae7d..be461aaad15aee43ac9ff0a0368a1e0ba9b16b44 100644 (file)
@@ -176,7 +176,10 @@ Acquire
   Source-Symlinks "true";
 
   PDiffs "true";     // try to get the IndexFile diffs
-  
+  PDiffs::FileLimit "4"; // don't use diffs if we would need more than 4 diffs
+  PDiffs::SizeLimit "50"; // don't use diffs if size of all patches excess
+                         // 50% of the size of the original file
+
   // HTTP method configuration
   http 
   {
@@ -309,6 +312,7 @@ Dir "/"
   // Config files
   Etc "etc/apt/" {
      Main "apt.conf";
+     Netrc "auth.conf";
      Parts "apt.conf.d/";
      Preferences "preferences";
      PreferencesParts "preferences.d";
@@ -407,6 +411,7 @@ Debug
   Acquire::gpgv "false";   // Show the gpgv traffic
   aptcdrom "false";        // Show found package files
   IdentCdrom "false";
+  acquire::netrc "false";  // netrc parser
   
 }