BMO/Hacking: Difference between revisions

1,903 bytes removed ,  21 March 2018
old page
(Added note about using Docker for developer environment)
(old page)
 
(7 intermediate revisions by 4 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 (3rd July 2014) sitting on top of Bugzilla version 4.2, but with many features and fixes backported from the master and 4.4 branches.
 
All source is maintained in [http://git.mozilla.org/?p=webtools/bmo/bugzilla.git;a=summary git] and is mirrored (read-only) to [https://github.com/mozilla/webtools-bmo-bugzilla GitHub].  New development is done in the master branch, which is regularly synced to our staging server, https://bugzilla.allizom.org, and, generally on a weekly basis, pushed out to production.  The development branch is synced to our development server, https://bugzilla-dev.allizom.org, generally when we are experimenting with new features.
 
We use Apache's web server, and MySQL's database.
 
=== Setting up a development environment ===
 
You can setup your environment using a Docker container which is described at [[BMO/DeveloperBox|BMO/DeveloperBox]] or setup Bugzilla
manually usinhg the instructions below.
 
* Follow the instructions to install Bugzilla 4.2: http://www.bugzilla.org/docs/4.2/en/html/installing-bugzilla.html
** For section 2.1.4, check the source out of '''https://git.mozilla.org/webtools/bmo/bugzilla''' 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,
Confirmed users
437

edits