From: Don Armstrong <don@donarmstrong.com>
Date: Sun, 20 May 2007 08:36:41 +0000 (-0700)
Subject:  * Add removal_architectures config variable
X-Git-Tag: release/2.6.0~565^2~5
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5c53d0a0cc97d8a53745d11e2913ae24434a669c;p=debbugs.git

 * Add removal_architectures config variable
---

diff --git a/Debbugs/Config.pm b/Debbugs/Config.pm
index 9105ba4d..70bb2d47 100644
--- a/Debbugs/Config.pm
+++ b/Debbugs/Config.pm
@@ -53,7 +53,7 @@ BEGIN {
 				 qw($gSendmail $gLibPath $gSpamScan @gExcludeFromControl),
 				 qw(%gSeverityDisplay @gTags @gSeverityList @gStrongSeverities),
 				 qw(%gSearchEstraier),
-				 qw(@gPostProcessall),
+				 qw(@gPostProcessall @gRemovalDefaultDistributionTags @gRemovalDistributionTags @gRemovalArchitectures),
 				],
 		     text     => [qw($gBadEmailPrefix $gHTMLTail $gHTMLExpireNote),
 				 ],
@@ -348,6 +348,22 @@ set_default(\%config,'removal_default_distribution_tags',
 	    [qw(unstable testing)]
 	   );
 
+=item removal_architectures
+
+For removal/archival purposes, these architectures are consulted if
+there is more than one architecture applicable. If the bug is in a
+package not in any of these architectures, the architecture actually
+checked is undefined.
+
+Default: qw(i386 amd64 arm ppc sparc alpha);
+
+=cut
+
+set_default(\%config,'removal_architectures',
+	    [qw(i386 amd64 arm ppc sparc alpha)]
+	   );
+
+
 =item package_name_re
 
 The regex which will match a package name