sxemacs-devel
[Top] [All Lists]

Bugzilla configuration

From: "Johann G. Oskarsson" <johann@xxxxxxxxxxxxxx>
Subject: Bugzilla configuration
Date: Wed, 18 Aug 2004 17:06:34 +0000
Hi,

I've setup postgres, and I'm working on the bugzilla config right now.

Here is the config file, for a slight review.  I think it'll be better
to set these values before I create the database and stuff.

Anyways, since I won't be using my home box for the final bugzilla
server this can of course change, and bugzilla does seem to provide
for a way to recreate and change stuff if we change this config file.

Have fun,

Johann

#
# With the introduction of a configurable index page using the
# template toolkit, Bugzilla's main index page is now index.cgi.
# Most web servers will allow you to use index.cgi as a directory
# index and many come preconfigured that way, however if yours
# doesn't you'll need an index.html file that provides redirection
# to index.cgi. Setting $index_html to 1 below will allow
# pgsetup.pl to create one for you if it doesn't exist.
# NOTE: pgsetup.pl will not replace an existing file, so if you
#       wish to have pgsetup.pl create one for you, you must
#       make sure that there isn't already an index.html
$index_html = 0;


#
# In order to do certain functions in Bugzilla (such as sync the shadow
# database), we require the PgSQL Binaries (psql, pg_dump, and pg_restore).
# Because it's possible that these files aren't in your path, you can specify
# their location here.
# Please specify only the directory name, with no trailing slash.
$psqlpath = "/usr/local/pgsql/bin";


#
# If you are using Apache for your web server, Bugzilla can create .htaccess
# files for you that will instruct Apache not to serve files that shouldn't
# be accessed from the web (like your local configuration data and non-cgi
# executable files).  For this to work, the directory your Bugzilla
# installation is in must be within the jurisdiction of a <Directory> block
# in the httpd.conf file that has 'AllowOverride Limit' in it.  If it has
# 'AllowOverride All' or other options with Limit, that's fine.
# (Older Apache installations may use an access.conf file to store these
# <Directory> blocks.)
# If this is set to 1, Bugzilla will create these files if they don't exist.
# If this is set to 0, Bugzilla will not create these files.
$create_htaccess = 1;



#
# This is the group your web server runs on.
# If you have a windows box, ignore this setting.
# If you do not have access to the group your web server runs under,
# set this to "". If you do set this to "", then your Bugzilla installation
# will be _VERY_ insecure, because some files will be world readable/writable,
# and so anyone who can get local access to your machine can do whatever they
# want. You should only have this set to "" if this is a testing installation
# and you cannot set this up any other way. YOU HAVE BEEN WARNED.
# If you set this to anything besides "", you will need to run pgsetup.pl
# as root, or as a user who is a member of the specified group.
$webservergroup = "nobody";



#
# How to access the SQL database:
#
$db_driver = "Pg";              # Which database we are using
$db_host = "localhost";         # where is the database?
$db_port = 5432;                # which port to use
$db_name = "sxemacs";              # name of the PgSQL database
$db_user = "sxemacs";              # user to attach to the PgSQL database



#
# Enter your database password here. It's normally advisable to specify
# a password for your bugzilla database user.
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a \ character. (\') or (\\)
#
$db_pass = '<not the final password>';



#
# Should pgsetup.pl try to check if your PgSQL setup is correct?
# (with some combinations of PgSQL/DB::Pg/Perl/moonphase this doesn't work)
#
$db_check = 1;



#
# Which bug and feature-request severities do you want?
#
@severities = (
        "blocker",
        "critical",
        "major",
        "normal",
        "minor",
        "trivial",
        "enhancement"
);



#
# Which priorities do you want to assign to bugs and feature-request?
#
@priorities = (
        "P1",
        "P2",
        "P3",
        "P4",
        "P5"
);



#
# What operatings systems may your products run on?
#
@opsys = (
        "All",
        "Linux",
        "Mac OS X 10.0",
        "Mac OS X 10.1",
        "Mac OS X 10.2",
        "BSDI",
        "FreeBSD",
        "NetBSD",
        "OpenBSD",
        "AIX",
        "BeOS",
        "Zeta",
        "Haiku",
        "HP-UX",
        "IRIX",
        "OS/2",
        "Solaris",
        "SunOS",
        "other"
);



#
# What hardware platforms may your products run on?
#
@platforms = (
        "All",
        "AMD 64",
        "IA 64",
        "Macintosh",
        "PC",
        "PlayStation2",
        "PowerPC",
        "SGI",
        "Sun",
        "Other"
);



#
# The types of content that template files can generate, indexed by file 
extension.
#
$contenttypes = {
    "html" => "text/html" , 
    "rdf"  => "application/xml" , 
    "xml"  => "text/xml" , 
    "js"   => "application/x-javascript" , 
    "csv"  => "text/plain" ,
};


<Prev in Thread] Current Thread [Next in Thread>