%config = ();
read_config(exists $ENV{DEBBUGS_CONFIG_FILE}?$ENV{DEBBUGS_CONFIG_FILE}:'/etc/debbugs/config');
-=item email_domain
+=item email_domain $gEmailDomain
The email domain of the bts
set_default(\%config,'email_domain','bugs.something');
-=item list_domain
+=item list_domain $gListDomain
The list domain of the bts, defaults to the email domain
set_default(\%config,'list_domain',$config{email_domain});
-=item web_host
+=item web_host $gWebHost
The web host of the bts; defaults to the email domain
set_default(\%config,'web_host',$config{email_domain});
-=item web_host_bug_dir
+=item web_host_bug_dir $gWebHostDir
The directory of the web host on which bugs are kept, defaults to C<''>
set_default(\%config,'web_host_bug_dir','');
-=item web_domain
+=item web_domain $gWebDomain
Full path of the web domain where bugs are kept, defaults to the
concatenation of L</web_host> and L</web_host_bug_dir>
set_default(\%config,'web_domain',$config{web_host}.'/'.$config{web_host_bug_dir});
-=item html_suffix
+=item html_suffix $gHTMLSuffix
Suffix of html pages, defaults to .html
set_default(\%config,'html_suffix','.html');
-=item cgi_domain
+=item cgi_domain $gCGIDomain
Full path of the web domain where cgi scripts are kept. Defaults to
the concatentation of L</web_host> and cgi.
set_default(\%config,'cgi_domain',$config{web_domain}.($config{web_domain}=~m{/$}?'':'/').'cgi');
-=item mirrors
+=item mirrors @gMirrors
List of mirrors [What these mirrors are used for, no one knows.]
set_default(\%config,'mirrors',[]);
-=item package_pages
+=item package_pages $gPackagePages
Domain where the package pages are kept; links should work in a
package_pages/foopackage manner. Defaults to undef, which means that
set_default(\%config,'package_pages',undef);
-=item subscription_domain
+=item subscription_domain $gSubscriptionDomain
Domain where subscriptions to package lists happen
=over
-=item project
+=item project $gProject
Name of the project
+Default: 'Something'
+
=cut
set_default(\%config,'project','Something');
-=item project_title
+=item project_title $gProjectTitle
Name of this install of Debbugs, defaults to "L</project> Debbugs Install"
+Default: "$config{project} Debbugs Install"
+
=cut
set_default(\%config,'project_title',"$config{project} Debbugs Install");
-=item maintainer
+=item maintainer $gMaintainer
Name of the maintainer of this debbugs install
+Default: 'Local DebBugs Owner's
+
=cut
set_default(\%config,'maintainer','Local DebBugs Owner');
-=item maintainer_webpage
+=item maintainer_webpage $gMaintainerWebpage
Webpage of the maintainer of this install of debbugs
+Default: "$config{web_domain}/~owner"
+
=cut
set_default(\%config,'maintainer_webpage',"$config{web_domain}/~owner");
Email address of the maintainer of this Debbugs install
+Default: 'root@'.$config{email_domain}
+
=cut
set_default(\%config,'maintainer_email','root@'.$config{email_domain});
Email address where packages with an unknown maintainer will be sent
+Default: $config{maintainer_email}
+
+=back
+
=cut
set_default(\%config,'unknown_maintainer_email',$config{maintainer_email});
set_default(\%config,'save_old_bugs',1);
+=item distributions
+
+List of valid distributions
+
+Default: qw(experimental unstable testing stable oldstable);
+
+=cut
+
+set_default(\%config,'distributions',[qw(experimental unstable testing stable oldstable)]);
+
=item removal_distribution_tags
Tags which specifiy distributions to check
-Default: qw(experimental unstable testing stable oldstable);
+Default: @{$config{distributions}}
=cut
set_default(\%config,'removal_distribution_tags',
- [qw(experimental unstable testing stable oldstable)]);
+ [@{$config{distributions}}]);
=item removal_default_distribution_tags
[qw(unstable testing)]
);
-
set_default(\%config,'default_severity','normal');
set_default(\%config,'show_severities','critical, grave, normal, minor, wishlist');
set_default(\%config,'strong_severities',[qw(critical grave)]);
wishlist => "Wishlist $config{bugs}",
});
-set_default(\%config,'tags',[qw(patch wontfix moreinfo unreproducible fixed stable)]);
+set_default(\%config,'tags',[qw(patch wontfix moreinfo unreproducible fixed),
+ @{$config{distributions}}
+ ]);
set_default(\%config,'bounce_froms','^mailer|^da?emon|^post.*mast|^root|^wpuser|^mmdf|^smt.*|'.
'^mrgate|^vmmail|^mail.*system|^uucp|-maiser-|^mal\@|'.
set_default(\%config,'package_source',$config{config_dir}.'/indices/sources');
set_default(\%config,'version_packages_dir',$config{spool_dir}.'/../versions/pkg');
-#set_default(\%config,'version_packages_dir',$config{spool_dir}'/../versions/pkg');
=back