|
|
(13 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 (5th March 2013) sitting on top of Bugzilla version 4.2.
| |
| | |
| All source is maintained in BZR, http://bzr.mozilla.org/bmo/4.2/files
| |
| | |
| We use Apache's web server, and MySQL's database.
| |
| | |
| === Setting up a development environment ===
| |
| | |
| * 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 '''bzr://bzr.mozilla.org/bmo/4.2''' 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 going to download a copy of the latest (January 2013) public database. This is temporarily kept here:
| |
| | |
| http://people.mozilla.org/~mhoye/bugzilla/
| |
| | |
| Security and confidential bugs are removed from this version.
| |
| | |
| === Developer vagrant box ===
| |
| | |
| We also provide a ready-to-use [[BMO/DeveloperBox|developer box]] using vagrant.
| |