summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-04-09 18:16:10 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2021-04-13 16:00:41 +0200
commit1412cf51403286e9c040f9f86fd4d8306e62aff2 (patch)
tree723c7b1f1314ab0a2331af56f48587b008d50616 /doc/examples
parent27a4fb3a9ac67a13ed516c75feefdc1fd426520a (diff)
Error on packages without a Size field (option Acquire::AllowUnsizedPackages)
Repositories without Size information for packages are not proper and need fixing. This ensures people see an error in CI, and get notifications and hence the ability to fix it. It can be turned off by setting Acquire::AllowUnsizedPackages to true.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index ecd54b6ba..593cde9a3 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -257,6 +257,7 @@ Acquire
AllowInsecureRepositories "<BOOL>";
AllowWeakRepositories "<BOOL>";
AllowDowngradeToInsecureRepositories "<BOOL>";
+ AllowUnsizedPackages "<BOOL>"; // defaults to true.
// allow repositories to change information potentially breaking user config like pinning
AllowReleaseInfoChange "<BOOL>"
{