summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-11-22 16:12:34 +0000
committerJulian Andres Klode <jak@debian.org>2024-11-22 16:12:34 +0000
commit1818699c1bc8a5be2d6542fe3212f26af7fa912a (patch)
treec6a6312c088d5367d803a884b99246aaff05e9c3 /doc/examples
parentf9069c2498f74c09b4a4d7da8bb677756b371dae (diff)
parent7adf8c1fa8d519b8b57292763eb7703e7d3cc580 (diff)
Merge branch 'fix/partialfilemirror' into 'main'
Support uncompressed indexes from partial file:/ mirrors See merge request apt-team/apt!235
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index67
1 files changed, 48 insertions, 19 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 6723a48da..9623514b8 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -184,18 +184,16 @@ APT
Error-Mode "<STRING>";
};
- /* define a new supported compressor on the fly
- Compressor::rev {
- Name "rev";
- Extension ".reversed";
- Binary "rev";
- CompressArg {};
- UncompressArg {};
- Cost "10";
- };
- */
Compressor "<LIST>";
- Compressor::** "<UNDEFINED>";
+ // define a new compressor on the fly, like the super-compressor: /usr/bin/rev
+ Compressor::* {
+ Name "<STRING>"; // rev
+ Extension "<STRING>"; // .reversed
+ Binary "<STRING>"; // rev
+ CompressArg "<LIST>"; // {}
+ UncompressArg "<LIST>"; // {}
+ Cost "<INT>"; // 10
+ };
Authentication
{
@@ -584,6 +582,9 @@ Debug
Acquire::Ftp "<BOOL>"; // Show ftp command traffic
Acquire::Http "<BOOL>"; // Show http command traffic
Acquire::Https "<BOOL>"; // Show https debug
+ Acquire::tor "<BOOL>";
+ Acquire::tor+http "<BOOL>";
+ Acquire::tor+https "<BOOL>";
Acquire::gpgv "<BOOL>"; // Show the gpgv traffic
Acquire::cdrom "<BOOL>"; // Show cdrom debug output
Acquire::Transaction "<BOOL>";
@@ -819,17 +820,44 @@ acquire::max-pipeline-depth "<INT>";
acquire::progress::diffpercent "<BOOL>";
acquire::gzipindexes "<BOOL>";
acquire::indextargets::randomized "<BOOL>";
-acquire::indextargets::deb::** "<UNDEFINED>";
-acquire::indextargets::deb-src::** "<UNDEFINED>";
+acquire::indextargets::* "<LIST>" {
+ * {
+ MetaKey "<STRING>";
+ ShortDescription "<STRING>";
+ Description "<STRING>";
+ flatMetaKey "<STRING>";
+ flatDescription "<STRING>";
+ Identifier "<STRING>";
+ DefaultEnabled "<BOOL>";
+ Optional "<BOOL>";
+ KeepCompressed "<BOOL>";
+ PDiffs "<BOOL>";
+ By-Hash "<STRING>";
+ Fallback-Of "<STRING>";
+ CompressionTypes "<STRING>";
+ KeepCompressedAs "<STRING>";
+ };
+};
acquire::progress::ignore::showerrortext "<BOOL>";
acquire::*::dl-limit "<INT>"; // catches file: and co which do not have these
+acquire::file::dl-limit "<INVALID>";
+acquire::copy::dl-limit "<INVALID>";
+acquire::gpgv::dl-limit "<INVALID>";
+acquire::store::dl-limit "<INVALID>";
+acquire::mirror::dl-limit "<INVALID>";
methods::mirror::problemreporting "<STRING>";
-acquire::http::proxyautodetect "<STRING>";
-acquire::http::proxy-auto-detect "<STRING>";
-acquire::http::proxy::* "<STRING>";
-acquire::https::proxyautodetect "<STRING>";
-acquire::https::proxy-auto-detect "<STRING>";
-acquire::https::proxy::* "<STRING>";
+acquire::*::proxyautodetect "<STRING>";
+acquire::file::proxyautodetect "<INVALID>";
+acquire::copy::proxyautodetect "<INVALID>";
+acquire::store::proxyautodetect "<INVALID>";
+acquire::*::proxy-auto-detect "<STRING>";
+acquire::file::proxy-auto-detect "<INVALID>";
+acquire::copy::proxy-auto-detect "<INVALID>";
+acquire::store::proxy-auto-detect "<INVALID>";
+acquire::file::proxy::* "<INVALID>";
+acquire::copy::proxy::* "<INVALID>";
+acquire::store::proxy::* "<INVALID>";
+acquire::*::proxy::* "<STRING>";
// Options used by apt-ftparchive
dir::archivedir "<DIR>";
@@ -900,6 +928,7 @@ APT::Internal::OpProgress::EraseLines "<BOOL>";
APT::Color "<BOOL>";
APT::Color::Show::Field "<STRING>";
APT::Color::Show::Package "<STRING>";
+APT::Color::* "<STRING>";
update-manager::always-include-phased-updates "<BOOL>";
update-manager::never-include-phased-updates "<BOOL>";