summaryrefslogtreecommitdiffstats
path: root/tags/c/custom-compression-in-debian-source-options.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/c/custom-compression-in-debian-source-options.tag')
-rw-r--r--tags/c/custom-compression-in-debian-source-options.tag23
1 files changed, 23 insertions, 0 deletions
diff --git a/tags/c/custom-compression-in-debian-source-options.tag b/tags/c/custom-compression-in-debian-source-options.tag
new file mode 100644
index 0000000..a253354
--- /dev/null
+++ b/tags/c/custom-compression-in-debian-source-options.tag
@@ -0,0 +1,23 @@
+Tag: custom-compression-in-debian-source-options
+Severity: warning
+Check: debian/source-dir
+Renamed-From: debian-source-options-has-custom-compression-settings
+Explanation: This package selects a custom compression level or algorithm
+ in <code>debian/source/options</code>. Please remove the call and let
+ dpkg-deb(1) select suitable defaults.
+ .
+ Custom compression settings are usually chosen for one of two
+ reasons:
+ .
+ Higher compression levels or more advanced algorithms shrink the
+ sizes of large files, but they can cause problems in the resource
+ constrained environments used in Debian's buildd infrastructure.
+ For example, higher than expected memory consumption may trigger
+ an FTBFS or a failure to install.
+ .
+ Lower compression levels or less advanced algorithms are sometimes
+ needed to support older Debian version. Unfortunately, they also
+ make it harder to change the defaults on an archive-wide basis.
+ .
+ Some legitimate use cases trigger this tag. Please override it.
+See-Also: Bug#829100, Bug#906614, Bug#909696, dpkg-deb(1)