Confirmed users
2,816
edits
mNo edit summary |
|||
| Line 30: | Line 30: | ||
* Access the web UI at http://localhost:8080/bmo using your browser | * Access the web UI at http://localhost:8080/bmo using your browser | ||
** You may need to update the values for urlbase and sslbase in /home/vagrant/htdocs/bmo/data/params to match the port number you chose for redirection earlier. If the port is different than 8080. | ** You may need to update the values for urlbase and sslbase in /home/vagrant/htdocs/bmo/data/params to match the port number you chose for redirection earlier. If the port is different than 8080. | ||
* Updating the BZR code to the latest revision | |||
* Updating the BZR code to the latest revision. Note: http://doc.bazaar.canonical.com/migration/en/survival/bzr-for-git-users.html | |||
vagrant ssh | vagrant ssh | ||
cd htdocs/bmo | cd htdocs/bmo | ||
bzr merge | bzr merge | ||
bzr commit (commit the merged files to your branch?) | bzr commit (commit the merged files to your branch?) | ||
* Run tests. | |||
** perl runtests.pl will run all the tests in the /bmo/t directory | |||
** you can run just one of the tests in /t, for example, perl t/004template.t will go through all the template tests. | |||
* Making a patch for review of your latest changes | * Making a patch for review of your latest changes | ||
** (see https://wiki.mozilla.org/Bugzilla:Patches) | |||
** This will place the patch file in your home directory of the laptop and not on the VM | ** This will place the patch file in your home directory of the laptop and not on the VM | ||
so you can easily upload, etc. | so you can easily upload, etc. | ||
bzr diff > /vagrant/<some_patch_name>_1.patch | bzr diff > /vagrant/<some_patch_name>_1.patch | ||