Integrating Bazaar into Redmine

Redmine is a flexible project management web application that integrates repository browsing, bug tracker, wiki, forums, and so on. It supports Bazaar repositories natively, and it is quite easy to link a Redmine project to Bazaar.

Configuring Redmine itself is beyond the scope of this book; here, we assume that you already have a working Redmine installation and focus on how to enable Bazaar for it:

  1. Go to the global site, navigate to Administration | Settings | Repositories, and make sure that Bazaar is enabled. The bzr command must be installed and accessible by Redmine. If bzr is not on the PATH variable used by Redmine, then you can specify the absolute path explicitly in the config/configuration.yml file with the scm_bazaar_command setting. You will need to restart Redmine after this change.
  2. Go to the project's Settings | Modules page, and make sure that the Repository module is enabled.
  3. Go to the project's Settings | Repository page, set SCM to Bazaar, enter the absolute path to the Bazaar branch, and enter the encoding used by commit messages, for example, UTF-8.

After this, you should be able to browse the Bazaar branch by using the Repository tab, as follows:

Integrating Bazaar into Redmine

You can browse the contents of versioned files and directories and see other details such as the following:

  • View the files and directories at a specific revision
  • View the differences between any two revisions
  • View each line of a file annotated with the revision information that changed it
  • View the list of revisions that changed a file
  • View the log of revisions in a branch
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.136.142