Scroll to navigation

Debbugs::Config(3pm) User Contributed Perl Documentation Debbugs::Config(3pm)

NAME

Debbugs::Config -- Configuration information for debbugs

SYNOPSIS

 use Debbugs::Config;

# to get the compatiblity interface

 use Debbugs::Config qw(:globals);

DESCRIPTION

This module provides configuration variables for all of debbugs.

CONFIGURATION FILES

The default configuration file location is /etc/debbugs/config; this configuration file location can be set by modifying the DEBBUGS_CONFIG_FILE env variable to point at a different location.

CONFIGURATION VARIABLES

General Configuration

The email domain of the bts
The list domain of the bts, defaults to the email domain
The web host of the bts; defaults to the email domain
The directory of the web host on which bugs are kept, defaults to ''
Full path of the web domain where bugs are kept, defaults to the concatenation of "web_host" and "web_host_bug_dir"
Suffix of html pages, defaults to .html
Full path of the web domain where cgi scripts are kept. Defaults to the concatentation of "web_host" and cgi.
List of mirrors [What these mirrors are used for, no one knows.]
Domain where the package pages are kept; links should work in a package_pages/foopackage manner. Defaults to undef, which means that package links will not be made.
Domain where where usertags of packages belong; defaults to $gPackagePages
Domain where subscriptions to package lists happen
URI to CVE security tracker; in bugreport.cgi, CVE-2001-0002 becomes linked to http://$config{cve_tracker}CVE-2001-002

Default: security-tracker.debian.org/tracker/

Project Identification

Name of the project

Default: 'Something'

Name of this install of Debbugs, defaults to ""project" Debbugs Install"

Default: "$config{project} Debbugs Install"

Name of the maintainer of this debbugs install

Default: 'Local DebBugs Owner's

Webpage of the maintainer of this install of debbugs

Default: "$config{web_domain}/~owner"

Email address of the maintainer of this Debbugs install

Default: 'root@'.$config{email_domain}

Email address where packages with an unknown maintainer will be sent

Default: $config{maintainer_email}

The name of the machine that this instance of debbugs is running on (currently used for debbuging purposes and web page output.)

Default: qx(hostname --fqdn)

BTS Mailing Lists

Domain of list for messages regarding a single bug; prefixed with bug=${bugnum}@ when bugs are actually sent out. Set to undef or '' to disable sending messages to the bug subscription list.

Default: list_domain

Misc Options

Name of the mailer to use

Default: exim

Default: bug
Default: ucfirst($config{bug});
Default: bugs
Default: ucfirst($config{ubugs});
Age at which bugs are archived/removed

Default: 28

Whether old bugs are saved or deleted

Default: 1

Map of distribution aliases to the distribution name

Default:
{experimental => 'experimental', unstable => 'unstable', testing => 'testing', stable => 'stable', oldstable => 'oldstable', sid => 'unstable', lenny => 'testing', etch => 'stable', sarge => 'oldstable', }

List of valid distributions

Default: The values of the distribution aliases map.

List of default architectures to use when architecture(s) are not specified

Default: i386 amd64 arm ppc sparc alpha

List of tags which restrict the buggy state to a set of distributions.

The set of distributions that are buggy is the intersection of the set of distributions that would be buggy without reference to these tags and the set of these tags that are distributions which are set on a bug.

Setting this to [] will remove this feature.

Default: @{$config{distributions}}

Bugs which have these tags set cannot be archived

Default: []

Tags which specifiy distributions to check

Default: @{$config{distributions}}

For removal/archival purposes, all bugs are assumed to have these tags set.

Default: qw(unstable testing);

For removal/archival purposes, all bugs with strong severity are assumed to have these tags set.

Default: qw(unstable testing stable);

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: value of default_architectures

The regex which will match a package name

Default: '[a-z0-9][a-z0-9\.+-]+'

The regex which will match a package version

Default: '[A-Za-z0-9:+\.-]+'

This is the name of the default package. If set, bugs assigned to packages without a maintainer and bugs missing a Package: psuedoheader will be assigned to this package instead.

Defaults to unset, which is the traditional debbugs behavoir

This address is used by Debbugs::Control as the request address which sent a control request for faked log messages.

Default:"Debbugs Internal Request <$config{maintainer_email}>"

This address is used by Debbugs::Control as the address to which a faked log message request was sent.

Default: "internal_control\@$config{email_domain}";

Addresses which are not allowed to send messages to control
The default severity of bugs which have no severity set

Default: normal

A hashref of severities and the informative text which describes them.

Default:

 {critical => "Critical $config{bugs}",
  grave    => "Grave $config{bugs}",
  normal   => "Normal $config{bugs}",
  wishlist => "Wishlist $config{bugs}",
 }
    
A scalar list of the severities to show

Defaults to the concatenation of the keys of the severity_display hashlist with ', ' above.

An arrayref of the serious severities which shoud be emphasized

Default: [qw(critical grave)]

An arrayref of a list of the severities

Defaults to the keys of the severity display hashref

A hashref of obsolete severities with the replacing severity

Default: {}

An arrayref of the tags used

Default: [qw(patch wontfix moreinfo unreproducible fixed)] and also includes the distributions.

Directory which contains the usertags

Default: $config{spool_dir}/user

directory of templates; defaults to /usr/share/debbugs/templates.
If true this causes debbugs to ignore version information and just look at whether a bug is done or not done. Primarily of interest for debbugs installs which don't track versions. defaults to false.
Location where the version package information is kept; defaults to spool_dir/../versions/pkg
Location of the version/time index file. Defaults to spool_dir/../versions/idx/versions_time.idx if spool_dir/../versions exists; otherwise defaults to undef.
Location of the version index file. Defaults to spool_dir/../versions/indices/versions.idx if spool_dir/../versions exists; otherwise defaults to undef.
Location of the binary -> source map. Defaults to spool_dir/../versions/indices/bin2src.idx if spool_dir/../versions exists; otherwise defaults to undef.
Location of the source -> binary map. Defaults to spool_dir/../versions/indices/src2bin.idx if spool_dir/../versions exists; otherwise defaults to undef.
Sets the sendmail binary to execute; defaults to /usr/lib/sendmail
Default arguments to pass to sendmail. Defaults to "qw(-oem -oi)".
Whether or not spamscan is being used; defaults to 0 (not being used
Location of the crosassassin database, defaults to spool_dir/../CrossAssassinDb
Maximum number of cross-posted messages
Number of spams for each thread (on average). Defaults to 200
Maximum number of threads to start. Defaults to 20
Maximum number of seconds to run without restarting. Defaults to 3600.
Location to store spam messages; is run through strftime to allow for %d,%m,%Y, et al. Defaults to 'spool_dir/../mail/spam/assassinated.%Y-%m-%d'
Location to store crossassassinated messages; is run through strftime to allow for %d,%m,%Y, et al. Defaults to 'spool_dir/../mail/spam/crossassassinated.%Y-%m-%d'
Whether only local tests are run, defaults to 0
User preferences for spamassassin, defaults to $ENV{HOME}/.spamassassin/user_prefs
Site rules directory for spamassassin, defaults to '/usr/share/spamassassin'

Text Fields

The following are the only text fields in general use in the scripts; a few additional text fields are defined in text.in, but are only used in db2html and a few other specialty scripts.

Earlier versions of debbugs defined these values in /etc/debbugs/text, but now they are required to be in the configuration file. [Eventually the longer ones will move out into a fully fledged template system.]

This prefixes the text of all lines in a bad e-mail message ack.
This gives more information about bad e-mails to receive.in
This shows up at the end of (most) html pages

In many pages this has been replaced by the html/tail template.

This message explains what happens to archive/remove-able bugs
2010-08-06 perl v5.10.0