BMO/Hacking: Difference between revisions

1,577 bytes removed ,  21 March 2018
old page
(old page)
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Hacking On BMO ==
This page is superseded by the
 
[https://github.com/mozilla-bteam/bmo/blob/master/README.rst README.rst] in the [https://github.com/mozilla-bteam/bmo/ repository].
=== Overview ===
 
BMO is running a customised version of Bugzilla, currently (19th June 2012) sitting on top of Bugzilla version 4.0.
 
All source is maintained in BZR, http://bzr.mozilla.org/bmo/4.0/files
 
We use Apache's web server, and MySQL's database.
 
=== Setting up a development environment ===
 
* Follow the instructions to install Bugzilla 4.0: http://www.bugzilla.org/docs/4.0/en/html/installing-bugzilla.html
** For section 2.1.4, check the source out of bzr://bzr.mozilla.org/bmo/4.0 instead of the upstream repository
** Setting up an environment is basically a matter of:
**# Check out the source
**# Configure Apache HTTPd (I suggest you use mod_cgi not mod_perl)
**# Create an empty database in MySQL, and create a MySQL account with appropriate grants
**# Run checksetup.pl and follow the instructions
* Once installed, in addition to the normal parameters (urlbase, email, ...) configure the following parameters via the web UI:
** allow_attachment_display => 1,
** defaultpriority => '--',
** defaultseverity => 'normal',
** specific_search_allow_empty_words => 0,
** timetrackinggroup => '',
** upgrade_notification => 'disabled',
** usebugaliases => 1,
** useclassification => 1,
** useqacontact => 1,
** user_info_class => 'BrowserID,CGI',
** usestatuswhiteboard => 1,
** usetargetmilestone => 1,
 
=== Obtaining a copy of the BMO database ===
 
You can request a sanitised copy of the BMO database, which makes developing and testing significantly easier, by filing a bug in the [https://bugzilla.mozilla.org/enter_bug.cgi?product=bugzilla.mozilla.org&component=General bugzilla.mozilla.org :: General] component.
 
Requests are considered on a case-by-case basis and are not automatically granted.
Confirmed users
437

edits